/* ==========================================================================
   CROWER · somoscrower.com.br
   Folha única, mobile-first. Ordem:
   00 Fontes · 01 Tokens · 02 Base · 03 Utilitários · 04 Botões
   05 Loader · 06 Header/Menu · 07 Hero · 08 Tarja · 09 Seções
   10 Para quem é · 11 Como trabalha · 12 O mês · 13 Planos
   14 Portfólio · 15 Modal · 16 FAQ · 17 Fecho · 18 Rodapé
   19 CTA fixo · 20 Textura · 21 Movimento reduzido / sem JS

   Regras do manual que guiam tudo aqui:
   - paleta 70/20/10 (breu/papel/brasa), valores exatos;
   - nada de gradiente, sombra ou brilho difuso; superfícies chapadas;
   - nada de canto arredondado; caixa alta só em etiqueta;
   - texto sobre brasa é sempre breu; brasa em texto pequeno no papel = #B8431A;
   - fumaça é grafismo, nunca texto.
   ========================================================================== */

/* 00 · FONTES (self-host, subset latino) ---------------------------------- */
@font-face {
  font-family: "Karina";
  src: url("../assets/fonts/karina.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aceh";
  src: url("../assets/fonts/aceh-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aceh";
  src: url("../assets/fonts/aceh-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aceh";
  src: url("../assets/fonts/aceh-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 01 · TOKENS ------------------------------------------------------------- */
:root {
  /* paleta do manual */
  --breu: #0B0B0C;
  --papel: #F2EFE7;
  --brasa: #FF5A1F;
  --fumaca: #6E6A63;
  --brasa-escura: #B8431A;
  --linha: #C9C3B8;

  /* derivados (papel sobre breu com contraste AA) */
  --papel-2: rgba(242, 239, 231, .68);
  --papel-3: rgba(242, 239, 231, .52);
  --hair: rgba(242, 239, 231, .14);
  --veil: rgba(242, 239, 231, .03);
  --breu-2: rgba(11, 11, 12, .74);
  --breu-3: rgba(11, 11, 12, .58);

  --f-display: "Karina", "Aceh", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-text: "Aceh", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --header-h: 76px;
  --sec-pad: clamp(80px, 10vw, 140px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

/* 02 · BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--breu);
  color: var(--papel);
  scroll-padding-top: 72px;
}
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; }

body {
  margin: 0;
  background: var(--breu);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -.004em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; border-radius: 0; -webkit-tap-highlight-color: transparent;
}
address { font-style: normal; }
mark { background: none; color: inherit; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--brasa); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--brasa); color: var(--breu); }

/* 03 · UTILITÁRIOS -------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 400;
  background: var(--brasa); color: var(--breu); padding: 12px 16px;
  font-weight: 500; transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* etiqueta: Aceh caixa alta, tracking aberto, numerais tabulares */
.label {
  font-family: var(--f-text);
  font-weight: 500;
  font-size: .75rem;
  line-height: 1.25;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* títulos de seção (KARINA) */
.title {
  font-family: var(--f-display);
  font-weight: 400;
  font-synthesis: none;
  font-size: clamp(1.9rem, 1rem + 2.9vw, 3.6rem);
  line-height: .98;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(1.0625rem, .95rem + .45vw, 1.3125rem);
  line-height: 1.5;
  color: var(--papel-2);
  max-width: 46ch;
}

/* linhas quebradas pelo JS para reveal em máscara */
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln__i { display: inline-block; will-change: transform; }

/* placeholder visível */
.ph {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed currentColor;
  color: var(--brasa);
  font-family: var(--f-text);
  font-weight: 500;
  letter-spacing: .04em;
}

/* tarja "Conceitual" — brasa com texto breu */
.tarja-c {
  position: absolute; right: 0; bottom: 0; z-index: 3;
  background: var(--brasa); color: var(--breu);
  padding: 7px 11px;
  font-weight: 500; font-size: .6875rem; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
}

/* 04 · BOTÕES -------------------------------------------------------------
   Retângulo seco. Hover: varredura chapada + "brilho" (barra de luz de
   borda dura, sem gradiente) + seta que troca. Magnético via JS.          */
.btn {
  --bg: transparent; --fg: var(--papel); --bd: transparent; --fill: var(--papel); --fill-fg: var(--breu);
  --glint: rgba(242, 239, 231, .32);
  position: relative;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 52px; padding: 0 20px 0 22px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 500; font-size: .8125rem; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
.btn::before { /* preenchimento que sobe */
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--fill);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.btn::after { /* barra de luz */
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; z-index: -1;
  width: 28%;
  background: var(--glint);
  transform: translateX(-180%) skewX(-24deg);
}
.btn__label, .btn__icon { position: relative; }
.btn__icon { display: inline-grid; flex: none; width: 18px; height: 18px; overflow: hidden; }
.btn__icon svg { grid-area: 1 / 1; width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn__icon svg:last-child { transform: translate(-130%, 130%); }
.btn__icon--down svg:last-child { transform: translateY(-130%); }

@media (hover: hover) {
  .btn:hover { color: var(--fill-fg); }
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover::after { transform: translateX(480%) skewX(-24deg); transition: transform .8s var(--ease-out); }
  .btn:hover .btn__icon svg:first-child { transform: translate(130%, -130%); }
  .btn:hover .btn__icon svg:last-child { transform: none; }
  .btn:hover .btn__icon--down svg:first-child { transform: translateY(130%); }
}

/* brasa: não troca de cor no hover — só o brilho e o anel que irradia */
.btn--brasa { --bg: var(--brasa); --fg: var(--breu); --fill: var(--brasa); --fill-fg: var(--breu); --glint: rgba(242, 239, 231, .42); }
@media (hover: hover) {
  .btn--brasa:hover { animation: btn-ring .9s var(--ease-out); }
}
@keyframes btn-ring {
  from { outline: 1px solid rgba(255, 90, 31, .9); outline-offset: 0; }
  to   { outline: 1px solid rgba(255, 90, 31, 0); outline-offset: 12px; }
}
.btn--ghost { --bd: rgba(242, 239, 231, .42); }
.btn--line { --fg: var(--breu); --bd: var(--breu); --fill: var(--breu); --fill-fg: var(--papel); --glint: rgba(255, 90, 31, .5); }
.btn--dark { --bg: var(--breu); --fg: var(--papel); --bd: var(--breu); --fill: var(--brasa); --fill-fg: var(--breu); }

.btn--sm { min-height: 42px; padding: 0 14px 0 16px; gap: 14px; font-size: .75rem; }
.btn--lg { min-height: 60px; padding: 0 22px 0 26px; }
.btn--xl { min-height: 72px; padding: 0 28px 0 32px; gap: 28px; font-size: .875rem; }

/* 05 · LOADER -------------------------------------------------------------
   A animação de entrada é CSS puro (começa no primeiro paint, mesmo antes
   do JS). O JS só decide a saída (cortina dupla).                          */
.loader { display: none; }
html.has-loader { overflow: hidden; }
html.has-loader .loader {
  display: block; position: fixed; inset: 0; z-index: 200;
  animation: loader-failsafe .5s ease 4.8s forwards; /* se o JS falhar */
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }

.loader__brasa { position: absolute; inset: 0; background: var(--brasa); }
.loader__panel {
  position: absolute; inset: 0; background: var(--breu);
  display: grid; place-content: center; justify-items: center; gap: 44px;
}
.loader__logo { width: min(74vw, 540px); height: auto; overflow: visible; }

.loader__crow {
  fill: var(--papel); fill-opacity: 0;
  stroke: var(--brasa); stroke-width: 5; stroke-linejoin: round;
  stroke-dasharray: 2400; stroke-dashoffset: 2400;
  animation: ld-draw 1s var(--ease-io) .1s forwards, ld-fill .5s ease .75s forwards;
}
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
@keyframes ld-fill { to { fill-opacity: 1; stroke-opacity: 0; } }

.loader__letter { fill: var(--papel); opacity: 0; animation: ld-on 0s linear 1.12s forwards; }
@keyframes ld-on { to { opacity: 1; } }

.loader__swipe {
  fill: var(--brasa);
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0);
  animation: ld-swipe .85s var(--ease-io) .7s forwards;
}
@keyframes ld-swipe {
  0%     { transform: scaleX(0); transform-origin: left center; }
  49.9%  { transform: scaleX(1); transform-origin: left center; }
  50%    { transform: scaleX(1); transform-origin: right center; }
  100%   { transform: scaleX(0); transform-origin: right center; }
}


/* saída */
.loader__panel, .loader__brasa { clip-path: inset(0 0 0 0); }
.loader.is-out .loader__logo { opacity: 0; transform: translateY(-28px); transition: opacity .45s ease, transform .6s var(--ease-io); }
.loader.is-out .loader__panel { clip-path: inset(0 0 100% 0); transition: clip-path .95s var(--ease-io) .12s; }
.loader.is-out .loader__brasa { clip-path: inset(0 0 100% 0); transition: clip-path .95s var(--ease-io) .26s; }

/* 06 · HEADER + MENU ------------------------------------------------------ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-block: 20px;
  color: var(--papel);
  border-bottom: 1px solid transparent;
  transition: padding .5s var(--ease-out), color .4s ease, border-color .4s ease;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 12, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  opacity: 0;
  transition: opacity .4s ease, background-color .4s ease;
}
.header.is-scrolled { padding-block: 11px; border-bottom-color: var(--hair); }
.header.is-scrolled::before { opacity: 1; }
.header.is-light { color: var(--breu); border-bottom-color: var(--linha); }
.header.is-light::before { background: rgba(242, 239, 231, .88); }
.header.is-light .btn--brasa { --glint: rgba(11, 11, 12, .14); }

html.menu-open .header { color: var(--papel); border-bottom-color: var(--hair); }
html.menu-open .header::before { opacity: 1; background: var(--breu); }

.header__inner { position: relative; display: flex; align-items: center; gap: 24px; }

.brand { display: block; flex: none; }
.brand__logo { width: 136px; height: auto; transition: width .5s var(--ease-out); }
.header.is-scrolled .brand__logo { width: 124px; }

.nav { display: none; margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__link {
  position: relative; display: block; padding: 10px 0;
  font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--brasa); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { display: none; }

.menu-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 2px;
  font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.menu-btn__lines { display: grid; gap: 6px; width: 24px; }
.menu-btn__lines i { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 1080px) {
  .brand__logo { width: 150px; }
  .header.is-scrolled .brand__logo { width: 132px; }
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex;
  padding-top: calc(var(--header-h) + 16px);
  background: var(--breu);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__nav { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-bottom: 32px; }
.menu__list { border-top: 1px solid var(--hair); }
.menu__list a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--hair);
  font-family: var(--f-display); font-size: clamp(1.75rem, 7.4vw, 3rem); line-height: 1.05;
}
.menu__foot { display: grid; gap: 18px; justify-items: start; }
.menu__contact { color: var(--papel-2); }

/* 07 · HERO --------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: clamp(36px, 6vh, 72px);
}

.hero__art {
  position: absolute; z-index: -1; pointer-events: none;
  top: 84px; right: -52vw; width: 122vw;
}
.hero__crow { width: 100%; height: auto; overflow: visible; }
.hero__crow-path {
  fill: var(--papel); fill-opacity: .035;
  stroke: var(--brasa); stroke-width: 2.2; stroke-linejoin: round;
}
.hero__pupil { fill: var(--brasa); }
/* Repara (retícula no olho) e Grita (ondas do bico): só aparecem quando o JS dispara */
.hero__reticle, .hero__waves { opacity: 0; }
.hero__reticle { stroke: var(--brasa); }
.hr-ring, .hr-ticks { stroke-width: 2; }
.hr-ring-in { stroke-width: 1.2; }
.hero__wave { stroke: var(--brasa); stroke-width: 3; }

@media (min-width: 700px) { .hero__art { top: 9vh; right: -24vw; width: 84vw; } }
/* desktop: título na coluna da esquerda (~60%), corvo inteiro à direita,
   começando onde o texto termina — nada de letra por cima do desenho */
@media (min-width: 1100px) {
  .hero__art {
    --art-w: min(44vw, 760px);
    right: auto;
    left: calc(max(var(--gutter), (100vw - var(--maxw)) / 2) + min(100vw - 2 * var(--gutter), var(--maxw)) * .62);
    top: calc(50% - var(--art-w) * .435 - 32px); /* folga extra: o corvo agora respira e segue o cursor */
    width: var(--art-w);
    max-width: none;
  }
  .hero__crow-path { stroke-width: 1.6; fill-opacity: .05; }
}

.hero__title { font-family: var(--f-display); font-weight: 400; font-synthesis: none; }
.hero__pre {
  display: block;
  margin-bottom: clamp(12px, 1.6vw, 24px);
  font-size: clamp(1.3rem, .85rem + 1.8vw, 2.4rem); line-height: 1; letter-spacing: -.01em;
  color: var(--papel-2);
}
.hero__main {
  display: block; max-width: 11.3em;
  font-size: clamp(2.4rem, .8rem + 5.6vw, 6rem); line-height: .93; letter-spacing: -.022em;
}

/* palavra "aparecer" ganha o marca-texto em brasa (texto vira breu) */
.hl { position: relative; display: inline-block; isolation: isolate; padding: 0 .07em; margin: 0 -.03em; color: var(--breu); transition: color .25s ease .3s; }
.hl::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: .08em; bottom: .02em;
  background: var(--brasa); transform-origin: left center;
  transition: transform .8s var(--ease-io);
}
html.intro-ready .hero:not(.is-lit) .hl { color: var(--papel); transition-delay: 0s; }
html.intro-ready .hero:not(.is-lit) .hl::before { transform: scaleX(0); }

.hero__bottom {
  display: grid; gap: 28px;
  margin-top: clamp(28px, 3.6vw, 52px);
}
.hero__lead { font-size: clamp(1.0625rem, .98rem + .4vw, 1.3rem); line-height: 1.5; color: var(--papel-2); max-width: 44ch; }
.hero__actions { display: grid; gap: 18px; justify-items: start; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__support { display: flex; align-items: center; color: var(--papel-2); }

@media (min-width: 1100px) {
  .hero__pre { font-size: clamp(1.4rem, 1.9vw, 2.1rem); }
  .hero__main { font-size: clamp(3.2rem, 4.7vw, 4.5rem); }
}

@media (min-width: 1080px) {
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 56px; }
  .hero__actions { justify-items: end; }
}
@media (max-width: 479px) {
  .hero__ctas { display: grid; width: 100%; }
  .hero__ctas .btn { width: 100%; }
}

/* 08 · TARJA (a "tarja correndo" do manual) -------------------------------- */
.tarja {
  position: relative; overflow: hidden;
  background: var(--brasa); color: var(--breu);
  padding-block: 15px;
}
.tarja__track { display: flex; width: max-content; will-change: transform; }
.tarja__group {
  display: flex; align-items: center; flex: none; gap: 30px; padding-right: 30px;
  font-weight: 500; font-size: clamp(.8125rem, .7rem + .45vw, 1.0625rem); line-height: 1;
  letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
}
.tarja__pena { width: 44px; height: 15px; fill: currentColor; flex: none; }
/* fallback sem GSAP */
html.no-anim:not(.rm) .tarja__track { animation: tarja 36s linear infinite; }
@keyframes tarja { to { transform: translateX(-50%); } }

/* 09 · SEÇÕES (comum) ----------------------------------------------------- */
.section { position: relative; padding-block: var(--sec-pad); }

/* 10 · PARA QUEM É -------------------------------------------------------- */
.quem { --qgap: clamp(40px, 6vw, 96px); }
.quem__grid { display: grid; gap: var(--qgap); }
.quem .title { font-size: clamp(1.8rem, 1.1rem + 2vw, 2.9rem); }
.quem .lead { margin-top: clamp(20px, 2.2vw, 32px); }

.quotes { border-top: 1px solid var(--hair); }
.quote {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline;
  gap: clamp(14px, 2vw, 28px);
  padding-block: clamp(20px, 2.6vw, 34px);
  border-bottom: 1px solid var(--hair);
}
.quote__pena { width: clamp(34px, 3.4vw, 52px); height: auto; aspect-ratio: 2053 / 708; fill: var(--brasa); transform: translateY(-.1em); }
.quote p {
  font-family: var(--f-display); font-synthesis: none;
  font-size: clamp(1.3rem, .95rem + 1.35vw, 2.1rem); line-height: 1.08; letter-spacing: -.012em;
  text-wrap: balance;
}

.quem__close {
  display: grid; gap: 6px;
  margin-top: clamp(48px, 7vw, 96px);
  font-size: clamp(1.15rem, .95rem + .8vw, 1.6rem); line-height: 1.32; letter-spacing: -.012em;
}
.quem__close span { color: var(--papel-2); }
.quem__close strong { font-weight: 500; color: var(--brasa); }

@media (min-width: 1024px) {
  .quem__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .quem__intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .quem__close { margin-left: calc((100% - var(--qgap)) * 5 / 12 + var(--qgap)); }
}

/* 11 · COMO TRABALHA (Repara · Junta · Grita) ----------------------------- */
.metodo__title { max-width: 17em; font-size: clamp(1.8rem, 1rem + 2.3vw, 3.2rem); }

.moves { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 88px); }
.move {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--veil);
  border: 1px solid var(--hair);
  transition: border-color .5s var(--ease-out), background-color .5s var(--ease-out);
}
.move:hover { border-color: rgba(255, 90, 31, .55); background: rgba(242, 239, 231, .05); }
.move__top { color: var(--papel-2); }
.move__icon {
  width: clamp(84px, 7.5vw, 108px); height: auto; overflow: visible;
  margin-block: clamp(16px, 3.4vw, 56px) clamp(8px, 2vw, 28px);
  color: var(--papel);
}
.icon-repara .ic-pupil, .icon-grita .ic-src { fill: var(--brasa); }
.icon-junta .ic-sq--brasa { fill: var(--brasa); stroke: var(--brasa); }
.move__name {
  margin-top: auto;
  font-family: var(--f-display); font-weight: 400; font-synthesis: none;
  font-size: clamp(2.2rem, 1.4rem + 2vw, 3.3rem); line-height: .9; letter-spacing: -.02em;
}
.move__text { color: var(--papel-2); font-size: 1rem; line-height: 1.6; }

@media (min-width: 680px) and (max-width: 1023px) {
  .move { display: grid; grid-template-columns: 140px 1fr; grid-template-areas: "top top" "icon name" "icon text"; column-gap: 32px; }
  .move__top { grid-area: top; }
  .move__icon { grid-area: icon; margin: 8px 0 0; }
  .move__name { grid-area: name; }
  .move__text { grid-area: text; }
}
@media (min-width: 1024px) { .moves { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 12 · COMO FUNCIONA O MÊS ------------------------------------------------ */
.mes__grid { display: grid; gap: clamp(48px, 6vw, 96px); }
.first { position: relative; margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 3vw, 40px); background: var(--papel); color: var(--breu); }
.first__title {
  margin-bottom: 14px;
  font-family: var(--f-display); font-weight: 400; font-synthesis: none;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1;
}
.first p { color: var(--breu-2); }

.mes__subtitle {
  margin-bottom: clamp(28px, 3vw, 44px);
  font-family: var(--f-display); font-weight: 400; font-synthesis: none;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1;
}
.steps { position: relative; --p: 0; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 22px; top: 22px; bottom: 22px; width: 1px;
}
.steps::before { background: var(--hair); }
.steps::after { background: var(--brasa); transform: scaleY(var(--p)); transform-origin: top; }
.step {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; gap: clamp(16px, 2vw, 28px);
  padding-bottom: clamp(28px, 3.6vw, 52px);
}
.step:last-child { padding-bottom: 0; }
.step__n {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--breu); border: 1px solid rgba(242, 239, 231, .3); color: var(--papel-2);
  transition: background-color .5s ease, color .5s ease, border-color .5s ease;
}
.step p { padding-top: 8px; font-size: clamp(1.0625rem, .98rem + .4vw, 1.3rem); line-height: 1.42; transition: opacity .6s ease; }
.step.is-on .step__n { background: var(--brasa); border-color: var(--brasa); color: var(--breu); }
/* passo 02: o selo carimba a aprovação (uso do selo previsto no manual) */
.step--ok p { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; min-height: 44px; padding-top: 0; }
.step__selo { flex: none; width: 52px; height: 52px; margin-block: -4px; }
html.gsap:not(.rm) .step:not(.is-on) p { opacity: .5; }

.mes__note {
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: clamp(40px, 5vw, 64px); padding: 22px 24px;
  border: 1px solid var(--hair); color: var(--papel-2);
}
.mes__pena { flex: none; width: 44px; height: auto; aspect-ratio: 2053 / 708; margin-top: 7px; fill: var(--brasa); }

@media (min-width: 1024px) {
  .mes__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .mes__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

/* 13 · PLANOS E VALORES (papel) ------------------------------------------- */
.planos { color: var(--breu); isolation: isolate; }
.planos__sheet { position: absolute; inset: 0; z-index: -1; background: var(--papel); }
.planos .lead { color: var(--breu-2); }
.planos :focus-visible { outline-color: var(--breu); }

.planos__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) {
  .planos__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; column-gap: 48px; }
  .planos__head .lead { justify-self: end; }
}

/* mobile: cards empilhados */
.plans { display: grid; gap: 14px; }
.plans__labels { display: none; }
.plan {
  position: relative; padding: 22px 20px;
  background: var(--papel); border: 1px solid var(--linha);
  transition: background-color .45s ease, border-color .45s ease;
}
.plan__name { display: flex; align-items: baseline; gap: 10px; padding-bottom: 18px; border-bottom: 2px solid var(--breu); }
.plan__brand { font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--breu-3); }
.plan__tier { font-family: var(--f-display); font-weight: 400; font-synthesis: none; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); line-height: .9; }

.plan__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding-block: 12px; border-bottom: 1px solid var(--linha);
  font-size: .95rem; line-height: 1.4;
}
.plan__row dt { color: var(--breu-2); }
.plan__row dd { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan__row--text { display: block; }
.plan__row--text dd { margin-top: 4px; text-align: left; font-weight: 400; }
.plan__row--price { display: block; padding-block: 16px 18px; }
.plan__row--price dt { font-weight: 500; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }

.price { display: inline-flex; align-items: flex-start; gap: 8px; font-variant-numeric: tabular-nums lining-nums; }
.price__cur { margin-top: .55em; font-weight: 500; font-size: .95rem; letter-spacing: .02em; }
.price__val { font-weight: 600; font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.3rem); line-height: 1; letter-spacing: -.035em; }

.is-yes svg { display: inline-block; width: 20px; height: 20px; color: var(--brasa-escura); vertical-align: middle; }
.is-no { color: var(--breu-3); }
.is-num { font-weight: 600; font-size: 1.2rem; }
.plan__ref { position: relative; margin-left: 2px; color: var(--brasa-escura); }
.plan__ref::after { content: ""; position: absolute; inset: -6px -10px; } /* área de toque ≥ 24px */
.plan__cta { width: 100%; margin-top: 22px; }

.plan--featured { background: var(--breu); color: var(--papel); border-color: var(--breu); }
.plan--featured .plan__name { border-bottom-color: var(--brasa); }
.plan--featured .plan__brand, .plan--featured .plan__row dt { color: var(--papel-2); }
.plan--featured .plan__row { border-bottom-color: rgba(242, 239, 231, .14); }
.plan--featured .price__val { color: var(--brasa); }
.plan--featured .is-yes svg { color: var(--brasa); }
.plan--featured .is-no { color: var(--papel-3); }
.plan--featured :focus-visible { outline-color: var(--brasa); }

@media (hover: hover) {
  .plan:not(.plan--featured):hover { background: rgba(11, 11, 12, .045); border-color: var(--breu); }
  .plan--featured:hover { outline: 1px solid var(--brasa); outline-offset: -1px; }
}

/* desktop: tabela comparável com subgrid (linhas alinhadas entre colunas) */
@media (min-width: 1024px) {
  .plans {
    grid-template-columns: minmax(190px, 1.1fr) repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(14, auto);
    gap: 0;
  }
  .plans__labels { display: grid; grid-row: 1 / span 14; grid-template-rows: subgrid; }
  .plans__lab {
    display: flex; align-items: center;
    padding: 13px 18px 13px 0; border-bottom: 1px solid var(--linha);
    font-size: .95rem; line-height: 1.35; color: var(--breu-2);
  }
  .plans__lab--head { border-bottom: 2px solid var(--breu); }
  .plans__lab--cta { border-bottom: 0; }

  .plan {
    display: grid; grid-row: 1 / span 14; grid-template-rows: subgrid;
    padding: 0; border: 0; border-left: 1px solid var(--linha);
  }
  .plan__name { grid-row: 1; align-self: end; padding: 26px 24px 20px; }
  .plan__rows { grid-row: 2 / span 12; display: grid; grid-template-rows: subgrid; }
  .plan__row, .plan__row--text, .plan__row--price { display: flex; align-items: center; justify-content: flex-start; padding: 13px 24px; }
  .plan__row dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .plan__row dd, .plan__row--text dd { margin: 0; text-align: left; }
  .plan__row--price { padding-block: 20px; }
  .plan__cta { grid-row: 14; align-self: start; width: auto; margin: 22px 24px 0; }

  .plan--featured { margin-block: -26px 0; padding-block: 26px 26px; border-left-color: var(--breu); }
  .plan--featured + .plan { border-left-color: var(--breu); }
}

.custom {
  display: grid; gap: 22px;
  margin-top: clamp(48px, 6vw, 88px);
}
.custom__title { font-family: var(--f-display); font-weight: 400; font-synthesis: none; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); line-height: .92; }
.custom__tag { margin-top: 12px; color: var(--brasa-escura); }
.custom__body { display: grid; gap: 24px; justify-items: start; }
.custom__body p { max-width: 52ch; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; color: var(--breu-2); }
@media (min-width: 768px) { .custom__body { grid-template-columns: 1fr auto; align-items: end; gap: 40px; } }
@media (min-width: 1024px) { .custom { grid-template-columns: minmax(190px, 1.1fr) 3fr; gap: 0; } .custom__body { padding-left: 24px; } }

.planos__note { max-width: 80ch; margin-top: 28px; font-size: .9375rem; color: var(--breu-2); }

/* 14 · PORTFÓLIO ---------------------------------------------------------- */
.works { display: grid; gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 680px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .works { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.work {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--veil); border: 1px solid var(--hair);
  transition: border-color .5s var(--ease-out);
}
.work:hover { border-color: rgba(242, 239, 231, .38); }
.work:has(.work__open:focus-visible) { outline: 2px solid var(--brasa); outline-offset: 3px; }

/* capa: grade 3x3 abstrata (no lugar das imagens do projeto) */
.work__cover {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 5px;
  aspect-ratio: 1 / 1; padding: 14px;
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.work__cover i { display: block; background: var(--t, rgba(242, 239, 231, .06)); transition: transform .8s var(--ease-out); }
.work__cover i:nth-child(1) { transition-delay: .00s; } .work__cover i:nth-child(2) { transition-delay: .03s; }
.work__cover i:nth-child(3) { transition-delay: .06s; } .work__cover i:nth-child(4) { transition-delay: .03s; }
.work__cover i:nth-child(5) { transition-delay: .06s; } .work__cover i:nth-child(6) { transition-delay: .09s; }
.work__cover i:nth-child(7) { transition-delay: .06s; } .work__cover i:nth-child(8) { transition-delay: .09s; }
.work__cover i:nth-child(9) { transition-delay: .12s; }
@media (hover: hover) { .work:hover .work__cover i { transform: scale(.9); } .work:hover .work__cover i:nth-child(odd) { transform: scale(.82); } }

/* três combinações de tom, só com a paleta */
.work[data-cover="a"] i { --t: rgba(242, 239, 231, .07); }
.work[data-cover="a"] i:nth-child(1), .work[data-cover="a"] i:nth-child(6) { --t: var(--fumaca); }
.work[data-cover="a"] i:nth-child(5) { --t: var(--brasa); }
.work[data-cover="a"] i:nth-child(8) { --t: var(--papel); }
.work[data-cover="b"] i { --t: var(--fumaca); }
.work[data-cover="b"] i:nth-child(2), .work[data-cover="b"] i:nth-child(4), .work[data-cover="b"] i:nth-child(9) { --t: var(--papel); }
.work[data-cover="b"] i:nth-child(7) { --t: var(--brasa); }
.work[data-cover="b"] i:nth-child(5) { --t: rgba(242, 239, 231, .07); }
.work[data-cover="c"] i { --t: rgba(242, 239, 231, .07); }
.work[data-cover="c"] i:nth-child(3), .work[data-cover="c"] i:nth-child(7) { --t: var(--papel); }
.work[data-cover="c"] i:nth-child(1) { --t: var(--brasa); }
.work[data-cover="c"] i:nth-child(5), .work[data-cover="c"] i:nth-child(9) { --t: var(--fumaca); }

.work__body { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px) 70px; }
.work__cat { color: var(--brasa); }
.work__name { font-family: var(--f-display); font-weight: 400; font-synthesis: none; font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1; letter-spacing: -.012em; }
.work__open { text-align: left; letter-spacing: inherit; }
.work__open::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.work__open:focus-visible { outline: none; }
.work__lines { display: grid; gap: 14px; margin-top: 6px; }
.work__lines dt { margin-bottom: 4px; color: var(--papel-2); }
.work__lines dd { font-size: .98rem; line-height: 1.45; }
.work__text { max-width: 54ch; color: var(--papel-2); }
.work__go {
  position: absolute; left: clamp(20px, 2vw, 28px); bottom: 20px; z-index: 1;
  width: 26px; height: 26px; color: var(--papel);
  transition: transform .5s var(--ease-out), color .4s ease;
}
.work__go svg { width: 100%; height: 100%; }
.work:hover .work__go { transform: translate(5px, -5px); color: var(--brasa); }

/* card da própria Crower (sem tarja): frente breu + verso em trama */
.work--crower { grid-column: 1 / -1; }
.work--crower .work__cover { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; aspect-ratio: 16 / 10; }
.work__face { display: grid; place-items: center; padding: 14%; background: var(--breu); }
.work__face img { width: 100%; height: auto; max-width: 300px; transition: transform .9s var(--ease-out); }
.work__trama { position: relative; overflow: hidden; background: var(--brasa); }
.work__trama::after {
  content: ""; position: absolute; inset: -6%;
  background: var(--papel);
  -webkit-mask: url("../assets/svg/trama.svg") center / cover no-repeat;
  mask: url("../assets/svg/trama.svg") center / cover no-repeat;
  transition: transform 1.2s var(--ease-out);
}
@media (hover: hover) {
  .work--crower:hover .work__face img { transform: scale(1.04); }
  .work--crower:hover .work__trama::after { transform: translateY(-4%); }
}
/* trama viva (JS): cada pena da trama é um elemento animável; sem JS fica a máscara */
.trama-live { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; overflow: hidden; }
.work__trama { color: var(--papel); }
.work__trama.is-live::after { display: none; }
@media (min-width: 1024px) {
  .work--crower { flex-direction: row; }
  .work--crower .work__cover { flex: 0 0 58%; aspect-ratio: auto; min-height: 440px; border-bottom: 0; border-right: 1px solid var(--hair); }
  .work--crower .work__body { align-content: center; padding: 48px 48px 80px; }
  .work--crower .work__go { left: 48px; bottom: 40px; }
}

/* seguidor de cursor */
.follower {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  padding: 11px 14px;
  background: var(--brasa); color: var(--breu);
  font-weight: 500; font-size: .6875rem; line-height: 1; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translate(-50%, -50%) scale(.4);
}

/* 15 · MODAL DE PROJETO --------------------------------------------------- */
.modal {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; height: 100dvh;
  margin: 0; padding: 0; inset: 0;
  border: 0; border-radius: 0;
  background: var(--breu); color: var(--papel);
  overflow-y: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(11, 11, 12, .72); }
@media (min-width: 900px) {
  .modal { width: min(1040px, 92vw); margin-left: auto; border-left: 1px solid var(--hair); }
}
.modal__bar {
  position: sticky; top: 0; z-index: 4;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px var(--gutter);
  background: rgba(11, 11, 12, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.modal__crumb { color: var(--papel-2); }
.modal__close {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  transition: color .3s ease;
}
.modal__close i { position: relative; width: 18px; height: 18px; }
.modal__close i::before, .modal__close i::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 1.5px; margin-top: -.75px;
  background: currentColor; transform: rotate(45deg); transition: transform .45s var(--ease-out);
}
.modal__close i::after { transform: rotate(-45deg); }
.modal__close:hover { color: var(--brasa); }
.modal__close:hover i::before { transform: rotate(135deg); }
.modal__close:hover i::after { transform: rotate(45deg); }
.modal__content { padding: clamp(28px, 4vw, 56px) var(--gutter) 96px; }

.proj__head {
  position: relative; display: grid; gap: 16px; justify-items: start;
  padding-bottom: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--hair);
}
.proj__kicker { color: var(--brasa); }
.proj__title { font-family: var(--f-display); font-weight: 400; font-synthesis: none; font-size: clamp(2.2rem, 1.3rem + 2.8vw, 4rem); line-height: .92; letter-spacing: -.02em; }
.proj__head .tarja-c { position: static; }
.proj__lines { display: grid; gap: 18px; width: 100%; margin-top: 10px; }
.proj__lines dt { margin-bottom: 6px; color: var(--papel-2); }
.proj__lines dd { font-size: 1.0625rem; line-height: 1.45; }
@media (min-width: 700px) { .proj__lines { grid-template-columns: 1fr 1fr; gap: 32px; } }
.proj__intro { max-width: 60ch; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--papel-2); }

.proj__block { padding-block: clamp(26px, 3vw, 42px); border-bottom: 1px solid var(--hair); }
.proj__h {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px;
  font-family: var(--f-display); font-weight: 400; font-synthesis: none;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.05;
}
.proj__h .label { color: var(--brasa); }
.proj__img-note { margin: -6px 0 16px; color: var(--papel-2); }
.proj__themes { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); counter-reset: t; }
.proj__themes .ph { display: block; padding: 14px; }

.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pieces--grid { max-width: 540px; }
@media (min-width: 700px) { .pieces:not(.pieces--grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.piece { position: relative; aspect-ratio: 4 / 5; padding: 10px; background: var(--t, rgba(242, 239, 231, .07)); color: var(--pc, var(--papel-2)); }
.piece .label { font-size: .625rem; }
.piece .tarja-c { padding: 5px 7px; font-size: .5625rem; }

/* Crower: famílias, manual, sistema, paleta, tipografia */
.fam { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fam__item {
  display: grid; place-items: center; align-content: center; gap: 18px;
  padding: clamp(22px, 3vw, 36px); min-height: 190px;
  background: var(--veil); border: 1px solid var(--hair);
}
.fam__item img { width: auto; height: auto; max-width: 78%; max-height: 92px; }
.fam__item--wide { grid-column: 1 / -1; min-height: 220px; }
.fam__item--wide img { max-width: min(78%, 380px); max-height: none; }
.fam__item figcaption, .sys__item figcaption { color: var(--papel-2); }

.manual { display: grid; gap: 8px; }
@media (min-width: 700px) { .manual { grid-template-columns: 1.1fr 1fr; } }
.manual__cover {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  min-height: 240px; padding: 24px; border: 1px solid var(--hair);
}
.manual__cover .label:first-child { color: var(--brasa); }
.manual__cover .label:last-child { color: var(--papel-2); }
.manual__cover strong { font-family: var(--f-display); font-weight: 400; font-synthesis: none; font-size: clamp(2.2rem, 1.5rem + 2vw, 3.4rem); line-height: .92; }
.manual__parts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.manual__parts li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 18px; border: 1px solid var(--hair);
  font-family: var(--f-display); font-size: 1.45rem; line-height: 1;
}
.manual__parts .label { color: var(--brasa); }

.sys { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.sys__item {
  display: grid; place-items: center; align-content: center; gap: 16px;
  aspect-ratio: 1; padding: 20px;
  background: var(--veil); border: 1px solid var(--hair);
}
.sys__item img { width: auto; height: auto; max-width: 72%; max-height: 88px; }
.sys__item--pena, .sys__item--trama { background: var(--brasa); border-color: var(--brasa); }
.sys__item--pena figcaption, .sys__item--trama figcaption { color: var(--breu); }
.sys__mask { display: block; width: 78%; aspect-ratio: 2053 / 708; background: var(--papel); -webkit-mask: url("../assets/svg/pena.svg") center / contain no-repeat; mask: url("../assets/svg/pena.svg") center / contain no-repeat; }
.sys__mask--trama { width: 100%; aspect-ratio: 4 / 3; -webkit-mask: url("../assets/svg/trama.svg") center / cover no-repeat; mask: url("../assets/svg/trama.svg") center / cover no-repeat; }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.sw { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--hair); }
.sw__chip { display: block; aspect-ratio: 3 / 2; margin-bottom: 6px; background: var(--c); border: 1px solid var(--hair); }
.sw strong { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; line-height: 1; }
.sw .label { color: var(--papel-2); }

.type { display: grid; gap: 8px; }
@media (min-width: 700px) { .type { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.type__item { display: grid; gap: 12px; align-content: start; padding: 22px; border: 1px solid var(--hair); }
.type__item > .label { color: var(--brasa); }
.type__aa { font-size: 4.4rem; line-height: 1; }
.type__aa--display { font-family: var(--f-display); }
.type__aa--label { font-size: 3.2rem; font-weight: 500; letter-spacing: .16em; }
.type__sample { color: var(--papel-2); }
.type__sample--display { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.05; color: var(--papel); }

/* 16 · FAQ ---------------------------------------------------------------- */
.faq__grid { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
/* corvo chapado que observa as perguntas (só no desktop, onde a coluna tem espaço) */
.watch { display: none; }
.watch__pupil { fill: var(--brasa); }
@media (min-width: 1024px) {
  .watch { display: block; width: clamp(150px, 14vw, 220px); height: auto; margin-top: clamp(40px, 5vw, 72px); fill: var(--papel); overflow: visible; }
}
.faq__list { border-top: 1px solid var(--hair); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.4vw, 30px) 0;
  text-align: left;
  font-weight: 500; font-size: clamp(1.0625rem, .98rem + .4vw, 1.3rem); line-height: 1.32; letter-spacing: -.01em;
  transition: color .3s ease;
}
@media (hover: hover) { .faq__q button:hover { color: var(--brasa); } }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: var(--brasa); transition: transform .5s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__item.is-open .faq__icon::before { transform: rotate(180deg); }

.faq__panel {
  display: grid; grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .6s var(--ease-out), visibility 0s linear .6s;
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .6s var(--ease-out), visibility 0s; }
.faq__inner { overflow: hidden; min-height: 0; }
.faq__inner p {
  max-width: 62ch; padding: 0 46px clamp(22px, 2.4vw, 30px) 0;
  color: var(--papel-2); font-size: 1.0625rem; line-height: 1.6;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .4s ease, transform .6s var(--ease-out);
}
.faq__item.is-open .faq__inner p { opacity: 1; transform: none; transition-delay: .12s; }

/* 17 · FECHO (convite em brasa) ------------------------------------------- */
.fecho { position: relative; }
.fecho__panel {
  position: relative; overflow: hidden;
  padding-block: clamp(80px, 10vw, 150px);
  background: var(--brasa); color: var(--breu);
}
.fecho__trama {
  position: absolute; top: 0; bottom: 0; right: 0; width: 70%;
  background: var(--breu); opacity: .085; pointer-events: none;
  -webkit-mask: url("../assets/svg/trama.svg") right center / cover no-repeat;
  mask: url("../assets/svg/trama.svg") right center / cover no-repeat;
}
.fecho__trama.is-live { background: none; -webkit-mask: none; mask: none; color: var(--breu); opacity: .1; }
.fecho__inner { position: relative; }
.fecho__title {
  max-width: 11.5em;
  font-family: var(--f-display); font-weight: 400; font-synthesis: none;
  font-size: clamp(2.4rem, .9rem + 4.8vw, 6.2rem); line-height: .92; letter-spacing: -.024em;
  text-wrap: balance;
}
.fecho__row {
  display: grid; gap: 32px;
  margin-top: clamp(32px, 4vw, 56px);
}
.fecho__text { max-width: 44ch; font-size: clamp(1.0625rem, 1rem + .5vw, 1.375rem); line-height: 1.45; }
.fecho__cta { display: grid; gap: 14px; justify-items: start; }
.fecho .btn--dark { --fill: var(--papel); --fill-fg: var(--breu); --glint: rgba(255, 90, 31, .55); }
.fecho :focus-visible { outline-color: var(--breu); }
@media (min-width: 1024px) {
  .fecho__row { grid-template-columns: 1fr auto; align-items: end; gap: 64px; }
  .fecho__cta { justify-items: end; }
}
@media (max-width: 479px) { .fecho__cta, .fecho__cta .btn { width: 100%; } }

/* 18 · RODAPÉ ------------------------------------------------------------- */
.footer { position: relative; padding-block: clamp(64px, 8vw, 120px) clamp(28px, 3vw, 40px); }
.footer__inner { display: grid; gap: 44px; }
.footer__brand { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer__logo { width: clamp(140px, 13vw, 180px); height: auto; color: var(--papel); }
.footer__selo { width: clamp(76px, 7vw, 108px); height: auto; }
.footer__contact { display: grid; gap: 8px; align-content: start; font-size: 1.0625rem; }
.footer__contact span { color: var(--papel-2); }
.footer__contact a { justify-self: start; transition: color .3s ease; }
.footer__contact a:hover { color: var(--brasa); }
.footer__links { border-top: 1px solid var(--hair); }
.footer__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--hair);
  font-family: var(--f-display); font-size: 1.5rem; line-height: 1;
  transition: color .3s ease, padding .45s var(--ease-out);
}
.footer__links svg { width: 20px; height: 20px; transition: transform .45s var(--ease-out); }
@media (hover: hover) {
  .footer__links a:hover { color: var(--brasa); padding-left: 10px; }
  .footer__links a:hover svg { transform: translate(3px, -3px); }
}
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 8px; color: var(--papel-2);
}
.footer__top { display: inline-flex; align-items: center; gap: 10px; padding-block: 8px; margin-block: -8px; transition: color .3s ease; } /* área de toque ≥ 24px, sem mexer no layout */
.footer__top svg { width: 16px; height: 16px; transform: rotate(180deg); }
.footer__top:hover { color: var(--brasa); }

@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1.25fr 1fr 1fr; align-items: start; column-gap: 56px; }
  .footer__brand { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .footer__base { grid-column: 1 / -1; }
}
@media (max-width: 767px) { .footer { padding-bottom: 104px; } }

/* 19 · CTA FIXO DE WHATSAPP (mobile) -------------------------------------- */
.fab {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 54px; padding: 0 18px 0 20px;
  background: var(--brasa); color: var(--breu);
  font-weight: 500; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(160%);
  transition: transform .6s var(--ease-out);
}
.fab svg { width: 18px; height: 18px; flex: none; }
.fab.is-visible { transform: none; }
html.no-js .fab, html.no-anim .fab { transform: none; }
@media (min-width: 768px) { .fab { display: none; } }

/* 20 · TEXTURA (xerox leve sobre o breu) ---------------------------------
   O manual lista "textura de xerox" como pendente. Esta é uma versão sutil;
   para desligar, troque --grain para 0.                                  */
:root { --grain: .055; }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: url("../assets/img/grain.png") repeat;
  opacity: var(--grain);
}

/* 21 · MOVIMENTO REDUZIDO / SEM JS ---------------------------------------- */
/* estado inicial do hero antes do JS (só quando haverá animação) */
/* Com a abertura (1ª visita) o texto do topo já é desenhado no primeiro
   paint, por trás da cortina: o Google mede o LCP aí, e não 2s depois.
   O JS esconde e anima o texto antes de a cortina abrir.               */
html.js:not(.rm):not(.intro-ready):not(.has-loader) [data-intro],
html.js:not(.rm):not(.intro-ready):not(.has-loader) [data-intro-split] {
  opacity: 0;
  animation: failsafe-show 0s linear 3.4s forwards; /* se o JS não rodar */
}
@keyframes failsafe-show { to { opacity: 1; } }

html.no-js .faq__panel { grid-template-rows: 1fr; visibility: visible; }
html.no-js .faq__inner p { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .tarja__track { animation: none !important; }
}
