/* ===== Design System — Sandra Holanda | Neuropsicóloga ===== */
:root {
  /* Paleta acolhedora e confiável (verde-sálvia + terracota suave) */
  --sage: #6b8f7f;
  --sage-dark: #4e6f63;
  --sage-light: #dfeae5;
  --terra: #c58a6b;
  --terra-dark: #a86b4f;
  --terra-light: #f4e6dd;
  --ink: #3a3a38;
  --ink-soft: #6f6f6a;
  --paper: #fbf8f5;
  --paper-alt: #f5efe9;
  --line: #e8e0d8;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(58, 58, 56, 0.08);
  --shadow-sm: 0 4px 14px rgba(58, 58, 56, 0.06);
  --radius: 18px;
  --radius-lg: 28px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--terra-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { width: min(1120px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }
.section-alt { background: var(--paper-alt); }
.eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terra-dark); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before { content: "—"; color: var(--terra); margin-right: 10px; }

/* ===== Botões / CTA ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px;
  border-radius: 999px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 20px rgba(197, 138, 107, 0.35); }
.btn-primary:hover { background: var(--terra-dark); color: #fff; }
.btn-sage { background: var(--sage); color: #fff; box-shadow: 0 8px 20px rgba(107, 143, 127, 0.35); }
.btn-sage:hover { background: var(--sage-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--sage-dark); border: 2px solid var(--sage); }
.btn-ghost:hover { background: var(--sage-light); color: var(--sage-dark); }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }
.btn-wa:hover { background: #1fb857; color: #fff; }
.btn .ico { width: 20px; height: 20px; flex: none; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 245, 0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name { font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1.1; }
.brand-role { font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.04em; display: block; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 10px 13px; border-radius: 999px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-links a:hover { background: var(--sage-light); color: var(--sage-dark); }
.nav-links a.active { background: var(--sage); color: #fff; }
.nav-cta { margin-left: 6px; flex: none; }
.nav-cta .btn { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: 0.2s; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px;
    display: none; gap: 4px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; }
  .nav-toggle { display: block; }
  .nav-cta { margin: 6px 0 0; }
}

/* ===== Hero ===== */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-note { margin-top: 18px; font-size: 0.95rem; color: var(--ink-soft); }
.hero-note strong { color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 0.85rem; color: var(--ink-soft); }

/* ===== Cérebro interativo (versão 2D caricato, animado) ===== */
.brain-wrap { position: relative; }
.brain-stage {
  background: radial-gradient(120% 120% at 50% 20%, #fff 0%, var(--sage-light) 60%, var(--terra-light) 100%);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); position: relative;
}
.brain-svg { width: 100%; height: auto; display: block; }

/* animações do cérebro */
.brain-node { cursor: pointer; }
.brain-node circle { transition: r 0.2s ease, fill 0.2s ease; }
.brain-node:hover circle, .brain-node.active circle { r: 16; }
.brain-node .pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; }
.brain-node:hover .pulse { animation-duration: 1.2s; }
@keyframes pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
.brain-conn { stroke-dasharray: 6 6; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }

/* pulsação suave da silhueta (batimento) */
.brain-svg > g:first-child { animation: brain-beat 3.2s ease-in-out infinite; transform-origin: 320px 260px; }
@keyframes brain-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.012); } }

/* painel ABAIXO do cérebro (não sobreposto) */
.brain-panel {
  margin-top: 16px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.brain-panel h3 { margin: 0 0 6px; color: var(--sage-dark); }
.brain-panel p { margin: 0 0 12px; }
.brain-panel .btn { margin-top: 4px; }
.brain-hint { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }

@media (max-width: 860px) {
  .brain-panel { margin-top: 12px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
}

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-light); color: var(--sage-dark); margin-bottom: 14px; }
.card-ico.terra { background: var(--terra-light); color: var(--terra-dark); }
.card-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ===== Split / Sobre ===== */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sage-light); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-photo-slot {
  aspect-ratio: 4/5; border: 2px dashed var(--sage); border-radius: var(--radius-lg);
  display: grid; place-items: center; color: var(--sage-dark); background: var(--white);
  text-align: center; padding: 20px; font-size: 0.95rem;
}
.list-check { list-style: none; padding: 0; margin: 18px 0 0; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--ink-soft); }
.list-check .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ===== Depoimentos ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.testi .avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--sage-light); margin-bottom: 14px; display: block;
}
.testi .quote { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin-bottom: 16px; }
.testi .stars { color: var(--terra); letter-spacing: 2px; margin-bottom: 12px; }
.testi .who { font-weight: 600; color: var(--sage-dark); }
.testi .role { font-size: 0.85rem; color: var(--ink-soft); }
.testi .placeholder {
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--paper);
  color: var(--ink-soft); text-align: center; padding: 30px 20px; font-size: 0.95rem;
}
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }

/* ===== Ebook ===== */
.ebook-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.ebook-cover {
  aspect-ratio: 3/4; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--sage), var(--sage-dark));
  box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #fff; text-align: center; padding: 30px; position: relative; overflow: hidden;
}
.ebook-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,0.25), transparent 60%); }
.ebook-cover .cover-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; z-index: 1; }
.ebook-cover .cover-sub { font-size: 0.9rem; opacity: 0.85; margin-top: 12px; z-index: 1; }
.ebook-cover .cover-brain { width: 84px; height: 84px; margin-bottom: 18px; z-index: 1; opacity: 0.95; }
.price { font-family: var(--font-display); font-size: 2.2rem; color: var(--ink); }
.price small { font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 860px) { .ebook-hero { grid-template-columns: 1fr; gap: 28px; } }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--sage) 0%, var(--sage-dark) 100%);
  border-radius: var(--radius-lg); padding: 48px; color: #fff; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 60ch; margin: 0 auto 24px; }
.cta-band .btn-primary { background: var(--terra); }
.cta-band .btn-primary:hover { background: var(--terra-dark); }

/* ===== Contato ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-item .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sage-light); color: var(--sage-dark); display: grid; place-items: center; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-item p { margin: 0; font-size: 0.95rem; }
.form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; background: var(--paper); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--sage); border-color: transparent; }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 18px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding: 56px 0 28px; margin-top: 40px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand { font-family: var(--font-display); color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.footer-title { color: #fff; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px; padding-top: 20px; font-size: 0.85rem; text-align: center; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { margin-top: 28px; }
}

/* ===== WhatsApp flutuante ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* util */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }
.text-soft { color: var(--ink-soft); }
.note { font-size: 0.9rem; color: var(--ink-soft); }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }
