/* Comunidade Posicionadas — LP de captura
   Paleta tirada da logo oficial: creme, bronze e folha dourada. */

:root {
  --bg: #fcf4ea;
  --bg-alt: #f5e9d8;
  --paper: #fffaf3;
  --ink: #3b2415;
  --ink-soft: #6e5540;
  --bronze: #7f552b;
  --bronze-hi: #9a6b3a;
  --leaf: #cea671;
  --line: rgba(127, 85, 43, 0.2);
  --band: #3b2415;
  --band-text: #f7ecde;
  --band-muted: #d7c1a6;
  --whats: #1f8f5a;

  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --gutter: clamp(16px, 5vw, 40px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--bronze); }
em { font-style: italic; color: var(--bronze); }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 720px; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
h2 { font-size: clamp(30px, 4.6vw, 44px); }
h3 { font-size: 23px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-block: clamp(32px, 6vw, 64px) clamp(48px, 8vw, 88px);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(206, 166, 113, 0.22), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero::after {
  /* curva fina, eco do traço da logo */
  content: "";
  position: absolute;
  left: -20%; right: -20%; bottom: -60%;
  height: 90%;
  border-top: 1px solid rgba(154, 107, 58, 0.25);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
}
.hero__logo {
  width: min(560px, 100%);
  height: auto;
  margin-bottom: 26px;
  animation: rise 1.1s ease-out both;
}
.hero__title {
  font-size: clamp(32px, 5.4vw, 52px);
  margin-block: 2px 16px;
}
.hero__lead {
  max-width: 56ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 18px;
}

@keyframes rise {
  from { opacity: 0.2; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- CONTAGEM ---------- */
.countdown { margin-bottom: 28px; }
.countdown__label { margin: 0 0 10px; color: var(--ink-soft); font-size: 15px; }
.countdown__label strong { color: var(--bronze); font-weight: 500; }
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(62px, 1fr));
  gap: 10px;
}
.countdown__grid div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.countdown__grid span {
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}
.countdown__grid small {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- FORMULÁRIO ---------- */
.lead-form {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 4vw, 30px);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 60px -34px rgba(90, 55, 25, 0.35);
}
.lead-form__title {
  margin: 0;
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}
.lead-form__hint { margin: -6px 0 4px; font-size: 15px; color: var(--ink-soft); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-soft); }
.field input {
  width: 100%;
  padding: 14px 16px;
  font: 400 16px/1.2 var(--f-body);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: rgba(110, 85, 64, 0.55); }
.field input:focus {
  outline: none;
  border-color: var(--bronze-hi);
  box-shadow: 0 0 0 3px rgba(206, 166, 113, 0.35);
}
.field input[aria-invalid="true"] { border-color: #b4533f; }

.lead-form__error { margin: 0; font-size: 14px; color: #a2432f; }
.lead-form__privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0; font-size: 13px; color: var(--ink-soft);
}
.lead-form__privacy svg { width: 14px; height: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 22px;
  font: 500 15px/1 var(--f-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fffaf3;
  text-decoration: none;
  background: linear-gradient(135deg, var(--bronze-hi), var(--bronze) 60%, #6a4521);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, filter 0.2s;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.btn[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.btn--whats { background: var(--whats); color: #fff; text-transform: none; letter-spacing: 0.02em; }

/* ---------- SEÇÕES ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--deep { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__sub { margin: 14px 0 0; color: var(--ink-soft); font-size: 18px; }

.checklist {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 22px; height: 22px; margin-top: 3px; color: var(--bronze-hi); }

/* Faixa escura dos módulos */
.section--band { background: var(--band); color: var(--band-text); }
.section--band h2, .section--band h3 { color: var(--band-text); }
.section--band .eyebrow { color: var(--leaf); }
.section--band .section__sub { color: var(--band-muted); }

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(206, 166, 113, 0.25);
  border: 1px solid rgba(206, 166, 113, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}
.module { padding: 28px 26px 30px; background: var(--band); }
.module svg { width: 28px; height: 28px; color: var(--leaf); stroke-width: 1.5; }
.module h3 { margin: 16px 0 8px; }
.module p { margin: 0; color: var(--band-muted); font-size: 16px; }

.format {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 48px;
}
.format__item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.format__item svg {
  width: 48px; height: 48px; padding: 11px;
  color: var(--bronze);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  stroke-width: 1.5;
}
.format__item p { margin: 6px 0 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- SOBRE ---------- */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  text-align: center;
}
.about__photo { margin: 0; width: 240px; flex: none; }
.about__photo img,
.about__placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 140px 140px var(--radius) var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgba(59, 36, 21, 0.5);
}
.about__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-soft);
  background: radial-gradient(ellipse at 50% 30%, rgba(206, 166, 113, 0.35), transparent 70%), var(--paper);
  font-size: 14px;
}
.about__placeholder svg { width: 32px; height: 32px; }
.about__text h2 { margin-bottom: 18px; }
.about__text p { margin: 0 auto 14px; color: var(--ink-soft); max-width: 56ch; }
.about__ig {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px;
  font-weight: 500;
  text-decoration: none;
}
.about__ig svg { width: 18px; height: 18px; }

/* ---------- CTA FINAL ---------- */
.section--cta { text-align: center; }
.section--cta .section__sub { margin-bottom: 32px; }
.lead-form--inline { margin-inline: auto; }

.verse {
  margin: 56px auto 0;
  max-width: 34ch;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 25px;
  line-height: 1.35;
  color: var(--bronze);
}
.verse cite {
  display: block;
  margin-top: 10px;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- RODAPÉ ---------- */
.footer {
  padding-block: 44px 36px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.footer__inner p { margin: 4px 0; }
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--bronze);
}
.footer__brand small {
  margin-bottom: 6px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer__inner .footer__brand { margin-bottom: 14px; }

/* ---------- SUCESSO ---------- */
.success {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(59, 36, 21, 0.55);
  backdrop-filter: blur(6px);
}
.success__card {
  width: 100%;
  max-width: 440px;
  padding: 34px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 40px 80px -30px rgba(59, 36, 21, 0.5);
}
.success__icon { width: 44px; height: 44px; color: var(--bronze); margin: 0 auto 12px; stroke-width: 1.5; }
.success__card h2 { font-size: 32px; margin-bottom: 12px; }
.success__card p:not(.eyebrow) { color: var(--ink-soft); margin: 0 0 22px; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 860px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .about__photo { width: 210px; }
  .modules { grid-template-columns: 1fr; }
  .format { grid-template-columns: 1fr; }
  .countdown__grid { gap: 8px; grid-template-columns: repeat(4, 1fr); }
  .countdown__grid span { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__logo { animation: none; }
  .btn { transition: none; }
}
