/* Approved palette: dark navy, cyan accents, coral calls to action. */
:root {
  --navy: #0b1d38;
  --blue: #286fbc;
  --teal: #34a8c9;
  --light: #edf4fb;
  --pale: #dfeaf5;
  --text: #18314f;
  --muted: #506c86;
  --line: #cfdeec;
}
body {
  background: radial-gradient(ellipse at 84% 0, #183856 0, transparent 42%), #0a1b2e;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
h1, h2, h3, .brand { font-family: inherit; }
header { max-width: 1280px; padding: 24px 48px; border-bottom-color: #ffffff16; }
.brand, .brand strong { color: #fff; }
.brand { font-size: 17px; letter-spacing: -.4px; }
.brand-icon { background: #1c4264; box-shadow: none; border: 1px solid #ffffff16; }
.header-note { color: #b6c9dc; font-size: 11px; letter-spacing: 1px; }
.live-dot { background: #ff9a6d; }
.landing { max-width: 1280px; padding: 56px 48px 64px; }
.hero { gap: 56px; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); align-items: center; }
.hero h1 { max-width: 20ch; color: #f5f8fc; font-size: clamp(36px,3.6vw,52px); line-height: 1.12; letter-spacing: -1.7px; font-weight: 700; margin-bottom: 24px; }
.hero h1 em { color: #9ac7e8; background: none; }
.hero-copy > p, .hero-copy .lead { max-width: 490px; font-size: 16px; line-height: 1.7; color: #bdccdc; }
.hero-copy .lead { margin: 18px 0 26px; }
.hero-copy .lead strong { background: none; box-shadow: none; color: #edf4fb; }
.eyebrow { color: #a9cbe4; font-size: 11px; letter-spacing: 1.5px; }
.eyebrow::before { background: #d9ae83; }
.primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(110deg,#f3c89d,#eeb184);
  color: #2d2119;
  border: 1px solid #edb68a;
  box-shadow: 0 6px 20px #00000024;
  font-weight: 650;
  animation: cta-bounce 5.6s ease-in-out infinite;
}
.primary::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -70% auto -70% -65%;
  width: 38%;
  background: linear-gradient(90deg,transparent,#ffffff52,transparent);
  transform: rotate(22deg);
  animation: cta-shine 4.5s ease-in-out infinite;
}
.primary:hover { background: linear-gradient(110deg,#f8d7b6,#f2bf96); box-shadow: 0 8px 24px #00000032; }
.primary:disabled { animation: none; }
.primary:disabled::after { animation: none; display: none; }
.micro, .micro i, .bottom-note { color: #aabed2; }
.hero .primary, .landing-next .primary { min-height: 54px; font-size: 15px; padding: 16px 22px; border-radius: 8px; }
.micro { margin-top: 18px; font-size: 12px; gap: 18px; flex-wrap: wrap; }
.proof {
  margin-top: 64px;
  border-top: 1px solid #ffffff16;
  padding-top: 36px;
  color: #fff;
}
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 24px; }
.section-kicker { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; color: #9fbad1; }
.section-heading h2 { color: #f2f6fb; font-size: clamp(25px,2.4vw,32px); font-weight: 600; letter-spacing: -.7px; line-height: 1.25; margin: 9px 0 0; }
.section-heading > p { max-width: 365px; color: #aebfd0; font-size: 14px; line-height: 1.65; margin: 0; }
.proof-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.quote-card { min-width: 0; display: grid; grid-template-columns: 136px minmax(0,1fr); gap: 22px; padding: 22px; background: #10243a; border: 1px solid #ffffff18; border-radius: 14px; color: #f1f6fc; }
.testimonial-preview { align-self: start; display: flex; flex-direction: column; width: 100%; padding: 0; color: #d7e5f1; border: 1px solid #ffffff22; border-radius: 8px; overflow: hidden; background: #071524; transition: border-color .2s; }
.testimonial-preview:hover { border-color: #9ac7e8; }
.testimonial-thumbnail { display: flex; flex-direction: column; justify-content: center; height: 220px; background: #171819; overflow: hidden; }
.testimonial-thumbnail img { display: block; flex: 0 1 auto; min-height: 0; width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.preview-label { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font-size: 12px; background: #172f47; }
.quote-content { min-width: 0; display: flex; flex-direction: column; }
.quote-topic { display: block; font-size: 10px; line-height: 1.5; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; color: #a8c9e1; }
.quote-excerpt { color: #f4f7fb; font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.3px; margin: 12px 0; }
.quote-context { color: #aebfd0; font-size: 13px; line-height: 1.65; margin: 0; }
.quote-person { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; }
.person-placeholder { flex: 0 0 30px; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; background: #264561; color: #d9e8f4; font-size: 11px; font-weight: 600; }
.quote-person strong { display: block; font-size: 12px; line-height: 1.4; font-weight: 500; }
.quote-person small { display: block; font-size: 11px; color: #9dafc2; }
.proof-disclaimer { font-size: 11px; line-height: 1.6; color: #91a5ba; margin: 18px 0 0; max-width: 950px; }
.journey { margin-top: 56px; }
.how { margin-top: 0; padding-top: 0; border: 0; gap: 28px; }
.how-item { padding: 24px 0; border-top: 1px solid #ffffff16; gap: 14px; }
.how h3 { color: #eaf1f8; font-size: 16px; font-weight: 500; margin: 1px 0 8px; }
.how p { color: #aebfd0; font-size: 14px; line-height: 1.6; }
.step-no, .profile-badge { background: #dceef8; color: #16699a; }
.how .step-no { width: 36px; height: 36px; background: #1b354f; color: #bcd4e8; border-radius: 8px; }
.landing-next { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 36px; padding: 32px; background: #112940; border: 1px solid #ffffff16; border-radius: 14px; }
.landing-next h2 { max-width: 540px; color: #f3f7fb; font-size: 26px; line-height: 1.3; letter-spacing: -.6px; font-weight: 600; margin: 10px 0; }
.landing-next p { max-width: 560px; color: #afc3d6; font-size: 14px; margin: 0; }
.landing-next .primary { flex-shrink: 0; }
footer { max-width: 1280px; padding: 24px 48px; border-top-color: #ffffff16; color: #aebfd0; }
.footer-brand, footer a, footer button { color: #eaf6ff; }
.quiz-shell, .center-screen, .result, .legal { background: #f8fafc; border: 1px solid #d2dde7; border-radius: 16px; box-shadow: 0 20px 60px #000e2240; }
.quiz-shell { margin: 32px auto 40px; }
.center-screen { margin: 40px auto; }
.result { margin: 32px auto 42px; }
.legal { margin: 38px auto; }
.progress-fill { background: linear-gradient(90deg,#14588d,#2294ba,#ff9a6d); box-shadow: 0 0 12px #2294ba30; }
.progress-track { background: #d4e7f2; }
.quiz-topline { color: #1767a8; }
.option:hover { border-color: #70acd0; background: #f4faff; transform: translateY(-1px); }
.option:has(input:checked) { background: #e2f2fb; border: 2px solid #217cb2; padding: 13px 17px; box-shadow: 0 3px 15px #176a9e15; }
.option:has(input:checked) .letter { background: #176a9e; border-color: #176a9e; }
.option:has(input:checked)::after { color: #176a9e; }
.flow-nudge { display: flex; gap: 9px; align-items: center; font-size: 12px; margin: 23px 0 0; color: #176da2; }
.flow-nudge span { color: #a1480b; }
.round-icon { background: linear-gradient(145deg,#d9effa,#ffebd5); color: #176d9d; border-color: #c3e3f3; }
.result .eyebrow, .offer-heading .eyebrow { color: #1767a8; }
.bridge { background: radial-gradient(ellipse at 93% 0,#318cba,transparent 60%),linear-gradient(130deg,#0e355b,#195c84); box-shadow: 0 14px 34px #10365822; }
.bridge p { color: #d8e7f5; }
.bridge strong { color: #ffd9b6; }
.diagnosis { border-left-color: #ff9a6d; }
.recommend b, .restart { color: #176da2; }
.book-index { background: linear-gradient(145deg,#1d5985,#0c2949); border-left-color: #2b74bb; box-shadow: 3px 2px 0 #c7d7e5; }
.book { background: #edf4fb; }
.purchase { position: relative; border: 1px solid #bbcede; background: #eef4f9; box-shadow: 0 10px 38px #10365812; }
.purchase-tag { display: inline-block; background: #155b8e; color: #fff; border-radius: 30px; padding: 6px 13px; font-size: 8px; letter-spacing: 1px; font-weight: 700; margin-bottom: 18px; }
.value-strip { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 18px; font-size: 10px; color: #375773; }
.discount-ribbon { display: inline-block; margin: 1px auto 16px; padding: 10px 16px; border-radius: 9px; background: #155b8e; color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 7px 20px #10365830; }
.price-comparison { display: flex; justify-content: center; align-items: baseline; gap: 11px; flex-wrap: wrap; color: #506c86; }
.price-comparison > span:first-child { font-size: 19px; }
.price-comparison s { color: #506c86; text-decoration-color: #c04d6e; text-decoration-thickness: 2px; }
.price-comparison strong { font: 800 clamp(31px,5vw,48px)/1.15 Manrope,system-ui,sans-serif; color: #0f507e; letter-spacing: -1.7px; }
.price-arrow { color: #176da2; font-size: 20px; }
.discount-caption { margin: 8px 0 15px !important; font-size: 10px !important; color: #506c86 !important; }
.discount-toast { position: fixed; z-index: 100; right: 22px; top: 22px; max-width: min(360px,calc(100vw - 32px)); display: flex; align-items: center; gap: 13px; padding: 17px 18px; border-radius: 13px; background: linear-gradient(120deg,#092c55,#165884); color: #fff; border: 1px solid #7ab1d6; box-shadow: 0 16px 40px #0c2b4c54; font-size: 14px; line-height: 1.45; animation: toast-in .45s ease-out both; }
.discount-toast strong { color: #ffdb9c; font-size: 17px; }
.toast-confetti { font-size: 28px; }
.discount-toast button { margin-left: auto; align-self: flex-start; padding: 0 2px; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; }
.landing-library { min-width: 0; margin: 0; padding: 18px; border: 1px solid #ffffff1c; border-radius: 16px; background: #10253b; box-shadow: 0 16px 48px #020b1730; }
.library-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 2px 2px 16px; }
.landing-library-kicker { font-size: 10px; letter-spacing: 1.2px; font-weight: 600; color: #adc6db; }
.library-count { flex-shrink: 0; border: 1px solid #ffffff22; color: #c8dceb; padding: 4px 9px; font-size: 11px; border-radius: 5px; }
.landing-library-copy { padding: 18px 4px 4px; color: #fff; }
.landing-library h2 { font-size: 19px; line-height: 1.35; letter-spacing: -.35px; font-weight: 500; margin: 0 0 7px; color: #eef5fc; }
.landing-library p { font-size: 13px; color: #aebfd0; margin: 0; }
.book-stage { position: relative; isolation: isolate; aspect-ratio: 3/2; overflow: visible; }
.book-stage > img { display: block; width: 100%; height: 100%; object-fit: fill; }
.book-interactions { position: absolute; inset: 0; pointer-events: none; }
.book-depth { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: url('../../assets/mockup-biblioteca-navy.png') center/100% 100% no-repeat; clip-path: var(--clip); pointer-events: auto; cursor: pointer; transition: transform .25s ease,filter .25s ease; transform-origin: center; filter: drop-shadow(0 0 0 transparent); }
.book-depth:hover, .book-depth:focus-visible { z-index: 2; transform: translateY(-1.25%); filter: drop-shadow(0 14px 10px #000b1d90) brightness(1.1); }
.book-depth:active { transform: translateY(-.6%); }
@keyframes cta-bounce {
  0%,68%,86%,100% { transform: translateY(0); }
  74% { transform: translateY(-2px); }
  80% { transform: translateY(0); }
  83% { transform: translateY(-1px); }
}
@keyframes cta-shine { 0%,52% { left: -65%; } 75%,100% { left: 135%; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.gallery-dialog { width: min(780px,calc(100vw - 32px)); max-width: 780px; max-height: calc(100dvh - 32px); padding: 28px; overflow: auto; border: 1px solid #cbd8e5; border-radius: 14px; background: #f8fafc; }
.gallery-dialog .dialog-close { position: sticky; float: right; top: 0; width: 44px; height: 44px; margin: -10px -10px 0 0; z-index: 1; border-radius: 50%; background: #edf2f7; }
.gallery-dialog h2 { padding-right: 40px; margin-top: 8px; }
.gallery-print { max-width: 640px; margin: 20px auto 0; overflow: hidden; border: 1px solid #cbd8e5; border-radius: 8px; background: #171819; }
.gallery-print img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) and (max-width: 1023px) {
  .landing { padding-left: 32px; padding-right: 32px; }
  .hero { gap: 28px; }
  .hero h1 { font-size: 40px; }
  .proof-cards { grid-template-columns: 1fr; }
  .quote-card { grid-template-columns: 148px minmax(0,1fr); }
  .section-heading { align-items: start; }
  .landing-next { flex-direction: column; align-items: start; }
}
@media (max-width: 767px) {
  header { padding: 20px 24px; }
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .landing { padding: 36px 24px 40px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(34px,7vw,44px); letter-spacing: -1.2px; }
  .hero-copy > p, .hero-copy .lead { max-width: none; font-size: 15px; }
  .hero .primary { width: 100%; font-size: 14px; }
  .micro { gap: 12px 18px; }
  .proof { padding-top: 28px; margin-top: 36px; }
  .section-heading { flex-direction: column; align-items: start; gap: 14px; }
  .section-heading > p { max-width: none; }
  .proof-cards { grid-template-columns: 1fr; }
  .quote-card { grid-template-columns: 112px minmax(0,1fr); gap: 16px; padding: 18px; }
  .testimonial-thumbnail { height: 190px; }
  .quote-excerpt { font-size: 18px; }
  .quote-context { display: none; }
  .quote-person strong { font-size: 11px; }
  .quote-person small { font-size: 10px; }
  .journey { margin-top: 40px; }
  .how { gap: 0; }
  .how-item { padding: 20px 0; }
  .how h3 { font-size: 16px; }
  .how p { font-size: 14px; }
  .landing-next { flex-direction: column; align-items: start; gap: 24px; padding: 24px; margin-top: 24px; }
  .landing-next h2 { font-size: 24px; }
  .landing-next .primary { width: 100%; font-size: 14px; }
  .option:has(input:checked) { padding: 12px 11px; }
  .flow-nudge { font-size: 11px; }
  .progress-head { gap: 18px; font-size: 10px; }
  .progress-head > span { max-width: 160px; text-align: right; }
  .value-strip { gap: 8px 14px; }
  .purchase-tag { font-size: 7px; letter-spacing: .7px; }
  .quiz-shell, .center-screen, .result, .legal { margin: 14px 10px 30px; border-radius: 18px; }
  footer { margin: 10px 14px 0; padding-left: 10px; padding-right: 10px; }
  .discount-toast { top: 12px; right: 12px; left: 12px; max-width: none; }
  .price-comparison { gap: 6px 9px; }
  .price-comparison > span:first-child { font-size: 16px; }
  .price-comparison strong { font-size: 34px; }
  .price-arrow { display: none; }
  .landing-library { padding: 14px; margin: 0; border-radius: 14px; }
  .landing-library-copy { padding: 16px 2px 2px; }
  .gallery-dialog { padding: 20px; }
}
@media (max-width: 380px) {
  .landing { padding-left: 18px; padding-right: 18px; }
  .quote-card { grid-template-columns: 88px minmax(0,1fr); gap: 12px; padding: 14px; }
  .testimonial-thumbnail { height: 172px; }
  .quote-excerpt { font-size: 17px; }
  .quote-person { gap: 7px; }
  .person-placeholder { display: none; }
}
