/* =========================================================
   WRMax Marketing + IA — Design tokens (tema premium dourado)
   ========================================================= */
:root {
  --bg: #0a0907;
  --bg-2: #100e0a;
  --surface: #15130e;
  --line: rgba(232, 205, 150, .09);
  --line-2: rgba(232, 205, 150, .2);
  --text: #f5efe2;
  --muted: #a99f8a;
  --muted-2: #8b8271; /* texto de apoio bem discreto (notas, datas): ainda passa de 4,5:1 de contraste no fundo */
  --gold: #c9973a;        /* dourado profundo: números, marcadores */
  --champagne: #e8c77a;   /* champanhe: rótulos, links, foco */
  --gold-light: #f6dfa0;  /* dourado claro: destaques e confirmações */
  --grad: linear-gradient(100deg, #8a6420 0%, #d4a647 30%, #f8e6b0 50%, #d4a647 70%, #8a6420 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* as mesmas cores em RGB, para usar com transparência: rgba(var(--c1-rgb), .5). O --c3-rgb também é lido pelo main.js */
  --c1-rgb: 201, 151, 58;   /* dourado profundo */
  --c2-rgb: 232, 199, 122;  /* champanhe */
  --c3-rgb: 246, 223, 160;  /* dourado claro */
  --btn-text: #1a1408;
  --glass: rgba(21, 19, 14, .85);
  --glass-nav: rgba(10, 9, 7, .7);
  /* largura da coluna de conteúdo: 1200px nas telas comuns; em rem para crescer junto nas telas grandes */
  --container: 75rem;
  /* escala do celular da seção "Na prática" (encolhe em notebooks, cresce em monitores grandes) */
  --phone-scale: 1;
}

/* MONITORES GRANDES (1600px ou mais): a página inteira cresce em proporção. O tamanho base da fonte sobe
   com a largura (16px em 1600, ~17px em 1920, 20px em 2560, ~25px em 3840) e, como quase tudo é medido em
   rem, textos, espaços e a coluna de conteúdo crescem juntos. O limite pela altura (1,82vh) garante que
   as seções presas na tela continuem cabendo em monitores largos e baixos (ultrawide). */
@media (min-width: 1600px) {
  html { font-size: clamp(16px, min(calc(9.33px + .4167vw), 1.82vh), 28px); }
}
/* o celular da jornada é desenhado em px: cresce por escala, em degraus, só quando há altura para isso */
@media (min-width: 1600px) and (min-height: 880px) { :root { --phone-scale: 1.08; } }
@media (min-width: 2200px) and (min-height: 1150px) { :root { --phone-scale: 1.25; } }
@media (min-width: 3000px) and (min-height: 1600px) { :root { --phone-scale: 1.55; } }

/* =========================================================
   Base
   ========================================================= */
/* grão sutil de papel/filme sobre a página inteira: textura premium */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; text-wrap: balance; } /* balance: sem palavra sozinha na última linha */
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }

/* foco pelo teclado: um anel champanhe igual em links, botões e controles (só aparece ao navegar com Tab) */
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
/* atalho para quem navega pelo teclado: aparece no primeiro Tab e pula direto para o conteúdo */
.skip {
  position: fixed; left: 16px; top: 16px; z-index: 200; padding: .7rem 1.1rem; border-radius: 4px;
  background: var(--champagne); color: var(--btn-text); font-weight: 600; transform: translateY(-200%); transition: transform .2s;
}
.skip:focus { transform: none; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Rótulo de seção: texto com um traço dourado antes, sem caixa nem pílula */
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font-size: .92rem; font-weight: 500; color: var(--champagne); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 4px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: .04em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; z-index: 1;
}
.btn--primary { background: var(--grad); color: var(--btn-text); box-shadow: 0 10px 40px -14px rgba(var(--c1-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--primary:hover { box-shadow: 0 16px 50px -8px rgba(var(--c2-rgb), .6); }
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; }
.arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 16px 16px auto; z-index: 50;
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .7rem .8rem .7rem 1.4rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--glass-nav); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  transition: background .3s, transform .5s var(--ease), opacity .4s, visibility .4s;
}
/* some ao descer e volta ao subir (main.js) */
.nav--hidden { transform: translateY(calc(-100% - 24px)); }
/* quanto da página já foi percorrido */
.nav__progress {
  position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.nav__links a { position: relative; transition: color .3s; }
.nav__links a.is-active { color: var(--text); }
@media (min-width: 761px) {
  .nav__links a.is-active::after {
    content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px;
    border-radius: 50%; background: var(--champagne); box-shadow: 0 0 8px var(--champagne);
  }
}
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; gap: 2rem; font-size: .92rem; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; padding: 0 9px; }
.nav__burger span { height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s; }

/* =========================================================
   HERO
   ========================================================= */
/* HERO CINEMATOGRÁFICA. Camadas (de baixo para cima): foto do escritório já desfocada e com tom quente → luz âmbar,
   vinheta e degradês → arco dourado → recorte do casal, nítido, encaixado sobre a foto → texto.
   O desfoque e o tom vêm prontos nos arquivos (escritorio-casal-fx*.webp, ambiente.webp): feitos em tempo real com
   filtros do CSS, eles eram recalculados a cada quadro e derrubavam a fluidez da entrada e do parallax.
   A moldura da foto e do recorte é calculada em js/hero.js: no computador, a dupla fica grande no
   centro-direita, sempre à direita do texto; no celular, a foto ocupa o alto da tela e o texto vem embaixo. */
.hero--cine { --hero-bg: #0D0A08; position: relative; height: 100vh; height: 100svh; min-height: 34rem; overflow: hidden; background: var(--hero-bg); }
/* camadas da foto e do casal: cada uma na própria camada da GPU, o parallax só desloca, sem redesenhar */
.hero__layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; will-change: transform; }
.hero__layer--foto { z-index: 0; }
/* ambiente: a mesma foto, bem desfocada (arquivo minúsculo, o desfoque já vem nele), cobrindo a hero inteira por baixo
   de tudo. Onde a foto principal não chega (à esquerda dela), aparece esse ambiente em vez de preto liso. */
.hero__ambient {
  position: absolute; inset: -8%; z-index: 0; pointer-events: none;
  background: url("../assets/hero/ambiente.webp") 30% 50% / cover no-repeat;
}
/* no computador, a borda esquerda da foto se dissolve no ambiente (o casal está no recorte, não é afetado) */
@media (min-width: 901px) and (orientation: landscape), (min-width: 1101px) {
  .hero__layer--foto .hero__frame {
    -webkit-mask: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 5%, rgba(0, 0, 0, .8) 10%, #000 15%);
    mask: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 5%, rgba(0, 0, 0, .8) 10%, #000 15%);
  }
}
/* moldura com o tamanho exato da foto; a foto e o recorte usam a mesma, então continuam encaixados */
.hero__frame { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 40%; }
/* o recorte ocupa, na foto, exatamente a área de onde foi tirado (medido pixel a pixel) */
.hero__cut { position: absolute; left: 16.1294%; top: 28.248%; width: 38.4921%; height: 71.7955%; max-width: none; }
/* sem o script, o recorte não tem onde encaixar: fica escondido */
.hero--cine:not(.is-placed) .hero__layer--casal { display: none; }
/* vinheta inferior: a base do casal se integra ao fundo. Fica num contêiner parado (o parallax move só a camada de
   dentro), então o esmaecimento acompanha sempre a borda de baixo da hero. */
.hero__casal {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  -webkit-mask: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, .55) 7%, #000 16%); mask: linear-gradient(0deg, transparent 0, rgba(0, 0, 0, .55) 7%, #000 16%);
}

/* luz âmbar de estúdio atrás do casal (--cx vem do main.js) e vinheta nas bordas */
.hero__light {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(34% 58% at var(--cx, 64%) 46%, rgba(245, 158, 11, .22) 0%, rgba(217, 119, 6, .1) 42%, rgba(217, 119, 6, 0) 72%),
    radial-gradient(130% 115% at 62% 42%, rgba(13, 10, 8, 0) 55%, rgba(13, 10, 8, .5) 100%);
}
/* degradê da esquerda, para a leitura do texto: uma curva longa e suave (sem trecho sólido), escura atrás do texto e
   sumindo aos poucos até pouco antes do casal. --s1 (fim da parte mais escura) e --fe (onde some) vêm do main.js. */
.hero__shade {
  --k: calc(var(--fe, 46%) - var(--s1, 24%));
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(13, 10, 8, .9) 0,
      rgba(13, 10, 8, .84) var(--s1, 24%),
      rgba(13, 10, 8, .72) calc(var(--s1, 24%) + var(--k) * .2),
      rgba(13, 10, 8, .56) calc(var(--s1, 24%) + var(--k) * .4),
      rgba(13, 10, 8, .38) calc(var(--s1, 24%) + var(--k) * .6),
      rgba(13, 10, 8, .2) calc(var(--s1, 24%) + var(--k) * .78),
      rgba(13, 10, 8, .07) calc(var(--s1, 24%) + var(--k) * .92),
      rgba(13, 10, 8, 0) var(--fe, 46%)),
    linear-gradient(0deg, var(--bg) 0%, rgba(13, 10, 8, .55) 9%, rgba(13, 10, 8, 0) 28%),
    linear-gradient(180deg, rgba(13, 10, 8, .55) 0%, rgba(13, 10, 8, 0) 20%);
}

/* texto: a assinatura à esquerda, centralizada na altura */
.hero__copy {
  position: absolute; z-index: 5; left: clamp(24px, 6.6vw, 10rem); top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 7vh;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700; margin: 0; color: #f8f3ea;
  font-size: clamp(2.8rem, min(5.3vw, 10vh), 7.4rem); line-height: 1.04; letter-spacing: -.03em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; }
.hero--cine .grad, .med-hero .grad { background: linear-gradient(90deg, #FDE68A 0%, #D99B26 55%, #B47818 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 1.7rem; max-width: 25.5rem; font-size: clamp(1rem, .45rem + .62vw, 1.2rem); line-height: 1.55; color: rgba(244, 238, 226, .86); }
/* botão largo e a logo centralizada logo abaixo, entre dois fios finos */
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 1.9rem; margin-top: 2.6rem; }
.hero--cine .btn--hero, .med-hero .btn--hero {
  min-width: clamp(15rem, 19vw, 23rem); padding: 1.15rem 2.4rem; border-radius: 6px; letter-spacing: .005em;
  background: linear-gradient(90deg, #D49B35 0%, #F3C669 50%, #C88A28 100%);
  color: #0a0a0a; font-weight: 600; font-size: clamp(1rem, .55rem + .5vw, 1.18rem);
  box-shadow: 0 0 25px rgba(243, 198, 105, .35), inset 0 1px 0 rgba(255, 246, 220, .6), inset 0 -1px 0 rgba(110, 72, 18, .3);
}
.hero--cine .btn--hero::after, .med-hero .btn--hero::after { /* brilho de luz na base do botão */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 50%, #fff6d6, rgba(255, 220, 140, 0));
  box-shadow: 0 0 14px 3px rgba(255, 205, 110, .45), 0 4px 22px 6px rgba(240, 180, 80, .22);
}
.hero--cine .btn--hero:hover, .med-hero .btn--hero:hover { filter: brightness(1.06); box-shadow: 0 0 32px rgba(243, 198, 105, .5), inset 0 1px 0 rgba(255, 246, 220, .6), inset 0 -1px 0 rgba(110, 72, 18, .3); }
.hero__brand { display: flex; align-items: center; gap: 1.2rem; }
.hero__brand::before, .hero__brand::after { content: ""; width: clamp(2.4rem, 4vw, 4.4rem); height: 1px; }
.hero__brand::before { background: linear-gradient(90deg, rgba(214, 178, 110, 0), rgba(214, 178, 110, .7)); }
.hero__brand::after { background: linear-gradient(90deg, rgba(214, 178, 110, .7), rgba(214, 178, 110, 0)); }
.hero__brand img { width: clamp(8rem, 10vw, 11rem); height: auto; opacity: .92; }

/* arco dourado finíssimo na base: atravessa a tela e passa por trás do casal */
.hero__curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 24vh; z-index: 3; pointer-events: none; overflow: visible; filter: drop-shadow(0 0 8px rgba(253, 230, 138, .8)); }
.hero__curve path { fill: none; vector-effect: non-scaling-stroke; stroke: url(#heroOuro); stroke-dasharray: 1; animation: hero-traca 2.8s cubic-bezier(.45, 0, .2, 1) .8s both; }
.hero__curve .fio { stroke-width: 1.2; }
.hero__curve .halo { stroke-width: 7; opacity: .35; filter: url(#heroHalo); }
.hero__curve .ponto { animation: hero-aparece 1.6s ease-out 2.2s both; }
@keyframes hero-traca { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hero-aparece { from { opacity: 0; } to { opacity: 1; } }
/* enquanto a hero está na tela, o menu fica escondido; ele aparece quando a rolagem passa da hero (main.js liga/desliga .nav--hero) */
.nav--hero { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(calc(-100% - 24px)); }

/* Manifesto: a rolagem trava aqui e cada gesto acende uma frase (main.js → manifesto) */
.manifesto { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 6rem 0; }
.manifesto__text {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 3.3rem); font-weight: 600;
  line-height: 1.25; letter-spacing: -.02em; max-width: 28ch; text-align: center;
}
/* a frase final em dourado */
.m-phrase--accent .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* indicador de progresso das seções que travam: só aparece enquanto a rolagem está travada */
.manifesto__hint, .stage-hint {
  position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .7rem; pointer-events: none;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transition: opacity .5s var(--ease);
}
.stage-hint { bottom: 1.6rem; }
.is-locked .manifesto__hint, .is-locked .stage-hint { opacity: 1; }
.manifesto__dots, .stage-dots { display: flex; gap: 8px; }
.manifesto__dots i, .stage-dots i { width: 22px; height: 2px; border-radius: 2px; background: var(--line-2); transition: background .4s var(--ease); }
.manifesto__dots i.is-on, .stage-dots i.is-on { background: var(--champagne); }
.stage-hint:not(:has(i)) { display: none; } /* sem a trava (sem JS) o indicador nem aparece */

/* seção-palco: ocupa exatamente a tela enquanto trava (Diagnóstico e Parceria) */
.diag--stage, .bond--stage { height: 100vh; height: 100svh; padding: 6rem 0 4.5rem; overflow: hidden; }
.diag--stage > .container, .bond--stage > .container { display: grid; grid-template-rows: auto 1fr; height: 100%; }
.diag--stage .section__head, .bond--stage .section__head { margin-bottom: 1.2rem; }
@media (max-height: 760px) {
  .diag--stage .section__head p, .bond--stage .section__head p { display: none; }
}
/* telas largas (e tablets deitados): título à esquerda, palco à direita */
@media (min-width: 900px) {
  .diag--stage > .container, .bond--stage > .container {
    grid-template-columns: .85fr 1.15fr; grid-template-rows: 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  }
  .diag--stage .section__head, .bond--stage .section__head { margin-bottom: 0; }
  .diag--stage .diag__body, .bond--stage .bond__grid { height: 100%; }
}

/* Poeira dourada: um canvas fixo atrás de todo o conteúdo (main.js → dust) */
.dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* Lenis (rolagem suave com inércia) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; z-index: 1; }
.section__head { max-width: 47.5rem; margin-bottom: 3.5rem; }
.section__head h2 { margin: 1rem 0 1rem; }
.section__head p { color: var(--muted); font-size: 1.08rem; }

/* =========================================================
   DIAGNÓSTICO: os cinco problemas em sequência; o do centro da tela acende (main.js → diagnosis)
   ========================================================= */
.diag__body { max-width: 48.75rem; }
.diag__list { list-style: none; margin: 0; padding: 0; }
.issue { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: .8rem; transition: opacity .5s var(--ease); }
.issue__n { font-family: var(--font-display); font-weight: 700; color: var(--gold); }
.issue h3, .issue .issue__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; }
/* "Os cinco têm solução": frase de fechamento com cara de título, mas um parágrafo (não é um sexto problema) */
.issue .issue__title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; color: var(--text); text-wrap: balance; }
.issue__fix { max-width: 460px; font-size: 1.05rem; color: var(--muted); transition: clip-path .7s var(--ease), transform .7s var(--ease); }
.issue__fix b { color: var(--gold-light); font-weight: 600; }
.issue--end p { font-size: 1.1rem; color: var(--muted); }
.issue--end .btn { align-self: flex-start; margin-top: .6rem; }
/* com JS: só o problema do meio da tela fica aceso e a solução dele se revela */
.diag--live .issue { opacity: .28; }
.diag--live .issue.is-on { opacity: 1; }
.diag--live .issue__fix { clip-path: inset(0 0 100% 0); transform: translateY(10px); }
.diag--live .issue.is-on .issue__fix { clip-path: inset(0); transform: none; }
@media (max-width: 760px) {
  .issue { min-height: 52vh; }
}
/* "Esse é o meu": marca o desafio (vai na mensagem do WhatsApp). Parece um item de checklist: caixinha à esquerda,
   borda e fundo dourados, e uma dica ao lado dizendo o que acontece ao marcar */
.issue__act { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: .5rem; }
.issue__mine {
  display: inline-flex; align-items: center; gap: .65rem; padding: .7rem 1.2rem .7rem .9rem; border-radius: 6px;
  border: 1px solid rgba(var(--c2-rgb), .55); background: rgba(var(--c1-rgb), .1);
  font-size: .95rem; font-weight: 600; color: var(--text);
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.issue__mine:hover { border-color: var(--champagne); background: rgba(var(--c1-rgb), .2); transform: translateY(-1px); }
.issue__mine:active { transform: translateY(0) scale(.98); }
/* a caixinha: vazia por padrão, dourada com ✓ quando marcada */
.issue__box {
  position: relative; flex-shrink: 0; width: 18px; height: 18px; border-radius: 4px;
  border: 1.5px solid var(--champagne); transition: background .25s, border-color .25s;
}
.issue__box::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
  border: solid var(--btn-text); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease);
}
.issue__on { display: none; }
.issue__mine[aria-pressed="true"] { border-color: transparent; background: var(--grad); color: var(--btn-text); box-shadow: 0 10px 30px -14px rgba(var(--c1-rgb), .9); }
.issue__mine[aria-pressed="true"] .issue__box { background: var(--btn-text); border-color: var(--btn-text); }
.issue__mine[aria-pressed="true"] .issue__box::after { border-color: var(--gold-light); transform: rotate(45deg) scale(1); }
.issue__mine[aria-pressed="true"] .issue__off { display: none; }
.issue__mine[aria-pressed="true"] .issue__on { display: inline; }
.issue__hint { max-width: 17rem; font-size: .82rem; line-height: 1.4; color: var(--muted); }
/* depois que a pessoa marca o primeiro, a dica já cumpriu o papel e sai de todos */
.has-marked .issue__hint { display: none; }
/* até a primeira marcação, o botão do problema em destaque pulsa de leve, chamando o toque */
@keyframes issue-chama {
  0% { box-shadow: 0 0 0 0 rgba(var(--c2-rgb), .45); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(var(--c2-rgb), 0); }
}
.diag:not(.has-marked) .issue.is-on .issue__mine { animation: issue-chama 2.4s ease-out 1.2s infinite; }
/* palco: um problema por vez, empilhados no mesmo lugar; o atual entra, o anterior sobe e some */
.diag--stage .diag__body { position: relative; }
.diag--stage .diag__list { position: relative; height: 100%; }
.diag--stage .issue {
  position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; transform: translateY(36px);
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .6s;
}
.diag--stage .issue.is-past { transform: translateY(-36px); }
.diag--stage .issue.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s var(--ease) .12s, transform .6s var(--ease) .12s, visibility 0s;
}
/* a solução aparece logo depois do problema */
.diag--stage .issue__fix { clip-path: inset(0 0 100% 0); transform: translateY(10px); transition: clip-path .7s var(--ease), transform .7s var(--ease); }
.diag--stage .issue.is-on .issue__fix { clip-path: inset(0); transform: none; transition-delay: .45s; }


/* =========================================================
   PARCERIA: como é a relação com a WRMax no dia a dia
   ========================================================= */
.bond__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.bond__item {
  display: grid; align-content: start; gap: .8rem; padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(var(--c1-rgb), .08), transparent 55%), var(--surface);
  transition: border-color .4s var(--ease);
}
.bond__item:hover { border-color: var(--line-2); }
.bond__n { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; color: var(--gold); }
.bond__item p { color: var(--muted); }
/* final: a dupla que cuida da marca (na grade, ocupa a linha inteira) */
.bond__finale { grid-column: 1 / -1; display: grid; justify-items: center; gap: 1rem; margin: 1.5rem 0 0; text-align: center; }
/* a dupla em dois quadros redondos lado a lado, levemente sobrepostos (cada um com a foto de uma pessoa) */
.duo { --duo: 8.5rem; display: flex; justify-content: center; }
.duo img {
  width: var(--duo); height: var(--duo); border-radius: 50%; object-fit: cover;
  border: 3px solid var(--surface); box-shadow: 0 0 0 1px rgba(var(--c2-rgb), .55), 0 18px 40px -14px rgba(var(--c1-rgb), .45);
}
.duo img + img { margin-left: calc(var(--duo) * -.14); }
.bond__finale strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.bond__finale span { color: var(--muted); }
@media (max-width: 760px) {
  .bond__grid { grid-template-columns: 1fr; }
}
/* moldura de Stories: escondida na grade comum (sem a trava) */
.story__bars, .story__head, .story__foot { display: none; }

/* palco: os compromissos viram Stories do Instagram (main.js → bond). Barras no topo enchem sozinhas,
   tocar à direita avança e à esquerda volta. A troca anima só opacidade e um deslize curto (barato para a GPU). */
.bond--stage .bond__grid {
  position: relative; display: block; align-self: center; justify-self: center;
  width: min(34rem, 100%); height: min(100%, 27rem); overflow: hidden; isolation: isolate; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: 0 40px 80px -45px rgba(0, 0, 0, .9), 0 0 60px -25px rgba(var(--c1-rgb), .35);
  contain: paint; -webkit-tap-highlight-color: transparent;
}
.bond--stage .story__bars { position: absolute; z-index: 3; top: 12px; left: 14px; right: 14px; display: flex; gap: 5px; }
.story__bars i { position: relative; flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.story__bars i::after { content: ""; position: absolute; inset: 0; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.story__bars i.is-done::after { transform: scaleX(1); }
.story__bars i.is-on::after { animation: story-fill 6.5s linear forwards; }
/* fora da trava (rolando por cima, ou já passou) o story não corre sozinho */
.bond--stage:not(.is-locked) .story__bars i.is-on::after { animation-play-state: paused; }
@keyframes story-fill { to { transform: scaleX(1); } }
.bond--stage .story__head {
  position: absolute; z-index: 3; top: 24px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: .55rem; font-size: .82rem; pointer-events: none;
}
.story__avatar {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); color: var(--btn-text); font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px rgba(var(--c2-rgb), .7);
}
.story__head small { color: var(--muted); }
.bond--stage .story__foot {
  position: absolute; z-index: 3; bottom: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: .8rem; pointer-events: none; color: var(--text);
}
.story__foot span { flex: 1; padding: .55rem 1rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .8rem; color: var(--muted); }
.story__foot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* cada story ocupa a moldura inteira; o atual entra, o anterior sai para a esquerda */
.bond--stage .bond__item, .bond--stage .bond__finale {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .8rem;
  margin: 0; padding: 4.4rem clamp(1.4rem, 3vw, 2.2rem) 4.2rem; border: 0; border-radius: 0;
  opacity: 0; visibility: hidden; transform: translateX(6%); will-change: transform, opacity;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.bond--stage .is-past { transform: translateX(-6%); }
.bond--stage .bond__item.is-on, .bond--stage .bond__finale.is-on {
  opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s;
}
/* cada story com o brilho dourado num canto diferente */
.bond--stage .bond__item { background: radial-gradient(110% 80% at 90% 5%, rgba(var(--c1-rgb), .24), transparent 60%), var(--surface); }
.bond--stage .bond__item:nth-of-type(2) { background: radial-gradient(110% 80% at 10% 95%, rgba(var(--c1-rgb), .24), transparent 60%), var(--surface); }
.bond--stage .bond__item:nth-of-type(3) { background: radial-gradient(110% 80% at 90% 95%, rgba(var(--c1-rgb), .24), transparent 60%), var(--surface); }
.bond--stage .bond__item:nth-of-type(4) { background: radial-gradient(110% 80% at 10% 5%, rgba(var(--c1-rgb), .24), transparent 60%), var(--surface); }
.bond--stage .bond__n {
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--c2-rgb), .55);
}
.bond--stage .bond__item h3 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.bond--stage .bond__item p { font-size: 1.05rem; }
.bond--stage .bond__finale {
  align-items: center; text-align: center;
  background: radial-gradient(90% 70% at 50% 30%, rgba(var(--c1-rgb), .26), transparent 70%), var(--surface);
}
.bond--stage .duo { --duo: 7rem; }
.bond--stage .stage-dots { display: none; } /* as barras do story já mostram o progresso */
/* celular: sem a barra decorativa de mensagem (o botão flutuante do WhatsApp ficaria por cima) e conteúdo mais compacto */
@media (max-width: 760px) {
  .bond--stage .story__foot { display: none; }
  .bond--stage .bond__item, .bond--stage .bond__finale { gap: .6rem; padding: 4rem 1.3rem 1.6rem; }
  .bond--stage .bond__n { font-size: 2.4rem; }
  .bond--stage .bond__item p { font-size: .98rem; }
  .bond--stage .duo { --duo: 5rem; }
  .bond--stage .bond__finale span { font-size: .9rem; }
}
@media (max-height: 760px) {
  .bond--stage .duo { --duo: 5.8rem; }
}

/* =========================================================
   JORNADA: celular preso na tela, do anúncio à venda (main.js → journey)
   ========================================================= */
/* sem GSAP: título, a primeira tela e as etapas em lista, uma embaixo da outra */
.journey { position: relative; z-index: 1; padding: clamp(5rem, 10vw, 8rem) 0; }
.journey__stage { display: grid; justify-items: center; gap: 2.5rem; }
.journey__words, .journey__ticks { display: none; }
.journey__intro { width: min(var(--container), 100% - 32px); }
.journey__intro h2 { margin-top: 1rem; }
.journey__phone { perspective: 1400px; }
.journey__steps { list-style: none; padding: 0; margin: 0; width: min(560px, 100% - 32px); display: grid; gap: 1.6rem; }
.journey__steps b { font-family: var(--font-display); color: var(--gold); }
.journey__steps h3 { margin: .3rem 0 .5rem; }
.journey__steps p { color: var(--muted); }
.journey__note { font-size: .75rem; color: var(--muted-2); }
.journey:not(.journey--live) .screen ~ .screen { display: none; }

/* com GSAP: tudo em camadas numa tela cheia; a rolagem troca palavra, tela e legenda */
.journey--live { padding: 0; }
.journey--live .journey__stage { position: relative; display: block; height: 100vh; height: 100svh; overflow: hidden; }
.journey--live .journey__intro { position: absolute; top: 6.5rem; left: 50%; translate: -50% 0; }
.journey--live .journey__words { display: block; position: absolute; inset: 0; pointer-events: none; }
/* palavra gigante atrás do celular */
.journey__words span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 17vw, 16rem); letter-spacing: -.04em; line-height: 1;
  color: rgba(var(--c2-rgb), .08);
}
.journey--live .journey__phone { position: absolute; left: 50%; top: 52%; translate: -50% -50%; scale: var(--phone-scale); }
.journey--live .journey__steps { position: absolute; left: max(16px, calc((100vw - var(--container)) / 2)); top: 52%; width: min(20rem, 28vw); height: 0; }
.journey--live .journey__steps li { position: absolute; left: 0; right: 0; top: 0; translate: 0 -50%; }
.journey--live .journey__ticks { display: flex; gap: .4rem; position: absolute; left: max(16px, calc((100vw - var(--container)) / 2)); bottom: 2.5rem; }
.journey__ticks i { position: relative; width: 40px; height: 2px; overflow: hidden; background: var(--line-2); }
.journey__ticks i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(var(--on, 0)); transform-origin: left; }
.journey--live .journey__note { position: absolute; right: max(16px, calc((100vw - var(--container)) / 2)); bottom: 2.3rem; margin: 0; }
/* desktop: título e legenda na coluna da esquerda, celular logo depois dela (à esquerda do centro)
   e a palavra gigante alinhada à direita, para não ficar escondida atrás do aparelho */
@media (min-width: 761px) {
  .journey--live {
    --j-col: max(16px, calc((100vw - var(--container)) / 2)); /* margem da coluna de conteúdo */
    /* centro do celular (o aparelho tem 280px de largura × a escala dele) */
    --j-phone: max(44vw, calc(var(--j-col) + min(20rem, 28vw) + 175px * var(--phone-scale) + 1rem));
  }
  .journey--live .journey__intro { left: var(--j-col); translate: none; width: min(24rem, 30vw); }
  .journey--live .journey__phone { left: var(--j-phone); }
  /* a palavra cabe inteira entre a borda direita do celular (+ um respiro) e a margem: o tamanho vem desse espaço,
     dividido pela largura da palavra mais longa ("Conversa" ≈ 4,63em; 4,8 dá folga). Se trocar as palavras por
     outras mais longas, aumente esse divisor. */
  .journey--live .journey__words span {
    justify-content: flex-end; padding-right: var(--j-col);
    font-size: min(clamp(4rem, 11vw, 9.5rem), calc((100vw - var(--j-col) - var(--j-phone) - 140px * var(--phone-scale) - 2.5rem) / 4.8));
  }
}
/* tablets (761–1000px): ao lado do celular sobra pouco espaço e a palavra ficaria do tamanho de uma etiqueta.
   Ela é só decorativa (a etapa já aparece escrita na legenda), então sai */
@media (min-width: 761px) and (max-width: 1000px) {
  .journey--live .journey__words { display: none; }
}

/* o aparelho e as quatro telas (desenhadas em HTML, nada de imagem) */
.phone {
  position: relative; width: 280px; height: 570px; padding: 12px; border-radius: 46px; transform-style: preserve-3d;
  background: linear-gradient(145deg, #2a2418, #0d0b08); border: 1px solid rgba(var(--c2-rgb), .25);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 70px -10px rgba(var(--c1-rgb), .35), inset 0 0 0 2px rgba(255, 255, 255, .04);
}
.phone__notch { position: absolute; z-index: 3; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #000; }
.screen {
  position: absolute; inset: 12px; overflow: hidden; border-radius: 36px; padding: 52px 14px 16px;
  display: flex; flex-direction: column; gap: 10px; background: #f6f3ec; color: #1a1a1a; font-size: 12px; line-height: 1.4;
}
.screen b { font-weight: 700; }
.app-head { display: flex; align-items: center; gap: 8px; }
.app-head small { display: block; font-size: 10px; color: #777; }
.avatar {
  width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  font-style: normal; font-weight: 700; color: #fff; background: linear-gradient(135deg, #c9973a, #8a6420);
}
.ad__img {
  flex: 1; display: grid; place-content: center; text-align: center; border-radius: 14px; color: #1a1408;
  background: radial-gradient(circle at 30% 30%, #f8e6b0, #d4a647 45%, #8a6420);
}
.ad__img span { font-family: var(--font-display); font-size: 56px; font-weight: 800; line-height: 1; }
.ad__img small { font-size: 13px; font-weight: 600; }
.ad__cta, .lp__btn { padding: 11px 12px; border-radius: 10px; background: #1a1408; color: #f6dfa0; font-weight: 600; }
.ad__cta { display: flex; justify-content: space-between; }
.lp__bar { align-self: center; padding: 5px 12px; border-radius: 20px; background: #e8e2d4; font-size: 10px; color: #555; }
.lp__title { font-family: var(--font-display); font-size: 22px; line-height: 1.15; }
.sk { display: block; height: 8px; border-radius: 4px; background: #e2dccd; }
.sk--short { width: 60%; }
.lp__img { flex: 1; min-height: 110px; border-radius: 14px; background: linear-gradient(135deg, #e8d3a0, #c9973a); }
.lp__btn { position: relative; text-align: center; padding: 13px; font-weight: 700; }
/* toque no botão (animado no main.js) */
.tap { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(246, 223, 160, .6); opacity: 0; }
.screen--chat { background: #efe7da; }
.screen--chat .app-head { padding-bottom: 8px; border-bottom: 1px solid #dcd2c0; }
.bubble { max-width: 82%; padding: 8px 10px; border-radius: 12px; }
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: #f3e3b8; border-top-right-radius: 4px; }
.screen--sale { background: #14110b; color: var(--text); }
.sale__note { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #221c11; border: 1px solid rgba(var(--c3-rgb), .25); }
.sale__note i { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 800; color: #1a1408; background: var(--grad); }
.sale__note small { display: block; font-size: 10px; color: var(--muted); }
.sale__chart { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: #1b170f; }
.sale__chart small, .sale__foot { color: var(--muted); }
.sale__bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; }
.bar { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--grad); transform-origin: bottom; }

@media (max-width: 760px) {
  .phone { width: 180px; height: 366px; padding: 8px; border-radius: 32px; }
  .phone__notch { top: 14px; width: 60px; height: 16px; margin-left: -30px; }
  .screen { inset: 8px; border-radius: 25px; padding: 34px 9px 10px; gap: 6px; font-size: 8px; }
  .app-head small { font-size: 7px; }
  .avatar { width: 20px; height: 20px; }
  .ad__img span { font-size: 36px; }
  .ad__img small { font-size: 9px; }
  .lp__title { font-size: 14px; }
  .lp__img { min-height: 70px; }
  .sk { height: 5px; }
  .journey:not(.journey--live) .phone { width: 240px; height: 488px; }
  .journey--live .journey__intro { top: 5rem; }
  .journey--live .journey__intro h2 { font-size: 1.7rem; }
  /* celular centralizado no espaço entre o título (em cima) e a legenda (embaixo) */
  .journey--live .journey__phone { top: 48%; }
  .journey--live .journey__steps { left: 16px; right: 16px; width: auto; top: auto; bottom: 4.5rem; height: 7rem; }
  .journey--live .journey__steps li { top: auto; bottom: 0; translate: none; }
  .journey--live .journey__steps h3 { font-size: 1.1rem; }
  .journey--live .journey__steps p { font-size: .88rem; }
  .journey--live .journey__ticks { bottom: 2rem; }
  .journey--live .journey__note { bottom: 1.8rem; }
}
/* celulares mais baixos (com as barras do navegador à mostra): o aparelho encolhe para não cobrir título e legenda */
@media (max-width: 760px) and (max-height: 720px) {
  :root { --phone-scale: .8; }
}
@media (max-width: 760px) and (max-height: 600px) {
  :root { --phone-scale: .62; }
  .journey--live .journey__intro { top: 4.4rem; }
  .journey--live .journey__intro h2 { font-size: 1.45rem; }
  .journey--live .journey__steps { bottom: 3.6rem; height: 6rem; }
  .journey--live .journey__steps p { font-size: .82rem; }
  .journey--live .journey__ticks { bottom: 1.6rem; }
  .journey--live .journey__note { display: none; }
}

/* =========================================================
   MÉTODO
   ========================================================= */
/* caminho dourado que a rolagem desenha passando por cada etapa (main.js → methodPath) */
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 4.5rem); padding: 1rem 0; }
.timeline__path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.timeline__line { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.timeline__trail { fill: none; stroke: var(--champagne); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(var(--c2-rgb), .8)); }
.timeline__head { fill: var(--gold-light); filter: drop-shadow(0 0 10px var(--gold-light)); }
.timeline__node { fill: var(--bg); stroke: var(--line-2); stroke-width: 2; transition: fill .4s, stroke .4s; }
.timeline__node.is-on { fill: var(--gold); stroke: var(--gold-light); }
.timeline .step { z-index: 1; width: min(440px, 42%); }
.timeline .step:nth-of-type(even) { align-self: flex-end; }
.timeline--live .step { opacity: .4; transition: opacity .5s, border-color .3s, transform .3s var(--ease); }
.timeline--live .step.is-on { opacity: 1; border-color: rgba(var(--c1-rgb), .5); }
.step { position: relative; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s var(--ease); }
.step:hover { border-color: rgba(var(--c1-rgb), .5); transform: translateY(-6px); }
.step__n { font-family: var(--font-mono); color: var(--gold); font-size: .85rem; }
.step h3 { margin: .7rem 0 .8rem; }
.step p { color: var(--muted); font-size: .94rem; }
.step ul { list-style: none; padding: 1rem 0 0; margin: 1.1rem 0 0; display: grid; gap: .45rem; border-top: 1px solid var(--line); }
.step li { display: flex; gap: .6rem; font-size: .88rem; color: var(--muted); }
.step li::before { content: ""; flex-shrink: 0; width: 10px; height: 1px; margin-top: .8em; background: var(--gold); }

/* =========================================================
   SERVIÇOS
   ========================================================= */
/* Vitrine: cards lado a lado. No desktop a seção fica presa e a rolagem desliza a fila (main.js);
   no celular, ou com movimento reduzido, a fila desliza com o dedo e encaixa card a card. */
.svc-section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 6.5rem 0 2.5rem; }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.svc-head h2 { margin: 1rem 0 0; }
.svc-head p { color: var(--muted); font-size: 1.08rem; max-width: 32.5rem; margin-top: 1rem; }
.svc-meter { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .5rem; min-width: 180px; font-family: var(--font-display); }
.svc-meter__n { font-size: 3rem; font-weight: 700; line-height: 1; }
.svc-meter__of { color: var(--muted); }
.svc-meter__bar { grid-column: 1 / -1; height: 2px; background: var(--line-2); }
.svc-meter__bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.svc-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.svc-viewport::-webkit-scrollbar { display: none; }
.svc--pinned .svc-viewport { overflow: hidden; scroll-snap-type: none; }
/* desktop: a fila desliza numa camada própria da GPU, sem ser repintada a cada quadro
   (no celular a fila é muito larga para uma camada fixa: o GSAP cuida disso durante o movimento) */
@media (min-width: 901px) { .svc--pinned .svc-track { will-change: transform; } }
/* enquanto a fila anda, o hover dos cards fica desligado (main.js → moving) */
.svc-track.is-moving { pointer-events: none; }
.svc-track { position: relative; display: flex; gap: 1.2rem; width: max-content; padding-inline: max(16px, calc((100vw - var(--container)) / 2)); padding-block: .5rem; }
.svc-card {
  position: relative; flex: 0 0 clamp(290px, 30vw, 25rem); min-height: 26.25rem; padding: 2rem; overflow: hidden;
  display: flex; flex-direction: column; gap: .9rem; scroll-snap-align: center;
  contain: layout paint; /* o que muda num card não obriga a recalcular os outros */
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: radial-gradient(120% 80% at 100% 0%, rgba(var(--c1-rgb), .14), transparent 60%), var(--surface);
  transition: border-color .4s, transform .4s var(--ease);
}
.svc-card:hover { border-color: rgba(var(--c1-rgb), .6); transform: translateY(-6px); }
/* número grande vazado no canto do card */
.svc-card__n {
  position: absolute; right: 1.2rem; top: .6rem; font-family: var(--font-display); font-size: 5.5rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--c2-rgb), .28); pointer-events: none;
}
.svc-card__ico {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; color: var(--champagne);
  border: 1px solid rgba(var(--c1-rgb), .5); background: rgba(var(--c1-rgb), .12);
}
.svc-card__ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.55rem; margin-top: 1rem; }
.svc__desc { color: var(--muted); }
.svc__bullets { list-style: none; padding: 0; margin: .3rem 0 1.2rem; display: grid; gap: .65rem; }
.svc__bullets li { display: flex; align-items: center; gap: .7rem; font-size: .93rem; }
.svc__bullets svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; }
.svc-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; color: var(--champagne); font-weight: 600; }
.svc-card__cta:hover .arrow { transform: translateX(4px); }
/* serviço com página própria: o card inteiro leva até ela, e o botão ganha um fio dourado embaixo */
.svc-card--page { cursor: pointer; }
.svc-card--page .svc-card__cta { align-self: flex-start; padding-bottom: .25rem; border-bottom: 1px solid rgba(var(--c1-rgb), .55); transition: border-color .3s; }
.svc-card--page .svc-card__cta::after { content: ""; position: absolute; inset: 0; } /* área de clique = o card */
.svc-card--page:hover .svc-card__cta { border-color: var(--champagne); }
.svc-card--page:hover .svc-card__cta .arrow { transform: translateX(4px); }
@media (max-width: 760px) {
  .svc-section { min-height: 0; }
  .svc-head { flex-direction: column; align-items: stretch; }
  .svc-card { flex-basis: 84vw; }
}
/* celular e tablet em pé com a vitrine presa na tela (como no desktop): tudo precisa caber na altura visível */
@media (max-width: 900px) {
  .svc-section.svc--pinned { min-height: 100vh; min-height: 100svh; padding: 5rem 0 1.5rem; }
}
@media (max-width: 760px) {
  .svc-section.svc--pinned { padding-top: 4.5rem; }
  .svc--pinned .svc-head { flex-direction: row; align-items: flex-end; gap: 1rem; margin-bottom: .9rem; }
  .svc--pinned .svc-head h2 { font-size: 1.75rem; margin-top: .6rem; }
  .svc--pinned .svc-head p { display: none; } /* o título resume; a altura vai para o card */
  .svc--pinned .svc-meter { min-width: 76px; }
  .svc--pinned .svc-meter__n { font-size: 1.9rem; }
  .svc--pinned .svc-card { min-height: 0; padding: 1.2rem; gap: .55rem; }
  .svc--pinned .svc-card h3 { font-size: 1.25rem; margin-top: .1rem; }
  .svc--pinned .svc-card__n { font-size: 3.6rem; }
  .svc--pinned .svc-card__ico { width: 44px; height: 44px; }
  .svc--pinned .svc__desc { font-size: .93rem; }
  .svc--pinned .svc__bullets { gap: .45rem; margin: .1rem 0 .6rem; }
}

/* =========================================================
   CONTATO: formulário rápido em 3 passos, seção de tela cheia (main.js → contato)
   ========================================================= */
.offer { overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 6rem 0 3rem; }
/* horizonte dourado que sobe enquanto a seção entra */
.offer__glow {
  position: absolute; left: 50%; bottom: -60vh; width: 140vw; height: 120vh; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--c1-rgb), .35), rgba(var(--c1-rgb), .08) 60%, transparent);
}
.offer .container { position: relative; }
.offer__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.offer__head h2 { margin: 1rem 0; }
.offer__head p { max-width: 30rem; font-size: 1.08rem; color: var(--muted); }

/* o cartão do formulário: um passo por vez, com contador e barra de progresso */
.quick {
  position: relative; display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: 0 30px 80px -40px rgba(var(--c1-rgb), .45);
}
.quick__top { display: flex; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; color: var(--muted); }
.quick__count b { font-weight: 600; color: var(--champagne); }
.quick__bar { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.quick__bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(.34); transform-origin: left; transition: transform .5s var(--ease); }
.quick__step { display: grid; gap: .7rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.quick__step legend { margin-bottom: .9rem; padding: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; line-height: 1.25; }
/* com JS só o passo atual aparece; sem JS os três ficam em sequência */
.quick--live .quick__step:not(.is-on) { display: none; }
.quick:not(.quick--live) .quick__top, .quick:not(.quick--live) .quick__back { display: none; }

/* respostas de um toque */
.choices { display: grid; gap: .6rem; }
.choices--grid { grid-template-columns: 1fr 1fr; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  display: grid; gap: .2rem; padding: 1rem 1.2rem; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--bg-2); transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.choice b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }
.choice small { font-size: .86rem; color: var(--muted); }
.choice:hover > span { border-color: rgba(var(--c2-rgb), .5); transform: translateX(3px); }
.choice input:checked + span { border-color: var(--champagne); background: linear-gradient(90deg, rgba(var(--c1-rgb), .18), var(--bg-2)); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--c2-rgb), .45); }
.choices--grid .choice > span { padding: 1rem .6rem; text-align: center; }
.choices--grid .choice:hover > span { transform: translateY(-2px); }

/* campos do último passo (16px na fonte: o iPhone não dá zoom ao tocar) */
.field { display: grid; gap: .4rem; font-size: .85rem; color: var(--muted); }
.field em { font-style: normal; opacity: .7; }
.field input {
  width: 100%; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2);
  color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(var(--c2-rgb), .12); }
.quick .is-invalid { border-color: #ff6b8a !important; }
.quick .btn--block { margin-top: .4rem; }
.quick__back { justify-self: start; padding: .3rem 0; border: 0; background: none; font-size: .85rem; color: var(--muted); }
.quick__back:hover { color: var(--text); }
/* enviado: some o passo a passo e fica a confirmação */
.quick.is-sent .quick__step, .quick.is-sent .quick__top { display: none; }
.quick.is-sent .form__msg { font-size: 1.05rem; line-height: 1.5; }
.form__msg { font-size: .9rem; min-height: 1.2em; }
.form__msg:empty { display: none; }
/* o aviso de privacidade aparece no passo em que a pessoa digita os dados (menos texto nos passos de um toque) */
.quick--live .form__note { display: none; }
.quick--live .quick__step--contact.is-on ~ .form__note { display: block; }
/* honeypot: fora da tela para a pessoa; robôs que preenchem todos os campos caem nele */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__msg.ok { color: var(--gold-light); }
.form__msg.err { color: #ff6b8a; }
.form__note { color: var(--muted-2); font-size: .75rem; }

/* =========================================================
   RODAPÉ enxuto: marca + Sobre/Blog | serviços | contato  —  embaixo: direitos, legais, voltar ao topo
   ========================================================= */
.footer {
  position: relative; z-index: 1; padding: 3rem 0 1.4rem; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(var(--c1-rgb), .05));
}
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) and (min-width: 761px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__brand { display: grid; align-content: start; justify-items: start; gap: .8rem; }
.footer__mini { display: flex; gap: 1.2rem; font-size: .9rem; }
.footer__mini a:hover { color: var(--champagne); }
.footer__logo img { width: auto; height: 1.8rem; }
.footer__brand p { max-width: 18rem; font-size: .9rem; color: var(--muted); }
.footer h4 { margin-bottom: .7rem; font-family: var(--font-mono); font-size: .75rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__col { font-style: normal; } /* <address> vem em itálico por padrão */
.footer__col ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.footer__col a, .footer__col li > span { display: inline-flex; align-items: center; gap: .65rem; font-size: .9rem; transition: color .2s; }
.footer__col li > span a { display: inline; color: var(--gold); } /* WhatsApp · Ligar ao lado do número */
.footer__col a:hover, .footer__bottom a:hover { color: var(--champagne); }
.footer__col a > span { line-height: 1.45; }
.footer__col svg { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; padding-top: 1.2rem; font-size: .82rem; color: var(--muted); }
.footer__legal { display: flex; gap: 1.4rem; }
.footer__up { margin-right: 76px; color: var(--text); } /* não fica embaixo do botão flutuante do WhatsApp */

/* Páginas legais (/privacidade, /termos) */
.legal { width: min(760px, 100% - 32px); margin-inline: auto; padding: 9rem 0 4rem; position: relative; z-index: 1; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); font-weight: 700; margin-bottom: .6rem; }
.legal h2 { font-size: 1.15rem; margin: 2.2rem 0 .6rem; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .4rem; }
.legal__meta { font-size: .85rem; color: var(--muted-2); margin-bottom: 1.5rem !important; }
.legal__link { color: var(--champagne); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
/* no celular o botão cobria o CTA da hero: some enquanto a hero está na tela (mesmo gatilho .nav--hero do menu) */
@media (max-width: 760px) {
  .wa-float { transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
  body:has(.nav--hero) .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Reveal default (GSAP takes over; if JS fails, content stays visible) */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* =========================================================
   PÁGINA /medicos E PÁGINAS DE SERVIÇO (marketing-medico-teresina.html, trafego-pago-teresina.html,
   ia-para-vendas-teresina.html, social-media-teresina.html e criacao-de-sites-teresina.html + js/servico.js):
   hero própria (foto dos dois caminhando) e as outras seções. Os nomes "med-" vêm da primeira página que usou.
   ========================================================= */
@keyframes med-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes med-zoom { from { scale: 1.06; } to { scale: 1; } }
@keyframes med-sobe { from { transform: translateY(110%); } to { transform: none; } }
@keyframes med-surge { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes med-traco-h { from { transform: scaleX(0); } to { transform: none; } }
@keyframes med-traco-v { from { transform: scaleY(0); } to { transform: none; } }
@keyframes med-brilho { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 84%; opacity: 0; } }

/* HERO DOS MÉDICOS. A foto cobre a tela com o casal no centro-direita: ela é mais larga que a tela (--dw) e
   posicionada para o casal (de ~40,5% a ~70% da largura da foto) começar em 57% da tela. O texto fica embaixo,
   à esquerda; um fio dourado desce do alto até o rótulo e outro corre do título até o casal. */
.med-hero {
  --pad: clamp(24px, 6.6vw, 10rem);
  --dw: max(112vw, 152svh, 54rem); /* largura da foto: cobre a tela inteira, de cima a baixo */
  --casal: 57vw;                   /* onde o casal começa na tela */
  position: relative; height: 100vh; height: 100svh; min-height: 36rem; overflow: hidden; isolation: isolate;
  background: #0D0A08;
}
.med-hero__photo {
  position: absolute; z-index: 0; top: 0; left: calc(var(--casal) - .405 * var(--dw)); width: var(--dw); height: auto; max-width: none;
  /* a borda esquerda da foto (quando sobra espaço) se dissolve no fundo escuro */
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 9%); mask: linear-gradient(90deg, transparent 0, #000 9%);
  transform-origin: 62% 28%;
  animation: med-aparece 1.6s ease-out both, med-zoom 2.8s cubic-bezier(.25, .46, .45, .94) both;
}
/* tom quente e um pouco mais escuro sobre a cena inteira (fixo: não pesa na rolagem) */
.med-hero__tone {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(115deg, rgba(150, 92, 30, .42), rgba(110, 68, 22, .22) 55%, rgba(150, 92, 30, .34));
}
/* leitura do texto (esquerda e base), menu e bordas mais escuras; o casal fica no claro */
.med-hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(30% 45% at 70% 32%, rgba(245, 158, 11, .1), transparent 70%),
    linear-gradient(90deg, rgba(13, 10, 8, .95) 0, rgba(13, 10, 8, .9) calc(var(--pad) + 6vw), rgba(13, 10, 8, .62) 40vw,
      rgba(13, 10, 8, .2) calc(var(--casal) - 4vw), rgba(13, 10, 8, 0) calc(var(--casal) + 3vw)),
    linear-gradient(0deg, rgba(13, 10, 8, .92) 0, rgba(13, 10, 8, .5) 22%, rgba(13, 10, 8, 0) 46%),
    linear-gradient(180deg, rgba(13, 10, 8, .55) 0, rgba(13, 10, 8, 0) 20%),
    radial-gradient(60% 80% at 72% 36%, rgba(13, 10, 8, 0) 45%, rgba(13, 10, 8, .55) 100%);
}
.med-hero__logo { position: absolute; z-index: 3; top: clamp(1.4rem, 4.5vh, 2.6rem); left: var(--pad); animation: med-surge .9s var(--ease) .1s both; }
.med-hero__logo img { height: clamp(22px, 1.6rem, 34px); width: auto; }

.med-hero__copy {
  position: absolute; z-index: 3; left: var(--pad); bottom: clamp(2.6rem, 8vh, 6rem);
  max-width: calc(var(--casal) - var(--pad) - 3rem);
}
/* fio vertical: nasce logo abaixo do logo e desce até um ponto de luz acima do rótulo (o comprimento, --rail, vem
   do servico.js, porque a distância entre os dois muda com a altura da tela) */
.med-hero__copy::before, .med-hero__copy::after { content: ""; position: absolute; left: 0; pointer-events: none; }
.med-hero__copy::before {
  bottom: calc(100% + 1.1rem); width: 1px; height: var(--rail, 0px);
  background: linear-gradient(180deg, rgba(217, 168, 78, 0), rgba(246, 220, 154, .9));
  transform-origin: top; animation: med-traco-v 1.4s cubic-bezier(.65, 0, .2, 1) .2s both;
}
.med-hero__copy::after {
  bottom: calc(100% + 1.1rem - 3px); left: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff3cf; box-shadow: 0 0 12px 3px rgba(253, 230, 138, .75);
  animation: med-aparece .6s ease-out 1.4s both;
}
.med-hero__eyebrow { margin-bottom: 1.2rem; animation: med-surge .9s var(--ease) .3s both; }
.med-hero .med-hero__title { margin: 0; }
.med-hero__title .line > span { animation: med-sobe 1.1s var(--ease) .4s both; }
.med-hero__title .line:nth-child(2) > span { animation-delay: .52s; }
.med-hero__title .line:nth-child(3) > span { animation-delay: .64s; }
/* fio horizontal: nasce num ponto de luz embaixo do título e corre até o casal; um brilho passa por ele uma vez */
.med-hero__rule {
  position: relative; display: block; height: 1px; margin-top: 1.6rem;
  width: calc(var(--casal) - var(--pad) + 2vw);
  background: linear-gradient(90deg, #f6dc9a 0%, rgba(217, 168, 78, .7) 55%, rgba(217, 168, 78, 0) 100%);
  box-shadow: 0 0 8px rgba(253, 230, 138, .45);
  transform-origin: left; animation: med-traco-h 1.6s cubic-bezier(.65, 0, .2, 1) .9s both;
}
.med-hero__rule::before {
  content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff3cf; box-shadow: 0 0 12px 3px rgba(253, 230, 138, .8);
}
.med-hero__rule::after {
  content: ""; position: absolute; top: -2px; left: 0; width: 16%; height: 5px; border-radius: 3px;
  background: radial-gradient(closest-side, rgba(255, 248, 225, .95), rgba(253, 230, 138, 0));
  animation: med-brilho 2.2s ease-in-out 2.4s both;
}
/* texto de apoio e botão lado a lado (quebram para baixo quando não cabem) */
.med-hero__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; margin-top: 1.6rem;
  animation: med-surge 1s var(--ease) 1.05s both;
}
.med-hero .med-hero__sub { margin: 0; flex: 1 1 22rem; max-width: 24rem; font-size: clamp(.98rem, .45rem + .55vw, 1.12rem); }

/* blocos que aparecem ao entrar na tela (sem o script, ficam visíveis) */
.mjs .m-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.mjs .m-reveal.is-in { opacity: 1; transform: none; }
.med-grid .m-reveal:nth-child(2) { transition-delay: .08s; }
.med-grid .m-reveal:nth-child(3) { transition-delay: .16s; }
.med-grid .m-reveal:nth-child(4) { transition-delay: .24s; }

/* como ajudamos: quatro frentes em grade 2×2 */
.med-help { position: relative; z-index: 1; }
.med-help::before { /* brilho dourado bem leve atrás da grade */
  content: ""; position: absolute; inset: 10% 0 auto; height: 70%; pointer-events: none; z-index: -1;
  background: radial-gradient(50% 50% at 70% 50%, rgba(var(--c1-rgb), .1), transparent 70%);
}
.med-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.med-card {
  display: grid; align-content: start; gap: .8rem; padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(var(--c1-rgb), .1), transparent 55%), var(--surface);
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.med-card:hover { border-color: rgba(var(--c1-rgb), .5); transform: translateY(-4px); }
.med-card__n { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; color: var(--gold); }
.med-card h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.med-card p { color: var(--muted); }
/* ética médica: faixa com o compromisso com o CFM */
.med-ethics {
  display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 1.2rem 1.4rem; margin-top: 1.2rem;
  padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid rgba(var(--c1-rgb), .45); border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(var(--c1-rgb), .16), rgba(var(--c1-rgb), .04) 60%), var(--surface);
  scroll-margin-top: 6rem;
}
.med-ethics svg { width: 2.4rem; height: 2.4rem; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.med-ethics h3 { margin-bottom: .5rem; }
.med-ethics p { color: var(--muted); max-width: 52rem; }
/* contato: a seção não trava aqui, então não precisa ocupar a tela inteira */
.offer.med-offer { min-height: 0; padding: clamp(5rem, 9vw, 7rem) 0; } /* .offer.med-offer: vale sobre as regras do contato do site principal */
@media (max-width: 760px) {
  .med-grid { grid-template-columns: 1fr; }
  .med-ethics { grid-template-columns: 1fr; }
  .med-ethics svg { width: 2rem; height: 2rem; }
}

/* =========================================================
   DEPOIMENTOS (/medicos → #resultados): um cliente por vez, em destaque. A fila desliza na horizontal
   (arrastar no celular; rostos e setas embaixo no computador). Sem nenhum depoimento, a seção não aparece.
   ========================================================= */
.deps:not(:has(.dep)) { display: none; }
body:not(:has(.dep)) a[href="#resultados"], body:not(:has(.dep)) li:has(> a[href="#resultados"]) { display: none; }
.deps { position: relative; z-index: 1; scroll-margin-top: 4rem; }
.deps__stage {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(70% 90% at 0% 0%, rgba(var(--c1-rgb), .16), transparent 60%), var(--surface);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9), 0 0 70px -30px rgba(var(--c1-rgb), .35);
}
.deps__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.deps__track::-webkit-scrollbar { display: none; }
.deps__track:focus-visible { outline-offset: -3px; }
.dep {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.6rem, 4vw, 3.2rem);
}
/* quem é: foto (ou iniciais), nome, especialidade e desde quando é cliente */
.dep__who { margin: 0; display: grid; gap: 1.1rem; }
.dep__foto, .dep__ini {
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover;
  box-shadow: 0 0 0 1px rgba(var(--c2-rgb), .35), 0 24px 50px -24px rgba(var(--c1-rgb), .5);
}
.dep__ini {
  display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); font-weight: 700;
  color: var(--btn-text); background: var(--grad);
}
.dep__who figcaption { display: grid; gap: .2rem; }
.dep__nome { font-family: var(--font-display); font-size: 1.25rem; }
.dep__cargo { color: var(--champagne); font-size: .95rem; }
.dep__desde { color: var(--muted-2); font-size: .85rem; }
/* o relato, em destaque, com as aspas douradas */
.dep__quote { position: relative; margin: 0; padding-top: 2.6rem; }
.dep__quote::before {
  content: "“"; position: absolute; top: -.6rem; left: -.2rem; font-family: var(--font-display); font-size: 5.5rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dep__quote p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.9vw, 1.55rem); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.dep__quote p + p { margin-top: .9rem; }
/* os resultados: números grandes em dourado, cada um com a explicação embaixo */
.dep__nums {
  list-style: none; margin: 2rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.2rem 1.6rem;
}
.dep__nums li { display: grid; gap: .3rem; }
.dep__nums b {
  font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dep__nums span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
/* selo dos exemplos (só aparecem no localhost, nunca no site publicado) */
.dep__exemplo {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; padding: .35rem .7rem; border-radius: 4px;
  background: #ff6b8a; color: #1a0a0e; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .1em;
}
/* navegação: os rostos de cada cliente, o contador e as setas */
.deps__nav:empty { display: none; }
.deps__nav {
  display: flex; align-items: center; gap: .8rem; padding: 1rem clamp(1.6rem, 4vw, 3.2rem) 1.4rem;
  border-top: 1px solid var(--line);
}
.deps__faces { display: flex; gap: .6rem; flex: 1; min-width: 0; }
.deps__face {
  width: 46px; height: 46px; flex-shrink: 0; padding: 0; border: 0; border-radius: 50%; overflow: hidden;
  background: var(--surface); opacity: .5; filter: grayscale(.6);
  box-shadow: 0 0 0 1px var(--line-2); transition: opacity .3s, filter .3s, box-shadow .3s, transform .3s var(--ease);
}
.deps__face img { width: 100%; height: 100%; object-fit: cover; }
.deps__face span {
  display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: var(--btn-text); background: var(--grad);
}
.deps__face:hover { opacity: .85; }
.deps__face[aria-current="true"] { opacity: 1; filter: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--champagne); transform: scale(1.06); }
.deps__count { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--muted); }
.deps__count b { color: var(--champagne); font-weight: 600; }
.deps__arrow {
  width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 1.1rem; transition: border-color .25s, background .25s;
}
.deps__arrow:hover:not(:disabled) { border-color: var(--champagne); background: rgba(var(--c2-rgb), .08); }
.deps__arrow:disabled { opacity: .3; cursor: default; }
.deps__note { margin-top: 1rem; font-size: .8rem; color: var(--muted-2); }
@media (max-width: 760px) {
  .dep { grid-template-columns: 1fr; gap: 1.4rem; }
  .dep__who { grid-template-columns: 5.5rem 1fr; align-items: center; gap: 1rem; }
  .dep__foto, .dep__ini { aspect-ratio: 1; border-radius: 50%; }
  .dep__ini { font-size: 1.8rem; }
  .dep__quote { padding-top: 2rem; }
  .dep__quote::before { font-size: 4.2rem; }
  .dep__nums { margin-top: 1.4rem; padding-top: 1.2rem; }
  .deps__faces { gap: .45rem; }
  .deps__face { width: 38px; height: 38px; }
  .deps__arrow { display: none; } /* no celular, arrastar com o dedo; os rostos continuam para pular direto */
}

/* =========================================================
   /medicos E SERVIÇOS COM A ROLAGEM TRAVADA (js/lock.js + js/servico.js ligam .med-help--stage e .deps--stage).
   Sem a trava (sem as bibliotecas ou com movimento reduzido), as seções ficam como estão acima.
   ========================================================= */
/* COMO AJUDAMOS: título à esquerda e, à direita, um card por vez (as quatro frentes e, por último, a ética) */
.med-help--stage { height: 100vh; height: 100svh; min-height: 34rem; padding: 6rem 0 4.5rem; overflow: hidden; }
.med-help--stage > .container { display: grid; grid-template-rows: auto 1fr; height: 100%; }
.med-help--stage .section__head { margin-bottom: 1.2rem; }
.med-help--stage .med-stage { position: relative; min-height: 0; }
.med-help--stage .med-grid { display: contents; } /* os cards passam a ser filhos diretos do palco */
.med-help--stage .med-card, .med-help--stage .med-ethics {
  position: absolute; inset: 0; margin: auto 0; height: fit-content;
  opacity: 0; visibility: hidden; transform: translateY(36px);
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .6s;
}
.med-help--stage .is-past { transform: translateY(-36px); }
.med-help--stage .med-card.is-on, .med-help--stage .med-ethics.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s var(--ease) .12s, transform .6s var(--ease) .12s, visibility 0s;
}
/* em destaque, o card cresce: número grande vazado, título e texto maiores */
.med-help--stage .med-card {
  gap: 1rem; padding: clamp(1.8rem, 4vw, 3rem); border-color: var(--line-2);
  background: radial-gradient(110% 80% at 90% 5%, rgba(var(--c1-rgb), .22), transparent 60%), var(--surface);
}
.med-help--stage .med-card:hover { transform: none; }
.med-help--stage .med-card__n {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(var(--c2-rgb), .55);
}
.med-help--stage .med-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.med-help--stage .med-card p { font-size: clamp(1rem, .6rem + .5vw, 1.12rem); }
@media (min-width: 900px) {
  .med-help--stage > .container {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  }
  .med-help--stage .section__head { margin-bottom: 0; }
  .med-help--stage .med-stage { height: 100%; }
}

/* RESULTADOS: a seção ocupa a tela; no computador, o título à esquerda e o depoimento à direita */
/* minmax(0, …): sem isso a grade cresce até caber a fila inteira de depoimentos (mais larga que a tela) */
.deps--stage { min-height: 100vh; min-height: 100svh; padding: 5.5rem 0 3rem; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) {
  .deps--stage > .container {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "head stage" "note stage";
    align-content: center; column-gap: clamp(2rem, 5vw, 4rem); row-gap: 1rem;
  }
  .deps--stage .section__head { grid-area: head; align-self: end; margin-bottom: 0; }
  .deps--stage .deps__stage { grid-area: stage; align-self: center; }
  .deps--stage .deps__note { grid-area: note; align-self: start; margin-top: 0; }
  .deps--stage .dep { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: clamp(1.2rem, 2.4vw, 2rem); padding: clamp(1.4rem, 2.6vw, 2.2rem); }
  .deps--stage .dep__quote p { font-size: clamp(1.02rem, 1.35vw, 1.3rem); }
  .deps--stage .dep__nums { margin-top: 1.4rem; padding-top: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }
  .deps--stage .dep__nums b { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
}
/* PRIMEIRA CONVERSA: com a trava, a seção ocupa a tela inteira, como no site principal (o formulário mostra um
   passo por vez, então cabe na altura). .offer.med-offer.med-offer--stage vale sobre as regras do contato de lá. */
.offer.med-offer.med-offer--stage { min-height: 100vh; min-height: 100svh; padding: 6rem 0 3rem; }
@media (min-width: 901px) and (max-height: 820px) {
  .offer.med-offer.med-offer--stage { padding: 5rem 0 1.5rem; }
}
@media (max-width: 760px) {
  .offer.med-offer.med-offer--stage { padding: 4.4rem 0 1.25rem; }
}

/* telas baixas: a frase de apoio dos títulos sai para o palco caber */
@media (max-height: 760px) {
  .med-help--stage .section__head p, .deps--stage .section__head p { display: none; }
  .deps--stage { padding: 4.6rem 0 1.6rem; } /* o depoimento inteiro cabe na tela, então a trava pode engatar */
}
@media (max-width: 760px) {
  .med-help--stage { padding: 4.6rem 0 3.8rem; }
  .med-help--stage .section__head h2, .deps--stage .section__head h2 { font-size: 1.75rem; margin: .7rem 0 .4rem; }
  .deps--stage { padding: 4.6rem 0 2rem; }
  .deps--stage .section__head { margin-bottom: 1.2rem; }
  .deps--stage .deps__note { display: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* telas largas e baixas (notebooks, tablets deitados): a frase de apoio de serviços sai; a fila de cards precisa da altura */
@media (min-width: 901px) and (max-height: 760px) {
  .svc-head p { display: none; }
}
/* contato no desktop: nome e WhatsApp lado a lado (o último passo fica mais baixo) */
@media (min-width: 901px) {
  .quick__step--contact { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .quick__step--contact > :not(.field:nth-of-type(1)):not(.field:nth-of-type(2)) { grid-column: 1 / -1; }
}

/* NOTEBOOKS: telas largas e baixas (1366×768, 1336×768, 1280×720…). No navegador sobram ~650px de altura:
   as seções presas na tela (serviços, contato) e o celular da jornada precisam caber nessa altura. */
@media (min-width: 901px) and (max-height: 820px) {
  .hero__sub { margin-top: 1.3rem; }
  .hero__cta { margin-top: 2rem; gap: 1.5rem; }

  .svc-section { padding: 5.5rem 0 1.5rem; }
  .svc-head { margin-bottom: 1.4rem; }
  .svc-head h2 { font-size: clamp(2rem, 6.5vh, 3.4rem); }
  .svc-card { min-height: 0; padding: 1.5rem; gap: .7rem; }
  .svc-card h3 { font-size: 1.35rem; margin-top: .3rem; }
  .svc-card__n { font-size: 4.2rem; }
  .svc-card__ico { width: 48px; height: 48px; }
  .svc__bullets { gap: .5rem; margin: .2rem 0 .8rem; }

  /* o celular (570px) encolhe junto com a tela; "scale" não briga com o giro que o GSAP aplica dentro dele */
  :root { --phone-scale: .86; }
  .journey--live .journey__intro { top: 5.5rem; }

  .offer { padding: 5rem 0 1.5rem; }
  .quick { gap: .8rem; padding: 1.4rem 1.6rem; }
  .quick__step legend { margin-bottom: .5rem; }
  .choice > span { padding: .8rem 1rem; }
  .field input { padding: .75rem .9rem; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .hero__sub { font-size: 1rem; }
  .hero__cta { margin-top: 1.6rem; gap: 1.2rem; }
  .svc__desc { font-size: .95rem; }
  :root { --phone-scale: .74; }
  .journey--live .journey__intro h2 { font-size: 2.2rem; }
  .offer__head p { font-size: 1rem; }
}

@media (max-width: 1024px) {
  /* tablet: a marca ocupa a linha de cima; navegação e contato lado a lado embaixo */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .footer__brand { grid-column: 1 / -1; }
}
/* HERO NO TABLET EM PÉ E NO CELULAR: a foto ocupa o alto da tela e se dissolve para baixo; o texto vem embaixo,
   na mesma ordem (mesma regra em js/hero.js) */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
  .hero--cine {
    height: auto; min-height: 100vh; min-height: 100svh; padding: 50svh clamp(24px, 6.6vw, 10rem) 3.4rem;
    display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg);
  }
  .hero__layer, .hero__light, .hero__casal { bottom: auto; height: 66svh; }
  .hero__ambient { display: none; } /* no celular a foto já cobre a largura toda */
  .hero__shade {
    bottom: auto; height: calc(66svh + 4px); /* cobre a borda da foto: nenhuma linha clara aparece */
    background:
      linear-gradient(0deg, var(--bg) 0%, var(--bg) 4%, rgba(13, 10, 8, .82) 22%, rgba(13, 10, 8, .3) 40%, rgba(13, 10, 8, 0) 55%),
      linear-gradient(180deg, rgba(13, 10, 8, .55) 0%, rgba(13, 10, 8, 0) 18%);
  }
  /* o casal acompanha o degradê da base da foto */
  .hero__casal { -webkit-mask: linear-gradient(0deg, transparent 4%, rgba(0, 0, 0, .25) 22%, #000 46%); mask: linear-gradient(0deg, transparent 4%, rgba(0, 0, 0, .25) 22%, #000 46%); }
  .hero__copy { position: relative; left: auto; top: auto; bottom: auto; padding-top: 0; align-items: stretch; }
  /* o mínimo baixo deixa o título inteiro mesmo em telas bem estreitas (abaixo de 340px ele encolhe com a tela) */
  .hero__title { font-size: clamp(1.9rem, 11.5vw, 4.6rem); }
  .hero__sub { margin-top: 1.1rem; max-width: 26rem; }
  .hero__cta { align-items: flex-start; margin-top: 1.8rem; gap: 1.4rem; }
  .hero__curve { height: 9vh; }

  /* hero dos médicos no celular: a foto ocupa o alto da tela, com o casal centralizado, e se dissolve para baixo;
     o texto vem embaixo. O fio vertical sai; o horizontal fica com a largura do texto. */
  .med-hero {
    --dw: calc(62svh * 1.5027); /* a foto tem a altura do bloco de cima; a largura acompanha a proporção */
    height: auto; min-height: 100vh; min-height: 100svh; padding: 44svh var(--pad) 2.6rem;
    display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg);
  }
  .med-hero__photo {
    top: 3.4rem; /* abaixo do logo: as cabeças não ficam embaixo dele */
    left: calc(50vw - .555 * var(--dw)); /* centro do casal (~55,5% da foto) no centro da tela */
    /* as duas bordas se dissolvem no fundo: a de cima (abaixo do logo) e a de baixo (atrás do texto) */
    -webkit-mask: linear-gradient(180deg, transparent 0, #000 14%, #000 55%, transparent 100%);
    mask: linear-gradient(180deg, transparent 0, #000 14%, #000 55%, transparent 100%);
  }
  .med-hero__tone, .med-hero__shade { bottom: auto; height: calc(62svh + 3.4rem); }
  .med-hero__shade {
    background:
      linear-gradient(0deg, var(--bg) 0, var(--bg) 4%, rgba(13, 10, 8, .78) 24%, rgba(13, 10, 8, .25) 42%, rgba(13, 10, 8, 0) 56%),
      linear-gradient(180deg, rgba(13, 10, 8, .6) 0, rgba(13, 10, 8, 0) 22%);
  }
  .med-hero__copy { position: relative; left: auto; bottom: auto; max-width: none; }
  .med-hero__copy::before, .med-hero__copy::after { display: none; }
  .med-hero__rule { width: 100%; margin-top: 1.3rem; }
  .med-hero__foot { flex-direction: column; align-items: stretch; gap: 1.3rem; margin-top: 1.3rem; }
  .med-hero .med-hero__sub { max-width: none; flex: none; }
  .med-hero .btn--hero { width: 100%; min-width: 0; }
}
/* contato empilhado só abaixo de 900px: tablet deitado mantém título e formulário lado a lado (cabe na altura) */
@media (max-width: 900px) {
  .offer__wrap { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 760px) {
  /* no celular nenhum botão passa da largura disponível: quebra linha se precisar */
  .btn { max-width: 100%; white-space: normal; text-align: center; }
  .nav { inset: 10px 10px auto; }
  .nav .btn--sm { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--glass); border: 1px solid var(--line); border-radius: 20px; padding: .5rem;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__links a { padding: .9rem 1rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  /* celular: botão da hero na largura toda e a logo centralizada embaixo dele (o menu fica escondido na hero) */
  .hero--cine .btn--hero { width: 100%; min-width: 0; }
  .hero__brand { align-self: center; }
  /* método no celular: caminho na margem esquerda e cards em coluna única */
  .timeline .step, .timeline .step:nth-of-type(even) { width: auto; align-self: stretch; margin-left: 2.4rem; }
  /* contato compacto: título, pergunta e as três opções cabem numa tela de celular (a seção trava aqui) */
  .offer { padding: 4.4rem 0 1.25rem; }
  .offer__wrap { gap: .8rem; }
  .offer__head h2 { margin: .6rem 0 .5rem; font-size: 1.8rem; }
  .offer__head p { font-size: .93rem; }
  .quick { gap: .65rem; padding: 1rem 1.1rem; }
  .quick__step legend { margin-bottom: .4rem; font-size: 1.12rem; }
  .choices { gap: .5rem; }
  .choice > span { padding: .62rem .95rem; }
  .choice b { font-size: .98rem; }
  .choice small { font-size: .8rem; }
  /* celular: tudo em coluna; espaço embaixo para o botão flutuante do WhatsApp não cobrir o "voltar ao topo" */
  .footer { padding: 2.5rem 0 5.5rem; }
  .footer__top { grid-template-columns: 1fr; gap: 1.4rem; padding-bottom: 1.5rem; }
  .footer h4 { margin-bottom: .8rem; }
  nav.footer__col ul { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; } /* links lado a lado: rodapé bem mais curto */
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__up { margin-right: 0; }
}

/* celulares baixos (~600–680px úteis): um pouco de folga nas seções que travam */
@media (max-width: 760px) and (max-height: 680px) {
  .diag--stage .issue__hint { display: none; } /* a caixinha e o pulso já indicam o toque; o espaço vai para o texto */
  .offer .eyebrow { display: none; }
  .offer__head h2 { margin-top: 0; }
  .bond--stage { padding-bottom: 3.6rem; }
  .svc-section.svc--pinned { padding-bottom: 1rem; }
}
/* celulares bem baixos (iPhone SE e parecidos com as barras do navegador à mostra, ~550–600px úteis):
   as seções que travam tiram o que é secundário para o essencial caber inteiro na tela */
@media (max-width: 760px) and (max-height: 600px) {
  .diag--stage, .bond--stage { padding: 4.4rem 0 3.2rem; }
  .diag--stage .section__head h2, .bond--stage .section__head h2 { margin: .6rem 0 0; font-size: 1.7rem; }
  .diag--stage .issue { gap: .55rem; }
  .diag--stage .issue h3, .diag--stage .issue .issue__title { font-size: 1.35rem; }
  .diag--stage .issue__fix { font-size: .92rem; }
  .bond--stage .bond__item, .bond--stage .bond__finale { gap: .45rem; padding: 3.9rem 1.2rem 1.2rem; }
  .bond--stage .story__foot { display: none; } /* a barra de mensagem decorativa sai; o texto precisa do espaço */
  .bond--stage .bond__n { font-size: 2.2rem; }
  .bond--stage .bond__item h3 { font-size: 1.25rem; }
  .bond--stage .bond__item p { font-size: .92rem; }
  .bond--stage .duo { --duo: 4.2rem; }
  .bond--stage .bond__finale span:not(.duo) { display: none; } /* ficam os rostos, os nomes e o botão */
  .stage-hint { bottom: 1rem; }
  .svc-section.svc--pinned { padding-top: 4.2rem; }
  .svc--pinned .svc__bullets { display: none; } /* fica título, descrição e o convite */
  .offer__head h2 { font-size: 1.6rem; }
  .choice small { display: none; }
}

/* =========================================================
   SEO: rótulo dentro do título. O termo de busca ("Agência de marketing digital em Teresina") faz parte do h1/h2,
   mas continua com a cara do rótulo pequeno de sempre
   ========================================================= */
h1 > .eyebrow, h2 > .eyebrow {
  display: flex; width: fit-content; max-width: 100%; margin-bottom: 1rem;
  font-family: var(--font-body); font-size: .92rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-wrap: wrap;
}
.section__head h2:has(> .eyebrow), .offer__head h2:has(> .eyebrow), .svc-head h2:has(> .eyebrow) { margin-top: 0; }
.hero__title .hero__eyebrow {
  margin-bottom: 1.5rem; font-size: clamp(.85rem, .7rem + .3vw, 1rem); letter-spacing: .02em; color: #e8c77a;
  animation: hero-sobe 1s var(--ease) .15s both;
}
@keyframes hero-sobe { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* perguntas frequentes (páginas de serviço, médicos e blog): fechadas, a pessoa abre só o que interessa */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, .9rem + .4vw, 1.18rem); line-height: 1.35; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--champagne); }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%;
  font-family: var(--font-body); font-weight: 400; font-size: 1.1rem; color: var(--champagne); transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(var(--c1-rgb), .12); }
.faq details > div { display: grid; gap: .8rem; max-width: 46rem; padding: 0 0 1.4rem; color: var(--muted); }
.faq a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--c1-rgb), .45); }
.faq strong { font-weight: 600; color: var(--text); }
.med-faq { padding-top: 0; }

/* =========================================================
   PEÇAS COMUNS DE /sobre E DO BLOG: caminho (crumbs), convite do fim, ficha da empresa,
   texto dos artigos, tabelas e notas. Script: js/pagina.js. O visual próprio de cada uma fica nos blocos
   "BLOG COM CARA DE REVISTA" e "/sobre", mais abaixo.
   ========================================================= */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.8rem; padding: 0; list-style: none; font-size: .82rem; color: var(--muted-2); }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .6; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--champagne); }
.svp-link { color: var(--champagne); font-weight: 500; transition: color .2s; }
.svp-link:hover { color: var(--gold-light); }


/* fim: convite e leituras/serviços vizinhos */
.svp-end { position: relative; z-index: 1; padding: clamp(4rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.svp-end__box { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svp-end h2 { font-size: clamp(2rem, 4vw, 3rem); }
.svp-end__lead { margin-top: 1rem; max-width: 32rem; font-size: 1.05rem; color: var(--muted); }
.svp-end__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.8rem; }
.svp-related { padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.svp-related h3 { margin-bottom: .6rem; font-family: var(--font-mono); font-size: .75rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svp-related ul { margin: 0; padding: 0; list-style: none; }
.svp-related a { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .2s; }
.svp-related li:last-child a { border-bottom: 0; }
.svp-related a::after { content: "→"; color: var(--gold); }
.svp-related a:hover { color: var(--champagne); }
/* ficha da empresa (/sobre) */
.svp-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .7rem 1.6rem; margin: 0; font-size: .97rem; }
.svp-facts dt { color: var(--muted-2); }
.svp-facts dd { margin: 0; }

/* artigo: coluna de leitura */
.post__wrap { width: min(46rem, 100% - 32px); margin-inline: auto; }
.post__body { padding: 1rem 0 3rem; font-size: 1.06rem; line-height: 1.75; color: #d9d0bf; }
.post__body h2 { margin: 3rem 0 1rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--text); scroll-margin-top: 8.5rem; }
.post__body h3 { margin: 2rem 0 .6rem; font-size: 1.15rem; color: var(--text); }
.post__body p, .post__body ul, .post__body ol, .post__body .tbl { margin: 0 0 1.15rem; }
.post__body ul, .post__body ol { padding-left: 1.3rem; }
.post__body li { margin-bottom: .45rem; }
.post__body strong { color: var(--text); }
.post__body a { color: var(--champagne); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--c1-rgb), .5); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tbl table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .94rem; line-height: 1.5; }
.tbl th, .tbl td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { font-family: var(--font-display); font-weight: 600; color: var(--text); background: rgba(var(--c1-rgb), .08); }
.tbl tr:last-child td { border-bottom: 0; }
.post__note { padding: 1.1rem 1.3rem; border-left: 2px solid var(--gold); background: rgba(var(--c1-rgb), .06); border-radius: 0 10px 10px 0; font-size: .98rem; }

@media (max-width: 960px) {
  .svp-end__box { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .crumbs ol { margin-bottom: 1.3rem; }
  .svp-facts { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .svp-facts dd { margin-bottom: .7rem; }
}

/* =========================================================
   BLOG COM CARA DE REVISTA (blog/index.html e os artigos). Fonte serifada só aqui: Newsreader, carregada no
   <head> das páginas do blog e da /sobre (sem ela, cai para Georgia). Rótulos em mono dourado, fios finos.
   ========================================================= */
.page-blog, .page-about { --font-serif: "Newsreader", Georgia, "Times New Roman", serif; }
.ed-kicker, .ed-cat {
  display: block; margin: 0 0 .9rem; font-family: var(--font-mono); font-size: .74rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--champagne);
}
.ed-meta { margin: 0; font-size: .85rem; color: var(--muted-2); }
.ed-more { color: var(--champagne); font-weight: 500; }
.ed-more .arrow, .ed-item .arrow { display: inline-block; transition: transform .3s var(--ease); }

/* cabeçalho da lista: nome do blog, título grande e fio duplo, como a capa de uma revista */
.ed-mast { position: relative; z-index: 1; padding: 8.5rem 0 0; }
.ed-mast__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-bottom: .9rem;
  border-bottom: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.ed-mast__title {
  margin: 2.2rem 0 0; font-family: var(--font-serif); font-size: clamp(3rem, 8.5vw, 7.2rem); font-weight: 500;
  line-height: .98; letter-spacing: -.025em;
}
.ed-mast__title em { font-style: italic; color: var(--champagne); }
.ed-mast__deck {
  max-width: 40rem; margin: 1.4rem 0 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem);
  font-style: italic; line-height: 1.45; color: var(--muted);
}
.ed-mast__rule { margin-top: 2.6rem; border-top: 3px double var(--line-2); }

/* artigo em destaque: capa tipográfica à esquerda (sem foto) e o texto à direita */
.ed-lead { position: relative; z-index: 1; padding: 3rem 0 1rem; }
.ed-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.ed-feature__cover {
  position: relative; display: grid; align-content: space-between; gap: 2rem; aspect-ratio: 4 / 3; padding: clamp(1.4rem, 3vw, 2.4rem);
  overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 85% 10%, rgba(var(--c1-rgb), .35), transparent 65%),
    radial-gradient(60% 60% at 0% 100%, rgba(var(--c1-rgb), .14), transparent 70%), var(--surface);
  transition: border-color .4s var(--ease);
}
.ed-feature__cover::after { /* número da edição, vazado, no canto */
  content: attr(data-n); position: absolute; right: -.08em; bottom: -.22em; font-family: var(--font-serif); font-size: clamp(9rem, 18vw, 15rem);
  font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--c2-rgb), .22); pointer-events: none;
}
.ed-feature__tag { justify-self: start; padding: .35rem .75rem; border: 1px solid rgba(var(--c1-rgb), .55); border-radius: 999px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--champagne); }
.ed-feature__quote { position: relative; z-index: 1; max-width: 22ch; margin: 0; font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-style: italic; line-height: 1.2; color: var(--text); }
.ed-feature__quote::before { content: "“"; display: block; height: .55em; font-size: 2.4em; line-height: 1; color: var(--gold); }
.ed-feature h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; transition: color .3s; }
.ed-feature__text .ed-deck { margin: 1.1rem 0 1.4rem; font-size: 1.05rem; color: var(--muted); }
.ed-feature__text .ed-meta { margin-bottom: 1.4rem; }
.ed-feature:hover h2 { color: var(--gold-light); }
.ed-feature:hover .ed-feature__cover { border-color: rgba(var(--c1-rgb), .6); }
.ed-feature:hover .arrow, .ed-item:hover .arrow { transform: translateX(4px); }

/* demais artigos: lista numerada, separada por fios, como o índice de uma revista */
.ed-index { position: relative; z-index: 1; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.ed-index__title { display: flex; align-items: center; gap: 1rem; margin: 0 0 .4rem; font-family: var(--font-mono); font-size: .74rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ed-index__title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.ed-list { margin: 0; padding: 0; list-style: none; }
.ed-item {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .4rem 1.6rem; align-items: baseline;
  padding: 1.8rem 0; border-bottom: 1px solid var(--line);
}
.ed-item__n { font-family: var(--font-serif); font-size: 2.4rem; font-style: italic; line-height: 1; color: var(--gold); }
.ed-item h3 { margin: 0; font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.2; transition: color .3s; }
.ed-item .ed-deck { margin: .55rem 0 0; color: var(--muted); }
.ed-item .ed-cat { margin-bottom: .55rem; }
.ed-item:hover h3 { color: var(--gold-light); }
.ed-item__side { display: grid; justify-items: end; gap: .5rem; white-space: nowrap; }

/* ARTIGO: cabeçalho centrado numa coluna estreita, com rótulo, título, linha fina, assinatura e a resposta curta */
.ed-post__head { position: relative; z-index: 1; padding: 8.5rem 0 2rem; }
.ed-post__head::before { /* brilho dourado leve atrás do título */
  content: ""; position: absolute; inset: 0 0 auto; height: 100%; pointer-events: none; z-index: -1;
  background: radial-gradient(40% 50% at 50% 30%, rgba(var(--c1-rgb), .12), transparent 70%);
}
.ed-post__title { margin: 0; font-family: var(--font-serif); font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 500; line-height: 1.06; letter-spacing: -.02em; }
.ed-post__title em { font-style: italic; color: var(--champagne); }
.ed-post__deck { margin: 1.2rem 0 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-style: italic; line-height: 1.45; color: var(--muted); }
.ed-byline { display: flex; align-items: center; gap: 1rem; margin-top: 1.8rem; padding: 1.1rem 0; border-block: 1px solid var(--line); }
.ed-byline .duo { --duo: 2.8rem; justify-content: flex-start; }
.ed-byline p { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.ed-byline b { font-weight: 600; color: var(--text); }
.ed-answer {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 2px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, rgba(var(--c1-rgb), .12), rgba(var(--c1-rgb), .02) 80%);
}
.ed-answer h2 { margin: 0 0 .6rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }
.ed-answer p { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6; color: var(--text); }

/* texto do artigo em serifa, com capitular dourada no primeiro parágrafo e citação em destaque */
.ed-body { font-family: var(--font-serif); font-size: 1.24rem; line-height: 1.72; color: #ddd4c2; }
.ed-body h2 { font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -.01em; }
.ed-body h3 { font-family: var(--font-display); font-size: 1.08rem; }
.ed-body > p:first-of-type::first-letter {
  float: left; margin: .06em .12em 0 0; font-size: 4.1em; font-weight: 600; line-height: .82; color: var(--champagne);
}
.ed-body .tbl, .ed-body .faq, .ed-body .post__note { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
.ed-pull {
  margin: 2.8rem 0; padding: 1.8rem 0; border-block: 1px solid var(--line-2); text-align: center;
  font-family: var(--font-serif); font-size: clamp(1.55rem, 3vw, 2.1rem); font-style: italic; line-height: 1.3; color: var(--text);
}
.ed-pull p { margin: 0; }
.ed-pull p::before { content: "“"; display: block; height: .5em; font-size: 2em; line-height: 1; color: var(--gold); }
/* ACOMPANHAMENTO DA LEITURA (js/pagina.js). Computador (1300px ou mais): coluna fixa à esquerda do texto, com as
   partes do artigo, a atual em destaque, as já lidas apagadas e a barra do quanto foi lido. Telas menores: faixa
   fixa no alto com a parte atual e a porcentagem; ao tocar, abre a lista. */
.ed-layout { display: grid; grid-template-columns: minmax(0, 1fr) min(46rem, 100% - 32px) minmax(0, 1fr); }
.ed-layout > .post__body { grid-column: 2; grid-row: 2; min-width: 0; }
.ed-toc { --p: 0; grid-column: 2; grid-row: 1; position: sticky; top: 88px; z-index: 40; transition: top .5s var(--ease); }
.ed-toc.is-top { top: 16px; } /* o menu sumiu (rolando para baixo): a faixa sobe para o lugar dele */
.ed-toc__inner {
  position: relative; margin-top: 1rem; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--glass-nav); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.ed-toc__head { display: none; }
.ed-toc__toggle {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; width: 100%;
  padding: .8rem 1rem; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.ed-toc__toggle::after { content: ""; width: .5rem; height: .5rem; margin-top: -.25rem; border-right: 1.5px solid var(--champagne); border-bottom: 1.5px solid var(--champagne); transform: rotate(45deg); transition: transform .3s var(--ease); }
.ed-toc.is-open .ed-toc__toggle::after { margin-top: .2rem; transform: rotate(-135deg); }
.ed-toc__label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.ed-toc__now { overflow: hidden; font-size: .92rem; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.ed-toc__pct { font-family: var(--font-mono); font-size: .72rem; color: var(--champagne); font-variant-numeric: tabular-nums; }
/* barra do quanto já foi lido: o dourado cresce com a rolagem (--p vai de 0 a 1) */
.ed-toc__bar { display: block; height: 2px; background: var(--line); }
.ed-toc__bar i { display: block; height: 100%; background: var(--grad); transform: scaleX(var(--p)); transform-origin: left; }
.ed-toc__list { display: none; max-height: 60vh; margin: 0; padding: .5rem; overflow-y: auto; list-style: none; counter-reset: parte; }
.ed-toc.is-open .ed-toc__list { display: block; }
.ed-toc__list li { counter-increment: parte; }
.ed-toc__list a {
  display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); align-items: baseline; padding: .55rem .6rem; border-radius: 8px;
  font-size: .93rem; line-height: 1.35; color: var(--muted); transition: color .3s, background .3s;
}
.ed-toc__list a::before { content: counter(parte, decimal-leading-zero); font-family: var(--font-mono); font-size: .7rem; color: var(--muted-2); transition: color .3s; }
.ed-toc__list a:hover { color: var(--text); }
.ed-toc__list a.is-past { color: var(--muted-2); }
.ed-toc__list a.is-past::before { color: rgba(var(--c1-rgb), .7); }
.ed-toc__list a.is-on { color: var(--text); background: rgba(var(--c1-rgb), .12); }
.ed-toc__list a.is-on::before { color: var(--gold-light); }
.ed-toc__foot { display: none; }

@media (min-width: 1300px) {
  /* coluna ao lado do texto: ocupa a margem esquerda e acompanha a rolagem */
  .ed-layout > .post__body { grid-row: 1; }
  .ed-toc { grid-column: 1; grid-row: 1; align-self: start; justify-self: end; width: min(15rem, 100% - 2.5rem - 24px); margin-right: 2.5rem; top: 7rem; }
  .ed-toc.is-top { top: 2rem; }
  .ed-toc__inner { margin-top: 3.2rem; overflow: visible; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ed-toc__head {
    display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .8rem; font-family: var(--font-mono); font-size: .7rem;
    letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  }
  .ed-toc__toggle { display: none; }
  .ed-toc__bar { margin-bottom: 1rem; border-radius: 2px; }
  .ed-toc__list { display: block; max-height: none; padding: 0; overflow: visible; border-left: 1px solid var(--line); }
  .ed-toc__list a { position: relative; margin-left: -1px; padding: .5rem .6rem .5rem 1rem; border-left: 1px solid transparent; border-radius: 0 8px 8px 0; }
  .ed-toc__list a.is-on { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(var(--c1-rgb), .14), transparent); }
  .ed-toc__foot { display: grid; gap: .5rem; margin: 1.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted-2); }
  .ed-toc__foot a { color: var(--champagne); font-weight: 500; }
  .ed-toc__foot a:hover { color: var(--gold-light); }
}
@media (max-width: 760px) {
  .ed-toc { top: 76px; }
  .ed-toc.is-top { top: 10px; }
}

/* quem escreveu: a WRMax, com a dupla que conduz */
.ed-author {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem 1.4rem; align-items: center;
  margin: 1rem auto 4rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.ed-author .duo { --duo: 3.6rem; }
.ed-author h2 { margin: 0 0 .3rem; font-family: var(--font-mono); font-size: .72rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ed-author p { margin: 0; color: var(--muted); }
.ed-author b { color: var(--text); font-weight: 600; }
.ed-author a { color: var(--champagne); }

@media (max-width: 900px) {
  .ed-feature { grid-template-columns: minmax(0, 1fr); }
  .ed-feature__cover { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  .ed-mast, .ed-post__head { padding-top: 6.6rem; }
  .ed-mast__title { margin-top: 1.6rem; }
  .ed-mast__top span + span { display: none; } /* no celular, uma linha só */
  .ed-item { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .ed-item__n { font-size: 1.8rem; }
  .ed-item__side { grid-column: 2; justify-items: start; }
  .ed-body { font-size: 1.12rem; }
  .ed-author { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   /sobre: foto da dupla em destaque, frase de abertura, quem conduz, como trabalhamos, serviços e onde estamos
   ========================================================= */
.ab-hero { position: relative; z-index: 1; padding: 8.5rem 0 clamp(3rem, 6vw, 5rem); }
.ab-hero__wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ab-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }
.ab-hero__sub { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.02rem, .9rem + .3vw, 1.15rem); color: var(--muted); }
.ab-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
/* foto com moldura dourada deslocada atrás e a legenda por cima, no pé */
.ab-photo { position: relative; margin: 0; }
.ab-photo::before {
  content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; z-index: -1; border: 1px solid rgba(var(--c1-rgb), .45);
  border-radius: var(--radius-lg);
}
.ab-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 30% 40%;
  border-radius: var(--radius-lg); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  filter: brightness(.9) saturate(.92) sepia(.14); /* tom um pouco mais quente e baixo, para combinar com o tema escuro */
}
.ab-photo figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .55rem .9rem; border-radius: 999px; font-size: .82rem; color: var(--text);
  background: rgba(10, 9, 7, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ab-photo figcaption b { color: var(--champagne); font-weight: 600; }

/* frase de abertura, grande e centrada, entre dois fios */
.ab-statement { position: relative; z-index: 1; padding: clamp(1.5rem, 4vw, 3rem) 0 0; }
.ab-statement blockquote {
  max-width: 54rem; margin: 0 auto; padding: clamp(2rem, 4vw, 3rem) 0; border-block: 1px solid var(--line-2); text-align: center;
}
.ab-statement blockquote p { margin: 0; font-family: var(--font-serif); font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-style: italic; line-height: 1.22; color: var(--text); }
.ab-statement blockquote p em { color: var(--champagne); }
.ab-statement footer { margin-top: 1.2rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.ab-sec { position: relative; z-index: 1; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.ab-sec + .ab-sec { padding-top: clamp(1rem, 3vw, 2rem); }
.ab-head { max-width: 44rem; margin-bottom: 2.4rem; }
.ab-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.ab-head p { margin-top: .9rem; font-size: 1.05rem; color: var(--muted); }
/* quem conduz: um cartão por pessoa */
.ab-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.ab-person {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem 1.4rem; align-items: center; padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: radial-gradient(90% 90% at 100% 0%, rgba(var(--c1-rgb), .12), transparent 60%), var(--surface);
}
.ab-person img { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px rgba(var(--c2-rgb), .6); }
.ab-person h3 { font-size: 1.35rem; }
.ab-person p { margin-top: .2rem; color: var(--champagne); font-size: .95rem; }
/* como trabalhamos: quatro compromissos com número vazado */
.ab-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.ab-ways li { display: grid; align-content: start; gap: .7rem; padding-top: 1.4rem; border-top: 1px solid var(--line-2); }
.ab-ways span { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--c2-rgb), .5); }
.ab-ways h3 { font-size: 1.15rem; }
.ab-ways p { font-size: .97rem; color: var(--muted); }
/* o que fazemos: cartões que levam às páginas de cada serviço */
.ab-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ab-services a {
  display: grid; gap: .45rem; height: 100%; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.ab-services b { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.ab-services b::after { content: "→"; color: var(--gold); transition: transform .3s var(--ease); }
.ab-services span { font-size: .93rem; color: var(--muted); }
.ab-services a:hover { border-color: rgba(var(--c1-rgb), .55); transform: translateY(-3px); }
.ab-services a:hover b::after { transform: translateX(4px); }
/* onde estamos: endereço e convite à esquerda, ficha da empresa à direita */
.ab-place { position: relative; z-index: 1; padding: clamp(4rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.ab-place__wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ab-place h2 { font-size: clamp(2rem, 4vw, 3rem); }
.ab-place__addr { margin-top: 1.2rem; font-size: 1.08rem; line-height: 1.6; color: var(--muted); font-style: normal; }
.ab-place__addr b { color: var(--text); font-weight: 600; }
.ab-card {
  padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid rgba(var(--c1-rgb), .4); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(var(--c1-rgb), .14), transparent 60%), var(--surface);
}
.ab-card h3 { margin-bottom: 1.1rem; font-family: var(--font-mono); font-size: .74rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne); }

@media (max-width: 1000px) {
  .ab-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .ab-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ab-hero__wrap, .ab-place__wrap { grid-template-columns: minmax(0, 1fr); }
  .ab-photo { order: -1; margin-right: 1.2rem; } /* empilhado: a foto vem primeiro */
}
@media (max-width: 760px) {
  .ab-hero { padding-top: 6.6rem; }
  .ab-people, .ab-ways, .ab-services { grid-template-columns: minmax(0, 1fr); }
  .ab-person img { width: 4.5rem; height: 4.5rem; }
  .ab-hero__cta .btn { width: 100%; }
  .ab-photo figcaption { font-size: .75rem; }
}

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