/* Dormir para render — LP */
:root {
  --navy: #0d1b2a;
  --navy-soft: #16263a;
  --ink: #1c2633;
  --muted: #4a5568;
  --cream: #fbf9f4;
  --cream-alt: #f1ede3;
  --amber: #f4d35e;
  --amber-strong: #e6c344;
  --line: #ddd6c7;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(13, 27, 42, 0.18);
  --wrap: 1120px;
  --font-serif: "Libertinus Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #0f4c81; text-underline-offset: 3px; }
a:hover { color: #0a3557; }

:focus-visible {
  outline: 3px solid #0f4c81;
  outline-offset: 3px;
  border-radius: 4px;
}

.hero :focus-visible,
.offer :focus-visible,
.footer :focus-visible { outline-color: var(--amber); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--amber);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 27, 42, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.topbar__nav { display: flex; align-items: center; gap: 1.5rem; }
.topbar__nav > a:not(.btn) {
  color: #e7e2d6;
  font-size: 0.95rem;
  text-decoration: none;
}
.topbar__nav > a:not(.btn):hover { color: var(--amber); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--amber); color: var(--navy); }
.btn--primary:hover { background: var(--amber-strong); color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn--large { min-height: 56px; padding: 0.95rem 2rem; font-size: 1.05rem; }
.btn--small { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* Hero */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(244, 211, 94, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.05rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.lede {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: #e4dfd2;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: #cfc9ba;
}
.hero__facts li { display: flex; align-items: center; gap: 0.5rem; }
.hero__facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.hero__cover { margin: 0; justify-self: end; width: min(100%, 360px); }
.hero__cover img {
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(1.2deg);
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--cream-alt); }
.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  text-wrap: balance;
}
.section p { margin: 0 0 1rem; }
.section__intro { color: var(--muted); max-width: 46rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
  line-height: 1.35;
}
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Evidence */
.evidence {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.evidence__item {
  background: var(--white);
  border-left: 5px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.6rem 1.2rem;
  box-shadow: 0 4px 14px rgba(13, 27, 42, 0.06);
}
.evidence__item h3 { margin: 0 0 0.75rem; font-size: 1.08rem; line-height: 1.35; }
.evidence__item p { font-size: 0.98rem; color: var(--muted); }
.source { margin: 0 !important; font-size: 0.88rem !important; }
.source a { font-weight: 600; }
.disclaimer-inline { margin-top: 2rem !important; font-size: 0.9rem; color: var(--muted); }

/* Offer */
.offer { background: var(--navy); color: var(--cream); }
.offer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.offer h2 { color: var(--white); }
.offer__text p { color: #e4dfd2; }
.checklist { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75rem;
  color: #e4dfd2;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 0.6rem;
  border-left: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  transform: rotate(-45deg);
}
.offer__box {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.price { margin: 0; line-height: 1; }
.price__value {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--navy);
}
.price__note { margin: 0.4rem 0 1.5rem; font-size: 0.92rem; color: var(--muted); }
.price__fine { margin: 1rem 0 0; font-size: 0.82rem; color: var(--muted); }

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
}
details[open] summary::after { content: "–"; }
details p { margin: 0.8rem 0 0.2rem; color: var(--muted); }

/* Footer */
.footer { background: #0a1521; color: #cfc9ba; padding: 2.5rem 0; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: flex-end;
}
.footer__brand { margin: 0 0 0.35rem; font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); }
.footer__note { margin: 0; max-width: 52ch; font-size: 0.86rem; }
.footer__year { margin: 0; font-size: 0.86rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero__grid,
  .offer__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__cover { justify-self: center; width: min(78%, 320px); order: -1; }
  .hero__cover img { transform: none; }
  .offer__box { max-width: 480px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar__nav > a:not(.btn) { display: none; }
  .brand { font-size: 1.02rem; white-space: nowrap; }
  .topbar__nav .btn--small { font-size: 0.82rem; padding: 0.5rem 0.9rem; }
  .cards { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { flex-direction: column; gap: 0.4rem; }
  .offer__box { padding: 1.5rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
