/* Dose OAB site: the app's warm paper background, indigo brand and serif display. */
:root {
  --bg: #F7F5F0;
  --bg-tint: #EFECE4;
  --card: #FFFFFF;
  --text: #1C1B17;
  --secondary: #6B6760;
  --separator: #E6E1D7;
  --brand: #4338CA;
  --brand-hover: #3730A3;
  --brand-tint: #EEF0FB;
  --brand-ink: #2B2680;
  --success: #1F7A4D;
  --warning: #B45309;
  --error: #B42318;
  --dark: #16143A;
  --dark-card: #221F52;
  --dark-text: #F2F0FF;
  --dark-secondary: #B9B5E6;
  --shadow: 0 1px 2px rgba(28, 27, 23, .05), 0 8px 28px rgba(28, 27, 23, .07);
  --shadow-phone: 0 30px 60px -18px rgba(22, 20, 58, .38), 0 12px 24px -12px rgba(22, 20, 58, .25);
  --radius: 22px;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14130F;
    --bg-tint: #1B1A15;
    --card: #1F1D18;
    --text: #F2EFE8;
    --secondary: #A8A399;
    --separator: #2E2B25;
    --brand: #818CF8;
    --brand-hover: #A5B4FC;
    --brand-tint: #23214A;
    --brand-ink: #D3D5FA;
    --success: #4ADE80;
    --warning: #FBBF24;
    --error: #F87171;
    --dark: #100E2B;
    --dark-card: #1C1947;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--sans); }
a { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 20px var(--serif); color: var(--text); text-decoration: none;
}
.brand img { border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 600 16px var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(67, 56, 202, .55); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-secondary { background: var(--brand-tint); color: var(--brand-ink); }
.btn-secondary:hover { filter: brightness(.97); }
.btn-light { background: #fff; color: #2B2680; }
.btn-light:hover { background: #EEF0FB; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn:disabled { opacity: .6; cursor: wait; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #14130F; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--separator); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.header-nav { display: flex; gap: 28px; margin-left: auto; }
.header-nav a { color: var(--secondary); text-decoration: none; font-size: 15px; font-weight: 500; }
.header-nav a:hover { color: var(--text); }
@media (max-width: 820px) {
  .header-nav { display: none; }
  .header-row .btn { margin-left: auto; }
}

/* Reveal on scroll (only with JS, never hides content without it) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Phones: real app screenshots in a device frame */
.phone {
  margin: 0; width: 290px; aspect-ratio: 660 / 1434; padding: 9px;
  border-radius: 48px; background: #0E0E12; box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 39px; }
.phone-small { width: 230px; border-radius: 40px; padding: 7px; }
.phone-small img { border-radius: 33px; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 7px 14px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink);
  font-size: 14px; font-weight: 600;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); margin: 0 0 20px; }
.hero h1 em { font-style: italic; color: var(--brand); }
.lead { font-size: 19px; color: var(--secondary); margin: 0 0 28px; max-width: 34em; }
.hero-assurances { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--secondary); }
.hero-assurances li::before { content: "✓"; color: var(--success); font-weight: 700; margin-right: 7px; }

.hero-visual { position: relative; height: 640px; }
.hero-visual .phone { position: absolute; }
.phone-front { left: 6%; top: 40px; z-index: 2; }
.phone-back { right: 0; top: 0; width: 262px; transform: rotate(5deg); opacity: .96; }
.notification {
  position: absolute; z-index: 3; left: -4%; top: 0; width: 320px;
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px;
  background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(12px);
  border: 1px solid var(--separator); border-radius: 20px; box-shadow: var(--shadow);
  animation: drop 0.8s .3s both cubic-bezier(.2, .9, .3, 1.2);
}
.notification img { border-radius: 9px; flex: none; }
.notification p { margin: 0; font-size: 13.5px; line-height: 1.4; }
.notification-top { display: flex; justify-content: space-between; margin-bottom: 2px !important; }
.notification-top span { color: var(--secondary); font-size: 12.5px; }
.float-chip {
  position: absolute; z-index: 3; right: 4%; bottom: 36px; margin: 0;
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px;
  background: var(--card); border: 1px solid var(--separator); border-radius: 999px;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 600;
}
.check { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--success); color: #fff; font-size: 12px; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .notification { animation: none; } }

@media (max-width: 960px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone-front { left: 0; top: 60px; width: 250px; }
  .phone-back { width: 225px; }
  .notification { left: 0; right: 0; margin: 0 auto; width: min(330px, 100%); }
}
@media (max-width: 420px) {
  .hero-visual { height: 500px; }
  .phone-front { width: 215px; }
  .phone-back { width: 190px; }
  .float-chip { right: 0; bottom: 10px; }
}

/* Waitlist form */
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
.waitlist input[type="email"] {
  flex: 1 1 240px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--separator); background: var(--card); color: var(--text);
  font: 16px var(--sans); box-shadow: var(--shadow);
}
.waitlist input[type="email"]:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.waitlist .btn { min-height: 52px; flex: 0 0 auto; }
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { flex-basis: 100%; margin: 2px 0 0 8px; min-height: 1.4em; font-size: 14.5px; color: var(--secondary); }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="ok"] { color: var(--success); font-weight: 600; }
.waitlist.is-done input, .waitlist.is-done button { display: none; }
.waitlist.is-done .form-status { margin-left: 0; font-size: 16px; }
@media (max-width: 520px) { .waitlist .btn { flex-basis: 100%; } }

/* Numbers */
.proof { border-top: 1px solid var(--separator); border-bottom: 1px solid var(--separator); background: var(--card); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { padding: 30px 20px; text-align: center; border-left: 1px solid var(--separator); }
.proof-grid div:first-child { border-left: 0; }
.proof strong { display: block; font: 700 40px/1.1 var(--serif); color: var(--brand); }
.proof span { display: block; margin-top: 6px; font-size: 14px; color: var(--secondary); }
@media (max-width: 760px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div:nth-child(3) { border-left: 0; }
  .proof-grid div:nth-child(n+3) { border-top: 1px solid var(--separator); }
}

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 16px; }
.section-lead { margin: 0; font-size: 18px; color: var(--secondary); }
@media (max-width: 760px) { .section { padding: 68px 0; } .section-head { margin-bottom: 36px; } }

.card, .bento-card {
  background: var(--card); border: 1px solid var(--separator); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3, .bento-card h3 { font-size: 21px; margin: 12px 0 8px; }
.card p, .bento-card p { margin: 0; color: var(--secondary); font-size: 16px; }
.card-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bridge { text-align: center; font-size: 20px; margin: 44px auto 0; max-width: 30em; }
.bridge strong { color: var(--brand); }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step .phone { margin: 0 auto 28px; }
.step-number {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
}
@media (prefers-color-scheme: dark) { .step-number { color: #14130F; } }
.step h3 { font-size: 22px; margin: 12px 0 6px; }
.step p { margin: 0 auto; color: var(--secondary); max-width: 20em; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 56px; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento-wide {
  grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: end; overflow: hidden; padding-bottom: 0;
  background: linear-gradient(160deg, var(--brand-tint), var(--card) 70%);
}
.bento-wide .bento-text { align-self: start; padding-bottom: 26px; }
.bento-wide h3 { font-size: 28px; }
.phone-crop { width: 250px; height: 380px; aspect-ratio: auto; border-radius: 40px 40px 0 0; padding-bottom: 0; box-shadow: none; }
.phone-crop img { border-radius: 32px 32px 0 0; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; grid-template-columns: 1fr; }
  .phone-crop { margin: 0 auto; width: 230px; height: 330px; }
}

/* Second phase (dark) */
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark .eyebrow { color: #A5B4FC; }
.section-dark .section-lead, .section-dark p { color: var(--dark-secondary); }
.grading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; margin-bottom: 80px; }
.grading-card {
  background: #fff; color: #1C1B17; border-radius: 24px; padding: 26px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.grading-card p { color: #6B6760; }
.grading-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { padding: 5px 11px; border-radius: 8px; background: #EEF0FB; color: #2B2680; font-size: 13px; font-weight: 600; }
.grading-score { font: 700 28px var(--serif); color: #B45309; white-space: nowrap; }
.grading-score small { font: 500 14px var(--sans); color: #6B6760; }
.grading-exam { margin: 10px 0 6px; font-size: 14px; }
.grading-item { border-top: 1px solid #E6E1D7; padding: 16px 0 4px; }
.grading-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15.5px; }
.points { font-weight: 700; white-space: nowrap; }
.points.full { color: #1F7A4D; }
.points.partial { color: #B45309; }
.grading-bar { height: 7px; border-radius: 99px; background: #EFECE4; margin: 10px 0; overflow: hidden; }
.grading-bar span { display: block; height: 100%; border-radius: inherit; background: #1F7A4D; }
.grading-bar .partial { background: #D97706; }
.grading-item p { margin: 0; font-size: 15px; line-height: 1.5; }
.grading-foot { margin: 14px 0 0; font-size: 13px; }
.grading-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.grading-points li { padding-left: 34px; position: relative; font-size: 17px; color: var(--dark-secondary); }
.grading-points li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center;
  width: 23px; height: 23px; border-radius: 50%; background: #4338CA; color: #fff; font-size: 12px; font-weight: 700;
}
.grading-points strong { color: var(--dark-text); }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool { background: var(--dark-card); border-radius: var(--radius); padding: 30px 26px 26px; text-align: center; }
.tool .phone { margin: 0 auto 24px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.tool h3 { font-size: 22px; margin: 0 0 8px; color: var(--dark-text); }
.tool p { margin: 0; font-size: 16px; }
.areas { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.areas li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(165, 180, 252, .35); color: var(--dark-text); font-size: 15px; }
.section-dark .fine { text-align: center; margin: 22px 0 0; font-size: 14px; }
@media (max-width: 960px) {
  .grading { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* Before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.compare-col { border-radius: var(--radius); padding: 30px; }
.compare-col h3 { margin: 0 0 16px; font-size: 22px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.compare-col li { padding-left: 30px; position: relative; }
.compare-before { background: var(--bg-tint); color: var(--secondary); }
.compare-before li::before { content: "✕"; position: absolute; left: 4px; color: var(--error); font-weight: 700; }
.compare-after { background: var(--card); border: 2px solid var(--brand); box-shadow: var(--shadow); }
.compare-after li::before { content: "✓"; position: absolute; left: 4px; color: var(--success); font-weight: 700; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 22px; }
.plan {
  position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--separator); border-radius: 26px; padding: 32px 28px; box-shadow: var(--shadow);
}
.plan h3 { margin: 0; font-size: 22px; }
.price { margin: 14px 0 4px; font: 700 46px/1 var(--serif); }
.currency { font-size: 20px; margin-right: 4px; vertical-align: 16px; }
.period { font: 500 16px var(--sans); color: var(--secondary); margin-left: 4px; }
.plan-note { margin: 0 0 22px; color: var(--secondary); font-size: 15px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; }
.plan-features li { padding-left: 28px; position: relative; font-size: 15.5px; }
.plan-features li::before { content: "✓"; position: absolute; left: 2px; color: var(--success); font-weight: 700; }
.plan-featured { border: 2px solid var(--brand); }
.plan-badge {
  position: absolute; top: -14px; left: 28px; margin: 0; padding: 5px 13px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
}
@media (prefers-color-scheme: dark) { .plan-badge { color: #14130F; } }
.fine { font-size: 14px; color: var(--secondary); }
.center { text-align: center; margin-top: 26px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--separator); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--brand); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--secondary); }

/* Final CTA */
.final { padding: 0 0 96px; }
.final-inner {
  background: linear-gradient(135deg, #4338CA, #2B2680); color: #fff; border-radius: 32px;
  padding: 64px 32px; text-align: center; max-width: 1100px;
}
.final h2 { font-size: clamp(30px, 4.4vw, 48px); margin: 0 0 12px; }
.final p { margin: 0 auto 28px; color: #D9DBFA; font-size: 18px; max-width: 32em; }
.final .waitlist { margin: 0 auto; justify-content: center; }
.final .waitlist input[type="email"] { border-color: transparent; background: #fff; color: #1C1B17; }
.final .form-status { text-align: center; margin-left: 0; color: #D9DBFA; }
.final .form-status[data-state="ok"] { color: #fff; }
.final .form-status[data-state="error"] { color: #FECACA; }
.final-fine { font-size: 13.5px !important; margin: 18px auto 0 !important; }
.final-fine a { color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--separator); padding: 48px 0 40px; color: var(--secondary); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid p { margin: 10px 0 0; }
.footer-grid nav { display: flex; flex-direction: column; gap: 8px; }
.footer-grid h4 { margin: 0 0 4px; color: var(--text); font-size: 14px; }
.footer-grid nav a { color: var(--secondary); text-decoration: none; overflow-wrap: anywhere; }
.footer-grid nav a:hover { color: var(--text); }
.footer-fine { margin-top: 36px; font-size: 13.5px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div { grid-column: span 2; } }

/* Documents (suporte, termos, privacidade) */
.doc { max-width: 780px; margin: 0 auto; padding: 24px 20px 48px; }
.doc h1 { font-size: clamp(30px, 6vw, 42px); margin: .6em 0 .4em; }
.doc h2 { font-size: 26px; margin: 1.8em 0 .4em; }
.doc h3 { font-size: 19px; margin: 1.4em 0 .3em; }
.doc .lead { font-size: 19px; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--separator); vertical-align: top; }
.doc th { color: var(--secondary); font-weight: 600; }
.doc a { overflow-wrap: anywhere; }
