/* ==========================================================================
   NOVENA DOS SANTOS ARCANJOS — Tarde com Maria
   Landing page de captura · HTML + CSS + JS puro
   --------------------------------------------------------------------------
   Sumário
   00. Tipografia local (Sora)
   01. Tokens (design system)
   02. Reset & base
   03. Tipografia
   04. Utilitários de layout
   05. Ornamentos
   06. Botões (com animação contínua)
   07. Header
   08. Hero + arte responsiva
   09. Formulário (nativo + skin ActiveCampaign)
   10. Seção · Bloco emocional
   11. Seção · Os três Arcanjos
   12. Seção · Para você que…
   13. Seção · E-book
   14. Seção · Como funciona
   15. Seção · Idealizadores
   16. Seção · CTA final
   17. Rodapé
   18. Barra fixa mobile
   19. Reveal on scroll
   20. Acessibilidade & motion
   ========================================================================== */

/* ==========================================================================
   00. TIPOGRAFIA LOCAL — Sora (variável, 100–800)
   Arquivos servidos do próprio domínio: nenhuma requisição a terceiros.
   ========================================================================== */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   01. TOKENS
   Direção cromática extraída da arte do hero (céu dourado, nuvens creme,
   armadura âmbar, manto bordô) + identidade Tarde com Maria.
   ========================================================================== */
:root {
  /* Areia dourada — cor-mãe do hero */
  --sand:            #ead4b8;
  --sand-light:      #f3e4d0;
  --sand-dark:       #cfb595;

  /* Cremes */
  --cream:           #F8F1E4;
  --cream-hi:        #FDFAF3;
  --cream-deep:      #EFE3CE;

  /* Marrom-café — cor de apoio */
  --cocoa:           #4A3626;
  --cocoa-2:         #5E4632;
  --cocoa-deep:      #33241A;
  --cocoa-abyss:     #241A12;

  /* Verde — cor de ação (CTAs) */
  --green:           #2E5A3B;
  --green-2:         #3B7049;
  --green-deep:      #1E4029;
  --green-glow:      rgba(90, 160, 110, .5);

  /* Dourados */
  --gold:            #B8862F;
  --gold-soft:       #D8B25A;
  --gold-light:      #E9CF86;
  --gold-deep:       #8A6222;

  /* Tintas */
  --ink:             #2E1F19;
  --ink-soft:        #5E4A3C;
  --ink-mute:        #7A675A;
  --on-dark:         #F6EBDB;
  --on-dark-soft:    #DBC5A5;

  /* Tipografia */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-sans:    "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Escala fluida */
  --fs-kicker:  clamp(0.688rem, 0.62rem + 0.28vw, 0.813rem);
  --fs-body:    clamp(1rem,     0.96rem + 0.22vw, 1.125rem);
  --fs-lead:    clamp(1.063rem, 0.99rem + 0.42vw, 1.313rem);
  --fs-h3:      clamp(1.25rem,  1.14rem + 0.5vw,  1.5rem);
  --fs-h2:      clamp(1.75rem,  1.42rem + 1.5vw,  2.75rem);
  --fs-h1:      clamp(2rem,     1.5rem + 2.35vw,  3.5rem);
  --fs-verse:   clamp(1.375rem, 1.05rem + 1.5vw,  2.375rem);

  /* Espaço & forma */
  --maxw:       1180px;
  --colw:       720px;
  --gutter:     clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
  --section-y:  clamp(3.5rem, 2.4rem + 4.4vw, 6.75rem);
  --r-sm:       10px;
  --r-md:       16px;
  --r-lg:       24px;
  --r-pill:     999px;

  /* Sombras */
  --sh-xs:   0 1px 2px rgba(46, 31, 25, .06);
  --sh-sm:   0 4px 14px rgba(51, 36, 26, .08);
  --sh-md:   0 14px 34px rgba(51, 36, 26, .12);
  --sh-lg:   0 28px 64px rgba(36, 26, 18, .22);
  --sh-card: 0 24px 60px rgba(36, 26, 18, .18);

  /* Camadas */
  --z-art:     0;
  --z-base:    10;
  --z-sticky:  30;
  --z-header:  40;
  --z-top:     50;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-soft); color: var(--cocoa-deep); }

/* ==========================================================================
   03. TIPOGRAFIA
   ========================================================================== */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.028em;
  text-wrap: balance;
  color: var(--cocoa);
}

h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.036em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.032em; }
h3 { font-size: var(--fs-h3); line-height: 1.28; letter-spacing: -0.022em; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; }

.balance { text-wrap: balance; }

.kicker {
  margin: 0 0 clamp(.75rem, .5rem + .6vw, 1.15rem);
  font-family: var(--font-sans);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--gold-deep);
}
.kicker--on-dark { color: var(--gold-soft); }
.kicker--on-sand { color: #7A5322; }

.section-title { margin-bottom: .5em; }
.section-title--on-dark { color: var(--on-dark); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: balance;
}
.lead--on-dark { color: var(--on-dark-soft); }

/* ==========================================================================
   04. UTILITÁRIOS DE LAYOUT
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: var(--colw); margin-inline: auto; }

.section { position: relative; padding-block: var(--section-y); }
.section--cream      { background: var(--cream); }
.section--cream-deep { background: var(--cream-deep); }
.section--cocoa       { background: var(--cocoa); color: var(--on-dark-soft); }
.section--cocoa-deep  { background: var(--cocoa-deep); color: var(--on-dark-soft); }

.section--cocoa h2, .section--cocoa h3,
.section--cocoa-deep h2, .section--cocoa-deep h3 { color: var(--on-dark); }

.center { text-align: center; }

/* Textura sutil de luz nas seções escuras */
.section--cocoa::before,
.section--cocoa-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(216, 178, 90, .16), transparent 62%),
    radial-gradient(60% 50% at 90% 100%, rgba(216, 178, 90, .08), transparent 70%);
}
.section--cocoa > *, .section--cocoa-deep > * { position: relative; z-index: 1; }

.section-head { max-width: 42rem; margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: .85rem; }

/* ==========================================================================
   05. ORNAMENTOS
   ========================================================================== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 300px;
  margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) auto;
  color: var(--gold);
}
.ornament--on-dark { color: var(--gold-soft); }
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament svg { width: 13px; height: 13px; flex: none; opacity: .9; }

/* ==========================================================================
   06. BOTÕES
   ========================================================================== */
.btn {
  --btn-bg-a: var(--green-2);
  --btn-bg-b: var(--green-deep);
  --btn-fg: var(--cream-hi);
  --btn-ring: rgba(216, 178, 90, .55);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 56px;
  padding: 1rem 2rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--btn-bg-a), var(--btn-bg-b));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 10px 26px rgba(30, 64, 41, .3);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: clamp(.95rem, .9rem + .25vw, 1.06rem);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}

/* Aro dourado */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-light), rgba(216, 178, 90, .25) 45%, var(--gold-light));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Brilho contínuo que atravessa o botão */
.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -140%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 245, 222, .42), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: btn-shine 4.2s var(--ease) infinite;
}

.btn:hover  { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 16px 34px rgba(30,64,41,.36); filter: saturate(1.08) brightness(1.04); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }

/* Pulso de aura (aplicado nos CTAs principais) */
.btn--pulse { animation: btn-pulse 3s ease-in-out infinite; }

/* Variante para dobras escuras — mesmo verde, com aro dourado reforçado */
.btn--on-dark {
  --btn-bg-a: #41784F;
  --btn-bg-b: #244C2E;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 34px rgba(0, 0, 0, .34);
}
.btn--on-dark::before { background: linear-gradient(135deg, #FFF3D6, rgba(233,207,134,.45) 45%, #FFF3D6); }
.btn--on-dark::after  { background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); }
.btn--on-dark.btn--pulse { animation: btn-pulse-on-dark 3s ease-in-out infinite; }

.btn--block { display: flex; width: 100%; }

.btn__arrow { flex: none; width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn[disabled], .btn.is-loading { opacity: .72; pointer-events: none; }

@keyframes btn-shine {
  0%        { left: -140%; }
  55%, 100% { left: 150%; }
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 26px rgba(30,64,41,.3), 0 0 0 0 var(--green-glow); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 26px rgba(30,64,41,.3), 0 0 0 12px rgba(90,160,110,0); }
}
@keyframes btn-pulse-on-dark {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 34px rgba(0,0,0,.34), 0 0 0 0 rgba(233,207,134,.45); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 34px rgba(0,0,0,.34), 0 0 0 14px rgba(233,207,134,0); }
}

/* ==========================================================================
   08. HERO
   ========================================================================== */
.hero {
  position: relative;
  background: var(--sand);
  --hero-pb: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) var(--hero-pb);
  overflow: hidden;
  isolation: isolate;
}

/* Halo de luz — prolonga os raios da arte para o topo da dobra */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--z-art);
  background:
    radial-gradient(110% 78% at 64% 2%, rgba(253, 245, 230, .92), rgba(234, 212, 184, 0) 58%),
    radial-gradient(80% 60% at 50% 100%, rgba(207, 181, 149, .28), rgba(234, 212, 184, 0) 70%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: var(--z-base); }

/* a arte de fundo existe apenas no layout desktop */
.hero__art { display: none; }

.hero__head { width: 100%; }

.hero__kicker {
  max-width: 40ch;
  font-size: clamp(.65rem, .6rem + .2vw, .75rem);
  letter-spacing: .19em;
  color: #6E4A19;
}

.hero h1 {
  max-width: 22ch;
  font-size: clamp(1.7rem, 1.2rem + 1.55vw, 2.45rem);
  line-height: 1.14;
  color: var(--cocoa-deep);
}

.hero__subtitle {
  max-width: 44ch;
  margin-top: clamp(.85rem, .65rem + .7vw, 1.2rem);
  font-size: clamp(.95rem, .92rem + .2vw, 1.06rem);
  line-height: 1.55;
  color: #45301F;
  text-wrap: balance;
}

/* Notas da dobra: data/horário e presente — sem moldura, com ícone */
.hero-note {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .45rem .7rem;
  align-self: flex-start;
  max-width: 34rem;
  margin-top: clamp(1.1rem, .85rem + 1vw, 1.6rem);
  color: #45301F;
  font-size: clamp(.85rem, .8rem + .25vw, .95rem);
  line-height: 1.5;
  text-wrap: balance;
}
.hero-note__icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  margin-top: .1em;
  color: var(--gold-deep);
}
.hero-note b { color: var(--cocoa); font-weight: 700; }

/* selo de data: caixa alta, um pouco maior e com mais peso */
.hero__dates {
  align-items: center;
  gap: .4rem .65rem;
  font-size: clamp(.88rem, .82rem + .3vw, 1rem);
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--cocoa);
}
.hero__dates .hero-note__icon {
  width: 1.35em;
  height: 1.35em;
  margin-top: 0;
  stroke-width: 1.8;
  color: var(--gold-deep);
}
.hero__dates b {
  color: var(--cocoa-deep);
  font-weight: 700;
  letter-spacing: .045em;
}
.hero__dates .dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
}

.hero__bonus { flex-wrap: nowrap; }
.hero__bonus > span { flex: 1 1 0; min-width: 0; }
.hero__bonus b { letter-spacing: .04em; }

/* --- Layout desktop: uma coluna compacta à esquerda ---
   Todo o bloco de decisão (promessa → prova → formulário) cabe numa
   viewport. A metade direita aguarda a nova arte de fundo.            */
@media (min-width: 900px) {
  .hero {
    display: flex;
    align-items: center;
    --hero-h: min(100svh, 900px);
    min-height: var(--hero-h);
    padding-block: clamp(1.75rem, 1rem + 1.8vw, 2.5rem);
  }

  /* Arte de fundo: largura da dobra, ancorada ao topo e centralizada.
     O teto de largura (altura da dobra × 2,1357, a proporção 1920×899)
     garante que ela nunca exceda a altura do hero nem seja cortada.   */
  .hero__art {
    display: block;
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;                    /* assenta no rodapé da dobra */
    left: 0;
    z-index: var(--z-art);
    margin-inline: auto;
    width: min(100%, calc(var(--hero-h) * 2.1357));
    pointer-events: none;
    /* A arte já vem com o fundo no mesmo tom da dobra, então basta um fade
       curto no topo para o caso de a imagem ser mais alta que a seção. */
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 100%);
  }
  .hero__art picture { display: block; }
  .hero__art img { width: 100%; height: auto; }

  /* estático, para que .hero__art se ancore no <section> e vá full-bleed */
  .hero__inner { position: static; display: block; width: 100%; }
  .hero__content,
  .hero__form { position: relative; }

  .hero__content,
  .hero__form { position: relative; z-index: var(--z-base); max-width: 30rem; }

  .hero__content { display: flex; flex-direction: column; align-items: flex-start; }

  .hero__kicker   { margin-bottom: .6rem; }
  .hero h1        { max-width: 26ch; font-size: clamp(1.55rem, 1.05rem + 1.3vw, 2rem); line-height: 1.12; }
  .hero__subtitle { margin-top: .8rem; font-size: .97rem; line-height: 1.5; }
  .hero-note      { margin-top: .95rem; font-size: .88rem; }
  .hero__dates    { margin-top: 1.1rem; font-size: .88rem; max-width: 33rem; }

  .hero__form { margin-top: 1.5rem; }
  .hero__form .signup__title { font-size: 1.05rem; }
  .hero__form .field { margin-bottom: .55rem; }
  .hero__form .field input { min-height: 54px; padding-block: .8rem; font-size: .98rem; }
  .hero__form .field:has(.field__prefix) input { padding-left: 6.75rem; }
  .hero__form .field__prefix { height: 42px; }
  .hero__form .signup .btn { min-height: 56px; margin-top: .4rem; }
  .hero__form .form-microcopy { margin-top: .7rem; font-size: .74rem; }
}

@media (min-width: 1280px) {
  .hero__content,
  .hero__form { max-width: 31rem; }
}

/* Laptops de tela baixa: o formulário inteiro continua acima da dobra */
@media (min-width: 900px) and (max-height: 820px) {
  .hero { --hero-h: min(100svh, 820px); padding-block: 1.5rem; }
  .hero__kicker   { margin-bottom: .5rem; font-size: .66rem; }
  .hero h1        { font-size: 1.75rem; }
  .hero__subtitle { margin-top: .65rem; font-size: .92rem; }
  .hero-note      { margin-top: .75rem; font-size: .83rem; }
  .hero__dates    { margin-top: .9rem; font-size: .83rem; }
  .hero__form     { margin-top: 1.15rem; }
  .hero__form .signup__title { font-size: 1rem; }
  .hero__form .field { margin-bottom: .5rem; }
  .hero__form .field input { min-height: 48px; padding-block: .65rem; }
  .hero__form .field__prefix { height: 38px; }
  .hero__form .signup .btn { min-height: 52px; }
  .hero__form .form-microcopy { margin-top: .6rem; font-size: .72rem; }
}

/* --- Layout mobile/tablet: coluna única, arte no fluxo --- */
@media (max-width: 899px) {
  .hero { text-align: center; }
  .hero__inner { display: flex; flex-direction: column; align-items: center; }

  /* os filhos de .hero__content entram no mesmo flex, para intercalar a arte */
  .hero__content { display: contents; }
  .hero__head     { order: 1; width: 100%; }
  .hero__subtitle { order: 2; }
  .hero__dates    { order: 3; }
  .hero__bonus    { order: 4; }
  .hero__form     { order: 5; width: 100%; max-width: 30rem; }
  .hero__art      { order: 6; }

  /* a arte fecha a dobra: sangra até as bordas e encosta no rodapé */
  .hero__art {
    display: block;
    width: calc(100% + var(--gutter) * 2);
    margin: clamp(1.75rem, 1rem + 3vw, 2.75rem) calc(var(--gutter) * -1) calc(var(--hero-pb) * -1);
    /* topo e laterais esfumaçados; a base encosta na dobra seguinte */
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, #000 10%, #000 100%),
      linear-gradient(90deg,  transparent 0%, #000 11%, #000 89%, transparent 100%);
            mask-image:
      linear-gradient(180deg, transparent 0%, #000 10%, #000 100%),
      linear-gradient(90deg,  transparent 0%, #000 11%, #000 89%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
  }
  .hero__art picture { display: block; }
  .hero__art img { width: 100%; height: auto; }

  .hero h1 { max-width: 18ch; margin-inline: auto; }
  .hero__subtitle,
  .hero-note { margin-inline: auto; }
  /* selo e presente centralizados na coluna única */
  .hero-note {
    align-self: center;
    justify-content: center;
    align-items: center;
    max-width: 32rem;
    text-align: center;
  }
  .hero-note__icon { margin-top: 0; }
  /* o ícone flui junto ao texto, em vez de ficar preso à margem */
  .hero__bonus { display: block; }
  .hero__bonus .hero-note__icon {
    display: inline-block;
    vertical-align: -0.24em;
    margin-right: .4rem;
  }
  .hero__form { margin-top: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
  .hero__form .signup__title { text-align: center; }
}

/* Tablet: a arte não domina a dobra e as laterais também esfumaçam */
@media (min-width: 600px) and (max-width: 899px) {
  .hero__art {
    width: min(100%, 30rem);
    margin-inline: auto;
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, #000 15%, #000 100%),
      linear-gradient(90deg,  transparent 0%, #000 14%, #000 86%, transparent 100%);
            mask-image:
      linear-gradient(180deg, transparent 0%, #000 15%, #000 100%),
      linear-gradient(90deg,  transparent 0%, #000 14%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
  }
}

/* ==========================================================================
   09. FORMULÁRIO
   Sem moldura: apenas campos em pílula, rótulo dentro do campo
   (placeholder) e mensagem de erro ancorada dentro do próprio campo.
   ========================================================================== */
.signup {
  position: relative;
  width: 100%;
  scroll-margin-top: 28px;
  text-align: left;
}

.signup__title {
  margin-bottom: .85rem;
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--cocoa);
}

/* ---------- Campo ---------- */
.field {
  position: relative;
  margin-bottom: .7rem;
}

.field input {
  width: 100%;
  min-height: 60px;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(74, 54, 38, .12);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-size: 1.02rem;
  box-shadow: 0 6px 18px rgba(51, 36, 26, .07);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), padding .2s var(--ease);
}
.field input::placeholder { color: #9E8C7C; }
.field input:hover { border-color: rgba(74, 54, 38, .26); }
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(51, 36, 26, .07), 0 0 0 3px rgba(184, 134, 47, .2);
}

/* ---------- Prefixo de país (WhatsApp) ---------- */
.field:has(.field__prefix) input { padding-left: 7.15rem; }

/* telas estreitas: prefixo compacto para o placeholder caber inteiro */
@media (max-width: 899px) {
  .field:has(.field__prefix) input { padding-left: 6.15rem; }
  .field__prefix { left: 4px; padding: 0 .65rem 0 .55rem; font-size: .88rem; }
  .field__prefix svg { width: 19px; height: 13px; }
}

.field__prefix {
  position: absolute;
  top: 50%;
  left: 6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 48px;
  padding: 0 .85rem 0 .75rem;
  border-right: 1px solid rgba(74, 54, 38, .14);
  color: var(--ink);
  font-size: .95rem;
  transform: translateY(-50%);
  pointer-events: none;
}
.field__prefix svg { width: 22px; height: 15px; border-radius: 2px; flex: none; }
.field__prefix b { font-weight: 600; }

/* ---------- Erro dentro do campo ---------- */
.field .error {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 2;
  display: none;
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
  background: #FBE7E4;
  color: #A32718;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translateY(-50%);
  pointer-events: none;
}
.field input[aria-invalid="true"] {
  border-color: #C0402F;
  box-shadow: 0 6px 18px rgba(51, 36, 26, .07), 0 0 0 3px rgba(192, 64, 47, .14);
  padding-right: 9.5rem;
}
.field input[aria-invalid="true"] ~ .error { display: block; }

/* ---------- Botão e microcópia ---------- */
.signup .btn { margin-top: .55rem; min-height: 62px; text-transform: uppercase; letter-spacing: .06em; }

.form-microcopy {
  margin: .9rem 0 0;
  color: #6B5747;
  font-size: .78rem;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}
.form-microcopy a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.form-microcopy a:hover { color: var(--cocoa); }

/* ---------- Estado de sucesso ---------- */
.form-success { display: none; text-align: center; }
.signup.is-done .form-success { display: block; }
.signup.is-done .form-body { display: none; }

.form-success__check {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2A1D14;
  box-shadow: 0 10px 24px rgba(184, 134, 47, .34);
}
.form-success__check svg { width: 30px; height: 30px; }
.form-success p { color: #4A3323; font-size: .95rem; }

/* --------------------------------------------------------------------------
   Skin ActiveCampaign — reveste o formulário 41 com o visual da página.
   O <style> do AC fica no body, depois deste arquivo: em empate de
   especificidade ele venceria. Por isso todo seletor aqui inclui `form`,
   somando um elemento e ficando acima — com !important onde o AC também usa.
   -------------------------------------------------------------------------- */
#ac-embed > form,
#ac-embed form._form {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: var(--font-sans) !important;
  font-size: 1rem !important;
  color: var(--ink) !important;
}
#ac-embed > form::before,
#ac-embed > form::after { content: none !important; }

#ac-embed form ._form-content { width: 100%; margin: 0; }

/* campos ocultos não devem ocupar espaço */
#ac-embed form ._form_element:has(> input[type="hidden"]:only-child) { display: none !important; }
#ac-embed form ._clear-element { display: none !important; }

#ac-embed form ._form_element {
  position: relative;
  max-width: 100%;
  margin: 0 0 .7rem !important;
  padding: 0 !important;
}
#ac-embed form ._form_element * { font-size: inherit; }
#ac-embed form ._field-wrapper { position: relative; }

/* o rótulo vive dentro do campo (placeholder); some da tela, fica para leitores */
#ac-embed form ._form-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* ---------- Campos em pílula ---------- */
#ac-embed form input[type="text"],
#ac-embed form input[type="tel"],
#ac-embed form input[type="email"],
#ac-embed form ._form_element input[type="text"] {
  display: block;
  width: 100% !important;
  min-height: 60px;
  padding: 1rem 1.5rem !important;
  border: 1px solid rgba(74, 54, 38, .12) !important;
  border-radius: var(--r-pill) !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 1.02rem !important;
  line-height: 1.4 !important;
  box-shadow: 0 6px 18px rgba(51, 36, 26, .07) !important;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
#ac-embed form input::placeholder { color: #9E8C7C !important; opacity: 1; }
#ac-embed form input:hover { border-color: rgba(74, 54, 38, .26) !important; }
#ac-embed form input:focus {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 6px 18px rgba(51, 36, 26, .07), 0 0 0 3px rgba(184, 134, 47, .2) !important;
}

/* ---------- Prefixo +55 no campo de WhatsApp ---------- */
#ac-embed form ._field_phone ._field-wrapper { position: relative; }
#ac-embed form ._field_phone ._field-wrapper::before {
  content: "+55";
  position: absolute;
  top: 50%;
  left: 1.1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 42px;
  padding-right: .8rem;
  padding-left: 1.85rem;
  border-right: 1px solid rgba(74, 54, 38, .16);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Crect width='20' height='14' rx='2' fill='%23009B3A'/%3E%3Cpath d='M10 1.9 18 7l-8 5.1L2 7z' fill='%23FEDF00'/%3E%3Ccircle cx='10' cy='7' r='2.9' fill='%23002776'/%3E%3C/svg%3E") no-repeat left center / 21px 15px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  transform: translateY(-50%);
  pointer-events: none;
}
#ac-embed form ._form_element._field_phone input[type="text"] { padding-left: 7.15rem !important; }

/* ---------- Erro: pílula dentro do próprio campo ---------- */
#ac-embed form ._error {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 3 !important;
  padding: 0 !important;
  transform: translateY(-50%);
}
#ac-embed form ._error-arrow { display: none !important; }
#ac-embed form ._error-inner {
  padding: .35rem .8rem !important;
  border-radius: var(--r-pill) !important;
  background: #FBE7E4 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #A32718 !important;
  font-family: var(--font-sans) !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  text-align: center !important;
}
#ac-embed form ._form_element input[type="text"]._has_error {
  border-color: #C0402F !important;
  padding-right: 9.5rem !important;
  box-shadow: 0 6px 18px rgba(51, 36, 26, .07), 0 0 0 3px rgba(192, 64, 47, .14) !important;
}
/* erro geral do formulário (falha de envio): faixa acima do botão */
#ac-embed form ._show_be_error { float: none !important; min-width: 100% !important; }
#ac-embed form ._error-inner._form_error {
  position: static !important;
  margin-bottom: .6rem !important;
  white-space: normal !important;
  text-align: center !important;
}

/* ---------- Botão ---------- */
#ac-embed form ._button-wrapper { width: 100%; }
#ac-embed form ._submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 62px;
  margin-top: .55rem !important;
  padding: 1rem 2rem !important;
  border: 0 !important;
  border-radius: var(--r-pill) !important;
  background: linear-gradient(135deg, var(--green-2), var(--green-deep)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 10px 26px rgba(30, 64, 41, .3) !important;
  color: var(--cream-hi) !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(.95rem, .9rem + .25vw, 1.06rem) !important;
  font-weight: 600 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  animation: btn-pulse 3s ease-in-out infinite;
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
/* aro dourado */
#ac-embed form ._submit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-light), rgba(216, 178, 90, .25) 45%, var(--gold-light));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
#ac-embed form ._submit:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.04); }
#ac-embed form ._submit:active { transform: translateY(0); }
#ac-embed form ._submit:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; }
#ac-embed form ._submit:disabled { opacity: .72; cursor: not-allowed; }
/* enquanto envia, o AC injeta .processing com um spinner próprio */
#ac-embed form ._submit.processing { animation: none; }
#ac-embed form ._submit.processing::after { background: rgba(30, 64, 41, .35); border-radius: inherit; }

/* ---------- Confirmação ---------- */
#ac-embed form ._form-thank-you {
  padding: 1.5rem 0 !important;
  color: var(--cocoa) !important;
  font-family: var(--font-sans) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  text-align: center !important;
}

/* ---------- Marca do AC ---------- */
#ac-embed form ._form-branding { display: none !important; }

@media (max-width: 899px) {
  #ac-embed form ._field_phone ._field-wrapper::before { left: .95rem; height: 38px; font-size: .88rem; padding-right: .65rem; padding-left: 1.7rem; background-size: 19px 13px; }
  #ac-embed form ._form_element._field_phone input[type="text"] { padding-left: 6.15rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  #ac-embed form ._submit { animation: none; }
}

/* ==========================================================================
   10. SEÇÃO · BLOCO EMOCIONAL
   ========================================================================== */
.emotional { text-align: center; }

.verse-list {
  display: grid;
  gap: clamp(.55rem, .3rem + 1vw, 1rem);
  margin: 0 auto;
  max-width: 24ch;
}
.verse {
  font-family: var(--font-display);
  font-size: var(--fs-verse);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.032em;
  color: var(--on-dark);
  text-wrap: balance;
}
.verse em {
  display: block;
  font-style: normal;
  color: var(--gold-light);
}
.verse .verse__name { color: var(--on-dark); }

@media (min-width: 620px) {
  .verse-list { max-width: 100%; }
  .verse em { display: inline; }
}

.emotional .support {
  max-width: 56ch;
  margin-inline: auto;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--on-dark-soft);
  text-wrap: balance;
}

/* ==========================================================================
   11. SEÇÃO · OS TRÊS ARCANJOS
   ========================================================================== */
.arch-grid {
  display: grid;
  gap: clamp(1rem, .7rem + 1.4vw, 1.65rem);
  margin-top: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .arch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .arch-grid { grid-template-columns: repeat(3, 1fr); } }

.arch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  border: 1px solid rgba(184, 134, 47, .3);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--cream-hi), #F5EDDF);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.arch-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.arch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 47, .55);
  box-shadow: var(--sh-md);
}

.arch-card__star {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, var(--gold-light), var(--gold));
  color: #2A1D14;
  box-shadow: 0 8px 20px rgba(184, 134, 47, .28);
}
.arch-card__star svg { width: 22px; height: 22px; }

.arch-card h3 { color: var(--cocoa); }

.arch-card__meaning {
  margin: .35rem 0 .9rem;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gold-deep);
  text-wrap: balance;
}
.arch-card__desc { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.arch-card__desc b { color: var(--cocoa); }

.section-cta { margin-top: clamp(2rem, 1.4rem + 2vw, 3rem); text-align: center; }

/* ==========================================================================
   12. SEÇÃO · PARA VOCÊ QUE…
   ========================================================================== */
.who-grid {
  display: grid;
  gap: clamp(.85rem, .6rem + 1.2vw, 1.35rem);
  margin-top: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(4, 1fr); } }

.who-card {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border: 1px solid rgba(74, 54, 38, .12);
  border-radius: var(--r-md);
  background: var(--cream-hi);
  box-shadow: var(--sh-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.who-card:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.who-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(184, 134, 47, .35);
  border-radius: 14px;
  background: rgba(233, 207, 134, .22);
  color: var(--gold-deep);
  flex: none;
}
.who-card__icon svg { width: 24px; height: 24px; }
.who-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; text-wrap: pretty; }
.who-card p b { color: var(--cocoa); }

/* ==========================================================================
   13. SEÇÃO · E-BOOK
   ========================================================================== */
.gift-grid {
  display: grid;
  gap: clamp(2rem, 1.4rem + 3vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .gift-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}

.gift-figure { display: grid; place-items: center; }

.gift-mockup {
  width: clamp(15rem, 30vw, 21.5rem);
  height: auto;
  /* a imagem tem fundo transparente: a sombra acompanha o recorte */
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .38));
  animation: mockup-float 7s ease-in-out infinite;
}

@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.gift-list {
  display: grid;
  gap: .8rem;
  margin: clamp(1.35rem, 1rem + 1.4vw, 2rem) 0 clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}
.gift-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  color: var(--on-dark-soft);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.gift-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: .28em;
  color: var(--gold-light);
}

/* ==========================================================================
   14. SEÇÃO · COMO FUNCIONA
   ========================================================================== */
.steps {
  display: grid;
  gap: clamp(1rem, .7rem + 1.4vw, 1.75rem);
  margin-top: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  border: 1px solid rgba(74, 54, 38, .14);
  border-radius: var(--r-md);
  background: var(--cream-hi);
  box-shadow: var(--sh-xs);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-sm); }
.step__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cocoa-2), var(--cocoa-deep));
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 22px rgba(51, 36, 26, .22);
}
.step h3 { margin-bottom: .45rem; color: var(--cocoa); }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ==========================================================================
   15. SEÇÃO · IDEALIZADORES
   Bloco único: retrato do casal à esquerda, texto à direita.
   ========================================================================== */
.founders {
  display: grid;
  gap: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .founders { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
  /* o retrato acompanha a rolagem enquanto o texto corre ao lado */
  .founders__figure { position: sticky; top: 2.5rem; }
}

/* ---------- Retrato ---------- */
.founders__figure {
  position: relative;
  margin: 0;
  padding: clamp(.5rem, .35rem + .6vw, .7rem);
  border: 1px solid rgba(184, 134, 47, .38);
  border-radius: calc(var(--r-lg) + .35rem);
  background: linear-gradient(150deg, rgba(253, 250, 243, .95), rgba(239, 227, 206, .7));
  box-shadow: 0 26px 60px rgba(36, 26, 18, .16);
  /* mantém o retrato contido em telas largas, sem esticar */
  width: 100%;
  max-width: 27rem;
  margin-inline: auto;
}
/* fio dourado no canto superior, como um selo discreto */
.founders__figure::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.founders__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;   /* enquadra os rostos */
  border-radius: var(--r-lg);
  display: block;
}

/* ---------- Texto ---------- */
.founders__body { min-width: 0; }

.founders__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--cocoa);
  text-wrap: balance;
}
.founders__role {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .5rem 0 0;
  color: var(--gold-deep);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.founders__role::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  flex: none;
  background: var(--gold);
}

.founders__text {
  margin-top: clamp(1.1rem, .85rem + 1vw, 1.6rem);
  padding-top: clamp(1.1rem, .85rem + 1vw, 1.6rem);
  border-top: 1px solid rgba(184, 134, 47, .3);
}
.founders__text p {
  margin: 0 0 1em;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: clamp(.95rem, .92rem + .2vw, 1.03rem);
  line-height: 1.68;
  text-wrap: pretty;
}
.founders__text p:last-child { margin-bottom: 0; }
/* a abertura ganha um pouco mais de presença */
.founders__text p:first-child {
  color: var(--ink);
  font-size: clamp(1rem, .95rem + .3vw, 1.12rem);
  line-height: 1.6;
}

@media (max-width: 879px) {
  .founders { justify-items: center; text-align: left; }
  .founders__figure { max-width: 22rem; }
  .founders__body { width: 100%; }
}

/* ==========================================================================
   16. SEÇÃO · CTA FINAL
   ========================================================================== */
.final-cta { text-align: center; }
.final-cta__logo {
  width: clamp(84px, 9vw, 116px);
  margin: 0 auto clamp(1.25rem, 1rem + 1.4vw, 1.9rem);
}
.final-cta h2 { max-width: 20ch; margin-inline: auto; }
.final-cta p {
  max-width: 40ch;
  margin: .9rem auto clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-size: var(--fs-lead);
  color: var(--on-dark-soft);
  text-wrap: balance;
}

/* ==========================================================================
   17. RODAPÉ
   ========================================================================== */
.site-footer {
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  background: var(--cocoa-abyss);
  color: rgba(219, 197, 165, .82);
  font-size: .88rem;
  text-align: center;
}
.site-footer .wrap { display: grid; gap: .9rem; justify-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand span { font-family: var(--font-display); font-size: .98rem; font-weight: 600; letter-spacing: -0.01em; color: var(--gold-soft); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.footer-links a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--gold-light); }
.site-footer p { margin: 0; text-wrap: balance; }
.footer-legal { max-width: 46ch; font-size: .8rem; opacity: .72; }

/* ==========================================================================
   18. BARRA FIXA MOBILE
   ========================================================================== */
.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: var(--z-sticky);
  display: none;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(51, 36, 26, .94);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .26);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { min-height: 52px; padding-block: .85rem; }

@media (max-width: 899px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 0; }
}

/* ==========================================================================
   18b. PÁGINA DE OBRIGADO (/obrigado)
   Uma dobra só, uma ação só: entrar no grupo.
   ========================================================================== */
.thanks-page { background: var(--cream); }

.thanks {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--gutter);
  background: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
/* halo de luz, o mesmo gesto da primeira dobra da landing */
.thanks::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(234, 212, 184, .55), rgba(248, 241, 228, 0) 62%),
    radial-gradient(70% 50% at 50% 100%, rgba(234, 212, 184, .28), rgba(248, 241, 228, 0) 70%);
}

.thanks__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

/* ---------- Marca ---------- */
.thanks__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}
.thanks__brand img { width: clamp(44px, 5vw, 52px); height: auto; }
.thanks__brand span {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Título ---------- */
.thanks__title {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(1.65rem, 1.15rem + 2.2vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--cocoa-deep);
  text-wrap: balance;
}
.thanks__title em {
  font-style: normal;
  color: var(--gold-deep);
}

/* ---------- Barra de progresso ---------- */
.progress { margin: clamp(1.75rem, 1.2rem + 2vw, 2.5rem) auto 0; max-width: 26rem; }
.progress__track {
  height: 14px;
  border-radius: var(--r-pill);
  background: rgba(74, 54, 38, .1);
  box-shadow: inset 0 1px 3px rgba(51, 36, 26, .12);
  overflow: hidden;
}
.progress__bar {
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sand-light), var(--gold-soft) 45%, var(--gold));
  box-shadow: 0 0 12px rgba(184, 134, 47, .45);
  transform-origin: left center;
}
/* preenche na chegada, quando o JS libera */
.progress__bar.is-ready { animation: progress-fill 1.1s var(--ease) both; }
@keyframes progress-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.progress__label {
  margin: .6rem 0 0;
  color: var(--gold-deep);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
}

/* ---------- Chamada ---------- */
.thanks__lead {
  max-width: 34rem;
  margin: clamp(1.75rem, 1.2rem + 2vw, 2.5rem) auto 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, .95rem + .35vw, 1.15rem);
  line-height: 1.6;
  text-wrap: balance;
}

/* ---------- Botão ---------- */
.thanks__cta {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  min-height: 66px;
  padding-inline: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-size: clamp(1rem, .95rem + .3vw, 1.12rem);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.thanks__cta-icon { width: 1.4em; height: 1.4em; flex: none; }

@media (max-width: 480px) {
  .thanks__cta { width: 100%; }
}

/* ==========================================================================
   19. REVEAL ON SCROLL
   (não aplicado nas duas primeiras dobras — hero e bloco emocional)

   O conteúdo NUNCA começa invisível pelo CSS: quem esconde é o próprio JS,
   marcando cada elemento com .is-armed antes de observá-lo. Se o script não
   rodar — erro, bloqueio, widget que não executa scripts — a página aparece
   inteira, só sem a animação de entrada.
   ========================================================================== */
[data-reveal] {
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-armed {
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }

/* ==========================================================================
   20. ACESSIBILIDADE & MOTION
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  z-index: var(--z-top);
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--cocoa);
  color: var(--cream-hi);
  font-size: .9rem;
  font-weight: 600;
  transform: translateX(-50%);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

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

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal].is-armed { opacity: 1; transform: none; }
  .gift-mockup { animation: none; }
}

@media print {
  .sticky-cta { display: none !important; }
  body { background: #fff; color: #000; }
}
