/* MahaFlow · base compartilhada das LPs
   Identidade da marca: verde profundo, sálvia, creme, dourado, Fraunces e Caveat. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("assets/fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/caveat-700.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/outfit-400.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/outfit-700.woff2") format("woff2");
}

:root {
  --bg: #0E2415;
  --bg2: #14331D;
  --sage: #BFE3B4;
  --sage2: #9FD08F;
  --cream: #F7F3E8;
  --paper: #FFFDF5;
  --gold: #D9A441;
  --gold2: #B9832A;
  --ink: #102316;
  --mut: #5c6f60;

  --fd: "Fraunces", Georgia, serif;
  --fs: "Caveat", cursive;
  --fb: "Outfit", system-ui, sans-serif;

  --motion: cubic-bezier(.16, 1, .3, 1);
  --rapido: 180ms;
  --revelacao: 650ms;

  --raio: 18px;
  --raio-p: 999px;
  --sombra: 0 18px 40px rgba(0, 0, 0, .28);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }

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

::selection { background: var(--gold); color: var(--ink); }

.wrap {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--fd);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 .45em;
}
h1 { font-size: clamp(2.4rem, 7.2vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 3.4vw, 1.45rem); font-weight: 700; }

h1 em, h2 em { font-style: normal; color: var(--gold); }

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

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 6px;
}
.eyebrow.light { color: var(--sage); }

.script {
  font-family: var(--fs);
  font-size: clamp(1.9rem, 5.4vw, 3rem);
  color: var(--sage);
  margin: 0;
  line-height: 1;
}
.script-sm {
  font-family: var(--fs);
  color: var(--gold);
  font-size: 1.3em;
}

.seal {
  display: inline-block;
  background: var(--gold);
  color: #241a05;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .74rem;
  padding: 8px 16px;
  border-radius: var(--raio-p);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .32);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 14px;
  border: 0;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--rapido) var(--motion), box-shadow var(--rapido), background-color var(--rapido), color var(--rapido);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #241a05;
  box-shadow: 0 10px 30px rgba(217, 164, 65, .32);
}
.btn-gold:hover { color: #241a05; box-shadow: 0 14px 34px rgba(217, 164, 65, .42); }

.btn-ghost {
  border: 2px solid var(--sage);
  color: var(--sage);
  background: transparent;
}
.btn-ghost:hover { color: var(--cream); border-color: var(--cream); }

.btn-big { font-size: 1.08rem; padding: 18px 34px; }

.polaroid {
  background: #fff;
  padding: 12px 12px 40px;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  transform: rotate(2deg);
  margin: 0;
  transition: transform 320ms var(--motion), box-shadow 320ms;
}
.polaroid:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 26px 50px rgba(0, 0, 0, .35); }
.polaroid img { width: 100%; height: auto; border-radius: 4px; }
.polaroid figcaption {
  font-family: var(--fs);
  font-size: 1.3rem;
  color: #333;
  text-align: center;
  margin-top: 6px;
  line-height: 1.1;
}

.check {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}
.check li {
  padding-left: 34px;
  position: relative;
  font-size: 1rem;
}
.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: #1d6b2f;
  font-weight: 800;
  font-size: 1.15rem;
}

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

/* Revelação ao rolar */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--revelacao) var(--motion), transform var(--revelacao) var(--motion);
}
[data-reveal].visivel { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 70ms; }
[data-reveal][data-delay="2"] { transition-delay: 140ms; }
[data-reveal][data-delay="3"] { transition-delay: 210ms; }
[data-reveal][data-delay="4"] { transition-delay: 280ms; }
[data-reveal][data-delay="5"] { transition-delay: 350ms; }

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