@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b2545;
  --navy-soft: #13315c;
  --accent: #0f9d8a;
  --accent-dark: #0b7a6b;
  --accent-soft: #e3f6f3;
  --text: #1c2733;
  --muted: #5d6b7a;
  --border: #dde3ea;
  --bg: #f6f8fa;
  --white: #fff;
  --danger: #b42318;
  --radius: 22px;
  --ink: #0b2545;
  --line: rgba(11, 37, 69, .09);
  --line-strong: rgba(11, 37, 69, .16);
  --ease: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
body.has-bar { padding-bottom: 76px; }

a { color: var(--accent-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 640px; }

/* ---------- Header ---------- */
.utility { background: var(--navy); color: #cfe0f3; font-size: .8rem; padding: 6px 0; }
.utility .container { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.15rem; }
.logo-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 1.3rem; line-height: 1; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--accent-dark); }
.selection-pill { background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.selection-pill[hidden] { display: none; }

/* ---------- Page head ---------- */
.page-head { background: linear-gradient(180deg, #eaf4f3, var(--bg)); padding: 28px 0 24px; }
.page-head.compact { padding-bottom: 8px; }
.page-head h1 { font-size: 2rem; margin: 8px 0; max-width: 720px; }
.page-head p { max-width: 640px; color: var(--muted); margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 4px; }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 8px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.sort select { font: inherit; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); color: var(--text); }
.result-count { color: var(--muted); font-size: .85rem; margin: 0 0 12px; }

/* ---------- Test cards ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.test-card { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color .15s, box-shadow .15s; }
.test-card:hover { box-shadow: 0 6px 20px rgba(11, 37, 69, .08); }
.test-card.is-selected { border-color: var(--accent); background: #fbfffe; }
.eyebrow { margin: 0 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }
.test-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.desc { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }
.includes { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.includes li { background: var(--accent-soft); color: var(--accent-dark); font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.card-btn { margin-top: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; text-align: center; text-decoration: none; padding: 12px 20px; font: inherit; font-weight: 700; color: #fff; background: var(--navy); border: 0; border-radius: 10px; cursor: pointer; }
.btn:hover { background: var(--navy-soft); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.block { display: block; width: 100%; margin-top: 16px; }
.btn.selected { background: var(--accent); }
.btn.selected:hover { background: var(--accent-dark); }
.card-btn { width: 100%; }

/* ---------- Selection bar ---------- */
.selection-bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 12px 0; z-index: 20; }
.selection-bar[hidden] { display: none; }
.bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Sections ---------- */
.band { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; margin-bottom: 40px; }
.band h2, .faq h2 { margin: 0 0 20px; font-size: 1.5rem; }
.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { display: flex; gap: 14px; align-items: flex-start; }
.how p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.num { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; }

.faq { margin-bottom: 48px; padding-top: 40px; }
.faq h2, .faq details { max-width: 760px; }
details { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cfe0f3; padding: 28px 0 36px; font-size: .85rem; }
.site-footer a { color: #fff; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin: 0 0 6px; }
.footer-contact { margin: 0 0 12px; }
.disclaimer { margin: 0; max-width: 640px; opacity: .85; }

/* ---------- Signup page ---------- */
.card { background: var(--white); border-radius: var(--radius); padding: 24px 20px; margin: 16px 0 48px; border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(11, 37, 69, .06); }
.summary { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 22px; background: var(--bg); }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.summary h2 { margin: 0; font-size: 1rem; }
.summary-head a { font-size: .85rem; font-weight: 600; }
.summary ul { list-style: none; margin: 10px 0 0; padding: 0; }
.summary li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--border); font-weight: 600; }
.summary li.empty { font-weight: 400; color: var(--muted); }
.remove { font: inherit; font-size: .8rem; color: var(--danger); background: none; border: 0; cursor: pointer; text-decoration: underline; }

.field { margin-bottom: 14px; flex: 1; }
.row { display: flex; gap: 12px; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
input:not([type=checkbox]), textarea { width: 100%; padding: 12px; font: inherit; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.invalid { border-color: var(--danger) !important; }
.error { display: block; color: var(--danger); font-size: .82rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: normal; font-size: .85rem; color: var(--muted); margin: 16px 0 4px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }

#success { text-align: center; padding: 16px 0; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 2rem; }

@media (max-width: 560px) {
  .nav { display: none; }
  .selection-pill { margin-left: auto; }
  .page-head h1 { font-size: 1.55rem; }
  .row { flex-direction: column; gap: 0; }
}

/* ---------- Product page ---------- */
.product-hero { background: linear-gradient(180deg, #eaf4f3, var(--bg)); padding: 36px 0 40px; }
.hero-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.product-hero h1 { font-size: 2.1rem; margin: 6px 0 12px; }
.lead { font-size: 1.05rem; color: var(--muted); margin: 0 0 16px; }
.highlights { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.highlights li { padding-left: 28px; position: relative; font-weight: 600; }
.highlights li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .75rem; display: grid; place-items: center; }
.btn.big { padding: 15px 28px; font-size: 1.05rem; }
.btn.small { padding: 9px 16px; font-size: .88rem; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: #eaf4f3; }
.small-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.summary-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 20px rgba(11, 37, 69, .06); }
.summary-card h2 { margin: 0 0 8px; font-size: 1.05rem; }
.summary-card ul { list-style: none; margin: 0; padding: 0; }
.summary-card li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--border); font-size: .92rem; }
.summary-card li:first-child { border-top: 0; }
.summary-card strong { color: var(--accent-dark); font-weight: 700; }

.section { padding: 40px 16px 8px; }
.section h2, .band h2, .cta-band h2 { margin: 0 0 8px; font-size: 1.5rem; }
.section-intro { color: var(--muted); margin: 0 0 20px; }
.groups { display: grid; gap: 14px; margin-bottom: 32px; }
@media (min-width: 640px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .groups { grid-template-columns: repeat(3, 1fr); } }
.group { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.group h3 { margin: 0 0 10px; font-size: 1.05rem; }
.group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.group li { background: var(--accent-soft); color: var(--accent-dark); font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }

.two-col { display: grid; gap: 20px; align-items: start; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1.2fr 1fr; gap: 40px; } }
.reasons { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.notice { background: var(--bg); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 16px; margin: 0; color: var(--muted); font-size: .92rem; }

.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 44px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f3; margin: 0 0 20px; }

/* ---------- Home: product cards ---------- */
.page-head .badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.page-head .badges li { background: var(--accent-soft); color: var(--accent-dark); padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.products { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 760px) { .products { grid-template-columns: repeat(2, 1fr); } }
.product-card { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color .15s, box-shadow .15s; }
.product-card:hover { box-shadow: 0 6px 20px rgba(11, 37, 69, .08); }
.product-card.is-selected { border-color: var(--accent); background: #fbfffe; }
.product-card h3 { margin: 0 0 8px; font-size: 1.3rem; }
.card-actions { display: flex; gap: 10px; margin-top: auto; }
.card-actions .btn { flex: 1; }
.btn.secondary { background: #e8edf2; color: var(--navy); }
.btn.secondary:hover { background: #d9e1e9; }

/* ---------- Collection options ---------- */
.groups.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .groups.two { grid-template-columns: repeat(2, 1fr); } }
.group .desc { margin: 0; color: var(--muted); font-size: .92rem; }
fieldset.collection { border: 0; padding: 0; margin: 0 0 14px; }
fieldset.collection legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: normal; padding: 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.radio input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }
.radio strong { display: block; }
.radio small { color: var(--muted); }
.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.group-title { margin-top: 8px; }
.section h2 { margin-top: 0; }

/* ---------- Prices ---------- */
.price { margin: 0 0 14px; font-size: 1.5rem; color: var(--navy); }
.price strong { font-weight: 800; }
.price.big { font-size: 2rem; margin: 0 0 16px; }
.summary li .item-price { margin-left: auto; font-weight: 700; color: var(--navy); }
.summary li.total { font-size: 1.05rem; color: var(--navy); }
.pay-note { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }


/* =====================================================
   Accounts: login, "Minha conta", form helpers
   ===================================================== */
.account-link { margin-left: 4px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--navy); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.account-link:hover { border-color: var(--accent); color: var(--accent-dark); }
.selection-pill + .account-link { margin-left: 0; }
@media (max-width: 560px) {
  .logo { margin-right: auto; }
  .selection-pill { margin-left: 0; }
}

.field-help { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; }
.login-hint { margin: 0 0 16px; font-size: .9rem; color: var(--muted); }
.login-hint a { font-weight: 700; }
.auth-note { margin: 18px 0 0; font-size: .88rem; color: var(--muted); }
.ok { display: block; color: var(--accent-dark); font-size: .88rem; margin: 4px 0 10px; }

.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row .radio { flex: 1 1 150px; margin: 0; }

.account-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 8px; }
.account-actions .btn { padding: 10px 18px; }
.account-title { margin: 24px 0 12px; font-size: 1.3rem; }
.account .empty { color: var(--muted); }

.request { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.request-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.request-date { font-weight: 700; color: var(--navy); }
.request-status { margin: 6px 0 12px; color: var(--muted); font-size: .92rem; }
.request-exams { list-style: none; padding: 0; margin: 0 0 12px; }
.request-exams li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); }
.request-exams li strong { white-space: nowrap; }
.request-exams li.total { font-size: 1.05rem; color: var(--navy); }
.request-prefs { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 10px; font-size: .9rem; }
.request-prefs dt { color: var(--muted); }
.request-prefs dd { margin: 0; }
.request-pay { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }

.badge { padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.badge.new { background: #fee2e2; color: #991b1b; }
.badge.contacted { background: #fef3c7; color: #92400e; }
.badge.booked { background: #dbeafe; color: #1e40af; }
.badge.done { background: #dcfce7; color: #166534; }
.badge.cancelled { background: #e5e7eb; color: #374151; }

.password-box { margin-top: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.password-box summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.password-box form { margin-top: 14px; }
.account { padding-bottom: 56px; }

/* =====================================================
   Quote page (/c/<token>) and quote link in Minha conta
   ===================================================== */
.quote-page { padding-bottom: 56px; }
.q-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.q-card h2, .q-heading { margin: 0 0 10px; font-size: 1.2rem; }
.q-heading { margin: 20px 0 12px; }
.q-exams { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 4px; font-weight: 600; color: var(--navy); }
.q-message { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 14px; margin: 0 0 8px; white-space: pre-wrap; }

.q-options { display: grid; gap: 12px; margin-bottom: 18px; }
.q-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius); background: var(--white); cursor: pointer; font-weight: normal; margin: 0; }
.q-option:hover { border-color: var(--accent); }
.q-option:has(input:checked), .q-option.chosen { border-color: var(--accent); background: #fbfffe; }
.q-option input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }
.q-body { flex: 1; min-width: 0; }
.q-name { display: block; font-size: 1.1rem; color: var(--navy); }
.q-address, .q-notes { display: block; color: var(--muted); font-size: .9rem; }
.q-price { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border); font-size: .92rem; }
.q-price dt { color: var(--muted); }
.q-price dd { margin: 0; text-align: right; font-weight: 600; }
.q-price .q-total { color: var(--navy); font-size: 1.15rem; font-weight: 800; }
.q-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.q-fineprint { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }
#qResult .q-option { cursor: default; margin-top: 12px; }

.request-quote { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--accent-soft); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.request-quote strong { color: var(--accent-dark); }
.request-quote .btn { padding: 8px 16px; }

/* =====================================================
   Legal pages and cookie notice
   ===================================================== */
.legal { padding-bottom: 56px; }
.legal h2 { margin: 32px 0 8px; font-size: 1.25rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.footer-links { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { color: #fff; font-weight: 600; font-size: .88rem; }

.cookie-banner { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; padding: 18px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(11, 37, 69, .22); }
.cookie-banner p { margin: 6px 0 0; font-size: .92rem; color: var(--text); }
.cookie-title { color: var(--navy); font-size: 1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.btn.compact { padding: 10px 16px; font-size: .9rem; }
.cookie-link { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--accent-dark); text-decoration: underline; cursor: pointer; }
.cookie-panel { margin-top: 12px; display: grid; gap: 8px; }
.cookie-panel[hidden] { display: none; }
.cookie-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-weight: normal; margin: 0; cursor: pointer; }
.cookie-row input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }
.cookie-row strong { display: block; color: var(--navy); }
.cookie-row small { color: var(--muted); }
.cookie-panel .btn { justify-self: start; }
@media (max-width: 560px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-actions .btn { flex: 1 1 100%; }
}


/* =====================================================
   Design v2: floating pill header, pill buttons, soft cards.
   Same palette as before (navy + teal), new shapes and layout.
   Later rules intentionally override the older ones above.
   ===================================================== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { letter-spacing: -0.03em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; text-wrap: balance; }

/* Icons: Phosphor light, tinted by currentColor */
.ic { display: inline-block; width: 1.25em; height: 1.25em; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.i-arrow-up-right { --m: url(/icons/arrow-up-right.svg); }
.i-arrow-right { --m: url(/icons/arrow-right.svg); }
.i-check { --m: url(/icons/check.svg); }
.i-plus { --m: url(/icons/plus.svg); }
.i-minus { --m: url(/icons/minus.svg); }
.i-translate { --m: url(/icons/translate.svg); }
.i-map-pin { --m: url(/icons/map-pin.svg); }
.i-tag { --m: url(/icons/tag.svg); }
.i-shield-check { --m: url(/icons/shield-check.svg); }
.i-flask { --m: url(/icons/flask.svg); }
.i-clipboard-text { --m: url(/icons/clipboard-text.svg); }
.i-whatsapp-logo { --m: url(/icons/whatsapp-logo.svg); }

/* Header: a floating pill that stays on screen */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; background: none; border: 0; pointer-events: none; }
.header-inner { pointer-events: auto; max-width: 980px; width: calc(100% - 24px); margin: 0 auto; min-height: 64px; padding: 0 8px 0 20px; gap: 14px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line); border-radius: 999px; }
.logo { font-weight: 700; letter-spacing: -0.02em; font-size: 1rem; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; }
.nav { gap: 26px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .94rem; transition: color .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.selection-pill { padding: 10px 16px; font-weight: 600; }
.account-link { padding: 10px 18px; background: var(--navy); border: 0; color: #fff; font-weight: 600; }
.account-link:hover { background: var(--navy-soft); color: #fff; border: 0; }
body > main > section:first-child, .page-head, .product-hero { padding-top: 112px; }
.page-head, .product-hero { background: none; }
.page-head.compact { padding-bottom: 8px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.product-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.04; }
@media (max-width: 860px) { .nav { display: none; } .logo { margin-right: auto; } }

/* Buttons: pills with generous padding */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; background: var(--navy); transition: transform .5s var(--ease), background .3s var(--ease); }
.btn:active { transform: scale(.98); }
.btn.block { display: flex; }
.btn.big { min-height: 58px; padding: 0 32px; font-size: 1.02rem; }
.btn.small, .btn.compact { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn.secondary { background: #e4eaf0; }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: none; border: 1px solid var(--line-strong); }
.btn.ghost:hover { background: rgba(11, 37, 69, .05); color: var(--navy); }
.btn.light { background: #fff; color: var(--navy); }
.btn-ico { width: 40px; height: 40px; margin-right: -18px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .5s var(--ease); }
.btn:hover .btn-ico { transform: translate(3px, -2px) scale(1.06); }
.btn.light .btn-ico { background: var(--accent); }

/* Cards and forms: larger radii, hairline borders, soft shadows */
.test-card, .product-card, .summary-card, .group, .card, .request, .q-card, .password-box { border-radius: var(--radius); border-width: 1px; }
.test-card, .product-card { border: 1px solid var(--line); padding: 24px; }
.test-card.is-selected, .product-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: #fff; }
.test-card:hover { box-shadow: 0 30px 60px -34px rgba(11, 37, 69, .3); }
.card, .summary-card { box-shadow: 0 30px 60px -36px rgba(11, 37, 69, .22); border-color: var(--line); }
.q-option { border-width: 1px; border-radius: var(--radius); }
.q-option:has(input:checked), .q-option.chosen { box-shadow: 0 0 0 1px var(--accent); background: #fff; }
.radio { border-radius: 16px; }
input:not([type=checkbox]), textarea, .sort select { border-radius: 14px; padding: 13px 14px; border-color: var(--line-strong); }
.chip { border-radius: 999px; padding: 9px 16px; font-weight: 500; }
.num { background: var(--navy); }
.includes li, .group li, .page-head .badges li { background: rgba(15, 157, 138, .1); }
.summary { border-radius: 18px; }
.notice { border-radius: 14px; }
.band { border-radius: 0; }
.selection-bar { left: 12px; right: 12px; bottom: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 12px 10px 24px; box-shadow: 0 20px 50px -20px rgba(11, 37, 69, .35); }
.eyebrow { font-size: .74rem; letter-spacing: .12em; font-weight: 600; }

/* FAQ: hairline rows instead of boxes */
.faq details { background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 0; margin: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 600; letter-spacing: -0.015em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; flex: none; background: var(--accent-dark); -webkit-mask: url(/icons/plus.svg) center / contain no-repeat; mask: url(/icons/plus.svg) center / contain no-repeat; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 24px; max-width: 62ch; }
.faq h2, .faq details { max-width: none; }
.faq-split { max-width: 1240px; }

/* Closing panel on home and product pages */
.cta-band { max-width: 1192px; width: calc(100% - 32px); margin: 40px auto 24px; border-radius: 40px; padding: clamp(48px, 7vw, 96px) 24px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 700px; height: 480px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(15, 157, 138, .45), transparent); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; margin: 0 auto 14px; }
.cta-band p { color: #b7c6d9; }

/* Footer */
.site-footer { padding: 40px 0 44px; }

/* =====================================================
   Home page
   ===================================================== */
.container.wide { max-width: 1240px; padding: 0 24px; }
.home-hero { padding: 150px 0 40px; }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; min-height: calc(100dvh - 200px); }
.home-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 15ch; margin: 0 0 26px; }
.home-hero .lead { max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-preview { display: grid; padding: 10px 0; }
.hcard { display: block; width: min(430px, 100%); padding: 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .25); color: var(--text); text-decoration: none; transition: box-shadow .6s var(--ease); animation: floatA 9s var(--ease) infinite alternate; }
.hcard:hover { box-shadow: 0 40px 70px -30px rgba(11, 37, 69, .35); }
.hcard-top { display: block; font-size: .82rem; color: var(--muted); }
.hcard h3 { margin: 6px 0 22px; font-size: 1.3rem; line-height: 1.2; font-weight: 600; color: var(--navy); }
.hcard-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hcard-price { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .8rem; color: var(--muted); white-space: nowrap; }
.hc1 { justify-self: end; }
.hc2 { justify-self: start; margin: -30px 0 0 6%; animation-delay: -3s; }
.hc3 { justify-self: end; margin: -30px 4% 0 0; animation-delay: -6s; }
@keyframes floatA { to { transform: translateY(-8px); } }

.facts { background: none; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .ic { font-size: 26px; margin-top: 2px; color: var(--accent-dark); }
.fact strong { display: block; font-weight: 600; color: var(--navy); }
.fact span:not(.ic) { font-size: .88rem; color: var(--muted); }

.sec { padding: clamp(80px, 10vw, 150px) 0; }
.sec.tight { padding-top: 0; }
.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.story-head { position: sticky; top: 120px; }
.story-head h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.06; margin: 0; }
.story-head p { margin: 22px 0 0; color: var(--muted); max-width: 42ch; }
.pair { padding: 30px 0; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; }
.pair:last-child { border-bottom: 1px solid var(--line-strong); }
.pair .pb { margin: 0; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(11, 37, 69, .25); }
.pair .pa { margin: 0; max-width: 34ch; font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 550; letter-spacing: -0.02em; color: var(--navy); }

.exams-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.exams-head h2, .how-head h2, .faq-head h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.06; margin: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tab { height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.tab.active { background: var(--navy); color: #fff; }
.exam-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.exam-row { display: grid; grid-template-columns: 1fr auto 110px 48px; gap: 24px; align-items: center; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 24px; color: var(--text); text-decoration: none; transition: transform .6s var(--ease), border-color .4s var(--ease); }
.exam-row:hover { transform: translateY(-3px); border-color: var(--accent); background: #fff; }
.exam-row-text strong { display: block; font-size: 1.25rem; letter-spacing: -0.025em; color: var(--navy); margin: 0; }
.exam-row-text span { display: block; margin-top: 2px; color: var(--muted); font-size: .95rem; }
.exam-row-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.exam-row-price { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); text-align: right; }
.exam-row-go { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--navy); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s; }
.exam-row:hover .exam-row-go { background: var(--accent); color: #fff; transform: translateX(3px); }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line-strong); list-style: none; padding: 0; }
.how-grid li { padding: 30px 28px 10px 0; }
.how-grid li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.how-n { display: block; font-size: 3.4rem; font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--accent-dark); }
.how-grid h3 { margin: 22px 0 8px; font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.how-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

.faq-split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; padding-top: 0; margin-bottom: 0; }
.faq.faq-split { padding-bottom: clamp(60px, 8vw, 110px); }

@media (max-width: 980px) {
  .home-hero { padding-top: 120px; }
  .home-hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hcard, .hc1, .hc2, .hc3 { width: 100%; justify-self: stretch; margin: 0 0 12px; animation: none; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .story-grid, .faq-split { grid-template-columns: 1fr; gap: 36px; }
  .story-head { position: static; }
  .exam-row { grid-template-columns: 1fr auto; gap: 12px 16px; padding: 24px 20px; }
  .exam-row-tags { grid-column: 1 / -1; justify-content: flex-start; order: 3; }
  .exam-row-go { display: none; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-grid li:nth-child(3) { border-left: 0; padding-left: 0; }
  .how-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .how-grid { grid-template-columns: 1fr; }
  .how-grid li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .hero-actions .btn { flex: 1 1 auto; }
  .btn { min-height: 52px; }
  .header-inner { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hcard { animation: none; }
  .btn, .btn-ico, .exam-row, .exam-row-go, .faq summary::after { transition: none; }
}

/* Scroll reveal: hierarchy. Only added by JS, never under reduced motion. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Product page: four steps in one row */
@media (min-width: 900px) { .how { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

/* Logo */
.logo { padding: 4px 0; }
.logo-img { display: block; height: 32px; width: auto; }
.footer-logo { display: inline-block; margin: 0 0 14px; }
.footer-logo img { display: block; height: 34px; width: auto; }
@media (max-width: 560px) { .logo-img { height: 28px; } }

.audience-tag { display: inline-flex; align-items: center; margin: 0 0 14px; height: 30px; padding: 0 14px; border-radius: 999px; background: #0b2545; color: #fff; font-size: .82rem; font-weight: 600; }
.audience-tag[hidden] { display: none; }

.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--accent-dark); text-decoration: underline; cursor: pointer; }
#emailNotice { margin-bottom: 16px; }

.q-when { display: block; margin-top: 4px; font-size: .92rem; font-weight: 600; color: var(--accent-dark); }

.q-phone { display: block; font-size: .9rem; color: var(--accent-dark); }
