/* ---------- Design tokens (Dossiê de Marca — Flávio Fernandes) ---------- */
:root {
  /* Paleta 1 — dia a dia */
  --bg: #FAF9F6;
  --bg-alt: #EDE8E0;
  --bg-snow: #F5F5F5;

  /* Estrutura */
  --blue-mid: #4A7FA5;
  --blue-steel: #5B8DB8;
  --blue-grey: #6E8FA3;

  /* Detalhe */
  --blue-petrol: #2C5F7A;
  --gold: #C9A84C;
  --gold-light: #E3C87F;

  /* Paleta 2 — noite com luz (hero / footer / farol) */
  --night: #14283C;
  --night-deep: #1E3A52;

  --text: #1C2B36;
  --text-soft: #46586A;
  --off-white: #FAF9F6;

  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, Segoe UI, sans-serif;

  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --radius: 14px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--night);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-soft); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-whatsapp .icon { width: 19px; height: 19px; }

.btn-ghost {
  background: transparent;
  border-color: rgba(250, 249, 246, 0.35);
  color: var(--off-white);
}
.btn-ghost:hover { border-color: var(--off-white); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28, 43, 54, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--night);
  white-space: nowrap;
}
.icon-farol {
  display: inline-block;
  height: 34px;
  width: auto;
  flex: none;
}

.brand .icon-farol {
  height: 26px;
  background: var(--night);
  border-radius: 8px;
  padding: 6px 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { color: var(--text-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--blue-petrol); }

.header-cta { display: flex; align-items: center; gap: 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .site-header .container { height: 66px; }
  .brand { font-size: 0.95rem; }
  .icon-farol { height: 26px; }
  .header-cta .btn-whatsapp { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 80% -10%, var(--night-deep) 0%, var(--night) 55%, #0e1e2c 100%);
  color: var(--off-white);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero-beam {
  position: absolute;
  top: 6%;
  right: -4%;
  width: 640px;
  height: auto;
  object-fit: contain;
  opacity: 0.22;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-beam { width: 340px; top: -6%; right: -14%; opacity: 0.16; }
}
.hero h1 { color: var(--off-white); }
.hero .lede {
  font-size: 1.15rem;
  color: rgba(250, 249, 246, 0.82);
  max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.trust-line {
  margin-top: 20px;
  font-size: 0.88rem;
  color: rgba(250, 249, 246, 0.6);
}

.hero-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Dor section ---------- */
.section-dor { background: var(--bg-alt); }
.dor-intro { max-width: 62ch; margin-bottom: 40px; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.quote-card {
  background: var(--off-white);
  border: none;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(28, 43, 54, 0.09);
  font-family: var(--font-title);
  font-size: 1.08rem;
  color: var(--night);
  position: relative;
}
.dor-closing {
  margin-top: 40px;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  max-width: 60ch;
}

/* ---------- Método section ---------- */
.metodo .container { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .metodo .container { grid-template-columns: 1fr; } }
.metodo-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--bg-alt);
  text-align: center;
}
.metodo-cta p { font-family: var(--font-title); font-size: 1.15rem; color: var(--night); margin-bottom: 20px; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: 12px;
}
.feature-list strong { display: block; color: var(--night); font-size: 0.98rem; margin-bottom: 4px; }
.feature-list span.desc { color: var(--text-soft); font-size: 0.9rem; }

/* ---------- Para quem ---------- */
.section-publico { background: var(--blue-petrol); }
.section-publico h2 { color: var(--off-white); }
.publico-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .publico-grid { grid-template-columns: 1fr; } }
.publico-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px;
}
.publico-card h3 { margin-bottom: 18px; }
.publico-card ul { padding-left: 0; list-style: none; margin: 0; display: grid; gap: 14px; }
.publico-card li { display: flex; gap: 12px; color: var(--text); font-size: 0.98rem; }
.publico-card.yes li::before { content: "✓"; color: var(--blue-petrol); font-weight: 700; }
.publico-card.no li::before { content: "–"; color: var(--blue-grey); font-weight: 700; }

/* ---------- Sobre / Autoridade ---------- */
.sobre .container { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.6fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .sobre .container { grid-template-columns: 1fr; } }
.photo-slot {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 40, 60, 0.18);
}
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.credential-list { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.credential-list li {
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-petrol);
}
.insta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-alt);
}
.insta-row .icon { color: var(--blue-petrol); width: 26px; height: 26px; }
.insta-row a { font-weight: 600; color: var(--night); }
.insta-row small { display: block; color: var(--text-soft); font-weight: 400; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--bg-alt); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--off-white);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(28, 43, 54, 0.09);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--night);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--text-soft); }

/* ---------- CTA final ---------- */
.cta-final {
  background: radial-gradient(120% 160% at 20% 0%, var(--night-deep) 0%, var(--night) 60%);
  color: var(--off-white);
  text-align: center;
}
.cta-final h2 { color: var(--off-white); }
.cta-final p { color: rgba(250,249,246,0.75); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
footer {
  background: var(--night);
  color: rgba(250, 249, 246, 0.7);
  padding: 48px 0 28px;
  font-size: 0.88rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.12);
  margin-bottom: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--off-white); font-family: var(--font-title); font-weight: 600; }
.footer-brand .icon-farol { height: 30px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--off-white); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Floating WhatsApp button ---------- */
.floating-wpp {
  position: fixed;
  bottom: 14px;
  right: 16px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease, background 0.2s ease;
}
.floating-wpp:hover { transform: scale(1.06); background: var(--whatsapp-dark); }
.floating-wpp svg { width: 28px; height: 28px; }

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--night);
  z-index: 70;
  color: var(--off-white);
  padding: 28px 24px;
  display: none;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .close-btn { align-self: flex-end; background: none; border: none; color: var(--off-white); cursor: pointer; }
.mobile-nav a { font-family: var(--font-title); font-size: 1.4rem; }
