/* TDAH Sem Mistérios — página de vendas (prévia local, não publicada) */

:root {
  --cream: #F5EFE3;
  --cream-deep: #EBE3D4;
  --paper: #FFFBF6;
  --sand: #E8DCC8;
  --ink: #2C241C;
  --ink-soft: #5A4C40;
  --muted: #7A6B5C;
  --line: #DDD0BC;
  --orange: #C75B2C;
  --orange-dark: #A44720;
  --orange-soft: #F3D4C4;
  --sage: #6A7C61;
  --sage-soft: #E4EADF;
  --shadow: 0 14px 36px rgba(44, 36, 28, 0.14);
  --radius: 16px;
  --max-text: 40rem;
  --max: 68rem;
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Nunito Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
section, .closing { scroll-margin-top: 4.25rem; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  background:
    radial-gradient(1100px 520px at 8% -8%, #fbf6ec 0%, transparent 55%),
    radial-gradient(900px 480px at 100% 0%, #f4dfd0 0%, transparent 48%),
    var(--cream);
}

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

a { color: var(--orange-dark); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-text {
  width: min(100% - 2rem, var(--max-text));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 88%, white);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.wordmark span { color: var(--orange); font-style: italic; font-weight: 500; }

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav a:hover { color: var(--orange); }

@media (max-width: 719px) {
  .nav a:not(.btn) { display: none; }
  .wordmark { white-space: nowrap; font-size: 0.95rem; }
  .nav .btn { padding: 0.45rem 0.8rem; font-size: 0.72rem; letter-spacing: 0.03em; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(199, 91, 44, 0.28);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
}
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  background: transparent;
  color: var(--orange-dark);
  border-color: color-mix(in srgb, var(--orange) 55%, var(--sand));
}
.btn-secondary:hover {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.8rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.cta-note {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.pay-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.price {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 2.75rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0.25rem 0 0.9rem;
  line-height: 1;
}
.price-kicker {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Hero */
.hero {
  padding: 2.25rem 0 3.25rem;
}
.hero-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem 3.5rem;
}
.hero-top { min-width: 0; }
.hero-rest { min-width: 0; }
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas:
      "top cover"
      "rest cover";
    align-items: start;
    padding-top: 1.25rem;
    gap: 0 3.5rem;
  }
  .hero-top { grid-area: top; }
  .hero-rest { grid-area: rest; padding-top: 1.15rem; }
  .cover-frame { grid-area: cover; }
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4.6vw, 3.05rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.subhead {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero p { margin: 0 0 1rem; }
.hero p:last-of-type { margin-bottom: 1.35rem; }

.cover-frame {
  justify-self: center;
  width: min(100%, 18.5rem);
  margin: 0.25rem 0 0.5rem;
}
@media (min-width: 880px) {
  .cover-frame {
    width: min(100%, 22rem);
    margin: 0;
    justify-self: end;
    position: sticky;
    top: 4.5rem;
  }
}
.cover {
  width: 100%;
  border-radius: 2px 10px 10px 2px;
  box-shadow:
    1px 0 0 rgba(255,255,255,0.4),
    8px 14px 32px rgba(44, 36, 28, 0.18),
    2px 2px 0 rgba(44, 36, 28, 0.05);
  background: var(--sand);
}
.cover-caption {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}
.section + .section { border-top: 1px solid var(--line); }

.section h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead { font-size: 1.15rem; }

.audience-grid {
  width: min(100% - 2rem, var(--max));
  margin: 1.75rem auto 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 6px 18px rgba(44, 36, 28, 0.04);
}
.card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--orange-dark);
}
.card p { margin: 0; font-size: 1.02rem; }

.note-after {
  width: min(100% - 2rem, var(--max-text));
  margin: 1.5rem auto 0;
}

/* Chapters */
.chapters {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.chapters li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.05rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.9rem;
}
.chap-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--orange);
  min-width: 1.6rem;
  line-height: 1.3;
}
.chapters h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.chapters p {
  margin: 0;
  grid-column: 2;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.extras {
  margin-top: 2.25rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: color-mix(in srgb, var(--sage-soft) 55%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--sage) 22%, var(--line));
  border-radius: var(--radius);
}
.extras h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.extras ul {
  margin: 1rem 0 1rem;
  padding: 0;
  list-style: none;
}
.extras li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.6rem;
  border-bottom: 1px solid color-mix(in srgb, var(--sage) 15%, var(--line));
}
.extras li:last-of-type { border-bottom: 0; }
.extras li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--sage);
}

.not-this .wrap-text {
  background: var(--paper);
  border-left: 4px solid var(--orange);
  border-radius: 0 16px 16px 0;
  padding: 1.6rem 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 6px 18px rgba(44, 36, 28, 0.04);
}
.not-this h2 { margin-top: 0; }

/* Price block */
.price-block {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--orange-soft) 35%, var(--cream)) 0%, var(--cream) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-card {
  width: min(100% - 2rem, 36rem);
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.price-card .cover {
  width: 10.5rem;
  margin: 0 auto 1.25rem;
}
.price-card .cta-row { justify-content: center; }

/* Bumps */
.bumps-grid {
  width: min(100% - 2rem, var(--max));
  margin: 1.75rem auto 0;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 800px) {
  .bumps-grid { grid-template-columns: repeat(3, 1fr); }
}
.bump {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(44, 36, 28, 0.04);
}
.bump img {
  width: 100%;
  aspect-ratio: 737 / 1040;
  object-fit: cover;
  background: var(--sand);
}
.bump-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.bump-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.bump-price {
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: var(--orange-dark);
}
.bump-body p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); flex: 1; }
.bump-note {
  width: min(100% - 2rem, var(--max-text));
  margin: 1.25rem auto 0;
}

/* Guarantee */
.guarantee {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 700px) {
  .guarantee {
    grid-template-columns: auto 1fr;
    gap: 1.75rem;
    align-items: center;
  }
}
.seal {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--orange);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--orange-dark);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--orange-soft) 70%, transparent);
}
.seal strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}
.seal span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* FAQ */
.faq { margin: 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1.75rem 0.85rem 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

/* Closing */
.closing {
  text-align: center;
  padding: 3.5rem 0 3.75rem;
  background:
    radial-gradient(700px 280px at 50% 0%, #f4dfd0 0%, transparent 70%),
    var(--cream-deep);
}
.closing h2 {
  max-width: 22em;
  margin-inline: auto;
}
.closing .product-line {
  margin: 1.25rem 0 0.35rem;
  font-weight: 700;
}
.closing .meta { margin: 0 0 0.5rem; color: var(--ink-soft); }
.closing .cta-row { justify-content: center; margin-top: 0.5rem; }

/* Footer */
.site-footer {
  background: #2C241C;
  color: #E8DCC8;
  padding: 2.5rem 0 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.site-footer .brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFF8EE;
  margin: 0 0 0.85rem;
}
.site-footer p { margin: 0 0 0.9rem; }
.site-footer a { color: #F0C2A4; }
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 1.15rem 0 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 220, 200, 0.18);
}
.legal-links a { text-decoration: none; font-weight: 600; }
.legal-links a:hover { text-decoration: underline; }
.legal-slot, .legal-identity {
  margin: 0.35rem 0 0;
  color: #C4B6A4;
  font-size: 0.92rem;
}
.legal-identity p { margin: 0 0 0.35rem; }
.legal-identity .legal-name { color: #E8DCC8; }
.legal-identity .contact-email { color: #F0C2A4; font-weight: 600; }
.site-footer .ph {
  background: #4A3C32;
  color: #F8E2C8;
  border: 1px dashed #C4A070;
}

/* Hidden testimonials — only if real authorized quotes exist */
.testimonials-placeholder { display: none; }


/* Links para as políticas no corpo da página de vendas */
.policy-link {
  color: var(--orange-dark);
  text-underline-offset: 0.18em;
}

/* Páginas legais */
.nav-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  justify-content: flex-end;
  align-items: center;
}
@media (max-width: 719px) {
  .site-header:has(.nav-legal) .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-block: 0.7rem;
  }
  .site-header .nav-legal a:not(.btn) { display: inline; }
  .nav-legal {
    justify-content: flex-start;
    width: 100%;
    font-size: 0.85rem;
  }
}

.legal-doc {
  padding: 2.35rem 0 3.5rem;
}
.legal-doc h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.legal-doc .updated {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.legal-doc h2 {
  margin: 2.1rem 0 0.65rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  scroll-margin-top: 4.25rem;
}
.legal-doc h3 {
  margin: 1.3rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.legal-doc p, .legal-doc li {
  color: var(--ink);
}
.legal-doc ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.25rem;
}
.legal-doc li { margin: 0.28rem 0; }
.legal-doc a { text-underline-offset: 0.18em; }

.ph {
  display: inline;
  background: #F8E2C8;
  border-radius: 4px;
  padding: 0.05em 0.28em;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.legal-doc code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: var(--cream-deep);
  padding: 0.05em 0.28em;
  border-radius: 3px;
}
.nav-legal a[aria-current="page"] {
  color: var(--orange);
  font-weight: 700;
}
