/* =========================================================
   LOCALISERNUMERO — visual identity: "SIGNAL"

   The subject is a diagnostic instrument for phones, used by
   someone whose device has stopped working. So the page is
   built like a status readout rather than a brochure:

     - a mono utility face carries every label, number and
       status, the way an instrument panel would;
     - a live "signal" dot marks anything that reports state;
     - the display face is heavy and tight, set large only
       where a real headline earns it;
     - orange is a signal colour here, not decoration: it
       marks the thing you are meant to look at next.

   Pure HTML + CSS. cPanel compatible.
========================================================= */

:root {
    /* --- ink --------------------------------------------- */
    --ink:        #0F1622;
    --ink-soft:   #182231;
    --ink-line:   #283446;

    /* --- signal ------------------------------------------ */
    --signal-rgb: 42, 119, 202;
    --ink-rgb:    15, 22, 34;

    --signal:     #2A77CA;
    --signal-hot: #1E5EA3;
    --signal-dim: #EAF2FB;
    --signal-mid: #A9CBEC;

    /* --- status ------------------------------------------ */
    --ok:      #1F7A4C;
    --warn:    #B26A00;
    --danger:  #C2321B;

    /* --- surfaces ---------------------------------------- */
    --paper:   #FFFFFF;
    --sand:    #F2F5F9;
    --sand-2:  #E4EAF2;
    --line:    #DBE2EC;

    /* --- text -------------------------------------------- */
    --text:      #0F1622;
    --text-mid:  #444F5E;
    --text-dim:  #5B6673;

    /* --- type -------------------------------------------- */
    --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
            Roboto, Helvetica, Arial, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
            Consolas, monospace;

    /* --- geometry ---------------------------------------- */
    --max-width: 1140px;

    --radius-small: 10px;
    --radius-medium: 14px;
    --radius-large: 20px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--body);

    color: var(--text);
    background: var(--paper);

    font-size: 16px;
    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

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

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

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.025em;
}

:focus-visible {
    outline: 3px solid var(--signal);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--signal);
    color: #fff;
}


/* =========================================================
   LAYOUT
========================================================= */

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.section { padding: 96px 0; }

.gray-section {
    padding: 96px 0;
    background: var(--sand);
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 200;

    padding: 12px 20px;

    background: var(--signal);
    color: #fff;

    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
}

.skip-link:focus { left: 0; top: 0; }


/* =========================================================
   SIGNATURE: the status label
   A mono, uppercase micro-label preceded by a live dot.
   Used anywhere the page reports a state.
========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.16em;

    color: var(--signal-hot);
}

.eyebrow::before {
    content: "";

    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;
    background: var(--signal);

    box-shadow: 0 0 0 0 rgba(var(--signal-rgb), 0.55);

    animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0   rgba(var(--signal-rgb), 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(var(--signal-rgb), 0); }
    100% { box-shadow: 0 0 0 0   rgba(var(--signal-rgb), 0); }
}

.eyebrow.light { color: var(--signal-mid); }


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    height: 68px;

    background: rgba(var(--ink-rgb), 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--ink-line);
}

.header-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--display);
    font-size: 19px;
    font-weight: 800;

    letter-spacing: -0.04em;

    color: #fff;
}

.logo span { color: var(--signal); }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-left: auto;
    margin-right: 28px;
}

.desktop-nav a {
    position: relative;

    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    color: rgba(255, 255, 255, 0.72);

    transition: color 0.18s ease;
}

.desktop-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;

    height: 2px;

    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.18s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible { color: #fff; }

.desktop-nav a:hover::after { transform: scaleX(1); }

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 20px;

    border-radius: 8px;

    background: var(--signal);
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    /* Deliberately NOT uppercase. */
    text-transform: none;
    letter-spacing: -0.005em;

    white-space: nowrap;

    transition: background 0.18s ease, transform 0.18s ease;
}

.header-button:hover {
    background: var(--signal-hot);
    transform: translateY(-1px);
}


/* =========================================================
   HERO — the instrument panel
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 104px 0 92px;

    background: var(--ink);
    color: #fff;
}

/* The "Find out which one" panel is illustrative, not a control. */
.visual-button { cursor: default; }

/* Faint signal grid, so the dark field isn't flat. */
.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 62px 62px;

    mask-image: radial-gradient(circle at 50% 35%, #000 0, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0, transparent 72%);
}

.hero::after {
    content: "";

    position: absolute;
    top: -180px;
    left: 50%;

    width: 720px;
    height: 420px;

    transform: translateX(-50%);

    background: radial-gradient(
        ellipse at center,
        rgba(var(--signal-rgb), 0.20) 0,
        transparent 70%
    );

}


/* --- hero content --- */

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 860px;
    margin: 0 auto;

    text-align: center;
}

.hero .eyebrow { justify-content: center; }

.hero h1 {
    margin-top: 22px;

    font-size: clamp(36px, 5.6vw, 66px);
    font-weight: 800;

    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero h1 span { color: var(--signal); }

.hero-description {
    max-width: 610px;
    margin: 24px auto 0;

    color: rgba(255, 255, 255, 0.74);

    font-size: 17px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 26px;

    border-radius: 9px;

    font-size: 15px;
    font-weight: 600;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
    color: #fff;
    background: var(--signal);
}

.button-primary:hover { background: var(--signal-hot); }

.button-secondary {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-secondary:hover { border-color: rgba(255, 255, 255, 0.6); }

.hero-note {
    margin-top: 22px;

    font-family: var(--mono);
    font-size: 12px;

    letter-spacing: 0.06em;

    color: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   TRUST BAR
========================================================= */

.trust-section {
    background: var(--ink-soft);
    border-bottom: 1px solid var(--ink-line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
    padding: 26px 20px;
    text-align: center;

    border-right: 1px solid var(--ink-line);
}

.trust-grid > div:last-child { border-right: 0; }

.trust-grid strong {
    display: block;

    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: var(--signal);
}

.trust-grid span {
    display: block;
    margin-top: 6px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 14px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading { max-width: 640px; }

.section-heading.center {
    margin: 0 auto;
    text-align: center;
}

.section-heading.center .eyebrow { justify-content: center; }

.section-heading h2 {
    margin-top: 14px;

    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;

    line-height: 1.14;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin-top: 16px;

    color: var(--text-mid);

    font-size: 17px;
    line-height: 1.72;
}


/* =========================================================
   DEVICE CHECK CARD
   Framed like a panel: mono header strip, orange rule.
========================================================= */

.diagnostic-section {
    position: relative;

    padding: 78px 0 88px;

    background: var(--sand);
    border-bottom: 1px solid var(--line);
}

/* --- animated map background (MapLibre) --- */

.check-map {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}

/* Fade and mask the map canvas only, NOT the whole container.
   Fading the container would dim the marker with it. */
.check-map .maplibregl-canvas {
    filter: saturate(0.25) contrast(0.95);
    opacity: 0.34;

    -webkit-mask-image:
        radial-gradient(ellipse at 50% 50%, #000 55%, transparent 92%);
    mask-image:
        radial-gradient(ellipse at 50% 50%, #000 55%, transparent 92%);

    animation: map-in 1.4s ease 0.15s both;
}

@keyframes map-in {
    from { opacity: 0; }
    to   { opacity: 0.34; }
}

/* Brand-blue wash over the map. `mix-blend-mode: color` keeps the
   map's light and dark values and replaces only the hue, so roads
   and coastlines stay readable while everything turns the site's
   blue. A filter/hue-rotate would shift the greys too. */
.check-map::after {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 1;

    background: var(--signal);

    mix-blend-mode: color;
    opacity: 0.30;

    pointer-events: none;

    -webkit-mask-image:
        radial-gradient(ellipse at 50% 50%, #000 55%, transparent 92%);
    mask-image:
        radial-gradient(ellipse at 50% 50%, #000 55%, transparent 92%);
}

/* La carte reçoit la souris pour pouvoir être déplacée. Le zoom
   à la molette est désactivé côté JavaScript, donc le défilement
   de la page continue de fonctionner au-dessus d'elle. */
.check-map .maplibregl-canvas-container,
.check-map .maplibregl-canvas {
    pointer-events: auto;

    cursor: grab;
}

.check-map .maplibregl-canvas-container:active,
.check-map .maplibregl-canvas:active {
    cursor: grabbing;
}

/* Sur écran tactile le glissement est désactivé (voir worldmap.js) :
   la carte doit laisser passer le doigt pour le défilement. */
@media (pointer: coarse) {
    .check-map .maplibregl-canvas-container,
    .check-map .maplibregl-canvas {
        pointer-events: none;
    }
}

/* Marker sits above the blue wash and keeps its full opacity. */
.check-map .maplibregl-marker {
    z-index: 2;
}

/* Attribution is required by the OpenStreetMap licence.
   Keep it legible — do not set display:none here. */
.check-map .maplibregl-ctrl-attrib {
    pointer-events: auto;
    z-index: 3;

    background: rgba(255, 255, 255, 0.75);

    font-size: 10px;
}

.check-map .maplibregl-ctrl-attrib a {
    color: var(--text-dim);
}

.check-map-caption {
    position: relative;
    z-index: 2;

    max-width: 560px;
    margin: 22px auto 0;

    color: var(--text-dim);

    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.6;

    letter-spacing: 0.03em;

    text-align: center;
}


/* ---- réglage selon le fond de carte ----
   « liberty » et « bright » sont de vraies cartes routières :
   beaucoup plus d'encre au cm² que « positron ». Sans atténuation
   supplémentaire, les routes et les libellés passeraient au travers
   de la carte du formulaire. La désaturation est plus forte et
   l'opacité plus basse pour ces deux-là. */

/* Une vraie carte routière doit garder SES couleurs : routes
   jaunes, eau bleue, parcs verts. C'est ce qui la rend
   reconnaissable comme carte de navigation.

   Le voile ::after utilise mix-blend-mode: color, qui remplace la
   teinte de tout ce qu'il recouvre. Sur un fond pâle c'était un
   effet de marque ; sur une carte routière il écrase toutes les
   couleurs en un aplat bleu, et tous les styles finissent par se
   ressembler. Il est donc désactivé pour ces deux styles. */

.check-map[data-map-style="liberty"]::after,
.check-map[data-map-style="bright"]::after {
    display: none;
}

.check-map[data-map-style="liberty"] .maplibregl-canvas,
.check-map[data-map-style="bright"] .maplibregl-canvas {
    /* Presque pas de retouche : la carte se montre telle qu'elle est. */
    filter: saturate(0.92) contrast(0.98);
    opacity: 0.85;

    /* L'animation d'apparition porte animation-fill-mode: both,
       donc sa valeur finale écraserait l'opacité ci-dessus. */
    animation-name: map-in-road;
}

@keyframes map-in-road {
    from { opacity: 0; }
    to   { opacity: 0.85; }
}

/* La carte étant désormais bien visible, le panneau du formulaire
   doit être franchement opaque : à 0,82 d'opacité les rues se
   lisaient au travers des questions. */

.check-map[data-map-style="liberty"] ~ .container .check-card-wrapper,
.check-map[data-map-style="bright"]  ~ .container .check-card-wrapper {
    background: rgba(255, 255, 255, 0.96);

    box-shadow: 0 18px 50px rgba(var(--ink-rgb), 0.16);
}

/* Même raison pour la légende et les boutons de zoom, qui
   flottent directement au-dessus de la carte. */

.check-map[data-map-style="liberty"] ~ .container .check-map-caption,
.check-map[data-map-style="bright"]  ~ .container .check-map-caption {
    display: inline-block;

    padding: 6px 12px;

    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);

    color: var(--text-mid);
}

.check-map[data-map-style="liberty"] ~ .container .map-zoom button,
.check-map[data-map-style="bright"]  ~ .container .map-zoom button {
    background: #fff;

    box-shadow: 0 2px 8px rgba(var(--ink-rgb), 0.18);
}

.check-map[data-map-style="liberty"]::after,
.check-map[data-map-style="bright"]::after {
    opacity: 0.22;
}

/* --- illustrative marker --- */
/* Deliberately the strongest thing on the map: the wash behind it
   was lowered, so the marker has to carry the eye on its own. */

.map-marker {
    position: relative;
    width: 26px;
    height: 26px;
}

.map-marker-dot,
.map-marker-ring,
.map-marker-halo {
    position: absolute;
    top: 50%;
    left: 50%;

    border-radius: 50%;
}

.map-marker-halo {
    width: 26px;
    height: 26px;

    margin: -13px 0 0 -13px;

    background: var(--signal);
    opacity: 0.18;
}

.map-marker-dot {
    width: 15px;
    height: 15px;

    margin: -7.5px 0 0 -7.5px;

    background: var(--signal);

    /* White collar so the dot reads against roads and coastline. */
    border: 3px solid #fff;

    box-shadow:
        0 2px 6px rgba(var(--ink-rgb), 0.45),
        0 0 0 1px rgba(var(--signal-rgb), 0.35);
}

.map-marker-ring {
    width: 26px;
    height: 26px;

    margin: -13px 0 0 -13px;

    border: 2.5px solid var(--signal);

    animation: marker-pulse 2.2s ease-out infinite;
}

@keyframes marker-pulse {
    0%   { transform: scale(0.45); opacity: 1; }
    100% { transform: scale(3.6);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .check-map { animation: none; opacity: 0.55; }
    .map-marker-ring { animation: none; opacity: 0.5; }
}

.check-card-wrapper {
    position: relative;

    /* Above the map. */
    z-index: 1;

    max-width: 660px;
    margin: 0 auto;

    padding: 10px;

    border: 1px solid var(--line);
    border-radius: var(--radius-large);

    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.diagnostic-shell {
    position: relative;

    padding: 30px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    box-shadow: 0 20px 50px rgba(var(--ink-rgb), 0.07);
}

/* The orange strip at the top of the panel. */
.diagnostic-shell::before {
    content: "";

    position: absolute;
    top: -1px;
    left: 26px;
    right: 26px;

    height: 3px;

    border-radius: 0 0 3px 3px;
    background: var(--signal);
}

.check-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 26px;
    padding-bottom: 22px;

    border-bottom: 1px solid var(--line);
}

.check-card-top small {
    display: block;

    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.16em;

    color: var(--signal-hot);
}

.check-card-top h2 {
    margin-top: 8px;

    font-size: 24px;
    font-weight: 700;

    letter-spacing: -0.03em;
}

.status-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--signal-dim);
    color: var(--signal-hot);

    font-size: 17px;
    font-weight: 700;
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    margin-top: 52px;
}

.step-card {
    position: relative;

    min-height: 272px;
    padding: 28px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    transition: transform 0.22s ease, border-color 0.22s ease,
                box-shadow 0.22s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--signal-mid);

    box-shadow: 0 18px 40px rgba(var(--ink-rgb), 0.07);
}

/* The step index reads as an instrument channel number. */
.step-number {
    display: block;

    font-family: var(--mono);
    font-size: 40px;
    font-weight: 600;

    line-height: 1;
    letter-spacing: -0.04em;

    color: var(--signal);
    opacity: 0.42;
}

.step-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 24px;

    border-radius: 10px;

    background: var(--signal-dim);
    color: var(--signal-hot);

    font-size: 19px;
    font-weight: 700;
}

.step-card h3 {
    margin-top: 22px;
    font-size: 19px;
}

.step-card p {
    margin-top: 10px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.benefits-content h2 {
    margin-top: 14px;

    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.benefits-content > p {
    margin-top: 18px;

    color: var(--text-mid);

    font-size: 17px;
    line-height: 1.72;
}

.text-link {
    display: inline-block;
    margin-top: 24px;

    padding-bottom: 3px;

    border-bottom: 2px solid var(--signal);

    color: var(--signal-hot);

    font-weight: 600;
}

.text-link:hover { color: var(--signal); }

.benefits-card {
    padding: 34px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
}

.benefit-item {
    display: flex;
    gap: 16px;

    padding: 20px 0;

    border-bottom: 1px solid var(--line);
}

.benefit-item:first-child { padding-top: 0; }

.benefit-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.check {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--signal);
    color: #fff;

    font-size: 13px;
    font-weight: 700;
}

.benefit-item strong {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
}

.benefit-item p {
    margin-top: 5px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   DEVICE BRANDS
========================================================= */

.devices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    margin-top: 52px;
}

.device-brand {
    padding: 30px 24px;
    text-align: center;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);

    transition: transform 0.22s ease, border-color 0.22s ease;
}

.device-brand:hover {
    transform: translateY(-4px);
    border-color: var(--signal-mid);
}

.brand-letter {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto;

    border-radius: 12px;

    background: var(--ink);
    color: var(--signal);

    font-family: var(--mono);
    font-size: 20px;
    font-weight: 600;
}

.device-brand h3 {
    margin-top: 18px;
    font-size: 17px;
}

.device-brand p {
    margin-top: 8px;

    color: var(--text-mid);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   FEATURE SECTION
========================================================= */

.feature-section {
    padding: 96px 0;

    background: var(--ink);
    color: #fff;
}

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.feature-visual {
    padding: 14px;

    border: 1px solid var(--ink-line);
    border-radius: var(--radius-large);

    background: var(--ink-soft);
}

.visual-window {
    overflow: hidden;

    border-radius: var(--radius-medium);
    background: var(--paper);
}

.window-header {
    display: flex;
    gap: 7px;

    padding: 14px 18px;

    background: var(--sand);
    border-bottom: 1px solid var(--line);
}

.window-header span {
    width: 10px;
    height: 10px;

    border-radius: 50%;
    background: var(--line);
}

.window-header span:first-child { background: var(--signal); }

.visual-content { padding: 32px; }

.visual-content small {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.16em;

    color: var(--signal-hot);
}

.visual-title {
    margin-top: 14px;

    font-family: var(--display);
    font-size: 25px;
    font-weight: 700;

    line-height: 1.16;
    letter-spacing: -0.03em;

    color: var(--text);
}

.visual-lines { margin-top: 28px; }

.visual-lines span {
    display: block;
    height: 9px;

    margin-bottom: 10px;

    border-radius: 4px;
    background: var(--sand-2);
}

.visual-lines span:nth-child(1) { width: 100%; }
.visual-lines span:nth-child(2) { width: 82%; }
.visual-lines span:nth-child(3) { width: 58%; }

.visual-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 26px;
    padding: 13px 26px;

    border-radius: 8px;

    background: var(--signal);
    color: #fff;

    font-size: 14px;
    font-weight: 600;
}

.feature-content h2 {
    margin-top: 14px;

    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.feature-content > p {
    margin-top: 18px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 17px;
    line-height: 1.72;
}

.feature-list { margin-top: 30px; }

.feature-list > div {
    display: flex;
    gap: 18px;
    align-items: baseline;

    padding: 16px 0;

    border-bottom: 1px solid var(--ink-line);
}

.feature-list > div:last-child { border-bottom: 0; }

.feature-list span {
    flex: 0 0 auto;

    font-family: var(--mono);
    font-size: 15px;
    font-weight: 600;

    color: var(--signal);
}

.feature-list p {
    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
    line-height: 1.65;
}

.feature-list p strong {
    color: #fff;
    font-weight: 600;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-section { background: var(--sand); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    margin-top: 52px;
}

.testimonial {
    padding: 30px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
}

.stars {
    color: var(--signal);
    font-size: 15px;
    letter-spacing: 0.14em;
}

.testimonial blockquote {
    margin-top: 18px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.75;
}

.testimonial-author {
    margin-top: 24px;
    padding-top: 18px;

    border-top: 1px solid var(--line);
}

.testimonial-author strong {
    display: block;

    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
}

.testimonial-author span {
    display: block;
    margin-top: 3px;

    font-family: var(--mono);
    font-size: 12px;

    letter-spacing: 0.06em;

    color: var(--text-dim);
}


/* =========================================================
   FAQ
========================================================= */

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 64px;
    align-items: start;
}

.faq-intro h2 {
    margin-top: 14px;

    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.faq-intro p {
    margin-top: 16px;

    color: var(--text-mid);

    font-size: 17px;
    line-height: 1.72;
}

.faq-list {
    padding: 0 26px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
}

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list details:last-child { border-bottom: 0; }

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 0;

    cursor: pointer;
    list-style: none;

    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;

    letter-spacing: -0.015em;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary span {
    flex: 0 0 auto;

    color: var(--signal);

    font-family: var(--mono);
    font-size: 20px;
    font-weight: 400;

    transition: transform 0.2s ease;
}

.faq-list details[open] summary span { transform: rotate(45deg); }

.faq-list details p {
    padding: 0 0 22px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--ink);
    color: #fff;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;

    padding: 72px 0;
}

.footer-brand p {
    max-width: 270px;
    margin-top: 16px;

    color: rgba(255, 255, 255, 0.6);

    font-size: 14px;
    line-height: 1.72;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 8px;

    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.16em;

    color: var(--signal);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;

    transition: color 0.18s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible { color: var(--signal); }

.disclaimer {
    padding: 28px 0 34px;
    border-top: 1px solid var(--ink-line);
}

.disclaimer p {
    max-width: 860px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.56);

    font-size: 13px;
    line-height: 1.78;

    text-align: center;
}

.disclaimer strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 0;

    border-top: 1px solid var(--ink-line);

    font-family: var(--mono);
    font-size: 12px;

    letter-spacing: 0.04em;

    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p { margin: 0; }


.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.62);
    transition: color 0.18s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--signal); }


/* =========================================================
   DIAGNOSTIC WIDGET
========================================================= */

#diagnostic-app {
    /* A small floor only. The real jump prevention is
       swapContent() in script.js, which holds the previous
       height while the new step is laid out. */
    min-height: 260px;

    display: flex;
    flex-direction: column;

    animation: dx-fade 0.22s ease both;
}

@keyframes dx-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

section[id] { scroll-margin-top: 88px; }

.dx-progress { margin-bottom: 24px; }

.dx-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 10px;
}

.dx-progress-head span {
    font-family: var(--mono);
    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: var(--text-dim);
}

.dx-progress-head strong {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.08em;

    color: var(--text-mid);
}

/* Back now lives in the progress row, so a step never ends in
   a stack of three competing buttons. */
.dx-back {
    padding: 0;

    background: none;
    border: 0;
    cursor: pointer;

    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.12em;

    color: var(--text-dim);

    transition: color 0.18s ease;
}

.dx-back:hover { color: var(--signal-hot); }

.dx-bar {
    height: 4px;

    border-radius: 999px;
    background: var(--sand-2);

    overflow: hidden;
}

.dx-bar span {
    display: block;
    height: 100%;

    border-radius: 999px;
    background: var(--signal);

    transition: width 0.3s ease;
}

.dx-question {
    margin-bottom: 20px;

    font-family: var(--display);
    font-size: 21px;
    font-weight: 700;

    letter-spacing: -0.025em;
}

.dx-options {
    display: grid;
    /* Three options per question, so one column avoids leaving
       an orphan on a second row. */
    grid-template-columns: 1fr;
    gap: 10px;
}

.dx-option {
    display: flex;
    align-items: center;

    min-height: 54px;
    padding: 14px 18px;

    text-align: left;

    font-size: 15px;
    font-weight: 500;

    color: var(--text);
    background: var(--paper);

    border: 1px solid var(--line);
    border-radius: 10px;

    cursor: pointer;

    transition: border-color 0.15s ease, background 0.15s ease,
                transform 0.05s ease;
}

.dx-option:hover {
    border-color: var(--signal);
    background: var(--signal-dim);
}

.dx-option:active { transform: scale(0.99); }

.dx-next {
    width: 100%;

    margin-top: 20px;
    padding: 15px;

    font-size: 15px;
    font-weight: 600;

    color: #fff;
    background: var(--signal);

    border: none;
    border-radius: 9px;

    cursor: pointer;

    transition: background 0.18s ease;
}

.dx-next:hover:not(:disabled) { background: var(--signal-hot); }

.dx-next:disabled {
    background: var(--sand-2);
    color: var(--text-dim);
    cursor: not-allowed;
}


/* ---- searchable combobox ---- */

.dx-combo {
    position: relative;
    margin-bottom: 4px;
}

.dx-combo-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 54px;
    padding: 0 18px;

    text-align: left;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;

    cursor: pointer;

    font-size: 15px;

    transition: border-color 0.15s ease;
}

.dx-combo-trigger:hover,
.dx-combo-trigger[aria-expanded="true"] { border-color: var(--signal); }

.dx-combo-label.is-placeholder { color: var(--text-dim); }

.dx-combo-chevron {
    margin-left: 10px;

    font-size: 10px;
    color: var(--text-dim);
}

.dx-combo-pop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;

    overflow: hidden;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;

    box-shadow: 0 16px 40px rgba(var(--ink-rgb), 0.16);

    overscroll-behavior: contain;
}

.dx-combo-search {
    width: 100%;
    height: 46px;
    padding: 0 16px;

    border: 0;
    border-bottom: 1px solid var(--line);

    font-size: 15px;

    outline: none;
}

.dx-combo-list {
    list-style: none;
    margin: 0;
    padding: 6px;

    max-height: 260px;
    overflow-y: auto;

    /* Without this, reaching the end of the list hands the wheel
       back to the page mid-gesture — which is what made scrolling
       down here feel like it was jumping. */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.dx-combo-item {
    padding: 11px 14px;

    border-radius: 8px;
    cursor: pointer;

    font-size: 15px;
}

.dx-combo-item:hover,
.dx-combo-item:focus {
    background: var(--signal-dim);
    outline: none;
}

.dx-combo-item.is-selected {
    background: var(--signal);
    color: #fff;
}

.dx-combo-empty {
    padding: 14px;

    color: var(--text-dim);
    font-size: 14px;

    list-style: none;
}


/* ---- étape numéro de téléphone ---- */

.dx-phone { margin-bottom: 4px; }

.dx-phone-row {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 10px;
}

.dx-phone-country {
    /* Les noms de pays longs ne doivent pas faire déborder la colonne. */
    width: 100%;
    max-width: 100%;

    min-height: 54px;
    padding: 0 12px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;

    font-size: 15px;
    color: var(--text);

    cursor: pointer;
}

.dx-phone-country:focus { border-color: var(--signal); outline: none; }

.dx-phone-field {
    display: flex;
    align-items: center;

    min-height: 54px;
    padding: 0 14px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;

    transition: border-color 0.15s ease;
}

.dx-phone-field:focus-within { border-color: var(--signal); }

.dx-phone-dial {
    flex: 0 0 auto;

    padding-right: 10px;
    margin-right: 10px;

    border-right: 1px solid var(--line);

    font-family: var(--mono);
    font-size: 15px;

    color: var(--text-mid);
}

.dx-phone-input {
    width: 100%;

    border: 0;
    outline: none;

    font-family: var(--mono);
    font-size: 16px;

    letter-spacing: 0.04em;

    background: transparent;
    color: var(--text);
}

.dx-phone-hint {
    margin-top: 10px;

    color: var(--text-dim);

    font-size: 13px;
    line-height: 1.6;
}

.dx-phone-status {
    margin-top: 8px;
    min-height: 20px;

    font-family: var(--mono);
    font-size: 12px;

    letter-spacing: 0.02em;
    line-height: 1.5;

    color: var(--text-dim);
}

.dx-phone-status.is-ok      { color: var(--ok); }
.dx-phone-status.is-bad     { color: var(--danger); }
.dx-phone-status.is-pending { color: var(--text-dim); }


/* ---- result ---- */

.dx-result {
    padding: 26px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
}

/* Severity no longer paints a left rule. The wording of the
   result carries the seriousness instead. */

.dx-result-label {
    display: block;

    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.16em;

    color: var(--signal-hot);
}

.dx-result-title {
    margin-top: 6px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
	text-align: center;
    color: var(--signal);
	}

.dx-result-summary {
    margin-top: 12px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.72;
}

.dx-h4 {
    margin-top: 26px;

    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.14em;

    color: var(--text-dim);
}

.dx-p {
    margin-top: 10px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.72;
}

.dx-steps {
    margin-top: 12px;
    padding-left: 20px;

    overscroll-behavior: contain;
}

.dx-steps li {
    margin-bottom: 10px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.7;
}

.dx-steps li::marker {
    color: var(--signal);
    font-family: var(--mono);
}

.dx-authority {
    margin-top: 18px;
    padding: 14px 16px;

    background: var(--sand);
    border-radius: 8px;

    font-size: 14px;
    line-height: 1.65;

    color: var(--text-mid);
}

.dx-authority strong { color: var(--text); }

.dx-warning {
    margin-top: 18px;
    padding: 16px;

    background: #FFF6EC;
    border-left: 3px solid var(--warn);
    border-radius: 8px;

    color: #6B4200;

    font-size: 14px;
    line-height: 1.7;
}

.dx-note {
    margin-top: 16px;

    color: var(--text-dim);

    font-size: 13px;
    line-height: 1.7;

    font-style: italic;
}

.dx-restart {
    width: 100%;

    margin-top: 24px;
    padding: 14px;

    background: transparent;
    border: 1px solid var(--line);
    border-radius: 9px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 600;

    color: var(--text-mid);

    transition: border-color 0.18s ease, color 0.18s ease;
}

.dx-restart:hover {
    border-color: var(--signal);
    color: var(--signal-hot);
}


/* ---- reward gate ---- */

.dx-locked { margin-top: 20px; }

.dx-locked.is-locked .dx-locked-content {
    filter: blur(2.6px);

    pointer-events: none;
    user-select: none;

    opacity: 0.72;

    max-height: 160px;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.dx-gate {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    padding: 24px 20px;
    margin-top: 6px;

    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: var(--radius-small);
}

.dx-gate-lockicon {
    font-size: 26px;
    margin-bottom: 8px;
}

.dx-gate-title {
    margin-bottom: 6px;

    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;

    letter-spacing: -0.02em;
}

.dx-gate-sub {
    max-width: 340px;
    margin-bottom: 16px;

    color: var(--text-mid);

    font-size: 14px;
    line-height: 1.6;
}

.dx-gate-player {
    width: 100%;
    max-width: 420px;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 10px;
    background: #000;

    margin-bottom: 16px;
}

.dx-gate-player iframe,
.dx-gate-player > div {
    width: 100%;
    height: 100%;
    border: 0;
}

.dx-gate-unlock {
    width: 100%;
    max-width: 420px;

    padding: 14px;

    font-size: 15px;
    font-weight: 600;

    color: #fff;
    background: var(--signal);

    border: none;
    border-radius: 9px;

    cursor: pointer;

    transition: background 0.18s ease;
}

.dx-gate-unlock:hover:not(:disabled) { background: var(--signal-hot); }

.dx-gate-unlock:disabled {
    background: var(--sand-2);
    color: var(--text-dim);
    cursor: not-allowed;
}

/* ---- barre de progression du décompte ----
   Pilotée par script.js. La largeur du remplissage vient d'une
   transformation scaleX plutôt que d'une largeur en pourcentage :
   scaleX est composé par le GPU, donc l'animation reste fluide
   même pendant le rendu du reste de la page. */

.dx-gate-progress {
    width: 100%;
    max-width: 420px;

    height: 6px;
    margin-top: 10px;

    overflow: hidden;

    border-radius: 999px;
    background: var(--sand-2);
}

.dx-gate-progress-fill {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 999px;
    background: var(--signal);

    /* Rempli depuis la gauche ; script.js pousse scaleX de 0 à 1. */
    transform: scaleX(0);
    transform-origin: left center;
}

.dx-gate-note {
    max-width: 360px;
    margin-top: 12px;

    color: var(--text-dim);

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   CONTENT PAGES
========================================================= */

.page-hero {
    padding: 76px 0 44px;

    background: var(--ink);
    color: #fff;
}

.page-hero h1 {
    margin-top: 14px;

    font-size: clamp(30px, 3.8vw, 44px);
    font-weight: 800;

    line-height: 1.12;
    letter-spacing: -0.035em;
}

.page-hero p {
    max-width: 640px;
    margin-top: 16px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 17px;
    line-height: 1.7;
}

.page-body { padding: 56px 0 92px; }

.prose { max-width: 750px; }

.prose h2 {
    margin-top: 46px;
    font-size: 23px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
    margin-top: 30px;
    font-size: 17px;
}

.prose p,
.prose li {
    margin-top: 14px;

    color: var(--text-mid);

    font-size: 16px;
    line-height: 1.8;
}

.prose ul,
.prose ol {
    margin-top: 14px;
    padding-left: 22px;
}

.prose li { margin-top: 8px; }

.prose li::marker { color: var(--signal); }

.prose a {
    color: var(--signal-hot);
    font-weight: 500;

    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover { color: var(--signal); }

.prose strong { color: var(--text); }

.prose .updated {
    display: inline-block;
    margin-top: 0;
    padding: 6px 14px;

    background: var(--sand);
    border-radius: 999px;

    font-family: var(--mono);
    font-size: 12px;

    letter-spacing: 0.06em;

    color: var(--text-dim);
}

.callout {
    margin-top: 26px;
    padding: 22px 24px;

    background: var(--signal-dim);
    border-left: 3px solid var(--signal);
    border-radius: var(--radius-small);
}

.callout p:first-child { margin-top: 0; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;

    margin-top: 30px;
}

.contact-card {
    padding: 26px;

    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
}

.contact-card h3 { font-size: 17px; }

.contact-card p {
    margin-top: 8px;

    color: var(--text-mid);

    font-size: 15px;
    line-height: 1.7;
}

.contact-card a {
    display: inline-block;
    margin-top: 12px;

    color: var(--signal-hot);
    font-weight: 600;

    word-break: break-word;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .desktop-nav { display: none; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); }

    .trust-grid > div:nth-child(2) { border-right: 0; }

    .trust-grid > div:nth-child(1),
    .trust-grid > div:nth-child(2) {
        border-bottom: 1px solid var(--ink-line);
    }

    .steps-grid { grid-template-columns: 1fr; }

    .benefits-layout,
    .feature-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .devices-grid { grid-template-columns: repeat(2, 1fr); }

    .testimonials-grid { grid-template-columns: 1fr; }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 700px) {
    .contact-grid { grid-template-columns: 1fr; }
}


@media (max-width: 600px) {

    .container { width: min(calc(100% - 32px), var(--max-width)); }

    .site-header,
    .header-inner { height: 62px; }

    .header-button {
        padding: 0 14px;
        font-size: 13px;
    }

    .hero { padding: 68px 0 64px; }

    .hero h1 { font-size: 36px; }

    .hero-description { font-size: 16px; }

    .hero-buttons { flex-direction: column; }

    .hero-buttons .button { width: 100%; }

    .trust-grid { grid-template-columns: 1fr; }

    .trust-grid > div {
        border-right: 0 !important;
        border-bottom: 1px solid var(--ink-line);
    }

    .trust-grid > div:last-child { border-bottom: 0; }

    .section,
    .gray-section,
    .feature-section { padding: 68px 0; }

    .section-heading h2,
    .benefits-content h2,
    .feature-content h2,
    .faq-intro h2 { font-size: 27px; }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 0.14em;
    }

    .step-number { font-size: 34px; }

    .devices-grid { grid-template-columns: 1fr; }

    .benefits-card,
    .visual-content { padding: 24px; }

    .faq-list { padding: 0 20px; }

    /* --- diagnostic panel --- */

    .diagnostic-section { padding: 52px 0 60px; }

    .check-card-wrapper {
        padding: 8px;
        border-radius: 18px;
    }

    .diagnostic-shell {
        padding: 22px;
        border-radius: 12px;
    }

    .diagnostic-shell::before { left: 18px; right: 18px; }

    .check-card-top h2 { font-size: 20px; }

    .check-card-top .status-icon { display: none; }

    #diagnostic-app { min-height: 300px; }

    .dx-phone-row { grid-template-columns: 1fr; }

    section[id] { scroll-margin-top: 72px; }

    .dx-gate { padding: 16px; }

    .dx-gate-title { font-size: 16px; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
        padding: 52px 0;
    }

    .footer-brand { grid-column: 1 / -1; }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


@media (max-width: 400px) {

    .header-button {
        padding: 0 12px;
        font-size: 12px;
    }

    .hero h1 { font-size: 31px; }

    .footer-top { grid-template-columns: 1fr; }
}


/* =========================================================
   BACKGROUND MAP ZOOM CONTROLS
========================================================= */

.map-zoom {
    /* Anchored to the section (which is position: relative), not
       to the container, so the buttons sit in the right gutter
       beside the card rather than underneath it. */
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);

    z-index: 3;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-zoom button {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 8px;

    color: var(--text-mid);

    font-family: var(--mono);
    font-size: 16px;
    line-height: 1;

    cursor: pointer;

    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease;
}

.map-zoom button:hover:not(:disabled) {
    border-color: var(--signal);
    color: var(--signal-hot);
    background: #fff;
}

.map-zoom button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* `display` on .map-zoom would otherwise defeat the hidden
   attribute used when the map library fails to load. */
.map-zoom[hidden] {
    display: none;
}

/* On narrow screens the card fills the width, so the controls
   tuck into the bottom-right corner of the section instead of
   floating over the form. */
@media (max-width: 900px) {
    .map-zoom {
        top: auto;
        bottom: 18px;
        right: 16px;

        transform: none;
    }

    /* Keeps the caption text clear of the buttons, which now
       overlap its right edge at this width. */
    .check-map-caption {
        padding-right: 52px;
    }
}


/* =========================================================
   THEME OVERRIDES (merged in — this file is self-contained)
========================================================= */

/* =========================================================
   LOCALISERNUMERO — thème : FRANÇAIS (#1E73BE)

   À charger APRÈS style.css. Ce fichier ne redéfinit que les
   jetons de couleur ; toutes les règles de style.css sont
   écrites à partir de ces jetons, donc rien d'autre ne bouge.

   Contraste : #1E73BE sur blanc donne environ 5,3:1, ce qui
   reste conforme pour du texte courant et pour du blanc sur
   bouton plein. Ne pas éclaircir davantage --signal, sinon
   les liens et les petites étiquettes passent sous 4,5:1.
========================================================= */

:root {
    /* --- marque ------------------------------------------ */
    --signal-rgb: 30, 115, 190;
    --signal:     #1E73BE;
    --signal-hot: #17588F;   /* survol / actif */
    --signal-dim: #EAF3FB;   /* surfaces teintées */
    --signal-mid: #A6CBEA;   /* bordures, accents discrets */

    /* --- encre ------------------------------------------- */
    --ink-rgb:  12, 22, 33;
    --ink:      #0C1621;
    --ink-soft: #15212F;
    --ink-line: #243447;

    /* --- surfaces ---------------------------------------- */
    --sand:   #F1F5F9;
    --sand-2: #E3EAF2;
    --line:   #DAE2EC;

    /* --- texte ------------------------------------------- */
    --text:     #0C1621;
    --text-mid: #414E5D;
    --text-dim: #596675;
}
