:root {
    color-scheme: light;
    --navy-950: #071b2d;
    --navy-900: #0b2742;
    --blue-700: #0f5fbf;
    --blue-600: #1769d2;
    --blue-100: #e8f1fc;
    --slate-900: #172033;
    --slate-700: #344054;
    --slate-600: #475467;
    --slate-500: #667085;
    --slate-300: #d0d5dd;
    --slate-200: #e4e7ec;
    --slate-100: #f6f8fb;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(7, 27, 45, 0.12);
    --radius-lg: 22px;
    --radius-md: 14px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--slate-900);
    background: var(--white);
    font-size: 16px;
    line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible {
    outline: 3px solid rgba(23, 105, 210, 0.32);
    outline-offset: 3px;
}
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    color: var(--white);
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-header__inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    text-decoration: none;
    font-weight: 780;
    letter-spacing: -0.02em;
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--blue-600);
    font-size: 15px;
}
.header-link { color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 650; }
.header-link:hover { color: var(--white); }

.hero {
    padding: 88px 0 76px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 10%, rgba(23,105,210,0.32), transparent 38%),
        linear-gradient(135deg, var(--navy-950), var(--navy-900));
}
.hero__inner { max-width: 930px; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero .eyebrow { color: #9cc9ff; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 72px); }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 46px); }
h3 { margin-bottom: 10px; font-size: 21px; }
.hero__lead { max-width: 760px; margin: 0 0 34px; color: rgba(255,255,255,0.82); font-size: clamp(18px, 2.2vw, 22px); }

.search-card {
    max-width: 820px;
    padding: 18px;
    color: var(--slate-900);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.search-card label { display: block; margin: 0 0 8px; font-weight: 750; }
.search-card__row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.search-card input {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: 0 16px;
    color: var(--slate-900);
    background: var(--white);
    border: 1px solid var(--slate-300);
    border-radius: 12px;
    font-size: 16px;
}
.search-card button, .button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--white);
    background: var(--blue-700);
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 760;
}
.search-card button:hover, .button:hover { background: #0d53a7; }
.search-card p { margin: 10px 2px 0; color: var(--slate-600); font-size: 13px; }
.hero__actions { margin-top: 18px; }
.button--secondary { min-height: 46px; color: var(--white); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); }
.button--secondary:hover { background: rgba(255,255,255,0.18); }

.section { padding: 78px 0; }
.section--soft { background: var(--slate-100); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card {
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(7,27,45,0.05);
}
.card p { margin: 0; color: var(--slate-600); }
.split { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 64px; align-items: start; }
.steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { padding: 20px 22px; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.prose p { margin-top: 0; margin-bottom: 18px; color: var(--slate-700); }
.site-footer { margin-top: 70px; color: rgba(255,255,255,0.76); background: var(--navy-950); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0; font-size: 13px; }
.site-footer p { margin: 0; }

@media (max-width: 760px) {
    .shell { width: min(100% - 28px, 1120px); }
    .site-header__inner { min-height: 60px; }
    .header-link { font-size: 14px; }
    .hero { padding: 60px 0 54px; }
    h1 { font-size: clamp(38px, 12vw, 54px); }
    .search-card__row { grid-template-columns: 1fr; }
    .search-card button { width: 100%; }
    .cards, .split { grid-template-columns: 1fr; gap: 24px; }
    .section { padding: 58px 0; }
    .site-footer__inner { flex-direction: column; }
}

/* Carte principale integree a l'accueil */
.hero--compact {
    padding: 54px 0 48px;
}

.hero--compact h1 {
    margin-bottom: 0;
}

.home-map-section {
    padding: 42px 0 28px;
}

.home-map-heading {
    max-width: 780px;
    padding: 0 4px 20px;
}

.home-map-heading h2 {
    margin-bottom: 10px;
    font-size: clamp(26px, 3vw, 38px);
}

.home-map-heading p:not(.eyebrow) {
    margin: 0;
    color: var(--slate-600);
}

.home-map-frame {
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.home-map-noscript {
    padding: 14px 18px;
    margin: 14px 0 0;
    color: var(--slate-700);
    background: var(--slate-100);
    border-radius: 12px;
}

@media (max-width: 760px) {
    .hero--compact {
        padding: 42px 0 40px;
    }

    .home-map-section {
        padding-top: 30px;
    }

    .home-map-heading {
        padding-bottom: 14px;
    }

    .home-map-frame {
        padding: 5px;
        border-radius: 19px;
    }
}
