/* LuGlass V4 · rodada 2 — painéis, bento, texto cinético, processo empilhado, 16 serviços, FAQ, logos, botão flutuante */

/* ---- Bento (sobre) ---- */
.sobre { padding: clamp(90px, 11vw, 150px) 0; }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bento__t { position: relative; border-radius: 22px; padding: 1.3rem; display: grid; align-content: start; gap: .4rem; overflow: hidden; min-height: 170px; }
.bento__t h3 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.02em; }
.bento__t p { font-size: .9375rem; line-height: 1.5; color: var(--suave); }
.bento__ic { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: rgba(34, 180, 232, .12); color: var(--mar); margin-bottom: .6rem; }
.b-slider { grid-column: 1 / -1; padding: 0; min-height: 0; }
.b-slider .slider { aspect-ratio: 4 / 3.4; border-radius: 22px; box-shadow: none; }
.b-texto { grid-column: 1 / -1; }
.b-texto h3 { font-size: 1.45rem; }
.b-grad { background: var(--grad-noite); color: var(--branco); }
.b-grad::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(111, 224, 232, .45), transparent 70%); }
.b-grad p { color: var(--t-claro); }
.b-grad .bento__ic { background: var(--grad-btn); color: var(--noite); }
.b-mapa { transition: translate .4s var(--ease); }
.b-mapa:hover { translate: 0 -4px; }
.bento__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-weight: 600; font-size: .9375rem; color: var(--mar); }
.b-foto { grid-column: 1 / -1; padding: 0; min-height: 280px; }
.b-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.b-foto:hover img { scale: 1.05; }
.b-foto figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: .7rem; align-items: center; padding: .9rem 1rem; border-radius: 16px; color: var(--branco); font-weight: 500; font-size: .9375rem; }
.b-foto figcaption .ic { color: var(--aqua); }

/* ---- Painéis expansíveis (mais pedidos) ---- */
.paineis { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--m)); padding: 4px var(--m) 8px; scroll-padding-inline: var(--m); }
.paineis::-webkit-scrollbar { display: none; }
.paineis li { flex: 0 0 80vw; scroll-snap-align: start; }
.pn { position: relative; display: block; height: 470px; border-radius: 24px; overflow: hidden; color: var(--branco); background: var(--noite); isolation: isolate; }
.pn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: scale 1.2s var(--ease), filter .6s var(--ease); }
.pn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 30, 44, .15) 30%, rgba(7, 30, 44, .7)); }
.pn__n { position: absolute; top: 18px; left: 18px; font-family: var(--display); font-weight: 600; font-size: .875rem; letter-spacing: .06em; padding: .35rem .75rem; border-radius: 999px; background: rgba(7, 30, 44, .35); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pn__vert { display: none; }
.pn__info { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 1.2rem; border-radius: 18px; display: grid; gap: .45rem; }
.pn__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-btn); color: var(--noite); }
.pn__ic .ic { width: 24px; height: 24px; }
.pn__nome { font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.1; }
.pn__desc { font-size: .9375rem; color: var(--t-claro); }
.pn__cta { display: inline-flex; align-items: center; gap: .45rem; font-size: .9375rem; font-weight: 600; color: var(--gelo); }
.pn__cta svg { transition: translate .4s var(--ease); }
.pn:hover .pn__cta svg { translate: 6px 0; }

/* ---- Todos os serviços: filtro + grade ---- */
.todos { margin-top: clamp(3.5rem, 7vw, 6rem); }
.todos__cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.6rem; }
.todos__cab h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 4vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; }
.filtros { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--m)); padding: 4px var(--m); }
.filtros::-webkit-scrollbar { display: none; }
.filtros button { flex: none; min-height: 46px; padding: .55rem 1.05rem; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--oceano); background: rgba(255, 255, 255, .7); border: 1px solid rgba(14, 92, 130, .16); transition: background .3s var(--ease), color .3s var(--ease); }
.filtros button:hover { background: var(--branco); }
.filtros button[aria-pressed="true"] { background: var(--grad-btn); color: var(--noite); border-color: transparent; }
.filtros b { font-weight: 600; opacity: .6; margin-left: .3rem; font-variant-numeric: tabular-nums; }
.servs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.servs li[hidden] { display: none; }
.sv { position: relative; width: 100%; height: 100%; min-height: 150px; text-align: left; border-radius: 18px; overflow: hidden; display: grid; align-content: end; gap: .2rem; padding: 1rem; color: var(--tinta); isolation: isolate; }
.sv__img { position: absolute; inset: 0; z-index: -2; }
.sv__img img { width: 100%; height: 100%; object-fit: cover; }
.sv__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 30, 44, .05) 20%, rgba(7, 30, 44, .82)); }
.sv { color: var(--branco); }
.sv .ic { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: auto; position: absolute; top: 12px; left: 12px; transition: background .4s var(--ease), color .4s var(--ease), rotate .5s var(--ease); }
.sv h4 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.05rem; line-height: 1.2; letter-spacing: -.02em; }
.sv p { font-size: .875rem; line-height: 1.4; color: var(--t-claro); }
.sv__mais { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 600; color: var(--gelo); margin-top: .25rem; }
.sv:hover .ic, .sv:focus-visible .ic { background: var(--grad-btn); color: var(--noite); border-color: transparent; rotate: -8deg; }
.sv__img img { transition: scale 1s var(--ease); }
.sv:hover .sv__img img { scale: 1.08; }

/* ---- Texto cinético ---- */
.cinetico { padding: clamp(40px, 6vw, 80px) 0; overflow: clip; background: var(--perola); display: grid; gap: .3rem; }
.cinetico p { display: flex; width: max-content; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: clamp(2.6rem, 8vw, 7rem); line-height: 1.05; letter-spacing: -.05em; }
.cinetico__l1 { background: linear-gradient(100deg, #0A6FA6, #22B4E8 45%, #6FE0E8 70%, #0A6FA6) 0 0 / 50% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cinetico__l2 { color: transparent; -webkit-text-stroke: 1.5px rgba(12, 58, 85, .4); margin-left: -20%; }

/* ---- Processo empilhado ---- */
.processo { padding: clamp(90px, 12vw, 160px) 0; color: var(--t-claro); }
.processo .fundo-foto__img { opacity: .18; }
.processo__grid { display: grid; gap: 2.6rem; }
.processo__cab > p:not(.chip) { margin: 1.3rem 0 2rem; max-width: 44ch; }
.pilha { display: grid; gap: 16px; }
.pilha__card { position: sticky; top: calc(96px + var(--i) * 16px); display: grid; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, rgba(12, 58, 85, .95), rgba(7, 30, 44, .97)); transform-origin: top center; }
.pilha__txt { padding: 1.5rem 1.4rem; display: grid; gap: .5rem; align-content: start; }
.pilha__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-btn); color: var(--noite); }
.pilha__ic .ic { width: 26px; height: 26px; }
.pilha__n { font-size: .875rem; font-weight: 500; color: var(--aqua); margin-top: .5rem; }
.pilha__card h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; letter-spacing: -.03em; color: var(--branco); line-height: 1.1; }
.pilha__card p { font-size: .9375rem; }
.pilha__card img { width: 100%; height: 180px; object-fit: cover; }

/* ---- Logos reais ---- */
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 8px 0 16px; }
.logos__trilho { display: flex; gap: 14px; width: max-content; padding-inline: 7px; }
.logos__trilho li { flex: none; width: 104px; height: 104px; border-radius: 22px; overflow: hidden; background: var(--branco); box-shadow: 0 14px 30px -20px rgba(7, 30, 44, .5); transition: translate .4s var(--ease); }
.logos__trilho li:hover { translate: 0 -5px; }
.logos__trilho img { width: 100%; height: 100%; object-fit: cover; }
.motion .logos__trilho { animation: rolar-logos 55s linear infinite; }
.logos:hover .logos__trilho { animation-play-state: paused; }
@keyframes rolar-logos { to { translate: -50% 0; } }
.prova { padding: clamp(80px, 10vw, 140px) 0; }
.prova__logos { margin-bottom: clamp(3rem, 6vw, 5rem); text-align: center; }
.prova__logos > p { font-size: .9375rem; font-weight: 500; color: var(--suave); margin-bottom: 1.2rem; }

/* ---- FAQ ---- */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq__grid { display: grid; gap: 2.4rem; }
.faq__lista { display: grid; gap: 10px; }
.faq details { border-radius: 18px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: 1rem 1.2rem; font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-btn) center / 14px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23071E2C' stroke-width='2.4' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E"), var(--grad-btn); transition: rotate .4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.2rem 1.2rem; color: var(--suave); max-width: 62ch; }
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* ---- Botão flutuante com chamada ---- */
.wa-flutua { display: none !important; }
.chama { position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 10px; pointer-events: none; }
.chama > * { pointer-events: auto; }
.chama__balao { width: min(320px, calc(100vw - 32px)); padding: 1rem 1rem 1.1rem; border-radius: 20px; color: var(--branco); background: linear-gradient(135deg, rgba(7, 30, 44, .9), rgba(12, 58, 85, .88)); opacity: 0; translate: 0 16px; scale: .96; transform-origin: bottom right; transition: opacity .5s var(--ease), translate .5s var(--ease), scale .5s var(--ease); visibility: hidden; }
.chama.is-balao .chama__balao { opacity: 1; translate: 0 0; scale: 1; visibility: visible; }
.chama__topo { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.chama__av { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--branco) url("../assets/img/favicon.png") center / 70% no-repeat; flex: none; }
.chama__av::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #3DDC84; border: 2px solid var(--noite); }
.chama__topo b { display: block; font-family: var(--display); font-weight: 600; font-size: .9375rem; }
.chama__topo span { font-size: .875rem; color: var(--t-claro); }
.chama__fechar { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--t-claro); }
.chama__fechar:hover { background: rgba(255, 255, 255, .1); }
.chama__balao p { font-size: .9375rem; line-height: 1.5; margin-bottom: .9rem; }
.chama__balao .btn { width: 100%; }
.chama__btn { position: relative; display: inline-flex; align-items: center; gap: .7rem; min-height: 60px; padding: 0 1.3rem 0 .45rem; border-radius: 999px; background: var(--wa); color: var(--branco); font-weight: 600; font-size: .9375rem; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .45); transition: translate .35s var(--ease), padding .4s var(--ease); }
.chama__btn:hover { translate: 0 -3px; }
.chama__btn .chama__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }
.chama__btn .chama__ico svg { width: 26px; height: 26px; }
.chama__txt { display: grid; line-height: 1.15; }
.chama__txt small { font-size: .75rem; font-weight: 500; opacity: .9; display: flex; align-items: center; gap: .35rem; }
.chama__txt small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #E9FFF0; box-shadow: 0 0 0 3px rgba(233, 255, 240, .3); }
.chama__btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); opacity: 0; }
.motion .chama__btn::before { animation: onda 2.6s var(--ease) 4s 3; }
.chama.is-compacto .chama__txt { display: none; }
.chama.is-compacto .chama__btn { padding: 0 .45rem; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 14px; }
  .b-slider { grid-column: 1 / 3; grid-row: 1 / 3; }
  .b-slider .slider { aspect-ratio: auto; height: 100%; min-height: 400px; }
  .b-texto { grid-column: 3 / 5; }
  .b-foto { grid-column: 3 / 5; }
  .bento__t { padding: 1.6rem; }
  .paineis li { flex-basis: 46vw; }
  .servs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sv { min-height: 190px; padding: 1.2rem; }
  .filtros { margin: 0; padding: 0; }
  .pilha__card { grid-template-columns: 1.2fr 1fr; }
  .pilha__card img { height: 100%; min-height: 260px; }
  .pilha__txt { padding: 2rem; align-content: center; }
  .logos__trilho li { width: 124px; height: 124px; }
  .faq__grid { grid-template-columns: 1fr 1.3fr; gap: 5vw; align-items: start; }
}
@media (min-width: 1024px) {
  .bento { grid-template-rows: 220px 220px 220px; }
  .b-foto { min-height: 0; }
  .paineis { overflow: visible; margin: 0; padding: 0; height: 540px; }
  .paineis li { flex: 1 1 0; min-width: 0; transition: flex-grow .8s var(--ease); }
  .paineis li.is-ativo { flex-grow: 4.2; }
  .pn { height: 100%; }
  .pn img { filter: saturate(.7) brightness(.75); }
  .paineis li.is-ativo .pn img { filter: none; }
  .pn__vert { display: block; position: absolute; left: 50%; bottom: 28px; translate: -50% 0; writing-mode: vertical-rl; rotate: 180deg; font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; white-space: nowrap; transition: opacity .4s var(--ease); }
  .paineis li.is-ativo .pn__vert { opacity: 0; }
  .pn__info { left: 18px; right: auto; bottom: 18px; width: min(420px, calc(100% - 36px)); opacity: 0; translate: 0 24px; pointer-events: none; transition: opacity .5s var(--ease), translate .6s var(--ease); }
  .paineis li.is-ativo .pn__info { opacity: 1; translate: 0 0; transition-delay: .25s; pointer-events: auto; }
  .servs { grid-template-columns: repeat(4, 1fr); }
  /* desktop: o bloco mostra só o ícone e o nome; no hover a foto abre (banner) */
  .sv { min-height: 210px; color: var(--tinta); background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55)); box-shadow: inset 0 1px 0 #fff, 0 20px 44px -30px rgba(7, 30, 44, .45); }
  .sv__img { clip-path: inset(100% 0 0 0 round 18px); transition: clip-path .7s var(--ease); }
  .sv p { color: var(--suave); transition: color .4s var(--ease); }
  .sv__mais { color: var(--mar); transition: color .4s var(--ease); }
  .sv .ic { background: rgba(34, 180, 232, .12); color: var(--mar); border-color: transparent; }
  .sv:hover, .sv:focus-visible { color: var(--branco); }
  .sv:hover .sv__img, .sv:focus-visible .sv__img { clip-path: inset(0 0 0 0 round 18px); }
  .sv:hover p, .sv:focus-visible p { color: var(--t-claro); }
  .sv:hover .sv__mais, .sv:focus-visible .sv__mais { color: var(--gelo); }
  .processo__grid { grid-template-columns: 5fr 7fr; gap: 5vw; align-items: start; }
  .processo__cab { position: sticky; top: 140px; }
  .pilha { gap: 28px; }
  .pilha__card { top: calc(120px + var(--i) * 22px); }
  .chama { right: 24px; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .pilha__card { position: static; }
  .logos__trilho { flex-wrap: wrap; justify-content: center; width: auto; }
  .faq details::details-content { transition: none; }
}

/* ajustes rodada 3 */
.chama__btn { background: #0E7A3E; }
.chama__btn::before { border-color: #25D366; }
.faq summary::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23071E2C' stroke-width='2.4' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat, var(--grad-btn); }
.cinetico__l2 { -webkit-text-stroke-color: rgba(12, 58, 85, .55); }
.chama__txt small { font-size: .875rem; }
.chama__fechar { flex: none; width: 44px; }
@media (max-width: 719px) { .sv { min-height: 200px; padding-top: 64px; } .sv h4 { font-size: 1rem; } }
.chama__topo div span { display: block; }
.cinetico__l2 { -webkit-text-stroke: 1.5px #4C6F82; }
