/* ==========================================================================
   Aladdin Immo — thème v5.3 (mobile first)
   Couleurs issues du logo : bleu marine et or. Police : Manrope (auto-hébergée).
   ========================================================================== */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope.woff2") format("woff2-variations"), url("../fonts/manrope.woff2") format("woff2");
}

:root {
    --navy: #0b2a4a;
    --navy-2: #133d68;
    --navy-deep: #071c33;
    --gold: #c8963e;
    --gold-hover: #b5832f;
    --gold-soft: #f7efdf;
    --gold-ink: #85600f;
    --soft: #f4f6f9;
    --line: #e2e8ef;
    --ink: #0e1b2c;
    --text: #3a4a5c;
    --muted: #627387;
    --white: #fff;
    --green: #157f3d;
    --red: #b42318;
    --red-soft: #fdf0ee;

    --font: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    --container: 1200px;
    --gutter: 20px;
    --section: 64px;
    --header-h: 68px;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --shadow: 0 1px 2px rgba(11, 42, 74, .05), 0 10px 30px -8px rgba(11, 42, 74, .12);
    --shadow-lg: 0 2px 4px rgba(11, 42, 74, .04), 0 24px 60px -16px rgba(7, 28, 51, .28);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --section: 88px; }
}

@media (min-width: 1120px) {
    :root { --section: 112px; --header-h: 84px; }
}

/* Base ------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--white);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 450;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1120px) { body { font-size: 1.0625rem; } }

body.menu-open { overflow: hidden; overscroll-behavior: none; }

img,
svg,
video,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -.025em;
    overflow-wrap: break-word;
    text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 3.4vw, 3.9rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.65rem); line-height: 1.15; }
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 750; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid rgba(200, 150, 62, .7); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    color: var(--white);
    background: var(--navy);
    transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.icon { width: 1.2em; height: 1.2em; flex: none; }

.card {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--white);
    box-shadow: var(--shadow);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--gold-ink);
    font-size: .875rem;
    font-weight: 750;
    letter-spacing: .01em;
}

.kicker::before { width: 18px; height: 2px; border-radius: 2px; background: var(--gold); content: ""; }

.lead { color: var(--text); font-size: 1.0625rem; line-height: 1.6; }
@media (min-width: 768px) { .lead { font-size: 1.1875rem; } }

.note { margin-top: 16px; color: var(--muted); font-size: .875rem; line-height: 1.5; }

.admin-hint {
    margin: 0;
    padding: 14px 16px;
    border: 1px dashed var(--gold);
    border-radius: var(--r-sm);
    color: var(--gold-ink);
    background: var(--gold-soft);
    font-size: .875rem;
}

.icon-badge {
    display: inline-grid;
    width: 48px;
    height: 48px;
    flex: none;
    place-items: center;
    border-radius: 14px;
    color: var(--white);
    background: var(--navy);
}

.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--soft { color: var(--navy); background: var(--gold-soft); }
.icon-badge--soft .icon { color: var(--gold-ink); }

.pill {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 99px;
    color: var(--muted);
    background: var(--soft);
    font-size: .8125rem;
    font-weight: 650;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.tags li {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 99px;
    color: var(--navy);
    background: var(--soft);
    font-size: .875rem;
    font-weight: 650;
}

.tags--check li { border: 1px solid var(--line); background: var(--white); }
.tags--check .icon { width: 16px; height: 16px; color: var(--green); }

.check-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 650; }
.check-list .icon { margin-top: 3px; padding: 3px; border-radius: 50%; color: var(--white); background: var(--green); width: 20px; height: 20px; }

/* Buttons ---------------------------------------------------------------- */

.button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-size: .9688rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button .icon { width: 18px; height: 18px; }
.button:active { transform: translateY(1px); }
.button[hidden] { display: none; }

.button--primary { color: var(--navy-deep); background: var(--gold); box-shadow: 0 6px 18px -6px rgba(200, 150, 62, .6); }
.button--primary:hover { background: var(--gold-hover); color: var(--navy-deep); }

.button--navy { color: var(--white); background: var(--navy); }
.button--navy:hover { background: var(--navy-2); }

.button--outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.button--outline:hover { border-color: var(--navy); }

.button--glass { border-color: rgba(255, 255, 255, .35); color: var(--white); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.button--glass:hover { border-color: var(--white); background: rgba(255, 255, 255, .16); }

.button--small { min-height: 44px; padding: 10px 18px; font-size: .9063rem; }
.button--large { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.button--block { width: 100%; }

.link-arrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    color: var(--navy);
    font-weight: 750;
}

.link-arrow .icon { width: 18px; height: 18px; color: var(--gold); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header ----------------------------------------------------------------- */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    background: var(--white);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(11, 42, 74, .18); }

@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}

.brand { display: inline-flex; flex: none; align-items: center; }
.brand img,
.brand .custom-logo { width: auto; height: 50px; }
@media (min-width: 1120px) { .brand img, .brand .custom-logo { height: 62px; } }

.site-header__actions { display: flex; gap: 10px; align-items: center; }

.header-phone {
    display: none;
    gap: 8px;
    align-items: center;
    color: var(--navy);
    font-weight: 750;
    white-space: nowrap;
}

.header-phone .icon { width: 18px; height: 18px; color: var(--gold); }

.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 560px) and (max-width: 1119px) { .site-nav__mobile-extra .button--primary { display: none; } }

.menu-toggle {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.menu-toggle__icon { display: grid; gap: 5px; width: 20px; }
.menu-toggle__icon span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.site-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
@media (min-width: 783px) and (max-width: 1119px) { .admin-bar .site-nav { top: calc(var(--header-h) + 32px); } }

.site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }

.site-nav__list { margin: 0; padding: 0; list-style: none; }
.site-nav__list li { border-bottom: 1px solid var(--line); }

.site-nav__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    color: var(--ink);
    font-size: 1.1875rem;
    font-weight: 750;
}

.site-nav__list a[aria-current="page"],
.site-nav__list .current-menu-item > a { color: var(--gold-ink); }

.site-nav__mobile-extra { display: grid; gap: 10px; }
.site-nav__mobile-extra p { margin: 6px 0 0; color: var(--muted); font-size: .9375rem; text-align: center; }

@media (min-width: 1120px) {
    .menu-toggle,
    .site-nav__mobile-extra { display: none; }

    .site-nav {
        position: static;
        flex-direction: row;
        padding: 0;
        overflow: visible;
        background: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .site-nav__list { display: flex; gap: 4px; }
    .site-nav__list li { border: 0; }

    .site-nav__list a {
        min-height: 44px;
        padding: 0 14px;
        border-radius: 10px;
        color: var(--navy);
        font-size: .9375rem;
        font-weight: 650;
        transition: background-color .2s ease, color .2s ease;
    }

    .site-nav__list a:hover { background: var(--soft); }
    .site-nav__list a[aria-current="page"],
    .site-nav__list .current-menu-item > a { color: var(--navy); background: var(--gold-soft); }

    .site-header__inner { gap: 24px; }
    .header-phone { display: inline-flex; }
    .header-phone span { display: none; }
}

@media (min-width: 1300px) { .header-phone span { display: inline; } }

/* Hero ------------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px 0 56px;
    color: rgba(255, 255, 255, .86);
    background: var(--navy-deep);
}

.hero__media { position: absolute; z-index: -1; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

.hero__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 28, 51, .82) 0%, rgba(7, 28, 51, .9) 55%, rgba(7, 28, 51, .96) 100%);
    content: "";
}

.hero__grid { display: grid; gap: 36px; }

.hero__badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    padding: 7px 14px 7px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 99px;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    font-size: .8125rem;
    font-weight: 650;
    line-height: 1.3;
}

.hero__badge .icon { width: 16px; height: 16px; color: var(--gold); }

.hero h1 { color: var(--white); }
.hero h1 span { display: block; color: var(--gold); }

.hero__lead { max-width: 36em; margin: 18px 0 0; font-size: 1.0625rem; line-height: 1.6; }

.hero__actions { display: grid; gap: 12px; margin-top: 28px; }

.hero__checks { display: grid; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; }
.hero__checks li { display: flex; gap: 10px; align-items: center; color: var(--white); }
.hero__checks .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--navy-deep); background: var(--gold); }

@media (min-width: 560px) {
    .hero__actions { display: flex; flex-wrap: wrap; }
}

@media (min-width: 768px) {
    .hero { padding: 64px 0 96px; }
    .hero__lead { font-size: 1.1875rem; }
}

@media (min-width: 1024px) {
    .hero { padding: 80px 0 128px; }
    .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 56px; align-items: center; }
    .hero__media::after { background: linear-gradient(90deg, rgba(7, 28, 51, .94) 0%, rgba(7, 28, 51, .82) 48%, rgba(7, 28, 51, .45) 100%); }
    .hero__checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
}

/* Quick form */
.quick-card {
    padding: 24px 20px;
    border-radius: var(--r-lg);
    color: var(--text);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) { .quick-card { padding: 32px; } }

.quick-card h2 { font-size: 1.375rem; line-height: 1.25; }
.quick-card > p { margin: 6px 0 18px; color: var(--muted); font-size: .9375rem; }

.quick-form__alt { margin: 14px 0 0; color: var(--muted); font-size: .875rem; text-align: center; }
.quick-form__alt a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Fields (shared) */
.field { display: grid; gap: 6px; margin-bottom: 14px; color: var(--ink); font-size: .9063rem; font-weight: 650; }
.field em { margin-left: 3px; color: var(--red); font-style: normal; font-weight: 700; }

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: var(--white);
    font-size: 16px;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field select {
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230b2a4a' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    -webkit-appearance: none;
    appearance: none;
}

.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #94a3b4; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 4px rgba(200, 150, 62, .22); }

.form-row { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-row--tight { grid-template-columns: 1fr 1fr; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; color: var(--muted); font-size: .875rem; line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--navy); }

.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-message { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: .9375rem; line-height: 1.5; }
.form-message strong { display: block; }
.form-message--success { color: var(--green); background: #ecf8f0; }
.form-message--error { color: var(--red); background: var(--red-soft); }

/* Trust strip ------------------------------------------------------------ */

.trust { position: relative; z-index: 2; padding: 24px 0 8px; }

.trust__grid { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.trust__grid li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--white);
}

.trust__grid strong { display: block; color: var(--ink); font-weight: 750; line-height: 1.3; }
.trust__grid span:not(.icon-badge) { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.trust .icon-badge { width: 44px; height: 44px; color: var(--gold-ink); background: var(--gold-soft); }

@media (max-width: 639px) {
    .trust__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .trust__grid li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .trust .icon-badge { width: 38px; height: 38px; border-radius: 11px; }
    .trust .icon-badge .icon { width: 20px; height: 20px; }
    .trust__grid strong { font-size: .9375rem; }
    .trust__grid span:not(.icon-badge) { font-size: .8125rem; }
}
@media (min-width: 640px) { .trust__grid { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1024px) {
    .trust { padding: 0; margin-top: -64px; }
    .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
    .trust__grid li { padding: 26px 24px; border: 0; border-radius: 0; }
    .trust__grid li + li { border-left: 1px solid var(--line); }
}

/* Stats */
.stats { padding: 40px 0 0; }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stats__grid div { padding: 20px; border-radius: var(--r); background: var(--soft); text-align: center; }
.stats__grid strong { display: block; color: var(--navy); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats__grid span { color: var(--muted); font-size: .875rem; font-weight: 600; }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* Sections --------------------------------------------------------------- */

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--soft { background: var(--soft); }
.section--navy { color: rgba(255, 255, 255, .8); background: var(--navy); }
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .kicker { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2 + p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.section-head--light h2 + p { color: rgba(255, 255, 255, .72); }
@media (min-width: 768px) { .section-head { margin-bottom: 48px; } }

.section-head--row { display: grid; gap: 20px; max-width: none; }
@media (min-width: 768px) {
    .section-head--row { grid-template-columns: 1fr auto; align-items: end; }
    .section-head--row > div { max-width: 720px; }
}

.section-actions { margin-top: 32px; }
@media (max-width: 559px) { .section-actions .button { width: 100%; } }

/* Mobile carousels ------------------------------------------------------- */

@media (max-width: 859px) {
    .scroller {
        display: grid;
        grid-auto-columns: min(84%, 340px);
        grid-auto-flow: column;
        grid-template-columns: none !important;
        gap: 14px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 18px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }
    .scroller::-webkit-scrollbar { display: none; }
    .scroller > * { scroll-snap-align: start; }
    .scroller .step:last-child { grid-column: auto; }
}

.scroller-hint { display: none; }
@media (max-width: 859px) {
    .scroller-hint { display: flex; gap: 8px; align-items: center; margin-top: 2px; color: var(--muted); font-size: .8125rem; font-weight: 650; }
    .scroller-hint .icon { width: 16px; height: 16px; }
    .section--navy .scroller-hint { color: rgba(255, 255, 255, .6); }
}

/* Services --------------------------------------------------------------- */

.services { display: grid; gap: 20px; }
@media (min-width: 860px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: box-shadow .25s ease, transform .25s var(--ease);
}

.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-card__media { position: relative; }
.service-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.icon-badge--float { position: absolute; bottom: -24px; left: 24px; border: 4px solid var(--white); width: 56px; height: 56px; border-radius: 16px; }

.service-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 40px 24px 24px; }
.service-card__body h3 { font-size: 1.25rem; }
.service-card__body p { flex: 1; color: var(--muted); font-size: .9688rem; }

/* Steps (navy) ----------------------------------------------------------- */

.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.step {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--r);
    background: rgba(255, 255, 255, .05);
}

.step:last-child { border-color: rgba(200, 150, 62, .55); background: rgba(200, 150, 62, .1); }
@media (min-width: 860px) and (max-width: 1099px) { .step:nth-child(4) { grid-column: span 1; } .step:last-child { grid-column: span 2; } }

.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }

.step__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: var(--navy-deep); background: var(--gold); }
.step__icon .icon { width: 22px; height: 22px; }
.step__n { color: rgba(255, 255, 255, .55); font-size: .8125rem; font-weight: 700; }
.step h3 { margin-bottom: 8px; font-size: 1.125rem; }
.step p { color: rgba(255, 255, 255, .72); font-size: .9375rem; line-height: 1.55; }

/* Simulator -------------------------------------------------------------- */

.sim-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .sim-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; } }
.sim-layout__copy h2 + .lead { margin-top: 16px; }

.sim { padding: 22px 18px; border-radius: var(--r-lg); }
@media (min-width: 768px) { .sim { padding: 32px; } }

.sim__fields { display: grid; gap: 18px; }

.sim__field { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; }
.sim__field label { color: var(--ink); font-size: .9375rem; font-weight: 650; }
.sim__field output { color: var(--navy); font-size: 1.0625rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sim__field input[type="range"] { grid-column: 1 / -1; }
.sim__field small { grid-column: 1 / -1; color: var(--muted); font-size: .8125rem; }

.sim .field { margin-bottom: 0; }

.sim input[type="range"] {
    --fill: 50%;
    width: 100%;
    height: 32px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    touch-action: pan-y;
    -webkit-appearance: none;
    appearance: none;
}

.sim input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--navy) var(--fill), var(--line) var(--fill)); }
.sim input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.sim input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--navy); }

.sim input[type="range"]::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
    margin-top: -10px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 3px 8px rgba(7, 28, 51, .3);
    -webkit-appearance: none;
    appearance: none;
}

.sim input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 4px solid var(--white); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.sim__results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }

.sim__kpi { padding: 14px; border-radius: 12px; background: var(--soft); }
.sim__kpi span { display: block; color: var(--muted); font-size: .8125rem; font-weight: 650; line-height: 1.3; }
.sim__kpi strong { display: block; margin-top: 4px; color: var(--navy); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }

.sim__kpi--main { grid-column: 1 / -1; color: var(--white); background: var(--navy); }
.sim__kpi--main span,
.sim__kpi--main small { color: rgba(255, 255, 255, .72); }
.sim__kpi--main strong { color: #6ee7a0; font-size: 2rem; }
.sim__kpi--main.is-negative strong { color: #ff9b8f; }
.sim__kpi--main small { display: block; margin-top: 2px; font-size: .8125rem; }
.sim__results .button { grid-column: 1 / -1; margin-top: 4px; }

/* Sheet ------------------------------------------------------------------ */

.sheet-layout { display: grid; gap: 36px; }
@media (min-width: 1024px) { .sheet-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }
.sheet-layout__copy h2 + .lead { margin-top: 16px; }

.feature-list { display: grid; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.feature-list p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }

.sheet { overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.sheet__head { padding: 22px 20px 18px; border-bottom: 1px solid var(--line); }
.sheet__head h3 { margin-top: 12px; font-size: 1.375rem; }
.sheet__head p { display: flex; gap: 8px; align-items: center; margin-top: 6px; color: var(--muted); font-size: .9063rem; line-height: 1.4; }
.sheet__head p .icon { width: 18px; height: 18px; color: var(--gold-ink); }

.sheet__rows { margin: 0; }
.sheet__rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.sheet__rows dt { color: var(--muted); font-size: .9063rem; }
.sheet__rows dd { margin: 0; color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.sheet__note { grid-column: 1 / -1; color: var(--gold-ink); font-size: .8438rem; font-weight: 600; line-height: 1.4; }
.sheet__note::before { margin-right: 6px; content: "→"; }
.sheet__rows > .is-alert { background: var(--red-soft); }
.sheet__rows > .is-alert dd,
.sheet__rows > .is-alert .sheet__note { color: var(--red); }

.dpe { display: inline-grid; width: 30px; height: 26px; place-items: center; border-radius: 6px 12px 12px 6px; color: var(--ink); font-size: .875rem; font-weight: 800; }
.dpe--d { background: #f2e400; }

.sheet__verdict { display: flex; gap: 14px; padding: 20px; color: rgba(255, 255, 255, .85); background: var(--navy); }
.sheet__verdict > .icon { width: 28px; height: 28px; margin-top: 2px; color: var(--gold); }
.sheet__verdict span { display: block; color: var(--gold); font-size: .8125rem; font-weight: 750; }
.sheet__verdict p { color: var(--white); font-weight: 650; line-height: 1.45; }

@media (min-width: 768px) {
    .sheet__head,
    .sheet__rows > div,
    .sheet__verdict { padding-inline: 28px; }
}

/* Zones ------------------------------------------------------------------ */

.zones { display: grid; gap: 20px; }
.zones > * { min-width: 0; }
@media (min-width: 960px) { .zones { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; } }

.zones__map { padding: 16px; border-radius: var(--r-lg); }
@media (min-width: 768px) { .zones__map { padding: 28px; } }

.zones__map svg { width: 100%; height: auto; }
.zones__map path { fill: #dbe3ed; stroke: var(--white); stroke-width: 2; stroke-linejoin: round; cursor: pointer; transition: fill .2s ease; }
.zones__map path:hover { fill: #b9c8da; }
.zones__map path.is-active { fill: var(--navy); }
.zones__map text { fill: var(--navy); font-size: 18px; font-weight: 800; pointer-events: none; text-anchor: middle; dominant-baseline: middle; }

.zones__tabs {
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--gutter) * -1) 16px;
    padding: 2px var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
}

.zones__tabs::-webkit-scrollbar { display: none; }

.zones__tabs button {
    display: inline-flex;
    flex: none;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1.5px solid var(--line);
    border-radius: 99px;
    color: var(--navy);
    background: var(--white);
    font-size: .875rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    scroll-snap-align: start;
}

.zones__tabs button span { color: var(--muted); font-weight: 600; }
.zones__tabs button[aria-selected="true"] { border-color: var(--navy); color: var(--white); background: var(--navy); }
.zones__tabs button[aria-selected="true"] span { color: rgba(255, 255, 255, .8); }

@media (min-width: 960px) {
    .zones__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 16px; padding: 0; overflow: visible; }
    .zones__tabs button { justify-content: flex-start; border-radius: 12px; }
}

.zones__detail { padding: 24px 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.zones__code { margin: 0 0 4px; color: var(--gold-ink); font-size: .875rem; font-weight: 800; }
.zones__detail h3 { font-size: 1.5rem; }
.zones__detail p:not(.zones__code) { margin: 10px 0 16px; color: var(--text); }
.zones__detail .tags { margin-bottom: 20px; }
@media (min-width: 768px) { .zones__detail { padding: 28px; } }

/* Strategies ------------------------------------------------------------- */

.strategies { display: grid; gap: 14px; }
@media (min-width: 860px) { .strategies { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .strategies { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.strategy-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--white);
    transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--ease);
}

.strategy-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.strategy-card p { color: var(--muted); font-size: .9375rem; }
.strategy-card__more { position: absolute; top: 24px; right: 24px; color: var(--muted); }
.strategy-card:hover .strategy-card__more { color: var(--gold-ink); }

/* Cases & reviews -------------------------------------------------------- */

.cases,
.reviews { display: grid; gap: 20px; }
@media (min-width: 860px) { .cases, .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.case-card { overflow: hidden; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.case-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-card__body { padding: 20px 22px 24px; }
.case-card__place { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; color: var(--muted); font-size: .875rem; font-weight: 650; }
.case-card__place .icon { width: 16px; height: 16px; color: var(--gold-ink); }
.case-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 0; }
.case-card dl div { padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.case-card dt { color: var(--muted); font-size: .75rem; font-weight: 650; }
.case-card dd { margin: 0; color: var(--navy); font-weight: 800; }

.review { margin: 0; padding: 24px; border-radius: var(--r-lg); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 14px 0 18px; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.review figcaption strong { display: block; color: var(--ink); }
.review figcaption span { color: var(--muted); font-size: .875rem; }

.rating { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--ink); font-weight: 750; }

/* Why ------------------------------------------------------------------ */

.why { display: grid; gap: 36px; }
@media (min-width: 960px) { .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } }

.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

.why__note { display: flex; gap: 12px; margin: -36px 16px 0; padding: 18px; position: relative; }
.why__note .icon { width: 26px; height: 26px; color: var(--gold); }
.why__note p { color: var(--ink); font-weight: 700; line-height: 1.45; }
@media (min-width: 640px) { .why__note { position: absolute; right: -16px; bottom: -24px; max-width: 340px; margin: 0; } }

.why__copy h2 + .lead { margin-top: 16px; }
.why__copy > p:not(.lead):not(.kicker) { color: var(--muted); }
.why__copy .tags { margin-top: 24px; }

/* Founders --------------------------------------------------------------- */

.founders { display: grid; gap: 32px; }
@media (min-width: 960px) { .founders { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; } }
.founders__copy .lead { margin: 16px 0 24px; }
@media (max-width: 559px) { .founders__copy .button { width: 100%; } }

.founders__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 768px) { .founders__cards { gap: 24px; } }

.person-card { overflow: hidden; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }

.person-card__photo {
    display: grid;
    aspect-ratio: 4 / 5;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(120% 80% at 30% 10%, var(--navy-2), var(--navy-deep));
}

.person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.person-card__photo span { color: var(--gold); font-size: clamp(2.2rem, 1.4rem + 4vw, 4rem); font-weight: 300; letter-spacing: .04em; }
.person-card__body { padding: 14px 16px 18px; }
.person-card__body h3 { font-size: 1rem; }
.person-card__body p { color: var(--gold-ink); font-size: .8438rem; font-weight: 700; }
@media (min-width: 768px) { .person-card__body { padding: 18px 22px 22px; } .person-card__body h3 { font-size: 1.1875rem; } }

/* Video */
.video { display: grid; gap: 28px; }
@media (min-width: 960px) { .video { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; } }
.video p:not(.kicker) { margin-top: 14px; color: rgba(255, 255, 255, .75); }
.video__media { overflow: hidden; border-radius: var(--r-lg); }
.video__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.responsive-video { position: relative; aspect-ratio: 16 / 9; }
.responsive-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-facade {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
    border: 0;
    color: var(--white);
    background: linear-gradient(135deg, #123b5d, var(--navy-deep));
    cursor: pointer;
}
.video-facade::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, transparent 42%, rgba(7, 28, 51, .7)); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.video-facade:hover img { transform: scale(1.02); }
.video-facade:focus-visible { outline: 3px solid var(--gold); outline-offset: -5px; }
.video-facade__play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(7, 28, 51, .88);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .28);
    transform: translate(-50%, -50%);
}
.video-facade__play::before {
    position: absolute;
    top: 50%;
    left: 53%;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid var(--gold);
    content: '';
    transform: translate(-50%, -50%);
}
.video-facade__label { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; font-size: .9375rem; font-weight: 800; text-align: center; }
@media (max-width: 479px) { .video-facade__play { width: 60px; height: 60px; } }

/* FAQ -------------------------------------------------------------------- */

.faq { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.faq__head > p:not(.kicker) { margin-top: 14px; color: var(--muted); }

.fees { display: flex; gap: 14px; margin-top: 24px; padding: 20px; }
.fees h3 { font-size: 1.0625rem; }
.fees p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }

.accordion { display: grid; gap: 10px; }

.accordion details {
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.accordion details[open] { border-color: rgba(200, 150, 62, .6); box-shadow: var(--shadow); }

.accordion summary {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 16px 18px;
    color: var(--ink);
    font-weight: 750;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 20px; height: 20px; color: var(--gold-ink); transition: transform .25s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion details p { padding: 0 18px 18px; color: var(--muted); }
@media (min-width: 768px) { .accordion summary { padding: 18px 24px; } .accordion details p { padding: 0 24px 22px; } }

/* CTA band --------------------------------------------------------------- */

.cta-band { padding-block: var(--section); }
.section:not(.section--soft):not(.section--navy):not(.contact-section) + .cta-band { padding-top: 0; }

.cta-band__inner {
    position: relative;
    display: grid;
    gap: 24px;
    overflow: hidden;
    padding: 32px 22px;
    border-radius: var(--r-lg);
    color: rgba(255, 255, 255, .78);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(200, 150, 62, .28), transparent 65%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.cta-band h2 { color: var(--white); }
.cta-band__copy p { margin-top: 12px; font-size: 1.0625rem; }
.cta-band__actions { display: grid; gap: 12px; }

@media (min-width: 768px) { .cta-band__inner { padding: 48px; } }
@media (min-width: 1024px) {
    .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding: 56px 64px; }
    .cta-band__copy { max-width: 640px; }
}

/* Footer ----------------------------------------------------------------- */

.site-footer { padding-top: 56px; color: rgba(255, 255, 255, .7); background: var(--navy-deep); font-size: .9375rem; }

.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } .site-footer__brand { grid-column: auto; } }

.site-footer__logo { display: inline-grid; padding: 10px 14px; border-radius: 14px; background: var(--white); }
.site-footer__logo img { width: auto; height: 64px; }
.site-footer__brand p { max-width: 30em; margin: 18px 0 20px; }

.site-footer__title { margin-bottom: 14px; color: var(--white); font-size: .9375rem; font-weight: 800; letter-spacing: 0; }

.footer-links { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-links a,
.footer-links span { display: inline-flex; gap: 10px; align-items: center; min-height: 36px; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--white); }
.footer-links .icon { width: 18px; height: 18px; color: var(--gold); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: space-between;
    padding-block: 20px calc(24px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .8438rem;
}

.site-footer__bottom p { margin: 0; }
.site-footer__bottom div { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer__bottom a:hover { color: var(--white); }

@media (max-width: 767px) { body.has-mobile-bar .site-footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* Mobile bar */
.mobile-bar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px -12px rgba(7, 28, 51, .25);
    transform: translateY(110%);
    transition: transform .3s var(--ease);
}

.mobile-bar.is-visible { transform: none; }
body.menu-open .mobile-bar { transform: translateY(110%); }

.mobile-bar a { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 50px; border-radius: 12px; font-weight: 750; }
.mobile-bar .icon { width: 20px; height: 20px; }
.mobile-bar__call { flex: 0 0 auto; padding: 0 16px; border: 1.5px solid var(--line); color: var(--navy); }
.mobile-bar__main { flex: 1; color: var(--navy-deep); background: var(--gold); }

@media (min-width: 768px) { .mobile-bar { display: none; } }

/* Inner pages ------------------------------------------------------------ */

.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px 0 48px;
    color: rgba(255, 255, 255, .82);
    background: var(--navy-deep);
}

.page-hero__media { position: absolute; z-index: -1; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 28, 51, .94) 0%, rgba(7, 28, 51, .8) 60%, rgba(7, 28, 51, .6) 100%); content: ""; }

.page-hero__inner > * { max-width: 820px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.25rem); }
.page-hero h1 + p { margin-top: 16px; font-size: 1.0625rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: rgba(255, 255, 255, .65); font-size: .875rem; font-weight: 600; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--gold); }

@media (min-width: 768px) { .page-hero { padding: 72px 0 80px; } .page-hero h1 + p { font-size: 1.1875rem; } }

.page-hero--plain { color: var(--text); background: var(--soft); }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain .breadcrumb { color: var(--muted); }
.page-hero--plain .breadcrumb [aria-current] { color: var(--gold-ink); }

/* Timeline */
.timeline { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }

.timeline__item { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; }
@media (min-width: 768px) { .timeline__item { gap: 28px; padding: 28px 32px; } }

.timeline__icon { position: relative; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; color: var(--gold); background: var(--navy); }
.timeline__icon .icon { width: 24px; height: 24px; }
.timeline__icon span { position: absolute; top: -8px; right: -8px; display: grid; width: 24px; height: 24px; place-items: center; border: 2px solid var(--white); border-radius: 50%; color: var(--navy-deep); background: var(--gold); font-size: .75rem; font-weight: 800; }

.timeline__body h3 { font-size: 1.25rem; }
.timeline__body > p { margin-top: 8px; color: var(--muted); max-width: 64ch; }
.timeline__out { display: inline-flex; gap: 8px; align-items: flex-start; margin-top: 14px !important; padding: 8px 12px; border-radius: 10px; color: var(--navy); background: var(--gold-soft); font-size: .9063rem; font-weight: 700; line-height: 1.4; }
.timeline__out .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--green); }

.deliverables { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .deliverables { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .deliverables { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.deliverables li { display: flex; gap: 14px; align-items: center; padding: 18px; color: var(--ink); font-weight: 700; line-height: 1.4; }

/* Strategy detail */
.strategy-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .strategy-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .strategy-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.strategy-detail { display: flex; flex-direction: column; gap: 14px; padding: 24px; }
.strategy-detail header { display: flex; gap: 14px; align-items: center; }
.strategy-detail h2 { font-size: 1.3rem; }
.strategy-detail > p { color: var(--muted); font-size: .9688rem; }
.strategy-detail dl { display: grid; gap: 12px; margin: 0; }
.strategy-detail dt { display: flex; gap: 6px; align-items: center; color: var(--ink); font-size: .875rem; font-weight: 750; }
.strategy-detail dt .icon { width: 16px; height: 16px; color: var(--gold-ink); }
.strategy-detail dd { margin: 2px 0 0; color: var(--text); font-size: .9375rem; }
.strategy-detail footer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.strategy-detail footer span:first-child { display: block; margin-bottom: 6px; color: var(--muted); font-size: .8125rem; font-weight: 650; }

.meter { display: inline-flex; gap: 4px; }
.meter i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.meter i.on { background: var(--gold); }

/* Values, people, questions */
.values { display: grid; gap: 16px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.values .card { padding: 24px; }
.values h3 { margin: 16px 0 6px; font-size: 1.25rem; }
.values p { color: var(--muted); }

.people { display: grid; gap: 20px; }
@media (min-width: 768px) { .people { grid-template-columns: 1fr 1fr; gap: 28px; } }
.person { overflow: hidden; border-radius: var(--r-lg); }
.person .person-card__photo { aspect-ratio: 4 / 3; }
.person__body { padding: 22px 24px 26px; }
.person__body h2 { font-size: 1.5rem; }
.person__role { margin: 4px 0 14px; color: var(--gold-ink); font-weight: 750; }
.person__body p:not(.person__role):not(.admin-hint) { color: var(--muted); }

.questions { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .questions { grid-template-columns: 1fr 1fr; } }
.questions li { padding: 22px; }
.questions p { margin-top: 6px; color: var(--muted); }

/* Contact */
.contact-section { background: var(--soft); }
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; } .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

.project-form { padding: 22px 18px; border-radius: var(--r-lg); }
@media (min-width: 768px) { .project-form { padding: 36px; } }

.form-progress { display: none; }
.is-stepped .form-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.form-progress li { padding-top: 10px; border-top: 4px solid var(--line); color: var(--muted); font-size: .75rem; font-weight: 700; line-height: 1.2; transition: border-color .3s ease, color .3s ease; }
.form-progress li.is-done { border-color: var(--navy); color: var(--navy); }
.form-progress li[aria-current="step"] { border-color: var(--gold); color: var(--ink); }
@media (min-width: 480px) { .form-progress li { font-size: .8125rem; } }

.project-form fieldset { min-width: 0; margin: 0 0 24px; padding: 0; border: 0; }
.project-form fieldset:focus { outline: none; }
.project-form fieldset[hidden] { display: none; }
.is-stepped fieldset { margin-bottom: 0; }

.project-form legend { display: block; margin-bottom: 18px; padding: 0; color: var(--ink); font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.legend-n { display: block; margin-bottom: 2px; color: var(--gold-ink); font-size: .8125rem; font-weight: 750; letter-spacing: 0; }

.form-nav { display: grid; gap: 10px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-nav [data-prev],
.form-nav [data-next] { display: none; }
.is-stepped .form-nav [data-prev]:not([hidden]),
.is-stepped .form-nav [data-next]:not([hidden]) { display: inline-flex; }
@media (min-width: 480px) {
    .form-nav { display: flex; justify-content: space-between; }
    .is-stepped .form-nav [data-next],
    .is-stepped .form-nav [data-submit] { margin-left: auto; }
}
@media (max-width: 479px) { .form-nav [data-prev] { order: 2; } }

.form-privacy { margin-top: 14px; color: var(--muted); font-size: .8125rem; }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; }

.contact-aside { padding: 24px 20px; border-radius: var(--r-lg); }
@media (min-width: 768px) { .contact-aside { padding: 32px; } }
.contact-aside h2 { font-size: 1.375rem; }
.contact-aside > p { margin-top: 10px; color: var(--muted); }

.contact-steps { display: grid; gap: 14px; margin: 22px 0; padding: 0; list-style: none; counter-reset: c; }
.contact-steps li { position: relative; padding-left: 44px; counter-increment: c; }
.contact-steps li::before { position: absolute; top: 0; left: 0; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--navy-deep); background: var(--gold-soft); font-size: .875rem; font-weight: 800; content: counter(c); }
.contact-steps strong { display: block; color: var(--ink); font-weight: 750; line-height: 1.35; }
.contact-steps span { color: var(--muted); font-size: .9063rem; }

.contact-promise { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; color: var(--navy); background: var(--soft); font-size: .9375rem; font-weight: 600; }

.contact-details { display: grid; gap: 10px; margin: 0 0 20px; }
.contact-details div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.contact-details dt { color: var(--muted); font-size: .875rem; }
.contact-details dd { margin: 0; color: var(--ink); font-weight: 650; overflow-wrap: anywhere; }
.contact-details a { display: inline-block; padding-block: 8px; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Content & legal */
.legal-content,
.entry-content { max-width: 760px; }
.legal-content h2,
.entry-content h2 { margin: 1.8em 0 .5em; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.entry-content h3 { margin: 1.6em 0 .5em; }
.legal-content > :first-child,
.entry-content > :first-child { margin-top: 0; }
.entry-content a,
.legal-content a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry-content img { border-radius: var(--r); }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); color: var(--ink); font-weight: 650; }
.legal-alert { margin-bottom: 28px; padding: 14px 16px; border-radius: 12px; color: var(--gold-ink); background: var(--gold-soft); }

.post-list { display: grid; gap: 14px; max-width: 820px; }
.post-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); }
.post-item__date { margin-bottom: 4px; color: var(--muted); font-size: .875rem; }
.post-item h2 { margin-bottom: 8px; font-size: 1.375rem; }

.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page__inner > * { max-width: 680px; }
.error-page .lead { margin-top: 16px; }

/* ==========================================================================
   Bilan de financement (courtier partenaire) — v5.3
   ========================================================================== */

.fin-form [hidden],
.fin-form[hidden],
.fin-success[hidden],
.fin-hint[hidden],
.fin-dialog [hidden] { display: none !important; }

/* Lien discret dans l'en-tête */
.hero__fin { display: flex; gap: 10px; align-items: flex-start; max-width: 36em; margin: 20px 0 0; color: rgba(255, 255, 255, .82); font-size: .9375rem; line-height: 1.5; }
.hero__fin > .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--gold); }
.hero__fin-link { color: var(--white); font-weight: 750; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero__fin-link:hover { color: var(--gold); }

/* Section accueil */
.fin-section { background: radial-gradient(900px 420px at 0% 0%, var(--gold-soft), transparent 70%), var(--white); }
.fin-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .fin-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; } }
.fin-layout__copy h2 + .lead { margin-top: 16px; }

.fin-offers { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.fin-offers li { display: flex; gap: 16px; align-items: flex-start; }
.fin-offers h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.fin-offers p { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.fin-offers--grid { margin: 0; }
.fin-offers--grid li { flex-direction: column; padding: 24px; }
@media (min-width: 860px) { .fin-offers--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

.fin-card { padding: 22px 18px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .fin-card { padding: 32px; } }
.fin-card .admin-hint { margin-top: 18px; }

.fin-card__broker { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fin-card__broker p { margin: 0; }
.fin-card__name { color: var(--ink); font-size: 1.0625rem; font-weight: 800; line-height: 1.3; }
.fin-card__role { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.fin-card__orias { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px !important; color: var(--navy); font-size: .8125rem; font-weight: 700; }
.fin-card__orias .icon { width: 16px; height: 16px; color: var(--green); }

.fin-avatar { display: inline-grid; width: 48px; height: 48px; flex: none; place-items: center; overflow: hidden; border-radius: 50%; color: var(--gold); background: radial-gradient(120% 120% at 30% 10%, var(--navy-2), var(--navy-deep)); font-size: 1rem; font-weight: 800; letter-spacing: .02em; }
.fin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.fin-avatar .icon { width: 22px; height: 22px; }
.fin-avatar--lg { width: 64px; height: 64px; font-size: 1.25rem; }
.fin-avatar--lg .icon { width: 28px; height: 28px; }

.fin-card__q { margin: 0 0 12px; color: var(--ink); font-weight: 750; }
.fin-card__choices { display: grid; gap: 10px; }
@media (min-width: 480px) { .fin-card__choices { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) and (max-width: 1199px) { .fin-card__choices { grid-template-columns: 1fr; } .fin-quick { min-height: 56px; } }

.fin-quick {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: var(--white);
    font-size: .9375rem;
    font-weight: 700;
    line-height: 1.25;
    transition: border-color .2s ease, background-color .2s ease, transform .2s var(--ease);
}
.fin-quick .icon { width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--gold-ink); background: var(--gold-soft); }
.fin-quick:hover { border-color: var(--gold); background: #fffbf3; transform: translateY(-1px); }

.fin-card__promises { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.fin-card__promises li { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .875rem; font-weight: 650; }
.fin-card__promises .icon { width: 16px; height: 16px; color: var(--green); }

/* Formulaire en étapes */
.fin-progress { margin-bottom: 18px; }
.fin-progress__bar { height: 6px; overflow: hidden; border-radius: 6px; background: var(--line); }
.fin-progress__bar span { display: block; width: 20%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width .35s var(--ease); }
.fin-progress__label { margin: 8px 0 0; color: var(--muted); font-size: .8125rem; font-weight: 700; }

.fin-step { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.is-stepped .fin-step { margin-bottom: 0; }
.fin-step__title { display: block; margin-bottom: 16px; padding: 0; color: var(--ink); font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
@media (min-width: 768px) { .fin-step__title { font-size: 1.5rem; } }
.fin-step__optional { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 99px; color: var(--gold-ink); background: var(--gold-soft); font-size: .75rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.fin-step__intro { margin: -6px 0 16px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

.fin-choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .fin-choices { grid-template-columns: 1fr 1fr; } }

.fin-choice {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 74px;
    padding: 14px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.fin-choice:hover { border-color: #c3cfdc; }
.fin-choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.fin-choice:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(200, 150, 62, .3); }
.fin-choice:has(input:checked) { border-color: var(--navy); background: #f6f9fc; }
.fin-choice__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--gold-ink); background: var(--gold-soft); transition: background-color .2s ease, color .2s ease; }
.fin-choice__icon .icon { width: 20px; height: 20px; }
.fin-choice input:checked ~ .fin-choice__icon { color: var(--gold); background: var(--navy); }
.fin-choice__text strong { display: block; color: var(--ink); font-size: .9688rem; font-weight: 750; line-height: 1.3; }
.fin-choice__text small { display: block; margin-top: 2px; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.fin-choice__check { display: grid; width: 24px; height: 24px; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; color: transparent; transition: background-color .2s ease, border-color .2s ease; }
.fin-choice__check .icon { width: 14px; height: 14px; stroke-width: 3; }
.fin-choice input:checked ~ .fin-choice__check { border-color: var(--navy); color: var(--white); background: var(--navy); }
.fin-choice__flag { position: absolute; top: -9px; right: 12px; padding: 1px 9px; border-radius: 99px; color: var(--red); background: var(--red-soft); font-size: .6875rem; font-weight: 800; line-height: 1.6; }

.fin-group { margin-bottom: 18px; }
.fin-group__label { margin: 0 0 8px; color: var(--ink); font-size: .9063rem; font-weight: 650; }
.fin-group__label span { color: var(--muted); font-weight: 500; }

.fin-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-chips--two { display: grid; grid-template-columns: 1fr 1fr; }
.fin-chip { position: relative; display: inline-flex; cursor: pointer; }
.fin-chips--two .fin-chip span { width: 100%; }
.fin-chip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.fin-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 15px;
    border: 1.5px solid var(--line);
    border-radius: 99px;
    color: var(--navy);
    background: var(--white);
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.fin-chip:hover span { border-color: #c3cfdc; }
.fin-chip input:checked + span { border-color: var(--navy); color: var(--white); background: var(--navy); }
.fin-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(200, 150, 62, .3); }

.fin-money__wrap { position: relative; display: block; }
.fin-money__wrap input { padding-right: 64px; font-variant-numeric: tabular-nums; }
.fin-form .form-row--pair { grid-template-columns: 1fr 1fr; align-items: end; }
.fin-form .form-row--pair .field > span:first-child { line-height: 1.3; }
.fin-money__suffix { position: absolute; top: 50%; right: 14px; color: var(--muted); font-size: .875rem; font-weight: 650; pointer-events: none; transform: translateY(-50%); }

.fin-estimate { margin: 4px 0 0; padding: 18px; border-radius: 16px; color: rgba(255, 255, 255, .8); background: var(--navy); }
@media (min-width: 768px) { .fin-estimate { padding: 22px; } }
.fin-estimate__eyebrow { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 12px; color: var(--gold); font-size: .8125rem; font-weight: 750; }
.fin-estimate__eyebrow .icon { width: 18px; height: 18px; }
.fin-estimate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.fin-estimate__grid div:first-child { grid-column: 1 / -1; }
.fin-estimate__grid dt { color: rgba(255, 255, 255, .7); font-size: .8125rem; font-weight: 600; }
.fin-estimate__grid dd { margin: 2px 0 0; color: var(--white); font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fin-estimate__grid div:first-child dd { color: var(--gold); font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2rem); line-height: 1.15; }
.fin-estimate__verdict { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.fin-gauge { height: 8px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.fin-gauge span { display: block; width: 50%; height: 100%; border-radius: 8px; background: #6ee7a0; transition: width .35s var(--ease), background-color .2s ease; }
.fin-estimate__verdict[data-level="close"] .fin-gauge span { background: var(--gold); }
.fin-estimate__verdict[data-level="hard"] .fin-gauge span { background: #ff9b8f; }
.fin-estimate__verdict p { margin: 10px 0 0; font-size: .9063rem; line-height: 1.5; }
.fin-estimate__verdict strong { color: #6ee7a0; }
.fin-estimate__verdict[data-level="close"] strong { color: var(--gold); }
.fin-estimate__verdict[data-level="hard"] strong { color: #ffb4ab; }
.fin-estimate__note { margin: 12px 0 0; color: rgba(255, 255, 255, .6); font-size: .75rem; line-height: 1.45; }
.fin-estimate--info { color: var(--navy); background: var(--soft); font-size: .9375rem; font-weight: 600; line-height: 1.5; }

.fin-consent { margin: 6px 0 10px; }
.fin-consent--optional { margin-bottom: 14px; }
.fin-privacy { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.fin-privacy a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.fin-error { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; color: var(--red); background: var(--red-soft); font-size: .9063rem; font-weight: 600; line-height: 1.45; }

.fin-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.fin-nav [data-fin-next],
.fin-nav [data-fin-submit] { margin-left: auto; }
.fin-nav__back { display: inline-flex; gap: 6px; align-items: center; min-height: 48px; padding: 0 8px 0 2px; border: 0; color: var(--navy); background: none; font-weight: 750; cursor: pointer; }
.fin-nav__back .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.fin-nav__back:hover { color: var(--gold-ink); }
@media (max-width: 479px) {
    .fin-nav { flex-wrap: nowrap; }
    .fin-nav [data-fin-next],
    .fin-nav [data-fin-submit] { flex: 1; padding-inline: 14px; }
    .fin-nav__back { width: 48px; padding: 0; justify-content: center; border: 1.5px solid var(--line); border-radius: 12px; }
    .fin-nav__back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.fin-form:not(.is-stepped) .fin-nav [data-fin-submit] { width: 100%; }

.fin-reassure { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin: 12px 0 0; padding: 0; color: var(--muted); font-size: .8125rem; font-weight: 650; list-style: none; }
.fin-reassure li { display: inline-flex; gap: 5px; align-items: center; }
.fin-reassure .icon { width: 15px; height: 15px; color: var(--green); }

.fin-legal { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; line-height: 1.55; }
.fin-legal a { text-decoration: underline; text-underline-offset: 2px; }

.fin-success { padding: 6px 0 2px; text-align: center; }
.fin-success:focus { outline: none; }
.fin-success__icon { display: inline-grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; color: var(--green); background: #ecf8f0; }
.fin-success__icon .icon { width: 32px; height: 32px; }
.fin-success__title { margin: 14px 0 8px; font-size: 1.5rem; }
.fin-success > p { max-width: 32em; margin-inline: auto; color: var(--text); }
.fin-success__priority { display: inline-block; margin-top: 4px !important; padding: 6px 12px; border-radius: 10px; color: var(--red) !important; background: var(--red-soft); font-size: .875rem; font-weight: 700; }
.fin-docs { margin: 22px 0 0; padding: 18px; border-radius: 14px; background: var(--soft); text-align: left; }
.fin-docs__title { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; color: var(--ink); font-weight: 750; }
.fin-docs__title .icon { width: 20px; height: 20px; color: var(--gold-ink); }
.fin-docs ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fin-docs li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .9063rem; line-height: 1.45; }
.fin-docs li .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--green); }

/* Fenêtre */
body.fin-open { overflow: hidden; }
body.fin-open .mobile-bar,
body.fin-open .fin-float { visibility: hidden; }

.fin-dialog {
    width: min(640px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--r-lg);
    color: var(--text);
    background: var(--white);
    box-shadow: 0 30px 80px -20px rgba(7, 28, 51, .5);
}
.fin-dialog[open] { display: flex; flex-direction: column; animation: fin-pop .28s var(--ease); }
.fin-dialog::backdrop { background: rgba(7, 28, 51, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.fin-dialog__panel { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.fin-dialog__head { display: flex; flex: none; gap: 12px; align-items: center; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.fin-dialog__head h2 { font-size: 1.0625rem; letter-spacing: -.01em; }
.fin-dialog__head p { margin: 0; color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.fin-dialog__close { display: grid; width: 44px; height: 44px; flex: none; margin-left: auto; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); background: var(--white); cursor: pointer; }
.fin-dialog__close:hover { border-color: var(--navy); }
.fin-dialog__close .icon { width: 20px; height: 20px; }
.fin-dialog__body { flex: 1 1 auto; min-height: 0; padding: 20px 20px 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.fin-dialog__body::after { display: block; height: calc(22px + env(safe-area-inset-bottom)); content: ""; }
@media (min-width: 600px) { .fin-dialog__body { padding: 24px 28px 0; } .fin-dialog__body::after { height: 26px; } }
.fin-dialog .fin-nav { position: sticky; z-index: 2; bottom: 0; margin-inline: -20px; padding: 14px 20px; background: var(--white); }
@media (min-width: 600px) { .fin-dialog .fin-nav { margin-inline: -28px; padding-inline: 28px; } }

@media (max-width: 599px) {
    .fin-dialog {
        width: 100%;
        max-height: 94vh;
        max-height: 94dvh;
        margin: auto 0 0;
        border-radius: 20px 20px 0 0;
    }
    .fin-dialog[open] { animation-name: fin-up; }
}

@keyframes fin-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fin-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Bouton flottant (ordinateur) */
.fin-float { display: none; }
@media (min-width: 768px) {
    .fin-float {
        position: fixed;
        z-index: 80;
        right: 24px;
        bottom: 24px;
        display: inline-flex;
        gap: 10px;
        align-items: center;
        min-height: 54px;
        padding: 0 22px 0 11px;
        border-radius: 99px;
        color: var(--white);
        background: var(--navy);
        box-shadow: 0 14px 34px -10px rgba(7, 28, 51, .55);
        font-size: .9375rem;
        font-weight: 750;
        opacity: 0;
        pointer-events: none;
        transform: translateY(24px);
        transition: opacity .3s ease, transform .3s var(--ease), background-color .2s ease;
    }
    .fin-float.is-visible { opacity: 1; pointer-events: auto; transform: none; }
    .fin-float:hover { background: var(--navy-2); }
    .fin-float .icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; color: var(--navy-deep); background: var(--gold); }
}

/* Barre mobile à trois boutons */
.mobile-bar__short { display: none; }
.mobile-bar--fin { gap: 8px; }
.mobile-bar--fin a { gap: 6px; font-size: .9375rem; }
.mobile-bar--fin .mobile-bar__call { width: 50px; padding: 0; }
.mobile-bar--fin .mobile-bar__call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mobile-bar--fin .mobile-bar__long { display: none; }
.mobile-bar--fin .mobile-bar__short { display: inline; }
.mobile-bar__fin { flex: 1; color: var(--white); background: var(--navy); }
.mobile-bar__fin .icon { color: var(--gold); }
@media (max-width: 374px) { .mobile-bar--fin .mobile-bar__fin .icon, .mobile-bar--fin .mobile-bar__main .icon { display: none; } }

/* Page Contact */
.fin-hint { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; color: var(--navy); background: var(--gold-soft); }
.fin-hint > .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--gold-ink); }
.fin-hint p { margin: 0; font-size: .9063rem; line-height: 1.5; }
.fin-hint__link { font-weight: 750; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact-fin { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-fin p { margin: 0 0 12px; color: var(--muted); font-size: .9063rem; }
.contact-fin strong { color: var(--ink); }

/* Page Financement */
.fin-page { background: var(--soft); }
.fin-page__grid { display: grid; gap: 20px; }
@media (min-width: 1024px) {
    .fin-page__grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: start; }
    .fin-page__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.fin-panel { padding: 22px 18px; border-radius: var(--r-lg); }
@media (min-width: 768px) { .fin-panel { padding: 36px; } }
.fin-panel__head { margin-bottom: 20px; }
.fin-panel__head h2 { font-size: 1.5rem; }
.fin-panel__head p { margin-top: 6px; color: var(--muted); }
.fin-page__aside { display: grid; gap: 16px; }
.fin-broker { padding: 22px; border-radius: var(--r-lg); }
.fin-broker .fin-card__broker:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.fin-broker__bio { margin: 0; color: var(--muted); font-size: .9375rem; }
.fin-broker .fin-card__promises { margin-top: 16px; }
.fin-aside__title { font-size: 1.125rem; }
.fin-broker .contact-steps { margin: 16px 0 0; }

/* Utilities -------------------------------------------------------------- */

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

@media print {
    .site-header,
    .mobile-bar,
    .site-footer,
    .cta-band,
    .fin-float,
    .fin-dialog,
    .quick-card { display: none; }
}
