/* =========================================================
   FLIPSIDE — Site principal (capítulos cinematográficos)
   Animações em assets/js/motion.js (GSAP + ScrollTrigger + Lenis).
   Sem JavaScript, tudo aparece normalmente.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--orange); color: var(--wine); }
:focus-visible { outline: 2px solid var(--orange-2); outline-offset: 4px; border-radius: 4px; }
.t-cream :focus-visible, .t-orange :focus-visible { outline-color: var(--wine); }
[id] { scroll-margin-top: 90px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Estrutura ---------- */
.sec { position: relative; padding-block: var(--sec-y); overflow: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Tipografia ---------- */
.h-mega, .h-xl, .h-l, .h-m { margin: 0; font-weight: 800; letter-spacing: var(--ls-tight); text-wrap: balance; }
.h-mega { font-size: var(--fs-mega); line-height: .88; }
.h-xl { font-size: var(--fs-xl); line-height: .92; }
.h-l  { font-size: var(--fs-l); line-height: .98; letter-spacing: -.045em; }
.h-m  { font-size: var(--fs-m); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.h-xl em, .h-l em, .h-mega em, .h-m em { font-style: normal; color: var(--acc); }
.t-cream .h-xl em, .t-cream .h-l em, .t-cream .h-mega em { color: var(--orange-big); }
.lead { margin: 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }

/* Rótulo com os dois pingos */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.eyebrow::before { background: var(--orange); order: -2; }
.eyebrow::after { box-shadow: inset 0 0 0 1.8px var(--orange); order: -1; margin-left: -6px; }
.t-orange .eyebrow::before { background: var(--wine); }
.t-orange .eyebrow::after { box-shadow: inset 0 0 0 1.8px var(--wine); }

/* Palavras divididas pelo motion.js */
/* folga em cima e embaixo para acentos e letras como g, p e ç não serem cortados */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .02em .22em; margin: -.12em -.02em -.22em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: var(--pill); border: 1.5px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn .ph { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover .ph { transform: translateX(4px); }
.btn--orange { background: var(--orange); color: var(--wine); }
.btn--orange:hover { background: var(--fg); color: var(--bg); }
.t-orange .btn--orange { background: var(--wine); color: var(--cream); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--orange); color: var(--wine); }
.btn--block { width: 100%; }
.pingos { display: inline-flex; gap: 4px; }
.pingos i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: block; }
.pingos i + i { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }

/* ---------- Nav flutuante (aparece depois da hero) ---------- */
.fnav {
  position: fixed; z-index: 80; top: 14px; left: 50%;
  transform: translate(-50%, -140%);
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px);
  padding: 8px 8px 8px 20px; border-radius: var(--pill);
  background: rgba(26, 5, 16, .78); color: var(--cream);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(248, 242, 236, .1);
  transition: transform .6s var(--ease), visibility 0s linear .6s;
  visibility: hidden;
  max-width: calc(100% - 24px);
}
.fnav.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
.fnav__logo { line-height: 0; }
.fnav__logo { flex: none; }
.fnav__logo svg { width: 92px; max-width: none; height: auto; color: var(--cream); }
.fnav__links { display: flex; gap: clamp(12px, 2vw, 26px); font-size: 14px; font-weight: 500; }
.fnav__links a { opacity: .8; transition: opacity .2s; }
.fnav__links a:hover, .fnav__links a.is-active { opacity: 1; }
.fnav__links a.is-active { color: var(--orange-2); }
.fnav .btn { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Faixa corrida ---------- */
.marquee { overflow: hidden; padding-block: clamp(18px, 2.6vw, 34px); border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px);
  font-size: clamp(2.6rem, 7.4vw, 7rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap;
}
.marquee--outline .marquee__item { color: transparent; -webkit-text-stroke: 1.5px var(--fg); font-size: clamp(2rem, 5vw, 4.6rem); }
.marquee__dot { width: .34em; height: .34em; border-radius: 50%; background: currentColor; flex: none; }
.marquee__dot--o { background: transparent; box-shadow: inset 0 0 0 .07em currentColor; }
.marquee--outline .marquee__dot { background: var(--orange); }
.marquee--outline .marquee__dot--o { background: transparent; box-shadow: inset 0 0 0 .07em var(--orange); }

/* ---------- Sobre ---------- */
.about__statement { max-width: 20ch; }
.about__statement .w > span { color: inherit; }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.about__copy p { margin: 0 0 18px; font-size: var(--fs-s); line-height: 1.55; color: var(--muted); max-width: 54ch; }
.about__copy p strong { color: var(--fg); font-weight: 700; }
.about__copy .btn { margin-top: 14px; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stat { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.stat__value { font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 800; letter-spacing: -.055em; line-height: .85; font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .38em; color: var(--orange-big); letter-spacing: -.02em; margin-left: .04em; }
.stat__label { margin: 0; font-size: var(--fs-small); color: var(--muted); max-width: 26ch; line-height: 1.45; }

/* ---------- Porta pra fora / pra dentro ---------- */
.head-row { max-width: 820px; margin-bottom: clamp(40px, 5vw, 72px); }
.head-row .lead { margin-top: clamp(18px, 2vw, 26px); }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2vw, 28px); align-items: stretch; }
.vs-col { border-radius: var(--radius-l); padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; align-content: start; }
.vs-col--old { background: rgba(248, 242, 236, .04); border: 1px solid var(--line); }
.vs-col--new { background: var(--wine-3); border: 1px solid rgba(255, 154, 31, .35); }
.vs-col .tag { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.vs-col--new .tag { color: var(--orange-2); }
.vs-col p { margin: 0; color: var(--muted); }
.vs-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.vs-list li { position: relative; display: block; padding-left: 34px; font-size: 1.02rem; }
.vs-list .ph { position: absolute; left: 0; top: 3px; font-size: 20px; }
.vs-col--old .vs-list li { color: var(--muted); }
.vs-col--old .vs-list .ph { color: var(--muted); opacity: .6; }
/* risco desenhado em cada linha do texto (funciona quando a frase quebra) */
.vs-col--old .vs-list li span {
  background: linear-gradient(var(--muted), var(--muted)) no-repeat 0 58% / calc(var(--strike, 1) * 100%) 1.5px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.vs-col--new .vs-list .ph { color: var(--orange-2); }
.vs-badge {
  align-self: center; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: -.02em;
  background: var(--orange); color: var(--wine);
}
.bridge {
  margin-top: clamp(20px, 3vw, 36px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3.4vw, 44px); border-radius: var(--radius-l); background: var(--cream); color: var(--wine);
}
.bridge p { margin: 0; font-size: var(--fs-m); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.bridge p em { font-style: normal; color: var(--orange-big); }

/* ---------- Serviços (rolagem horizontal presa) ---------- */
.services { padding-block: 0; }
.services__pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.services__track { display: flex; align-items: stretch; gap: clamp(16px, 2vw, 28px); padding-inline: var(--pad); will-change: transform; }
.services__intro { flex: none; width: min(560px, 80vw); align-self: center; padding-right: clamp(10px, 3vw, 60px); }
.services__intro .lead { margin-top: 24px; }
.svc {
  flex: none; position: relative; width: min(640px, 82vw); min-height: min(640px, 76svh);
  border-radius: var(--radius-l); padding: clamp(26px, 3.4vw, 46px);
  background: var(--wine-3); color: var(--cream);
  display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  border: 1px solid var(--line);
}
.svc:nth-of-type(odd) { background: var(--cream); color: var(--wine); --muted: var(--muted-on-light); --line: rgba(61,11,30,.14); }
/* .svc.svc--hl para vencer o :nth-of-type(odd) acima (o cartão laranja é o 3º) */
.svc.svc--hl { background: var(--orange); color: var(--wine); --muted: var(--wine); --line: rgba(61,11,30,.22); }
.svc__num {
  position: absolute; right: clamp(18px, 2.6vw, 34px); top: clamp(4px, 1vw, 14px);
  font-size: clamp(7rem, 14vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px currentColor; opacity: .35; pointer-events: none;
}
.svc__kicker { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; opacity: .7; }
.svc h3 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .92; }
.svc__tag { margin: 0; font-size: var(--fs-s); font-weight: 600; letter-spacing: -.02em; }
.svc__desc { margin: 0; color: var(--muted); max-width: 46ch; }
.svc__inc { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.svc__inc li { padding: 8px 14px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.services__progress {
  position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(20px, 4vh, 40px);
  height: 2px; background: var(--line); border-radius: 2px; overflow: hidden;
}
.services__progress i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* ---------- Método ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); padding-top: 60px; }
.timeline__line { position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: var(--line); }
.timeline__line i { position: absolute; inset: 0; background: var(--orange-big); transform: scaleX(var(--tl, 1)); transform-origin: left; }
.tstep { position: relative; display: grid; gap: 16px; align-content: start; }
.tstep__node {
  position: absolute; top: -60px; left: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--cream); box-shadow: inset 0 0 0 3px var(--orange-big);
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.tstep.is-lit .tstep__node { background: var(--orange); box-shadow: none; transform: scale(1.08); }
.tstep__num { font-size: clamp(4.4rem, 8vw, 7.6rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); transition: color .6s var(--ease), -webkit-text-stroke-color .6s; }
.tstep.is-lit .tstep__num { color: var(--wine); -webkit-text-stroke-color: var(--wine); }
.tstep h3 { margin: 0; font-size: var(--fs-m); font-weight: 700; letter-spacing: -.035em; }
.tstep p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { padding: 7px 13px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.case:first-child { grid-row: span 2; }
.case:first-child .case__roas { font-size: clamp(5.6rem, 11vw, 10rem); }
.case:first-child .case__summary { font-size: clamp(1.2rem, 1.9vw, 1.65rem); line-height: 1.3; letter-spacing: -.02em; color: var(--fg); max-width: 24ch; }
.case:first-child .case__metrics dd { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.case:not(:first-child) .case__roas { font-size: clamp(3.4rem, 5vw, 4.6rem); }
.case {
  position: relative; border-radius: var(--radius-l); padding: clamp(24px, 2.8vw, 36px);
  background: var(--wine-3); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px; overflow: hidden;
  transition: border-color .4s, transform .6s var(--ease);
}
.case:hover { border-color: rgba(255, 154, 31, .5); }
.case__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.case__head b { color: var(--orange-2); font-weight: 700; }
.case__roas { font-size: clamp(4.6rem, 8vw, 7.4rem); font-weight: 800; letter-spacing: -.06em; line-height: .82; font-variant-numeric: tabular-nums; }
.case__roas small { font-size: .2em; letter-spacing: .02em; color: var(--orange-2); margin-left: .25em; font-weight: 700; }
.case__summary { margin: 0; color: var(--muted); }
.case__metrics { margin: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.case__metrics div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.case__metrics div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 12px; }
.case__metrics div:nth-child(even) { padding-left: 16px; }
.case__metrics dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case__metrics dd { margin: 4px 0 0; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.cases-note { margin: 22px 0 0; font-size: var(--fs-small); color: var(--muted); }

/* ---------- Segmentos ---------- */
.seglist { border-top: 1px solid var(--line-2); }
.seg {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto 48px; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: clamp(20px, 2.6vw, 34px) clamp(8px, 1.2vw, 18px); border-bottom: 1px solid var(--line-2);
  isolation: isolate; overflow: hidden;
}
.seg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.seg:hover::before, .seg:focus-visible::before { transform: scaleY(1); }
.seg__n { font-size: var(--fs-small); font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.seg h3 { margin: 0; font-size: clamp(1.8rem, 4.4vw, 4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; transition: transform .55s var(--ease); }
.seg:hover h3 { transform: translateX(12px); }
.seg__sub { font-size: var(--fs-small); color: var(--muted); text-align: right; }
.seg:hover .seg__sub, .seg:hover .seg__n { color: var(--wine); }
.seg__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .55s var(--ease); }
.seg__arrow svg { width: 18px; height: 18px; }
.seg:hover .seg__arrow { background: var(--wine); border-color: var(--wine); color: var(--cream); transform: rotate(45deg); }
.seg--live .seg__n::after { content: " · no ar"; color: var(--orange-txt); }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: clamp(120px, 18vw, 260px); text-align: center; }
.manifesto .h-mega { max-width: 13ch; margin-inline: auto; }
/* contraste pelo peso: a primeira frase fina, a segunda bem pesada (o contorno vazado da fonte variável mostrava as emendas das letras) */
.manifesto .h-mega .outline { font-weight: 300; letter-spacing: -.045em; }
.manifesto .lead { margin: clamp(28px, 4vw, 44px) auto 0; color: var(--wine); max-width: 50ch; }
.manifesto__dots { position: absolute; inset: 0; pointer-events: none; }
.manifesto__dots i { position: absolute; border-radius: 50%; }
.manifesto__dots i:nth-child(1) { width: 26vw; height: 26vw; left: -8vw; top: -6vw; background: rgba(61, 11, 30, .08); }
.manifesto__dots i:nth-child(2) { width: 20vw; height: 20vw; right: -5vw; bottom: -6vw; box-shadow: inset 0 0 0 3.4vw rgba(61, 11, 30, .08); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 110px); }
.faq__side .lead { margin-top: 24px; }
.faq__side a { color: var(--orange-txt); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: var(--fs-s); font-weight: 700; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background .35s, border-color .35s, transform .5s var(--ease); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { margin: 0 0 26px; color: var(--muted); max-width: 62ch; animation: faq-in .5s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__aside { display: grid; gap: 24px; }
.wa-card { margin-top: 18px; padding: 26px; border-radius: var(--radius-l); background: var(--wine-3); border: 1px solid var(--line); display: grid; gap: 16px; justify-items: start; }
.wa-card p { margin: 0; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius-l); background: var(--cream); color: var(--wine); --line-2: rgba(61,11,30,.36); --muted: var(--muted-on-light); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-label); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); padding: 0; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0;
  color: var(--wine); font: inherit; font-size: 1.05rem; padding: 10px 0; outline: none; transition: border-color .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--orange-txt); }
.field input::placeholder, .field textarea::placeholder { color: #9A7F88; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B3261E; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.option { position: relative; }
.option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option span { display: inline-block; padding: 10px 16px; border-radius: var(--pill); border: 1.5px solid var(--line-2); font-size: 14px; font-weight: 600; transition: all .25s; }
.option input:checked + span { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.option input:focus-visible + span { outline: 2px solid var(--orange-txt); outline-offset: 2px; }
.form .btn--orange:hover { background: var(--wine); color: var(--cream); }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 14px; font-weight: 600; min-height: 1.2em; color: #1F7A4D; }
.form__status.is-error { color: #B3261E; }

/* ---------- Rodapé ---------- */
.footer { padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.footer__cta { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; }
.footer__big { margin-top: clamp(48px, 7vw, 100px); color: var(--cream); line-height: 0; }
.footer__big svg { width: 100%; height: auto; }
.footer__bar {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 26px; margin-top: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line);
  font-size: var(--fs-small); color: var(--muted);
}
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a:hover { color: var(--fg); }

/* ---------- Granulado nos capítulos escuros ---------- */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 1; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .cases { grid-template-columns: 1fr 1fr; }
  .case:first-child { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .fnav__links { display: none; }
  .about__grid, .head-row, .faq, .contact { grid-template-columns: 1fr; }
  .versus { grid-template-columns: 1fr; }
  .vs-badge { justify-self: center; margin-block: -6px; }
  /* serviços: no celular, cartões empilhados em vez de rolagem lateral */
  .services { padding-block: var(--sec-y); }
  .services__pin { height: auto; display: block; overflow: visible; }
  .services__track { flex-direction: column; padding-inline: var(--pad); transform: none !important; }
  .services__intro, .svc { width: 100%; }
  .services__intro { margin-bottom: 16px; }
  .svc { min-height: 0; }
  .services__progress { display: none; }
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 64px; gap: 48px; }
  .timeline__line { left: 18px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline__line i { transform: scaleY(var(--tl, 1)); transform-origin: top; }
  .tstep__node { top: 0; left: -64px; }
}
@media (max-width: 640px) {
  .cases { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr 44px; }
  .seg__n { display: none; }
  .seg__sub { grid-column: 1; text-align: left; margin-top: -8px; }
  .seg__arrow { grid-row: 1; grid-column: 2; width: 44px; height: 44px; }
  .stat { grid-template-columns: 1fr; gap: 8px; }
  .form { grid-template-columns: 1fr; }
  .fnav { gap: 12px; padding-left: 16px; }
  .fnav__logo svg { width: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
