/* ASSURI public site. Trust-first comparator: one navy accent, cool neutrals, sans display, two shadow levels, restrained motion.
   Dials: variance 4, motion 3, density 5. */
:root {
  --brand-900: #0e1d45; --brand-800: #142a63; --brand-700: #1b3a8c; --brand-100: #dfe7f7; --brand-50: #eef2fb;
  --ink-900: #0f1a3a; --ink-700: #3b4663; --ink-500: #5f6a86; --ink-300: #b7bfd1;
  --line: #e3e7f0; --line-strong: #cbd2e1; --surface: #ffffff; --surface-2: #f5f7fb; --bg: #f8f9fc;
  --success-700: #15803d; --success-50: #ecfdf3; --warning-700: #b45309; --warning-50: #fff7ed; --danger-700: #b91c1c; --danger-50: #fef2f2;
  --shadow-1: 0 1px 2px rgba(15,26,58,.06), 0 1px 3px rgba(15,26,58,.04);
  --shadow-2: 0 2px 6px rgba(15,26,58,.06), 0 12px 28px -10px rgba(15,26,58,.18);
  --r-ctl: 12px; --r-box: 16px;
  --display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dur-1: 120ms; --dur-2: 180ms; --dur-3: 240ms; --ease-out: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 24px; color: var(--ink-900); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(1160px, 100% - 48px); } }
@media (min-width: 1024px) { .wrap { width: min(1160px, 100% - 64px); } }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; color: var(--ink-900); text-wrap: balance; }
h1 { font-size: 36px; line-height: 40px; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: 30px; line-height: 34px; letter-spacing: -.015em; }
h3 { font-size: 18px; line-height: 26px; font-family: var(--sans); }
@media (min-width: 768px) { h1 { font-size: 44px; line-height: 48px; } h2 { font-size: 40px; line-height: 44px; } }
.lead { font-size: 17px; line-height: 26px; color: var(--ink-700); max-width: 60ch; margin: 0; }
@media (min-width: 768px) { .lead { font-size: 18px; line-height: 28px; } }
.overline { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); }
.caption { font-size: 13px; line-height: 18px; font-weight: 600; }
section { padding: 56px 0 64px; }
@media (min-width: 768px) { section { padding: 96px 0 104px; } }
.section-head { display: grid; gap: 12px; margin-bottom: 40px; }
.section-head.center { text-align: center; justify-items: center; }
.alt { background: var(--surface-2); }
.white { background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-ctl); font: 700 15px/1 var(--sans); cursor: pointer; white-space: nowrap; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); }
.btn-ghost, .btn-secondary { background: var(--surface); color: var(--ink-900); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-secondary:hover { background: var(--surface-2); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-text { background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sans); color: var(--brand-700); cursor: pointer; }
.btn-text:hover { text-decoration: underline; }
.btn-text svg { width: 16px; height: 16px; }
.link { color: var(--brand-700); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Fields */
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-900); }
.field label small { font-weight: 500; color: var(--ink-500); }
.field input, .field select, .field textarea { font: 500 16px var(--sans); height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); color: var(--ink-900); width: 100%; transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 24px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(27,58,140,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6a86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field .err { display: none; font-size: 13px; line-height: 18px; color: var(--danger-700); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger-700); }
.field.invalid .err { display: flex; gap: 6px; align-items: center; }
.field.invalid .err::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: var(--danger-700); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.prefix { position: relative; }
.prefix span { position: absolute; left: 14px; top: 0; height: 48px; display: flex; align-items: center; font-weight: 600; color: var(--ink-500); pointer-events: none; }
.prefix input { padding-left: 62px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 480px) { .row2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--ink-700); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--brand-700); flex: none; }
.fine { font-size: 13px; line-height: 18px; color: var(--ink-500); margin: 12px 0 0; }

/* Top bar and header */
.topbar { display: none; background: var(--brand-900); color: rgba(255,255,255,.8); font-size: 13px; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: space-between; height: 32px; align-items: center; }
.topbar span { display: inline-flex; gap: 20px; }
.topbar a:hover { color: #fff; }
@media (min-width: 900px) { .topbar { display: block; } }
header.site { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color var(--dur-2); }
header.site.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
@media (min-width: 900px) { .nav { height: 72px; } }
.logo img { height: 26px; width: auto; }
@media (min-width: 900px) { .logo img { height: 30px; } }
.menu { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .menu { display: flex; } }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-ctl); font: 500 15px var(--sans); color: var(--ink-700); background: none; border: 0; cursor: pointer; transition: background-color var(--dur-2); }
.menu > li > a:hover, .menu > li > button:hover { background: var(--surface-2); color: var(--ink-900); }
.menu > li > a[aria-current="page"], .menu > li > button[aria-current="page"] { color: var(--ink-900); font-weight: 700; }
.dropdown { position: absolute; top: calc(100% + 8px); left: -8px; width: 480px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow-2); padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s var(--dur-2); }
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: var(--r-ctl); font-weight: 600; font-size: 14px; color: var(--ink-900); }
.dropdown a small { display: block; font-weight: 500; color: var(--ink-500); font-size: 12px; line-height: 16px; }
.dropdown a:hover { background: var(--surface-2); }
.dropdown .ico { width: 32px; height: 32px; border-radius: 8px; }
.dropdown .ico svg { width: 18px; height: 18px; }
.tag { display: inline-block; font-size: 12px; line-height: 18px; font-weight: 700; padding: 0 6px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); vertical-align: middle; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { height: 40px; padding: 0 14px; font-size: 14px; }
.nav-cta .btn-ghost { display: none; }
@media (min-width: 1040px) { .nav-cta .btn-ghost { display: inline-flex; } .nav-cta .btn { height: 44px; padding: 0 18px; } }
.burger { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: var(--r-ctl); }
.burger svg { width: 24px; height: 24px; color: var(--ink-900); }
@media (min-width: 900px) { .burger { display: none; } }
.mobile-menu { display: none; }
.mobile-menu.open { display: block; position: fixed; inset: 64px 0 0; background: var(--surface); z-index: 29; padding: 8px 16px 40px; overflow-y: auto; }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-menu .sub a { padding-left: 20px; font-weight: 500; color: var(--ink-700); }
.mobile-menu .sub { margin-bottom: 24px; }

/* Icons */
.ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.ico svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 32px 0 48px; }
@media (min-width: 768px) { .hero { padding: 64px 0 80px; } }
.hero-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; } }
.hero-copy { animation: rise var(--dur-3) var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero h1 { margin: 0 0 20px; }
.hero h1 em { font-style: normal; color: var(--brand-700); }
.hero .lead { max-width: 48ch; }
.hero .more { margin-top: 24px; }
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow-2); padding: 16px; }
@media (min-width: 640px) { .quote-card { padding: 24px; } }
.quote-card h3, .quote-card .qc-title { font-family: var(--display); font-size: 22px; line-height: 28px; font-weight: 800; color: var(--ink-900); margin: 0; }
.quote-card .sub { margin: 8px 0 20px; color: var(--ink-500); font-size: 14px; line-height: 20px; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
@media (max-width: 400px) { .types { grid-template-columns: repeat(2, 1fr); } }
.types label { cursor: pointer; position: relative; }
.types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.types span { display: grid; justify-items: center; align-content: center; gap: 6px; height: 72px; border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 13px; font-weight: 600; color: var(--ink-700); transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2); }
.types svg { width: 22px; height: 22px; }
.types input:checked + span { color: var(--brand-700); background: var(--brand-50); box-shadow: inset 0 0 0 2px var(--brand-700); border-color: transparent; }
.types input:focus-visible + span { outline: 2px solid var(--brand-700); outline-offset: 2px; }
.quote-card .field { margin-bottom: 16px; }
.quote-card .row2 .field { margin-bottom: 0; }
.quote-card .row2 { margin-bottom: 16px; }
.quote-card .btn { width: 100%; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-500); }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust svg { width: 16px; height: 16px; color: var(--success-700); }
.success { display: none; padding: 8px 0; }
.success > svg { width: 40px; height: 40px; color: var(--success-700); margin-bottom: 12px; }
.success h3 { margin-bottom: 6px; }
.success p { margin: 0; color: var(--ink-700); }
.quote-card.done form { display: none; }
.quote-card.done .success { display: block; }

/* Partners */
.partners { padding: 40px 0; background: var(--surface); border-block: 1px solid var(--line); }
.partners .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 32px; }
@media (min-width: 768px) { .partners .wrap { gap: 24px 48px; } }
.partners p { width: 100%; text-align: center; margin: 0 0 -8px; }
.partners img { height: 28px; width: auto; }

/* Products */
.pgrid { display: grid; gap: 16px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, 1fr); } .pgrid .product.feature { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(12, 1fr); } .pgrid .product { grid-column: span 3; } .pgrid .product.feature { grid-column: 1 / 7; grid-row: 1 / 4; } }
.product { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); transition: border-color var(--dur-2); }
.product:hover { border-color: var(--brand-700); }
.product h3 { margin-top: 4px; }
.product p { margin: 0; color: var(--ink-700); font-size: 14px; line-height: 20px; flex: 1; }
.product .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brand-700); margin-top: 8px; }
.product:hover .more { text-decoration: underline; }
.product .more svg { width: 16px; height: 16px; }
.feature { display: grid; grid-template-rows: 160px 1fr; overflow: hidden; padding: 0; }
@media (min-width: 1024px) { .feature { grid-template-rows: minmax(260px, 1fr) auto; } .feature .body { padding: 24px; } .feature h3 { font-family: var(--display); font-size: 24px; line-height: 30px; } }
.feature .photo { background: var(--brand-50); display: grid; place-items: center; min-height: 160px; }
.feature .photo img { width: 100%; height: 100%; object-fit: cover; }
.feature .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.feature .body .btn { margin-top: auto; align-self: flex-start; }
.pro-band { margin-top: 16px; background: var(--brand-50); border-radius: var(--r-box); padding: 24px; display: grid; gap: 16px; align-items: center; }
@media (min-width: 768px) { .pro-band { grid-template-columns: 1fr auto; } }
.pro-band h3 { font-family: var(--display); font-size: 22px; line-height: 28px; }
.pro-band p { margin: 4px 0 0; color: var(--ink-700); font-size: 15px; }
@media (max-width: 639px) {
  .pgrid .product:not(.feature) { flex-direction: row; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: var(--r-ctl); }
  .pgrid .product:not(.feature) p, .pgrid .product:not(.feature) .more span { display: none; }
  .pgrid .product:not(.feature) h3 { margin: 0; font-size: 16px; flex: 1; }
  .pgrid .product:not(.feature) .more { margin: 0; }
  .pgrid .product:not(.feature) .ico { width: 32px; height: 32px; }
}

/* Why us */
.why-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; } }
.why-visual { border-radius: var(--r-box); overflow: hidden; aspect-ratio: 16 / 10; }
@media (min-width: 1024px) { .why-visual { aspect-ratio: 4 / 5; } }
.why-visual img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 640px) { .why-list { grid-template-columns: 1fr 1fr; gap: 32px 40px; } }
.why-item h3 { display: flex; gap: 8px; align-items: center; }
.why-item h3 svg { width: 20px; height: 20px; color: var(--brand-700); flex: none; }
.why-item p { margin: 6px 0 0 28px; color: var(--ink-700); font-size: 14px; line-height: 20px; }

/* Steps */
.steps-list { list-style: none; margin: 0; padding: 0; max-width: 720px; }
.steps-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps-list li:first-child { border-top: 1px solid var(--line); }
.steps-list .n { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.steps-list p { margin: 4px 0 0; color: var(--ink-700); font-size: 14px; line-height: 20px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; } }
.faq-grid .section-head { margin-bottom: 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 700; color: var(--ink-900); font-size: 16px; line-height: 24px; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 20px; height: 20px; color: var(--ink-500); flex: none; transition: transform var(--dur-3) var(--ease-out); }
details[open] summary svg { transform: rotate(180deg); }
details p { margin: 12px 0 0; color: var(--ink-700); max-width: 60ch; font-size: 15px; line-height: 24px; }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-rows { display: grid; margin: 12px 0 0; }
.contact-rows a { display: flex; gap: 14px; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); }
.contact-rows svg { width: 20px; height: 20px; color: var(--brand-700); flex: none; }
.contact-rows small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-500); }
.contact-rows strong { font-size: 16px; font-weight: 600; }
.contact-rows a:hover strong { color: var(--brand-700); }
.news { margin-top: 40px; }
.news p { margin: 6px 0 16px; color: var(--ink-700); font-size: 14px; line-height: 20px; }
.news-form { display: grid; gap: 8px; }
@media (min-width: 480px) { .news-form { grid-template-columns: 1fr auto; } }
.news-form input { height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); font: 500 16px var(--sans); min-width: 0; }
.news-form input:focus { outline: none; border-color: var(--brand-700); box-shadow: 0 0 0 3px rgba(27,58,140,.18); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); padding: 24px; }
.panel h3 { font-family: var(--display); font-size: 22px; line-height: 28px; margin-bottom: 4px; }
.panel > p { margin: 0 0 20px; color: var(--ink-500); font-size: 14px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form .row2 .field { margin-bottom: 0; }
.contact-form .row2 { margin-bottom: 16px; }
.contact-form .consent { margin: 4px 0 16px; }
.contact-form .btn { width: 100%; }
.contact-panel .success { padding: 16px 0; }
.contact-panel.done form { display: none; }
.contact-panel.done .success { display: block; }
.claim-row { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 15px; color: var(--ink-700); }

/* Footer */
footer { background: var(--brand-900); color: rgba(255,255,255,.72); padding: 64px 0 24px; font-size: 14px; line-height: 20px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 4fr 4fr 4fr; gap: 40px; } }
.foot-logo { height: 28px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
footer h4 { color: #fff; font-size: 12px; line-height: 16px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer ul.cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.08); }
.socials svg { width: 16px; height: 16px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; }
.foot-bottom span { display: inline-flex; flex-wrap: wrap; gap: 8px 24px; min-width: 0; }

/* ===== v3: hero with depth, motion layer (dials: variance 6, motion 6, density 4) ===== */
:root { --ease-spring: cubic-bezier(.2,.9,.25,1.05); --dur-4: 600ms; interpolate-size: allow-keywords; }

/* Header compacts on scroll */
.nav { transition: height var(--dur-3) var(--ease-out); }
@media (min-width: 900px) { header.site.scrolled .nav { height: 60px; } }
header.site.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(15,26,58,.25); }

/* Buttons: arrow nudge, press */
.btn svg { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 24px 0 56px; }
@media (min-width: 1024px) { .hero { padding: 56px 0 96px; } }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(700px 420px at 88% 8%, rgba(27,58,140,.10), transparent 70%),
  radial-gradient(520px 360px at 8% 92%, rgba(27,58,140,.06), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15,26,58,.07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(600px 380px at 75% 30%, #000, transparent 75%); mask-image: radial-gradient(600px 380px at 75% 30%, #000, transparent 75%); }
.hero-grid { position: relative; display: grid; gap: 28px; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; } }
.hero-copy { animation: none; }
.wrap-wide { width: min(1240px, 100% - 32px); }
@media (min-width: 640px) { .wrap-wide { width: min(1240px, 100% - 48px); } }
@media (min-width: 1024px) { .wrap-wide { width: min(1240px, 100% - 64px); } }
/* Sizes measured so each of the four lines fits its column without wrapping. */
.hero-title { font-size: 36px; line-height: 42px; letter-spacing: -.025em; font-weight: 800; margin: 0 0 20px; max-width: none; }
@media (min-width: 768px) { .hero-title { font-size: 48px; line-height: 54px; } }
@media (min-width: 1024px) { .hero-title { font-size: 44px; line-height: 50px; } }
@media (min-width: 1400px) { .hero-title { font-size: 52px; line-height: 58px; } }
.hero-title .line { white-space: nowrap; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 4px; margin-bottom: -4px; }
.hero-title .line > span { display: inline-block; }
.hl { font-style: normal; color: var(--brand-700); position: relative; white-space: nowrap; }
.hl-stroke { position: absolute; left: -2%; bottom: -6px; width: 104%; height: 16px; overflow: visible; }
.hl-stroke path { fill: none; stroke: var(--brand-700); stroke-opacity: .28; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 0; }
.hero-lead { max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-ctas .btn-ghost svg { color: var(--brand-700); }
.hero-proof { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; line-height: 20px; color: var(--ink-700); font-weight: 600; }
.hero-proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--success-700); }

/* Visual: photo panel with the quote card floating over it */
.hero-visual { position: relative; display: grid; }
.hero-photo { margin: 0; border-radius: 24px; overflow: hidden; height: 200px; background: var(--brand-50); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-visual .quote-card { position: relative; z-index: 2; margin: -48px 12px 0; }
.hero-chip { position: absolute; z-index: 3; top: 12px; right: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: var(--shadow-2); font-size: 13px; line-height: 16px; color: var(--ink-900); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
.hero-chip .ico { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-700); color: #fff; }
.hero-chip .ico svg { width: 16px; height: 16px; }
.hero-chip strong { display: block; font-weight: 700; }
.hero-chip small { display: block; color: var(--ink-500); font-size: 12px; }
.hero-chip .go { width: 16px; height: 16px; color: var(--brand-700); transition: transform var(--dur-2) var(--ease-out); }
.hero-chip:hover { transform: translateY(-2px); }
.hero-chip:hover .go { transform: translateX(3px); }
@media (min-width: 640px) { .hero-photo { height: 260px; } .hero-visual .quote-card { margin: -64px 24px 0; } }
@media (min-width: 1024px) {
  .hero-visual { grid-template-columns: 1fr; padding: 40px 0 0 0; min-height: 640px; }
  .hero-photo { position: absolute; top: 0; right: 0; bottom: 48px; left: 64px; height: auto; border-radius: 28px; }
  .hero-photo img { object-position: 70% 40%; }
  .hero-visual .quote-card { width: 420px; margin: 0; align-self: start; }
  .hero-chip { top: 20px; right: 20px; }
}
@media (min-width: 1280px) { .hero-visual .quote-card { width: 440px; } }

/* Hero entrance (only with JS, never with reduced motion) */
.js .hero .line > span, .js .hero-lead, .js .hero-ctas, .js .hero-proof, .js .hero-visual .quote-card, .js .hero-chip { opacity: 0; }
.js .hero .line > span { transform: translateY(105%); }
.js .hero-photo { clip-path: inset(0 0 100% 0 round 28px); }
.js .hero-photo img { transform: scale(1.08); }
.js .hl-stroke path { stroke-dashoffset: 240; }
.hero.ready .line > span { animation: lineUp 700ms var(--ease-out) forwards; }
.hero.ready .line:nth-child(2) > span { animation-delay: 90ms; }
.hero.ready .line:nth-child(3) > span { animation-delay: 180ms; }
.hero.ready .hero-lead { animation: fadeUp 600ms var(--ease-out) 300ms forwards; }
.hero.ready .hero-ctas { animation: fadeUp 600ms var(--ease-out) 380ms forwards; }
.hero.ready .hero-proof { animation: fadeUp 600ms var(--ease-out) 460ms forwards; }
.hero.ready .hero-photo { animation: clipIn 900ms cubic-bezier(.7,0,.2,1) 120ms forwards; }
.hero.ready .hero-photo img { animation: settle 1400ms var(--ease-out) 120ms forwards; }
.hero.ready .quote-card { animation: cardIn 700ms var(--ease-spring) 420ms forwards; }
.hero.ready .hero-chip { animation: chipIn 500ms var(--ease-spring) 900ms forwards; }
.hero.ready .hl-stroke path { animation: draw 800ms var(--ease-out) 700ms forwards; }
@keyframes lineUp { to { transform: none; opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes clipIn { to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Quote card micro-interactions */
.types span { transition: border-color var(--dur-2), background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.types label:hover span { border-color: var(--line-strong); }
.types input:checked + span { animation: pick 260ms var(--ease-spring); }
@keyframes pick { 0% { transform: scale(.95); } 100% { transform: scale(1); } }
.success svg.draw { width: 48px; height: 48px; margin-bottom: 12px; }
.success svg.draw circle { fill: var(--success-50); stroke: var(--success-700); stroke-width: 2; stroke-dasharray: 140; stroke-dashoffset: 140; }
.success svg.draw path { fill: none; stroke: var(--success-700); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.done .success svg.draw circle { animation: draw 500ms var(--ease-out) forwards; }
.done .success svg.draw path { animation: draw 400ms var(--ease-out) 350ms forwards; }
.done .success h3, .done .success p { animation: fadeUp 400ms var(--ease-out) both; }

/* Partners marquee */
.partners { padding: 32px 0 36px; }
.partners .overline { text-align: center; margin: 0 0 20px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 30px; width: auto; flex: none; filter: grayscale(1); opacity: .7; transition: filter var(--dur-3), opacity var(--dur-3); }
.marquee img:hover { filter: none; opacity: 1; }
.marquee .sep { width: 0; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Products */
.product { transition: border-color var(--dur-2), box-shadow var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), opacity var(--dur-4) var(--ease-out); }
.js .product[data-reveal].in:hover, .product:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--brand-100); }
.product .ico { transition: background-color var(--dur-2), color var(--dur-2); }
.product:hover .ico { background: var(--brand-700); color: #fff; }
.product .more svg { transition: transform var(--dur-2) var(--ease-out); }
.product:hover .more svg { transform: translateX(3px); }
.feature .photo { overflow: hidden; }
.feature .photo img { transition: transform 900ms var(--ease-out); object-position: center 40%; }
.feature:hover .photo img { transform: scale(1.05); }
.pro-band { transition: background-color var(--dur-3); }

/* Why us photo: gentle parallax where supported */
.why-visual img { transition: transform 900ms var(--ease-out); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .why-visual img { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; transform-origin: center; }
    @keyframes drift { from { transform: scale(1.12) translateY(-4%); } to { transform: scale(1.12) translateY(4%); } }
  }
}

/* Steps: connector line fills when the list enters */
.steps-list { position: relative; }
.steps-list::before, .steps-list::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 44px; width: 2px; background: var(--line); }
.steps-list::after { background: var(--brand-700); transform-origin: top; transform: scaleY(0); transition: transform 1200ms var(--ease-out) 200ms; }
.steps-list.in::after, html:not(.js) .steps-list::after { transform: scaleY(1); }
.steps-list li { position: relative; z-index: 1; border-top: 0 !important; border-bottom: 0; }
.steps-list .n { box-shadow: 0 0 0 6px var(--surface-2); transition: transform 400ms var(--ease-spring), background-color var(--dur-2); }
.js .steps-list .n { transform: scale(.6); }
.steps-list.in .n { transform: scale(1); }
.steps-list.in li:nth-child(2) .n { transition-delay: 450ms; }
.steps-list.in li:nth-child(3) .n { transition-delay: 900ms; }

/* FAQ: smooth open where supported */
details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur-3) var(--ease-out), content-visibility var(--dur-3) allow-discrete; }
details[open]::details-content { block-size: auto; }
summary:hover { color: var(--brand-700); }

/* Contact rows */
.contact-rows a svg { transition: transform var(--dur-2) var(--ease-out); }
.contact-rows a:hover svg { transform: scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 24px 48px; }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js .hero .line > span, .js .hero-lead, .js .hero-ctas, .js .hero-proof, .js .hero-visual .quote-card, .js .hero-chip, .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero-photo { clip-path: none; } .js .hero-photo img { transform: none; } .js .hl-stroke path { stroke-dashoffset: 0; }
  .js .steps-list .n { transform: none; } .steps-list::after { transform: scaleY(1); }
}
/* Mobile hero: the form must stay high; the CTAs are redundant with the form right below and the chip on the photo. */
@media (max-width: 1023px) {
  .hero-ctas { display: none; }
  .hero-proof { margin-top: 16px; font-size: 13px; gap: 6px 14px; }
  .hero-photo { height: 160px; }
  .hero-visual { margin-top: 4px; }
  .hero-visual .quote-card { margin-top: -40px; }
}
@media (min-width: 640px) and (max-width: 1023px) { .hero-photo { height: 240px; } .hero-visual .quote-card { margin-top: -56px; } }

/* Safety net (see index.html): final state after 2.5 s whatever happened to the entrance animations. */
.settled .hero .line > span, .settled .hero-lead, .settled .hero-ctas, .settled .hero-proof, .settled .hero-visual .quote-card, .settled .hero-chip { opacity: 1; transform: none; }
.settled .hero-photo { clip-path: none; } .settled .hero-photo img { transform: none; } .settled .hl-stroke path { stroke-dashoffset: 0; }

/* Retirement savings band (home) */
.savings-band { background: var(--brand-900); color: #fff; padding: 64px 0; }
@media (min-width: 1024px) { .savings-band { padding: 88px 0; } }
.savings-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .savings-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; } }
.savings-band .tag { background: rgba(255,255,255,.12); color: #fff; }
.savings-band h2 { color: #fff; font-family: var(--display); font-size: 30px; line-height: 36px; margin: 14px 0 14px; max-width: 18ch; }
@media (min-width: 768px) { .savings-band h2 { font-size: 40px; line-height: 46px; } }
.savings-band .lead { color: #c9d3ee; max-width: 56ch; }
.savings-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.savings-points li { display: flex; gap: 10px; align-items: flex-start; color: #e6ebf7; font-size: 15px; line-height: 22px; }
.savings-points svg { width: 20px; height: 20px; flex: none; color: #8fb0ff; margin-top: 1px; }
.savings-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.savings-cta span { color: #9fb0d9; font-size: 14px; }
.savings-band .btn-primary { background: #fff; color: var(--brand-900); border-color: #fff; }
.savings-band .btn-primary:hover { background: var(--brand-50); }
.savings-card { margin: 0; background: #fff; color: var(--ink-900); border-radius: var(--r-box); padding: 24px; box-shadow: var(--shadow-2); }
.savings-card figcaption { font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 12px; }
.savings-card dl { margin: 0; display: grid; }
.savings-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.savings-card dt { color: var(--ink-700); }
.savings-card dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.savings-card .hl { border-bottom: 0; margin: 4px -12px; padding: 14px 12px; background: var(--brand-50); border-radius: 12px; }
.savings-card .hl dd { color: var(--brand-700); font-family: var(--display); font-size: 22px; }
.savings-card p { margin: 12px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-500); }

/* Product families not yet available ("Bientôt disponible", set in the back-office) */
.product.soon { cursor: default; background: var(--surface-2); box-shadow: none; }
.product.soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.product.soon h3, .product.soon p { color: var(--ink-500); }
.product.soon .ico { filter: grayscale(1); opacity: .6; }
.soon-badge { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-500); }
.soon-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warning-700); opacity: .7; }
a.soon, a.soon-link { cursor: default; opacity: .6; pointer-events: none; }
.soon-tag { display: inline-block; margin-left: 4px; font-size: 11px; line-height: 16px; font-weight: 700; padding: 0 6px; border-radius: 6px; background: var(--surface-2); color: var(--ink-500); vertical-align: middle; }
a.soon-link small { font-size: inherit; }

/* Plain-language helpers shared by the product pages.
   .term: an everyday word with the official term in a bubble (hover, focus or tap). */
.term { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 50%; border: 0; background: var(--brand-50); color: var(--brand-700); font: 700 12px/1 var(--sans); cursor: help; vertical-align: 1px; padding: 0; }
.term::after { content: attr(data-tip); position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: min(280px, 80vw); padding: 10px 12px; border-radius: 10px; background: var(--brand-900); color: #fff; font: 500 13px/19px var(--sans); text-align: left; white-space: normal; box-shadow: var(--shadow-2); pointer-events: none; display: none; }
/* Drawn only when shown: a hidden bubble near the right edge would widen the page on mobile. */
.term:hover::after, .term:focus::after, .term:focus-visible::after { display: block; }
/* Reassurance line under a call to action. */
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 10px 0 0; font-size: 13px; line-height: 18px; color: var(--ink-500); }
.reassure span::before { content: "✓ "; color: var(--success-700); font-weight: 700; }
/* Call to action pinned to the bottom of the screen on mobile. */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta { display: flex; align-items: center; gap: 12px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(15,26,58,.25); }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta .sc-info { flex: 1; min-width: 0; font-size: 13px; line-height: 17px; color: var(--ink-500); }
  .sticky-cta .sc-info b { display: block; font-family: var(--display); font-size: 17px; line-height: 22px; color: var(--ink-900); }
  .sticky-cta .btn { flex: none; }
  body.has-sticky-cta { padding-bottom: 76px; }
  body.has-sticky-cta .wa-float { bottom: 88px; }
}
/* Floating WhatsApp button (set in the back-office). */
.wa-float { position: fixed; z-index: 39; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: #1f8f4e; color: #fff; font-weight: 700; box-shadow: var(--shadow-2); transition: transform var(--dur-2) var(--ease-out); }
.wa-float:hover { transform: translateY(-2px); }
@media (max-width: 767px) { .wa-float span { display: none; } .wa-float { width: 52px; padding: 0; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
.reassure[hidden] { display: none; }
/* Bigger touch area for the small "i" bubbles, without changing their look. */
.term::before { content: ""; position: absolute; inset: -13px; }
/* Mobile: long action labels wrap inside the button instead of overflowing the screen. */
@media (max-width: 767px) {
  .actions .btn-primary, .sticky-cta .btn { min-width: 0; height: auto; min-height: 48px; padding: 10px 16px; white-space: normal; line-height: 20px; text-align: center; }
  .actions .btn-text, .actions .back { flex: none; white-space: nowrap; }
  .sticky-cta .btn { flex: 0 1 auto; max-width: 62%; }
}
@media (max-width: 479px) { .hide-sm { display: none; } .actions .back { min-width: 44px; min-height: 44px; justify-content: center; } }

/* Partner offers sold on request (no public price): cards and call-back dialog (assets/partner-offers-ui.js). */
.po-block { margin-top: 24px; }
.po-block[hidden] { display: none; }
.po-title { font-family: var(--display); font-size: 20px; line-height: 26px; margin: 0 0 4px; }
.po-sub { margin: 0 0 14px; color: var(--ink-700); font-size: 15px; line-height: 22px; }
.po-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .po-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
.po-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-box); box-shadow: var(--shadow-1); }
.po-card.is-reco { border-color: var(--brand-700); box-shadow: 0 0 0 1px var(--brand-700), var(--shadow-1); }
.po-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.po-insurer { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-500); }
.po-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.po-logo { height: 24px; width: auto; max-width: 120px; object-fit: contain; }
.po-badge { font-size: 12px; line-height: 18px; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--success-50); color: var(--success-700); }
.po-name { font-family: var(--display); font-size: 18px; line-height: 24px; margin: 0; }
.po-tag { margin: 0; color: var(--ink-700); font-size: 14px; line-height: 21px; }
.po-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-700); }
.po-list li { padding-left: 22px; position: relative; }
.po-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--success-700); font-weight: 700; }
.po-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.po-price { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-500); }
.po-price b { display: block; font-family: var(--display); font-size: 17px; line-height: 22px; color: var(--ink-900); }
.po-cta { width: 100%; }
.po-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-box); box-shadow: var(--shadow-2); color: var(--ink-900); }
.po-dialog::backdrop { background: rgba(14,29,69,.45); }
.po-form, .po-done { position: relative; display: grid; gap: 12px; padding: 24px 20px 20px; }
.po-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-500); cursor: pointer; }
.po-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); padding-right: 40px; }
.po-dialog h2 { font-size: 22px; line-height: 28px; margin: 0; }
.po-intro { margin: 0; font-size: 14px; line-height: 21px; color: var(--ink-700); }
.po-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; border: 0; margin: 0; padding: 0; }
.po-field input:not([type=radio]) { font: 500 16px var(--sans); height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); width: 100%; }
.po-field small { font-weight: 500; color: var(--ink-500); font-size: 12px; }
.po-field.invalid input { border-color: var(--danger-700); }
.po-field legend { margin-bottom: 6px; }
.po-seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 420px) { .po-seg { grid-template-columns: repeat(4, 1fr); } }
.po-seg label { position: relative; cursor: pointer; }
.po-seg input { position: absolute; opacity: 0; }
.po-seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 14px; font-weight: 600; }
.po-seg input:checked + span { border-color: var(--brand-700); background: var(--brand-50); color: var(--brand-700); }
.po-seg input:focus-visible + span { outline: 2px solid var(--brand-700); outline-offset: 2px; }
.po-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--ink-700); }
.po-consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--brand-700); }
.po-err { margin: 0; min-height: 0; color: var(--danger-700); font-size: 14px; }
.po-err:empty { display: none; }
.po-consent a { color: var(--brand-700); text-decoration: underline; }
.lead-skip { justify-self: center; background: none; border: 0; padding: 6px; color: var(--ink-500); font: 600 13px var(--sans); text-decoration: underline; cursor: pointer; }
.lead-skip[hidden] { display: none; }
.po-submit { width: 100%; }
.po-ref { color: var(--ink-500); font-size: 14px; margin: 0; }
.po-done p { margin: 0; }

/* Hero slogans set in the back-office: long lines may wrap */
.hero-title .line { white-space: normal; }

/* Hero shortcuts: floating links to the main insurances (gentle float, none with reduced motion) */
.hero-links { position: relative; z-index: 2; display: grid; gap: 10px; margin: -40px 12px 0; }
.hero-link { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-2); color: var(--ink-900); font-size: 14px; line-height: 18px; text-decoration: none; transition: translate var(--dur-2) var(--ease-out), box-shadow var(--dur-2); }
.hero-link .ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-700); color: #fff; }
.hero-link .ico svg { width: 20px; height: 20px; }
.hero-link strong { display: block; font-weight: 700; }
.hero-link small { display: block; color: var(--ink-500); font-size: 12px; }
.hero-link .go { margin-left: auto; width: 18px; height: 18px; color: var(--brand-700); transition: transform var(--dur-2) var(--ease-out); }
.hero-link:hover { translate: 0 -3px; }
.hero-link:hover .go { transform: translateX(4px); }
.hero-link.soon { opacity: .65; }
@media (min-width: 1024px) {
  .hero-links { position: absolute; left: 0; bottom: 96px; width: 340px; margin: 0; gap: 14px; }
  .hero-link:nth-child(2) { margin-left: 56px; margin-right: -56px; }
  .hero-link:nth-child(3) { margin-left: 20px; margin-right: -20px; }
}
@media (prefers-reduced-motion: no-preference) { .hero-link { animation: heroFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s); } }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Few partners: a still, centred row instead of the scrolling marquee */
.marquee.static { -webkit-mask-image: none; mask-image: none; }
.marquee.static .marquee-track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; gap: 48px; }
.marquee.static img { filter: none; opacity: 1; }

/* Chamel art (health, international): own illustration echoing the Maghrebia Chamel campaign
   (orange M, globe and stethoscope, family) so visitors recognise the product. */
.chamel-art { position: relative; aspect-ratio: 600 / 420; pointer-events: none; user-select: none; }
.chamel-art img { position: absolute; display: block; }
.chamel-art .ca-bg { inset: 0; width: 100%; height: 100%; }
.chamel-art .ca-family { right: 0; bottom: 0; width: 66%; height: auto; }
.chamel-sign { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.chamel-sign .ca-name { font: 800 15px/22px var(--display); color: var(--brand-700); }
.chamel-sign .ca-name b { color: #e07f00; font-weight: 800; letter-spacing: .02em; }
.chamel-sign .ca-slogan { font: 800 22px/32px "Noto Kufi Arabic", "Geeza Pro", Tahoma, sans-serif; color: var(--brand-700); }
