/* ==========================================================================
   Thiago Webs · seções com movimento (v4)
   Carteira · Nuvens · Trabalhos em cards · Como funciona (serpentina) · Google · Botão flutuante
   Usa os tokens do style.css (--orange-rgb, --neon, --grad-neon, --ease).
   Tudo que anima respeita prefers-reduced-motion (bloco no fim).
   ========================================================================== */

/* Scroll suave (Lenis, só no computador; ver fx.js) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

:root {
  --fx-dark: #050505;            /* mesmo preto do fundo da foto da carteira */
  --fx-next: var(--bg);          /* cor da seção que vem depois das nuvens */
}
html[data-tema="claro"] { --fx-next: #faf8f5; }

/* ---------- Carteira ----------
   A seção é mais alta que a tela; o palco fica preso (sticky) enquanto
   a carteira sobe de baixo para cima, guiada pelo scroll (--wa, 0 a 1). */
.wallet {
  position: relative; height: 175svh;
  background: var(--fx-dark); color: #fff;
  overflow: clip;
}
.wallet__stage {
  position: sticky; top: 0; height: 100svh; min-height: 620px;
  overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; align-content: start;
  padding: clamp(92px, 13svh, 136px) var(--gutter) 0;
}
.wallet__bg { /* fundo largo (Magnific): brilho no chão, fumaça e brasas; aproxima devagar com o scroll */
  position: absolute; inset: -4% 0 0; z-index: -3;
  background: var(--fx-dark) url("/assets/img/fx/carteira-fundo.webp") 50% 100% / cover no-repeat;
  transform: translate3d(0, calc((1 - var(--wa, 0)) * -3%), 0) scale(calc(1.14 - var(--wa, 0) * 0.14));
  transform-origin: 50% 85%;
  opacity: calc(0.45 + var(--wa, 0) * 0.55);
  will-change: transform, opacity;
}
.wallet__stage::before { /* luz laranja logo atrás da carteira */
  content: ""; position: absolute; z-index: -2; left: 50%; bottom: 2%;
  width: min(900px, 110%); aspect-ratio: 1.6; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(var(--orange-rgb) / 0.32), rgb(249 114 28 / 0.1) 55%, transparent 78%);
  opacity: var(--wa, 0);
}
.wallet__stage::after { /* o brilho some antes do fim do palco (sem degrau com as nuvens) */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 24%;
  background: linear-gradient(180deg, transparent, var(--fx-dark));
}
.wallet__lines i { /* linhas guia: acendem de cima para baixo com o scroll, como LED (--wl, 0 a 1) */
  position: absolute; top: 0; bottom: 0; z-index: -1; width: 1px;
  background: linear-gradient(180deg, transparent, rgb(255 190 130 / 0.75) 14%, rgb(var(--orange-rgb) / 0.6) 70%, transparent);
  box-shadow: 0 0 6px rgb(var(--orange-rgb) / 0.8), 0 0 18px rgb(var(--orange-rgb) / 0.45);
  clip-path: inset(0 0 calc((1 - var(--wl, 0)) * 100%) 0);
}
.wallet__lines i:nth-child(1) { left: 22%; }
.wallet__lines i:nth-child(2) { right: 22%; }
.wallet__lines i::before, .wallet__lines i::after {
  content: ""; position: absolute; background: #ffd2a6;
  box-shadow: 0 0 8px rgb(var(--orange-rgb) / 0.9);
  opacity: clamp(0, calc((var(--wl, 0) - 0.25) * 5), 1);
}
.wallet__lines i::before { top: 20%; left: -9px; width: 19px; height: 1px; }
.wallet__lines i::after { top: calc(20% - 9px); left: 0; width: 1px; height: 19px; }

.wallet__title {
  text-align: center; text-transform: uppercase; font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 20%, #ffd2a6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 28px rgb(var(--orange-rgb) / 0.25));
  position: relative; z-index: 3;
}
.wallet__line { display: block; white-space: nowrap; }
.wallet__word--hl { /* destaque: laranja neon */
  background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgb(var(--orange-rgb) / 0.55));
}
.wallet__word--hl.is-on { filter: drop-shadow(0 0 16px rgb(var(--orange-rgb) / 0.55)); }
.wallet__word {
  display: inline-block; opacity: 0; transform: translateY(0.35em); filter: blur(10px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease);
}
.wallet__word.is-on { opacity: 1; transform: none; filter: none; }

.wallet__art { /* carteira recortada (sem fundo): só a rocha, a carteira e a nota */
  position: absolute; z-index: 1; left: 50%; bottom: clamp(16px, 5svh, 56px);
  height: min(60svh, 660px); aspect-ratio: 468 / 804;
  transform: translate3d(-50%, calc((1 - var(--wa, 0)) * 85%), 0) scale(calc(0.9 + var(--wa, 0) * 0.1));
  transform-origin: 50% 100%;
  opacity: clamp(0, calc(var(--wa, 0) * 1.7), 1);
  will-change: transform, opacity;
}
.wallet__art img {
  width: 100%; height: 100%; object-fit: contain;
  filter: brightness(1.08) contrast(1.04) drop-shadow(0 26px 30px rgb(0 0 0 / 0.85));
}

.wallet__copy {
  position: absolute; z-index: 2; bottom: clamp(48px, 13svh, 150px);
  max-width: 30rem; font-size: clamp(1rem, 1.4vw, 1.3rem); line-height: 1.35;
  opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.wallet__copy--l { max-width: none; white-space: nowrap; left: clamp(var(--gutter), 6vw, 110px); color: #fff; transform: translateX(-28px); }
.wallet__copy--r { right: clamp(var(--gutter), 6vw, 110px); top: 42%; bottom: auto; color: rgb(255 255 255 / 0.78); transform: translateX(28px); display: grid; gap: 22px; justify-items: start; }
.wallet.is-copy .wallet__copy { opacity: 1; transform: none; }

.wallet__cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 6px 6px 26px; border-radius: 999px;
  background: #fff; color: #111; font-weight: 500; font-size: 1rem;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.3), 0 10px 40px -10px rgb(var(--orange-rgb) / 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.wallet__chip {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-neon); color: #111;
}
.wallet__chip .icon { width: 18px; height: 18px; }
@media (hover: hover) { .wallet__cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(var(--orange-rgb) / 0.8), 0 14px 50px -8px rgb(var(--orange-rgb) / 0.9); } }

@media (max-width: 1100px) and (min-width: 901px) {
  .wallet__copy--l { white-space: normal; max-width: 15rem; }
  .wallet__copy--r { max-width: 15rem; }
}
@media (max-width: 900px) {
  .wallet { height: 165svh; }
  .wallet__stage { display: flex; flex-direction: column; align-items: center; padding-top: clamp(88px, 12svh, 110px); }
  .wallet__lines i:nth-child(1) { left: 8%; } .wallet__lines i:nth-child(2) { right: 8%; }
  .wallet__title { font-size: clamp(1.35rem, 6.2vw, 2.2rem); }
  .wallet__line { white-space: normal; }
  .wallet__art {
    position: relative; left: auto; bottom: auto; order: 2; flex: none;
    height: min(44svh, 420px); width: auto; margin: 10px auto 0;
    transform: translate3d(0, calc((1 - var(--wa, 0)) * 60%), 0) scale(calc(0.9 + var(--wa, 0) * 0.1));
  }
  .wallet__copy { position: relative; left: auto; right: auto; top: auto; bottom: auto; text-align: center; justify-items: center; margin-top: 14px; white-space: normal; }
  .wallet__copy--l { order: 3; }
  .wallet__copy--r { order: 4; gap: 16px; }
}

/* ---------- Nuvens ----------
   As camadas começam deslocadas para cima (invadindo o fim da carteira)
   e descem com o scroll até assentar na própria seção (--nq, 0 a 1).
   Quanto mais ao fundo, mais a camada se desloca. */
.nuvens {
  position: relative; z-index: 3;
  height: clamp(440px, 62vw, 860px);
  margin-top: -1px;
  background: var(--fx-dark);
  overflow-x: clip; overflow-y: visible;
}
.nuvens__sky {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--fx-dark) 0%, transparent 30%, transparent 62%, var(--fx-next) 100%),
    radial-gradient(70% 55% at 50% 74%, rgb(var(--orange-rgb) / 0.75), rgb(249 114 28 / 0.34) 46%, transparent 76%);
}
.nuvens__layer {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  transform: translate3d(0, calc((1 - var(--nq, 1)) * var(--k, 0) * var(--ks, 1) * -1px), 0);
  will-change: transform;
}
.nuvens__layer:nth-of-type(3) { z-index: 2; }
.nuvens__layer:nth-of-type(4) { z-index: 3; }
.n { position: absolute; height: auto; user-select: none; animation: nuvem-flutua 26s ease-in-out infinite alternate; }
.n--1 { left: 4%;   top: 18%; width: 30%; opacity: 0.8; }
.n--2 { right: 2%;  top: 8%;  width: 34%; opacity: 0.75; animation-duration: 32s; animation-direction: alternate-reverse; }
.n--3 { left: 18%;  top: 34%; width: 62%; opacity: 0.95; animation-duration: 38s; }
.n--4 { right: -8%; top: 48%; width: 38%; opacity: 0.85; animation-duration: 30s; animation-direction: alternate-reverse; }
.n--5 { left: -14%; top: 54%; width: 66%; opacity: 1; filter: blur(1.5px); animation-duration: 36s; }
.n--6 { right: -12%; top: 58%; width: 58%; opacity: 1; filter: blur(2px); animation-duration: 42s; animation-direction: alternate-reverse; }
@keyframes nuvem-flutua { from { translate: -2.2% 0; } to { translate: 2.2% 0; } }
@media (max-width: 760px) {
  .nuvens { height: 120vw; --ks: 0.3; } /* no celular invade pouco: não cobre o botão da carteira */
  .n--3 { width: 90%; left: 5%; } .n--5 { width: 95%; } .n--6 { width: 85%; } .n--1 { width: 48%; } .n--2 { width: 52%; }
}

/* ---------- Trabalhos em cards (2 colunas) ---------- */
@media (min-width: 900px) {
  .works__list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .works .work, .works .work--flip {
    grid-template-columns: minmax(0, 1fr); align-content: start; gap: 22px;
    padding: 14px 14px 26px;
    border-radius: 28px;
    transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
  }
  .works .work .devices { order: -1; padding: 22px 22px 0; border-radius: 18px; background: radial-gradient(70% 90% at 50% 100%, rgb(var(--orange-rgb) / 0.16), rgb(255 255 255 / 0.02)); overflow: hidden; }
  .works .work__info { order: 1 !important; padding-inline: 14px; gap: 10px; }
  .works .work__name { font-size: clamp(1.25rem, 2vw, 1.625rem); }
  .works .work__text { font-size: 0.9375rem; max-width: none; }
  .works .work:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - clamp(10px, 1.5vw, 16px)); justify-self: center; }
}
@media (hover: hover) and (min-width: 900px) {
  .works .work:hover { transform: translateY(-4px); border-color: rgb(var(--orange-rgb) / 0.45); box-shadow: 0 24px 60px -30px rgb(var(--orange-rgb) / 0.5); }
}

/* ---------- Como funciona: serpentina ----------
   No computador o bloco fica preso (sticky) e o scroll extra (.journey__space)
   desenha a linha passo a passo. Sem espaço na tela, segue rolando normal. */
.journey.is-pinned .journey__pin {
  position: sticky; top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 16px;
}
.journey.is-pinned .section__head { margin-bottom: clamp(20px, 4svh, 44px); }
.journey.is-pinned .journey__list { row-gap: clamp(36px, 7svh, 72px); }
.journey.is-pinned .journey__space { height: var(--j-extra, 150svh); }
.journey.is-pinned { padding-top: clamp(24px, 4vw, 48px); }
.journey__track { position: relative; margin-top: clamp(8px, 2vw, 24px); }
.journey__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.journey__svg path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.journey__base { stroke: rgb(var(--text-rgb) / 0.14); stroke-width: 2; }
.journey__fill { stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--jp, 0)); filter: drop-shadow(0 0 6px rgb(var(--orange-rgb) / 0.8)); }
.journey__list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(56px, 9vw, 104px) clamp(20px, 3vw, 48px); }
.jstep { display: grid; justify-items: start; gap: 10px; padding-right: 8px; }
.jstep:nth-child(4) { grid-column: 3; grid-row: 2; }
.jstep:nth-child(5) { grid-column: 2; grid-row: 2; }
.jstep:nth-child(6) { grid-column: 1; grid-row: 2; }
.jstep__num {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 8px; border-radius: 50%;
  background: #141414; border: 1px solid rgb(var(--text-rgb) / 0.2); color: rgb(var(--text-rgb) / 0.7);
  font-size: 1.75rem; font-weight: 600;
  transition: background 0.5s var(--ease), color 0.5s, border-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease);
}
.jstep__title { font-size: 1.375rem; transition: color 0.5s; }
.jstep__text { color: var(--muted); font-size: 1rem; max-width: 20rem; }
.jstep { opacity: 0.45; transition: opacity 0.6s var(--ease); }
.jstep.is-on { opacity: 1; }
.jstep.is-on .jstep__num { background: var(--grad-neon); border-color: transparent; color: #111; box-shadow: var(--glow-ring); transform: scale(1.06); }
.journey__cta { margin-top: clamp(36px, 6vw, 64px); }

html[data-tema="claro"] .jstep__num { background: #fff; color: #555; border-color: rgb(17 17 17 / 0.2); }
html[data-tema="claro"] .jstep.is-on .jstep__num { background: #111; color: #fa9135; border-color: #111; box-shadow: none; }
html[data-tema="claro"] .journey__base { stroke: rgb(17 17 17 / 0.16); }

@media (max-width: 899px) {
  .journey__list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .jstep:nth-child(n) { grid-column: auto; grid-row: auto; }
  .jstep { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; align-items: start; }
  .jstep__num { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 1.375rem; }
  .jstep__title { align-self: end; }
}

/* ---------- Google: card com visual animado ---------- */
.seo__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(300px, 34vw, 420px);
  border-radius: clamp(22px, 3vw, 32px);
  background: #151515; border: 1px solid rgb(var(--orange-rgb) / 0.3);
  box-shadow: 0 40px 120px -40px rgb(var(--orange-rgb) / 0.55);
}
.seo__text { position: relative; z-index: 2; display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(28px, 5vw, 64px); }
.seo__title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); max-width: 12ch; }
.seo__text p { color: var(--muted); max-width: 22rem; }
.seo__visual { position: absolute; inset: 0 0 0 38%; z-index: 1; overflow: hidden; background: linear-gradient(105deg, #151515 0%, #7a3208 28%, #f9721c 62%, #ffb877 100%); }
.seo__visual::before { /* respiro: mistura o visual com o fundo do card */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 38%; z-index: 3;
  background: linear-gradient(90deg, #151515, transparent);
}
.seo__orb {
  position: absolute; z-index: 1; left: -6%; top: 50%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 60% 50%, rgb(255 214 176 / 0.95), rgb(var(--orange-rgb) / 0.55) 42%, transparent 70%);
  filter: blur(26px); animation: seo-orb 9s ease-in-out infinite alternate;
}
.seo__bar {
  position: absolute; top: -10%; bottom: -10%; z-index: 2; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, transparent, #fff 20%, #fff 80%, transparent);
  box-shadow: 0 0 18px 4px rgb(255 214 176 / 0.8), 0 0 60px 18px rgb(var(--orange-rgb) / 0.5);
  animation: seo-bar 7s ease-in-out infinite alternate;
}
.seo__bar:nth-of-type(2) { left: 26%; animation-delay: -1.4s; }
.seo__bar:nth-of-type(3) { left: 50%; animation-delay: -3s; width: 2px; }
.seo__bar:nth-of-type(4) { left: 74%; animation-delay: -4.6s; }
.seo__bar:nth-of-type(5) { left: 92%; animation-delay: -2.2s; width: 2px; opacity: 0.8; }
@keyframes seo-bar { from { translate: -22px 0; opacity: 0.55; } to { translate: 22px 0; opacity: 1; } }
@keyframes seo-orb { from { translate: -4% 0; scale: 0.94; } to { translate: 8% 0; scale: 1.08; } }
html[data-tema="claro"] .seo__card { background: #151515; }

@media (max-width: 760px) {
  .seo__card { grid-template-columns: minmax(0, 1fr); }
  .seo__text { padding-bottom: 220px; }
  .seo__visual { inset: auto 0 0 0; height: 240px; background: linear-gradient(180deg, #151515 0%, #7a3208 24%, #f9721c 66%, #ffb877 100%); }
  .seo__visual::before { inset: 0 0 auto 0; width: auto; height: 38%; background: linear-gradient(180deg, #151515, transparent); }
}

/* ---------- Botão flutuante (computador) ---------- */
.fab {
  position: fixed; z-index: 45;
  right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 22px;
  background: rgb(17 17 17 / 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgb(255 255 255 / 0.16);
  box-shadow: 0 18px 50px -18px rgb(0 0 0 / 0.8);
  visibility: hidden; opacity: 0; transform: translateY(24px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.fab.is-visible { visibility: visible; opacity: 1; transform: none; }
.fab__logo { width: 44px; height: auto; }
.fab__btn { /* laranja neon + reflexo de luz passando a cada 5 s */
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px; padding: 5px 5px 5px 22px;
  border-radius: 999px; background: var(--grad-neon); color: #111; font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  box-shadow: var(--glow-btn);
}
.fab__btn::after {
  content: ""; position: absolute; z-index: 1; top: -20%; bottom: -20%; left: 0; width: 42%;
  background: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / 0) 20%, rgb(255 255 255 / 0.75) 50%, rgb(255 255 255 / 0) 80%, transparent 100%);
  transform: translateX(-140%) skewX(-18deg);
  animation: fab-reflexo 5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  pointer-events: none;
}
@keyframes fab-reflexo {
  0% { transform: translateX(-140%) skewX(-18deg); }
  28%, 100% { transform: translateX(330%) skewX(-18deg); }
}
.fab__chip { position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #111; color: var(--neon); transition: transform 0.35s var(--ease); }
.fab__chip .icon { width: 16px; height: 16px; }
@media (hover: hover) { .fab:hover .fab__chip { transform: rotate(45deg); } .fab:hover { border-color: rgb(var(--orange-rgb) / 0.6); } }
.fab { display: inline-flex; }
.wa-float { display: none !important; } /* o botão flutuante (logo + laranja) vale também no celular */
@media (max-width: 640px) { /* compacto no canto, como na referência */
  .fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); gap: 10px; padding: 6px 6px 6px 12px; border-radius: 16px; }
  .fab__logo { width: 30px; }
  .fab__btn { gap: 10px; padding: 4px 4px 4px 14px; font-size: 0.8125rem; }
  .fab__chip { width: 28px; height: 28px; }
  .fab__chip .icon { width: 14px; height: 14px; }
}
html[data-tema="claro"] .fab { background: rgb(17 17 17 / 0.78); }

/* ---------- Movimento reduzido: tudo já no lugar, nada flutua ---------- */
@media (prefers-reduced-motion: reduce) {
  .wallet__word { opacity: 1; transform: none; filter: none; }
  .wallet__copy { opacity: 1; transform: none; }
  .wallet { height: auto; }
  .wallet__stage { position: relative; height: auto; min-height: max(640px, 100svh); }
  .wallet__art { opacity: 1; transform: translate3d(-50%, 0, 0); }
  .n, .seo__bar, .seo__orb, .fab__btn::after { animation: none; }
  .wallet__lines i { clip-path: none; }
  .nuvens__layer { transform: none; }
  .jstep { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) { .wallet__art { transform: none; } }

/* ---------- CTA final sem a foto (removida em 20/10/2026) ---------- */
.final--photo { padding-bottom: var(--section); }

/* ---------- Entrada de baixo para cima (desfaz ao voltar para o topo; ver initReveal no main.js) ---------- */
.reveal.is-pending { transform: translateY(44px); }
@media (prefers-reduced-motion: reduce) { .reveal.is-pending { transform: none; } }

/* ---------- Perguntas frequentes no estilo da referência ----------
   Coluna única centralizada, fundo preto, cada pergunta numa faixa
   com degradê laranja neon que nasce na esquerda e some no preto. */
.faq, html[data-tema="claro"] .faq { background: #000; border-block: 0; }
.faq__inner { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(36px, 4vw, 56px); }
.faq .section__head, .faq .section__head--left { position: static; align-items: center; text-align: center; margin-bottom: 0; }
.faq .section__title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; color: #fff;
  background: linear-gradient(180deg, #fff 26%, #ffe3c8 62%, #ffb877); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.faq__list { width: min(100%, 880px); display: flex; flex-direction: column; gap: 16px; }
.faq .qa, .faq .qa:first-child {
  border: 0; border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(60% 140% at 0% 0%, rgb(255 214 176 / 0.9), transparent 42%),
    linear-gradient(96deg, #ffb877 0%, #f9721c 7%, #a23f08 20%, #3a1504 40%, #0d0603 62%, #000 82%);
  box-shadow: inset 0 0 0 1px rgb(var(--orange-rgb) / 0.18);
  transition: filter 0.35s, box-shadow 0.35s;
}
.faq .qa[open] { filter: brightness(1.18); box-shadow: inset 0 0 0 1px rgb(var(--orange-rgb) / 0.45), 0 18px 50px -24px rgb(var(--orange-rgb) / 0.7); }
.faq .qa summary { padding: 20px 24px; color: #fff; font-size: clamp(1rem, 1.2vw, 1.0625rem); font-weight: 500; text-shadow: 0 1px 8px rgb(0 0 0 / 0.45); }
@media (hover: hover) { .faq .qa summary:hover { color: #fff; } .faq .qa:hover { filter: brightness(1.12); } }
.faq .qa__icon, .faq .qa[open] .qa__icon, html[data-tema="claro"] .faq .qa__icon, html[data-tema="claro"] .faq .qa[open] .qa__icon {
  background: none; border: 0; box-shadow: none; color: #fff;
}
.faq .qa[open] .qa__icon { transform: rotate(45deg); }
.faq .qa p { padding: 0 60px 22px 24px; color: rgb(255 255 255 / 0.72); font-size: 0.9875rem; }
.faq__cta { display: inline-flex !important; margin-top: 4px; }
/* abre e fecha deslizando (navegadores com suporte) */
:root { interpolate-size: allow-keywords; }
.faq .qa::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq .qa[open]::details-content { block-size: auto; }
@media (max-width: 760px) {
  .faq .qa summary { padding: 16px 18px; font-size: 0.9375rem; }
  .faq .qa p { padding: 0 18px 18px; }
}

/* ---------- Cabeçalho no celular: logo no centro (WhatsApp à esquerda, menu à direita) ---------- */
@media (max-width: 959px) {
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header__logo { grid-column: 2; grid-row: 1; margin: 0; }
  .header__wa { grid-column: 1; grid-row: 1; justify-self: start; }
  .menu-btn { grid-column: 3; grid-row: 1; justify-self: end; }
}
