/* ==========================================================
   Julia Dill — Consultoria em Amamentação
   Folha de estilo principal
   ========================================================== */

:root {
  --bg: #FBF7F2;
  --surface: #FFFFFF;
  --soft: #F4E8E3;
  --soft-2: #EEF0E8;
  --ink: #2E2430;
  --muted: #6A5D66;
  --line: #E7DCD6;
  --brand: #94475A;
  --brand-dark: #6E3142;
  --accent: #C9826B;
  --sage: #6F8163;
  --wa: #1FA855;
  --wa-dark: #178A45;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(46, 36, 48, .08);
  --shadow-lg: 0 18px 50px rgba(46, 36, 48, .14);
  --max: 1160px;
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--ink);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--soft { background: var(--soft); }
.section--sage { background: var(--soft-2); }
.section--dark { background: var(--brand-dark); color: #F8EDEF; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section--dark .eyebrow { color: #F1B9A6; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: #F1DDE1; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(148, 71, 90, .28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, .28); }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--light:hover { background: #FBEFF1; color: var(--brand-dark); }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .btn-row { justify-content: center; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(46,36,48,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-family: var(--font-title); font-size: 1.15rem; font-weight: 600; letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; }
.brand-tag { font-size: .74rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .98rem;
  padding: 10px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--soft); color: var(--brand-dark); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--soft); }
.nav .btn { margin-left: 8px; padding: 11px 20px; }
.nav .btn:hover { background: var(--wa-dark); color: #fff; }

.menu-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink);
  border-radius: 10px;
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); padding: 16px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
  .brand-tag { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,130,107,.22), rgba(201,130,107,0) 70%);
  top: -220px; right: -180px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--brand); font-weight: 500; }
.hero .lead { margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.hero-badges li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; font-size: .9rem; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; margin: 0 auto; width: 100%; }
  .page-lp .hero-visual { display: none; }
}

/* Moldura de foto com fallback */
.photo {
  position: relative; border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 50%),
    linear-gradient(160deg, #D9A596 0%, #B8697A 55%, #7E3A4B 100%);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 24px;
}
.photo-fallback span { font-family: var(--font-title); font-size: clamp(4rem, 12vw, 6.5rem); line-height: 1; opacity: .95; }
.photo-fallback small { display: block; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; opacity: .9; font-weight: 700; }
.photo-card {
  position: absolute; left: -18px; bottom: 28px; background: var(--surface); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
  max-width: 250px;
}
.photo-card strong { font-family: var(--font-title); font-size: 1.8rem; color: var(--brand); line-height: 1; }
.photo-card span { font-size: .88rem; line-height: 1.3; color: var(--muted); font-weight: 700; }
.photo-wrap { position: relative; }
@media (max-width: 860px) { .photo-card { left: 8px; } }

/* ---------- Cartões ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link::after { content: "→"; transition: transform .2s; }
.card .card-link:hover::after { transform: translateX(4px); }
.card--featured { border: 2px solid var(--brand); position: relative; }
.card-tag {
  display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--soft); color: var(--brand-dark); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.card-tag--sage { background: var(--soft-2); color: #4C5B42; }
.icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px; flex: none;
}
.icon svg { width: 28px; height: 28px; }
.icon--sage { background: var(--soft-2); color: var(--sage); }

/* Números */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 10px; }
.stat strong { display: block; font-family: var(--font-title); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* Duas colunas texto/imagem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--soft-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F8163' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(255,255,255,.15); }

/* Passos */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-family: var(--font-title); font-size: 1.2rem; font-weight: 600;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Citação */
.quote {
  font-family: var(--font-title); font-size: clamp(1.35rem, 2.8vw, 1.9rem); line-height: 1.35; font-style: italic;
  margin: 0; padding-left: 26px; border-left: 4px solid var(--accent); color: var(--ink);
}
.section--dark .quote { color: #fff; }

/* Produtos */
.product {
  display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center;
}
@media (max-width: 640px) { .product { grid-template-columns: 1fr; } }
.book {
  position: relative; aspect-ratio: 3 / 4; border-radius: 6px 14px 14px 6px; overflow: hidden;
  box-shadow: -8px 12px 30px rgba(46,36,48,.25), inset 6px 0 0 rgba(0,0,0,.08);
  background: linear-gradient(155deg, #F4DCD3 0%, #E3AFA1 45%, #A9576A 100%);
  max-width: 260px; width: 100%; margin: 0 auto;
}
.book img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-fallback { position: absolute; inset: 0; padding: 22px 20px; display: flex; flex-direction: column; justify-content: space-between; color: #3B1F28; }
.book-fallback small { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .66rem; }
.book-fallback strong { font-family: var(--font-title); font-size: 1.55rem; line-height: 1.1; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.book-fallback em { font-style: normal; font-weight: 700; font-size: .78rem; color: #fff; }
.book--lg { max-width: 340px; }
.book--lg .book-fallback strong { font-size: 2.1rem; }

.price { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 20px; }
.price { flex-wrap: wrap; }
.price strong { white-space: nowrap; font-family: var(--font-title); font-size: 2.6rem; color: var(--brand); line-height: 1; }
.price span { color: var(--muted); font-weight: 700; }

.buy-box {
  background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.buy-box .small { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

/* Parceiros */
.partner { gap: 0; }
.partner-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.partner-logo {
  width: 84px; height: 84px; border-radius: 20px; flex: none; position: relative; overflow: hidden;
  background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center;
}
.partner-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; }
.partner-logo span { font-family: var(--font-title); font-size: 1.6rem; color: var(--brand); font-weight: 600; }
.partner-head h3 { margin: 0 0 4px; }
.partner-role { font-size: .9rem; font-weight: 800; color: var(--sage); letter-spacing: .02em; }
.partner-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--soft); color: var(--brand-dark); font-weight: 800; font-size: .88rem; text-decoration: none;
}
.pill:hover { background: var(--brand); color: #fff; }
.pill svg { width: 16px; height: 16px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px;
  padding: 0 22px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 800; position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--brand); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* Local */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.info-list svg { width: 24px; height: 24px; color: var(--brand); flex: none; margin-top: 3px; }
.info-list strong { display: block; }
.info-list span { color: var(--muted); }

/* Faixa CTA */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,.07); right: -100px; bottom: -160px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #F4DEE3; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Aviso / nota */
.note {
  background: var(--soft-2); border-radius: 14px; padding: 18px 22px; color: #3F4B37; font-size: .98rem;
  border-left: 4px solid var(--sage);
}

/* Página interna — topo */
.page-hero { padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 5vw, 56px); background: var(--soft); }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-left: 44px; margin-bottom: 28px; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 4px solid var(--accent);
}
.timeline strong { display: block; font-family: var(--font-title); font-size: 1.2rem; margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; }

/* Rodapé */
.site-footer { background: #2A2029; color: #D9CCD3; padding: 64px 0 28px; font-size: .96rem; }
.site-footer a { color: #F1DDE3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand-tag { color: #BFAFB8; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #A99AA3; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(31,168,85,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 34px; height: 34px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* Landing (página de captação) */
.lp-top { background: var(--brand-dark); color: #fff; text-align: center; padding: 10px 16px; font-size: .92rem; font-weight: 700; }
.lp-top a { color: #fff; }
.lp-header { padding: 18px 0; }
.lp-header .header-inner { height: auto; }
.lp-hero { padding: 24px 0 72px; }
.lp-hero .btn-row { margin-bottom: 14px; }
.lp-hero .micro { font-size: .92rem; color: var(--muted); }
.lp-services .card { padding: 26px; }
.lp-sticky {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06);
}
@media (max-width: 640px) {
  .header-inner .btn { padding: 10px 16px; font-size: .92rem; }
  .lp-sticky { display: block; }
  .page-lp .wa-float { display: none; }
  .page-lp { padding-bottom: 84px; }
}

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before { animation: none; }
  .btn:hover { transform: none; }
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 40px; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Barra fixa de compra (páginas de produto, só no celular) ---------- */
.buy-bar { display: none; }
@media (max-width: 860px) {
  .buy-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 61;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(46, 36, 48, .08);
  }
  .buy-bar-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .buy-bar-info span { font-size: .8rem; color: var(--muted); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .buy-bar-info strong { font-family: var(--font-title); font-size: 1.45rem; font-weight: 600; color: var(--brand); }
  .buy-bar-btn { flex: none; padding: 13px 20px; font-size: .95rem; }
  .buy-bar-btn svg { width: 20px; height: 20px; }
  body:has(.buy-bar) { padding-bottom: 84px; }
  body:has(.buy-bar) .wa-float { display: none; }
}

/* ==========================================================
   Página de venda do ebook (tráfego frio)
   ========================================================== */
.header-link { padding: 10px 18px; font-size: .95rem; }

.sales-hero { padding: 20px 0 36px; background: var(--soft); }
.sales-hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.sales-hero .eyebrow { margin-bottom: 8px; font-size: .74rem; }
.sales-hero h1 { font-size: clamp(1.55rem, 6.4vw, 2.9rem); line-height: 1.16; margin-bottom: .45em; text-wrap: balance; }
.sales-sub { display: flex; flex-direction: column; gap: 2px; margin: 0 0 16px; }
.sales-sub strong { font-family: var(--font-title); font-size: 1.12rem; color: var(--brand); font-weight: 600; font-style: italic; }
.sales-sub span { font-size: .9rem; color: var(--muted); font-weight: 700; }
.hero-buy { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.hero-cover .book { max-width: 96px; box-shadow: -4px 8px 18px rgba(46,36,48,.25); }
.hero-cover .book-fallback { padding: 8px; }
.hero-cover .book-fallback strong { font-size: .7rem; }
.hero-cover .book-fallback small, .hero-cover .book-fallback em { display: none; }
.hero-buy-info .price { margin: 0 0 10px; gap: 8px; }
.hero-buy-info .price strong { font-size: 2rem; }
.hero-buy-info .price span { font-size: .85rem; }
.hero-buy-info .btn { padding: 15px 18px; }
.sales-hero-visual { display: none; }
.anchor { margin: 14px 0 0; font-size: .95rem; font-weight: 700; color: var(--brand-dark); }
.guarantee { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.guarantee svg { width: 22px; height: 22px; flex: none; color: var(--sage); margin-top: 1px; }
.guarantee strong { color: var(--ink); }
.buy-box .anchor { text-align: left; }

@media (min-width: 861px) {
  .sales-hero { padding: 56px 0 72px; }
  .sales-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .sales-hero .eyebrow { font-size: .8rem; }
  .sales-sub strong { font-size: 1.35rem; }
  .hero-buy { grid-template-columns: 1fr; max-width: 420px; }
  .hero-cover { display: none; }
  .sales-hero-visual { display: block; }
}

/* Prova social */
.proof { padding-top: 32px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-bottom: 24px; text-align: center; }
.rating-score { font-family: var(--font-title); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1; }
.stars { color: #E2A33B; letter-spacing: 2px; font-size: 1.1rem; }
.rating-count { font-weight: 700; color: var(--muted); }
.rating a { font-weight: 800; flex-basis: 100%; }
.testimonial { margin: 0; padding: 24px; }
.testimonial blockquote { margin: 10px 0 14px; font-size: 1.02rem; line-height: 1.55; color: var(--ink); }
.testimonial figcaption { font-weight: 800; color: var(--brand); }
.testimonial figcaption::before { content: "— "; }

/* Entregas e prévias */
.deliverables { display: grid; grid-template-columns: 1fr; gap: 4px 32px; max-width: 980px; }
@media (min-width: 761px) { .deliverables { grid-template-columns: 1fr 1fr; } }
.previews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 16px; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.preview { flex: 0 0 62%; max-width: 280px; margin: 0; scroll-snap-align: start; }
.preview img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.preview figcaption { font-size: .88rem; color: var(--muted); font-weight: 700; margin-top: 8px; }
@media (min-width: 761px) { .previews { overflow: visible; } .preview { flex: 1 1 0; max-width: none; } }

/* Quem escreveu */
.author-photo { max-width: 400px; width: 100%; margin: 0 auto; }
.author-photo img { object-position: center 20%; }
/* Barra fixa: some enquanto o botão de compra do topo está visível (o main.js controla) */
@media (max-width: 860px) {
  .buy-bar { transition: transform .25s ease; }
  .buy-bar.is-hidden { transform: translateY(110%); }
}
@media (max-width: 380px) {
  .header-inner { height: 64px; }
  .brand-mark { width: 38px; height: 38px; font-size: 1rem; }
  .brand-name { font-size: 1.1rem; white-space: nowrap; }
  .header-link { padding: 8px 12px; font-size: .85rem; white-space: nowrap; }
  .sales-hero { padding-top: 14px; }
  .sales-hero h1 { font-size: 1.38rem; }
  .sales-sub strong { font-size: 1rem; }
  .sales-sub span { font-size: .82rem; }
  .hero-buy { grid-template-columns: 80px 1fr; gap: 12px; }
  .hero-cover .book { max-width: 80px; }
  .hero-buy-info .price strong { font-size: 1.7rem; }
}
