/* =========================================================================
   Caroline Gargantini - Consulta Diagnostica Online
   Direcao: consultoria operacional premium. Claro + faixas grafite,
   cantos retos, profundidade sutil, tipografia serifada nos titulos.
   ========================================================================= */

/* ---------------------------- Tokens ---------------------------- */
:root {
  --bg:        #F7F2EC;   /* creme claro (fundo principal) */
  --bg-lite:   #FFFCF8;   /* branco quente (cards) */
  --bg-alt:    #EDE3D8;   /* bege */
  --sand:      #E8DDCE;   /* bege ligeiramente mais escuro (secao problema) */
  --graphite:  #211D1A;   /* preto quente */
  --graphite-2:#2A2421;   /* card escuro (sobre o preto quente) */
  --ink:       #211D1A;   /* texto principal (preto quente) */
  --ink-2:     #6A625D;   /* texto secundario */
  --ink-3:     #8C857D;   /* legendas / microtexto */
  --terra:     #A84732;   /* vermelho queimado principal (destaque) */
  --terra-d:   #843526;   /* vermelho escuro (hover) */
  --copper:    #B9764E;   /* cobre secundario (discreto) */
  --line:      #DED4C7;   /* bordas */
  --line-2:    #EAE1D5;   /* bordas mais suaves */
  --card:      #FFFCF8;   /* branco quente para cards */

  /* sobre marrom escuro */
  --g-text:    #F5F0E9;
  --g-text-2:  rgba(245,240,233,.74);
  --g-line:    rgba(245,240,233,.14);

  --shadow-sm: 0 1px 2px rgba(43,31,23,.05), 0 1px 3px rgba(43,31,23,.05);
  --shadow-md: 0 8px 22px -14px rgba(43,31,23,.28), 0 2px 6px -3px rgba(43,31,23,.10);
  --shadow-card: 0 14px 35px rgba(43,31,23,.08), 0 3px 8px rgba(43,31,23,.04);

  --r:    12px;
  --r-sm: 8px;
  --btn-r: 9px;

  --display: "Sora", "Inter Tight", "Manrope", "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1220px;
  --ease: cubic-bezier(.22,.7,.2,1);
}

/* ---------------------------- Reset ---------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
/* utilitario: conteudo so-desktop / so-mobile (troca de texto sem JS). Mobile override no @media 760 */
.only-m { display: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--terra); color: #fff; }

/* ---------------------------- Layout ---------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 4vw, 56px); }
section { position: relative; }

/* fundos das secoes (ritmo: creme -> marrom -> creme -> bege -> marrom -> creme -> marrom -> creme) */
.metrics-band { background: var(--graphite); }
.scope     { background: var(--bg); }        /* creme (cards brancos saltam) */
.pain      { background: var(--graphite); color: var(--g-text); }  /* O PROBLEMA: quebra escura (diagnostico) */
.fit       { background: var(--bg); }        /* creme (qualificacao de publico) */
.process   { background: var(--graphite); }  /* marrom escuro, largura total */
.about     { background: var(--bg-lite); }   /* branco quente */
.faq       { background: var(--bg); }        /* creme */
.final-cta { background: var(--graphite); }  /* marrom escuro, largura total */

/* alturas diferenciadas: amplo nos momentos-chave, objetivo no resto */
.scope   { padding: clamp(62px, 7vw, 104px) 0; }
.pain    { padding: clamp(62px, 7vw, 104px) 0; }
.fit     { padding: clamp(56px, 6vw, 92px) 0; }
.process { padding: clamp(72px, 8vw, 116px) 0; }
.about   { padding: clamp(66px, 7vw, 108px) 0; }

/* ---------------------------- Tipografia ---------------------------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(2.35rem, 3.4vw, 3.05rem); line-height: 1.08; }
h3 { font-size: clamp(1.35rem, 1.5vw, 1.55rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
p, li, .lead, blockquote { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
}
.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); color: var(--ink-2); line-height: 1.6; }
.fine { font-size: .86rem; color: var(--ink-3); }

/* cabecalhos de secao */
.sec-head { max-width: 720px; margin-bottom: clamp(38px, 4.5vw, 60px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .lead { margin-top: 16px; }

/* ---------------------------- Botoes ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 15px 28px; border-radius: var(--btn-r);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.btn-cta { background: var(--terra); color: #fff; box-shadow: 0 6px 16px -8px rgba(168,71,50,.55); }
.btn-cta:hover { background: var(--terra-d); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(168,71,50,.6); }
.btn-cta:active { transform: translateY(0); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-arrow { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn-cta:hover .btn-arrow { transform: translateX(3px); }

/* destaque terracota na headline */
.hl { color: var(--terra); }

/* ---------------------------- Icone em circulo (componente reusado) ---------------------------- */
.ic {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(168,71,50,.4); color: var(--terra);
  background: rgba(168,71,50,.06);
}
.ic svg { width: 21px; height: 21px; }
.ic-lg { width: 58px; height: 58px; }
.ic-lg svg { width: 27px; height: 27px; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  width: 100%;
  /* teto de largura em px -> encolhe no ZOOM (px render menor) e acompanha a janela no resize */
  max-width: 1640px;
  margin: 0 auto;
  /* vira container p/ a headline escalar em cqw (junto com zoom + resize) */
  container-type: inline-size;
  /* altura proporcional a largura: Carol + headline escalam JUNTOS (zoom + resize) */
  aspect-ratio: 21 / 8;
  min-height: 460px;
  /* sem overflow: o fundo full-bleed pode passar do teto ate a borda da tela */
  background: var(--bg);
}
/* fundo (cozinha desfocada) - FULL-BLEED: vai ate as bordas da tela, alem do teto */
.hero-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; display: block; }
/* veu creme a esquerda p/ o texto ter contraste sobre a cozinha (tambem full-bleed) */
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    var(--bg) 31%,
    rgba(247,245,240,.72) 49%,
    rgba(247,245,240,0) 67%);
}
/* Carol recortada (com os selos) por cima, ancorada em baixo/direita */
.hero-carol {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  height: 91%; width: auto; display: block; pointer-events: none;
}
.hero-inner {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1520px; margin: 0 auto;
  padding: 24px clamp(32px, 5vw, 92px);
}
.hero-copy { max-width: 720px; }
.hero-copy h1 { margin-bottom: 12px; font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(3.4rem, 4.4cqw, 4.4rem); line-height: .97; }
.hero-copy .lead { margin-bottom: 22px; max-width: 480px; }
.hero-actions { margin-bottom: 16px; }
.hero-note { font-size: .9rem; color: var(--ink-2); }

/* ============================ 2. IDENTIFICACAO RAPIDA DO PUBLICO (linha discreta) ============================ */
.audience { background: var(--bg); padding: clamp(20px, 2.6vw, 34px) 0 clamp(24px, 3vw, 40px); }
.audience-line { max-width: 900px; margin: 0 auto; text-align: center; color: var(--ink-2); font-size: 1.05rem; line-height: 1.55; }
.audience-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); margin-right: 10px; vertical-align: middle; position: relative; top: -2px; }

/* ============================ 3. PROVA RAPIDA (marrom escuro, sem titulo) ============================ */
.metrics-band { position: relative; overflow: hidden; padding: clamp(34px, 4vw, 58px) 0; color: var(--g-text); }
.mb-bg { position: absolute; inset: 0; z-index: 0; }
.mb-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .07; }
.metrics-band .wrap { position: relative; z-index: 1; }
.mb-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.mb-item { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 22px); padding: 6px clamp(24px, 3.2vw, 54px); }
.mb-item:first-child { padding-left: 0; }
.mb-item + .mb-item { border-left: 1px solid var(--g-line); }
.mb-item .ic { border-color: rgba(168,71,50,.5); background: rgba(168,71,50,.14); }
.mb-num { display: block; font-family: var(--display); font-weight: 800; color: var(--g-text); font-size: clamp(2.6rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.mb-num em { font-style: normal; font-size: .32em; color: var(--terra); font-weight: 700; margin-left: .12em; letter-spacing: 0; }
.mb-tx p { margin-top: 8px; color: var(--g-text-2); font-size: .95rem; line-height: 1.45; max-width: 230px; }

/* ============================ 3. AMPLITUDE DA ANALISE (cards com icone a esquerda) ============================ */
.scope .sec-head.center { max-width: 880px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 1.8vw, 26px); }
.scope-item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: clamp(28px, 2.6vw, 38px);
  box-shadow: 0 1px 2px rgba(36,29,26,.03), 0 12px 26px -20px rgba(36,29,26,.14);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.scope-item:hover { transform: translateY(-2px); border-color: var(--line); box-shadow: 0 2px 4px rgba(36,29,26,.04), 0 16px 30px -22px rgba(36,29,26,.20); }
.scope-tx h3 { margin-bottom: 10px; font-size: 1.22rem; }
.scope-tx p { color: var(--ink-2); font-size: 1rem; line-height: 1.58; }

/* ============================ 4. O PROBLEMA (cabecalho em cima + cards largos retangulares) ============================ */
.pain .sec-head { max-width: 680px; }
.pain h2 { color: var(--g-text); }
.pain .sec-head .lead { color: var(--g-text-2); }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 1.8vw, 26px); }
.pain-item {
  display: grid; grid-template-columns: auto 1fr; column-gap: 22px; row-gap: 6px; align-content: start;
  background: #2F2622; border: 1px solid rgba(245,240,233,.10);
  border-radius: var(--r); padding: clamp(28px, 2.8vw, 40px);
  box-shadow: none;
}
.pain-item .ic { grid-row: 1 / span 3; align-self: start; border-color: rgba(168,71,50,.5); background: rgba(168,71,50,.14); }
.pain-num { grid-column: 2; font-family: var(--display); font-size: clamp(2rem, 4.6vw, 2.9rem); color: var(--terra); font-weight: 800; line-height: .95; letter-spacing: -.02em; }
.pain-item h3 { grid-column: 2; margin-top: 8px; font-size: 1.24rem; line-height: 1.22; color: var(--g-text); }
.pain-item p { grid-column: 2; margin-top: 6px; color: var(--g-text-2); font-size: .96rem; line-height: 1.55; max-width: 44ch; }

/* ============================ 6. PARA QUEM E / PARA QUEM NAO E ============================ */
.fit .sec-head.center { max-width: 720px; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 34px); align-items: start; }
.fit-col { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(28px, 2.8vw, 42px); box-shadow: var(--shadow-card); }
.fit-col h3 { font-size: 1.2rem; margin-bottom: 22px; }
.fit-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.fit-col ul.fit-list-m { display: none; }  /* lista mobile escondida no desktop */
.fit-col li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.fit-mk { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--terra); color: #fff; margin-top: 1px; }
.fit-mk svg { width: 14px; height: 14px; }
.fit-mk-no { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); margin-top: 1px; position: relative; }
.fit-mk-no::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; background: var(--ink-3); transform: translateY(-50%); }
/* PARA QUEM E: duas areas com identidades bem distintas */
.fit-yes { background: #F4ECE0; border-color: var(--line); box-shadow: 0 1px 2px rgba(36,29,26,.03), 0 14px 30px -22px rgba(36,29,26,.16); }
.fit-no  { background: #2B2420; border-color: rgba(245,240,233,.10); box-shadow: none; }
.fit-yes h3 { color: var(--ink); }
.fit-no h3 { color: var(--g-text); }
.fit-no li { color: var(--g-text-2); }
.fit-no .fit-mk-no { border-color: rgba(245,240,233,.32); }
.fit-no .fit-mk-no::after { background: rgba(245,240,233,.55); }

/* ============================ 7. COMO FUNCIONA + O QUE VOCE LEVA (marrom escuro) ============================ */
.process { position: relative; overflow: hidden; color: var(--g-text); }
.proc-bg { position: absolute; inset: 0; z-index: 0; }
.proc-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .06; }
.process > .wrap { position: relative; z-index: 1; }
.process .eyebrow { color: var(--terra); }
.process h2 { color: var(--g-text); }
.process .sec-head { max-width: 760px; }
.process .sec-head .lead { color: rgba(245,240,233,.84); }

/* etapas em cards escuros (levemente mais claros que o fundo), com bom contraste */
.process-grid { list-style: none; padding: 0; margin: clamp(34px, 4vw, 54px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.6vw, 24px); }
.proc-card { background: #2E2824; border: 1px solid rgba(168,71,50,.32); border-radius: var(--r); padding: clamp(26px, 2.2vw, 34px); }
.proc-card .ic { border-color: rgba(168,71,50,.55); background: rgba(168,71,50,.16); margin-bottom: 18px; }
.proc-card .ps-num { display: block; font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--terra); letter-spacing: .04em; margin-bottom: 7px; }
.proc-card h3 { font-size: 1.18rem; margin-bottom: 10px; color: var(--g-text); }
.proc-card p { color: rgba(245,240,233,.86); font-size: 1rem; line-height: 1.58; }

/* O QUE VOCE LEVA (mesmo bloco escuro) com mais presenca */
.deliver-block { margin-top: clamp(48px, 5.5vw, 80px); padding-top: clamp(40px, 4.5vw, 60px); border-top: 1px solid var(--g-line); }
.deliver-head { margin-bottom: clamp(26px, 3.2vw, 40px); }
.deliver-head .eyebrow { color: var(--terra); }
.deliver-head h2 { color: var(--g-text); font-size: clamp(2.1rem, 2.9vw, 2.65rem); }
.deliver-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 4.5vw, 66px); align-items: start; }
.deliver-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px 26px; }
.deliver-list li { display: flex; align-items: center; gap: 13px; color: var(--g-text); font-weight: 500; font-size: 1.02rem; }
.dv-ck { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--terra); color: #fff; }
.dv-ck svg { width: 15px; height: 15px; }
.deliver-note { color: var(--g-text-2); font-size: .96rem; line-height: 1.64; border-left: 2px solid var(--g-line); padding-left: 20px; }

/* ============================ 6. QUEM E CAROLINE (assimetrica, cozinha suave atras) ============================ */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 82px); align-items: center; }
.about-media { align-self: center; text-align: center; }
/* Carol solta, sem card atras, apenas com fade suave na base */
.about-photo {
  display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 84%, transparent 99%);
}
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--ink-2); margin-bottom: 15px; max-width: 560px; font-size: 1.02rem; line-height: 1.66; }
/* destaque em card com aspas terracota */
.about-quote {
  position: relative;
  font-family: var(--display); font-style: normal; font-weight: 700;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.35; color: var(--ink);
  margin-top: 30px; padding: 26px 30px 26px 64px;
  background: var(--bg-lite); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow-card); max-width: 640px;
}
.aq-mark { position: absolute; left: 22px; top: 10px; font-family: Georgia, serif; font-size: 3rem; line-height: 1; color: var(--terra); }

/* ============================ 9. CTA FINAL (foto integrada ao fundo por fade, sem card) ============================ */
.final-cta { position: relative; overflow: hidden; color: var(--g-text); background: var(--graphite); padding: clamp(74px, 8vw, 120px) 0; }
/* foto ocupa ~52% da direita e some suavemente em direcao a esquerda (integra ao carvao) */
.fc-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: 0; }
.fc-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: brightness(.78);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 34%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 34%, #000 72%);
}
/* reforco de integracao: leve escurecimento por cima, mais forte a esquerda */
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--graphite) 12%, rgba(33,28,25,.55) 42%, rgba(33,28,25,.12) 70%, rgba(33,28,25,0) 100%); }
.final-cta .wrap { position: relative; z-index: 2; }
.fc-content { max-width: 540px; }
.final-cta h2 { color: var(--g-text); margin-bottom: 20px; }
.final-cta p { color: var(--g-text-2); max-width: 500px; margin-bottom: 32px; font-size: 1.08rem; line-height: 1.62; }
.fc-actions { margin-bottom: 18px; }
.fc-micro { color: var(--g-text-2); font-size: .95rem; }

/* ============================ FAQ (2 colunas: cabecalho esquerda + accordion direita) ============================ */
.faq { padding: clamp(58px, 6.5vw, 96px) 0; }
.faq-wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(30px, 4.5vw, 72px); align-items: start; }
.faq-wrap .sec-head { margin-bottom: 0; max-width: 380px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: var(--ink); text-align: left;
}
.faq-ic { flex: none; position: relative; width: 16px; height: 16px; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--terra); transition: transform .3s var(--ease); }
.faq-ic::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ic::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 4px 20px; color: var(--ink-2); font-size: .98rem; line-height: 1.6; max-width: 680px; }

/* ============================ RODAPE (grafite) ============================ */
.site-footer { background: var(--graphite); color: var(--g-text); padding: clamp(44px, 5vw, 64px) 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 3px; }
.footer-brand .f-name { font-family: var(--display); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--g-text); }
.footer-brand .f-role { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--g-text-2); }
.footer-brand a { margin-top: 10px; color: var(--terra); font-size: .95rem; }
.footer-brand a:hover { color: var(--copper); }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.footer-links a { color: var(--g-text-2); }
.footer-links a:hover { color: var(--g-text); }
.footer-legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--g-line); }
.footer-legal p { font-size: .82rem; color: rgba(244,241,235,.5); max-width: 720px; }

/* ============================ CTA MOBILE FIXO ============================ */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  background: var(--terra); color: #fff; font-weight: 600; font-size: 1rem; text-align: center;
  padding: 15px; border-radius: var(--btn-r); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(120%); transition: opacity .3s var(--ease), transform .3s var(--ease);
  display: none;
}
.mobile-cta[data-show="1"] { opacity: 1; transform: translateY(0); }

/* ============================ REVEAL ============================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .scope-item, .case-block { transition: none; }
}

/* ============================ RESPONSIVO (base; mobile detalhado em etapa propria) ============================ */
@media (max-width: 1080px) {
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid { grid-template-columns: 1fr; gap: clamp(16px, 3vw, 24px); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver-grid { grid-template-columns: 1fr; gap: 24px; }
  .deliver-note { border-left: 0; padding-left: 0; }
  .about-grid { grid-template-columns: 1fr; gap: clamp(30px, 5vw, 48px); }
  .fc-bg { width: 66%; }
  .fc-content { max-width: 460px; }
  .faq-wrap { grid-template-columns: 1fr; gap: clamp(18px, 3vw, 30px); }
  .faq-wrap .sec-head { max-width: none; }
}

/* ===== HERO empilhado (mobile/tablet): copy em cima, faixa de foto embaixo ===== */
@media (max-width: 1200px) {
  .hero {
    display: grid; grid-template-columns: 1fr;
    row-gap: 30px;
    position: relative;
    aspect-ratio: auto; min-height: 0; max-width: none;
    overflow: hidden; background: var(--bg);
    padding: 34px 0 0;
  }
  .hero::before { display: none; }
  /* copy no fluxo, no topo (linha 1), ALINHADA A ESQUERDA e usando a largura */
  .hero-inner {
    grid-area: 1 / 1;
    position: static; inset: auto; max-width: none;
    padding: 0 18px;
  }
  .hero-copy { max-width: none; text-align: center; }
  .hero-copy .eyebrow { font-size: .58rem; letter-spacing: .14em; margin-bottom: 16px; }
  .hero-copy h1 {
    font-size: clamp(2.35rem, 9vw, 3.4rem);
    line-height: 1.06; letter-spacing: -.03em; margin-bottom: 18px;
  }
  .hero-copy .lead { max-width: 440px; margin: 0 auto 26px; font-size: 1.05rem; }
  .hero-actions { text-align: center; }
  .hero-actions .btn { width: 100%; }
  /* fundo (cozinha) + Carol NA MESMA celula (linha 2) -> sobrepostos, largura toda */
  .hero-bg {
    grid-area: 2 / 1;
    position: relative; left: auto; transform: none;
    width: 100%; height: auto; aspect-ratio: 2400 / 2120;
    z-index: 0;
  }
  .hero-bg img { object-position: 58% center; }
  /* veu creme no TOPO da faixa: dissolve a linha divisoria (a foto vira parte da pagina) */
  .hero-bg::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(247,245,240,0) 17%);
  }
  .hero-carol {
    grid-area: 2 / 1; align-self: end;
    position: relative; left: auto; right: auto; bottom: auto;
    width: 100%; height: auto; z-index: 2;
  }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  /* troca de texto desktop/mobile */
  .only-d { display: none !important; }
  .only-m { display: revert; }

  /* --- hero mobile: headline Sora ExtraBold, quebra controlada em 4 linhas (medido: cabe ~88-90% da largura, sem estourar) --- */
  .hero-copy h1 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(2.2rem, 9.8vw, 2.95rem);
    line-height: .98;
    letter-spacing: -.02em;
    margin-bottom: 10px;
  }

  /* --- hero mobile: caber TUDO em 1 tela (copy no topo, Carol preenchendo o resto embaixo, ancorada e um pouco menor) --- */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    grid-template-rows: auto 1fr;   /* copy = altura natural; foto = preenche o que sobra */
    row-gap: 0;
    padding-top: 16px;
  }
  .hero-inner { position: relative; z-index: 3; padding: 0 16px; }  /* copy sempre acima da Carol */
  .hero-copy .lead { margin: 0 auto 18px; }
  .hero-bg { align-self: stretch; aspect-ratio: auto; height: 100%; z-index: 0; }
  .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 26%; }
  .hero-carol {
    align-self: end; justify-self: center;
    width: 88%; height: auto; z-index: 1;
  }

  /* --- escala de espacamento mobile --- */
  .wrap { padding: 0 16px; }
  h2 { font-size: clamp(2rem, 7.8vw, 2.55rem); line-height: 1.06; letter-spacing: -.025em; }
  .sec-head { margin-bottom: 20px; max-width: none; }
  .sec-head .lead { margin-top: 11px; }
  .sec-head.center { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }
  .scope, .pain, .fit, .about, .faq { padding-top: 48px; padding-bottom: 48px; }
  .metrics-band { padding-top: 32px; padding-bottom: 32px; }
  .process, .final-cta { padding-top: 54px; padding-bottom: 54px; }

  /* --- faixa de numeros: compacta --- */
  .mb-grid { grid-template-columns: 1fr; gap: 0; }
  .mb-item { padding: 13px 0; gap: 16px; }
  .mb-item:first-child { padding-top: 0; padding-left: 0; }
  .mb-item + .mb-item { border-left: 0; border-top: 1px solid var(--g-line); }
  .mb-item .ic.ic-lg { width: 40px; height: 40px; }
  .mb-item .ic.ic-lg svg { width: 20px; height: 20px; }
  .mb-num { font-size: clamp(2rem, 9vw, 2.35rem); }
  .mb-tx p { font-size: .875rem; margin-top: 4px; max-width: none; }

  /* --- amplitude: blocos horizontais compactos, 1 coluna --- */
  .scope-grid { grid-template-columns: 1fr; gap: 12px; }
  .scope-item { padding: 16px 18px; gap: 14px; align-items: flex-start; }
  .scope-item .ic.ic-lg { width: 44px; height: 44px; }
  .scope-item .ic.ic-lg svg { width: 22px; height: 22px; }
  .scope-tx h3 { font-size: 1.08rem; margin-bottom: 3px; }
  .scope-tx p { font-size: .92rem; line-height: 1.45; }

  /* --- problema: cards compactos --- */
  .pain-grid { grid-template-columns: 1fr; gap: 12px; }
  .pain-item { padding: 18px 20px; column-gap: 16px; row-gap: 3px; }
  .pain-item .ic.ic-lg { width: 44px; height: 44px; }
  .pain-num { font-size: 1.9rem; line-height: .95; }
  .pain-item h3 { font-size: 1.1rem; line-height: 1.2; margin-top: 2px; }
  .pain-item p { font-size: .92rem; line-height: 1.45; margin-top: 3px; }

  /* --- para quem e: dois blocos compactos + troca de lista --- */
  .fit-grid { grid-template-columns: 1fr; gap: 14px; }
  .fit-col { padding: 22px 20px; }
  .fit-col h3 { font-size: 1.1rem; margin-bottom: 14px; }
  .fit-col ul.fit-list-d { display: none; }
  .fit-col ul.fit-list-m { display: grid; }
  .fit-col ul { gap: 11px; }
  .fit-col li { font-size: .95rem; line-height: 1.4; gap: 12px; }

  /* --- COMO FUNCIONA: timeline vertical (sem cards) --- */
  .process-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; position: relative; }
  .process-grid::before { content: ""; position: absolute; left: 21px; top: 6px; bottom: 22px; width: 2px; background: rgba(168,71,50,.55); z-index: 0; }
  .proc-card { background: none; border: 0; border-radius: 0; padding: 0 0 26px 60px; position: relative; }
  .proc-card:last-child { padding-bottom: 0; }
  .proc-card .ic { position: absolute; left: 0; top: 0; margin-bottom: 0; width: 44px; height: 44px; background: var(--graphite); }
  .proc-card .ps-num { font-size: .82rem; margin-bottom: 4px; }
  .proc-card h3 { font-size: 1.1rem; margin-bottom: 5px; }
  .proc-card p { font-size: .95rem; line-height: 1.45; max-width: none; }

  /* --- O QUE VOCE LEVA: grade 2x2 --- */
  .deliver-block { margin-top: 40px; padding-top: 32px; }
  .deliver-head { margin-bottom: 20px; }
  .deliver-head h2 { font-size: clamp(1.7rem, 6.6vw, 2rem); }
  .deliver-grid { grid-template-columns: 1fr; gap: 22px; }
  .deliver-list { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .deliver-list li { font-size: .92rem; gap: 10px; align-items: flex-start; }
  .dv-ck { width: 22px; height: 22px; }
  .dv-ck svg { width: 13px; height: 13px; }
  .deliver-note { font-size: .9rem; border-left: 0; padding-left: 0; }

  /* --- Caroline: empilhar + foto bem menor no mobile --- */
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-media { text-align: center; }
  .about-photo { max-width: 240px; margin: 0 auto; }

  /* --- CTA final mobile: sem foto, bloco carvao solido e chamativo --- */
  .final-cta { border-top: 2px solid var(--terra); }
  .fc-bg { display: none; }
  .final-cta::after { display: none; }
  .fc-content { max-width: none; text-align: center; }
  .final-cta p { margin-left: auto; margin-right: auto; }
  .cta-hl { color: var(--terra); }
  .fc-actions .btn { width: 100%; }
  .fc-micro { font-size: .9rem; }

  /* --- FAQ: area de toque confortavel --- */
  .faq-q { padding: 18px 4px; font-size: 1.05rem; min-height: 44px; }

  /* CTA fixo removido a pedido */
  .mobile-cta { display: none !important; }
  .footer-inner { flex-direction: column; }
}
