/* ==========================================================================
   Alizée Soft — feuille de style
   Charte : marine #152E45 · lagune #45A5C4 · brume #F4F7F9 · or doux #B88A3B · ardoise #5A6B7B
   ========================================================================== */

:root {
    --navy: #152E45;
    --navy-deep: #10263A;
    --navy-land: #1E3F5D;
    --lagoon: #45A5C4;
    --lagoon-ink: #1F6F8B;      /* lagune assombrie pour du texte lisible sur fond clair */
    --mist: #F4F7F9;
    --gold: #B88A3B;
    --gold-light: #D4A956;      /* or éclairci pour du texte sur fond marine */
    --slate: #5A6B7B;
    --line: #DCE4EA;
    --white: #FFFFFF;
    --danger: #B3261E;

    --shell: 1200px;
    --gutter: 28px;
    --header-h: 68px;
    --header-top: 12px;
    --radius-s: 10px;
    --radius-m: 14px;
    --radius-l: 20px;

    --font: "DejaVu Sans", "DejaVu Sans Condensed", Verdana, Arial, sans-serif;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0;
    color: var(--navy);
    background: var(--white);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
body.menu-open { overflow: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 999;
    padding: 12px 16px;
    border-radius: var(--radius-s);
    background: var(--white);
    color: var(--navy);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(8, 24, 38, .2);
}
.skip-link:focus { top: 16px; }

.shell {
    width: min(calc(100% - var(--gutter) * 2), var(--shell));
    margin-inline: auto;
}
.section-pad { padding-block: clamp(56px, 8vw, 96px); }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }

/* Buttons --------------------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-s);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.button-primary { background: var(--lagoon); color: var(--navy); }
.button-primary:hover { background: #5DB5D2; }
.button-secondary { background: var(--navy); color: var(--white); }
.button-secondary:hover { background: #20405F; }
.button-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .07); }
.button-large { min-height: 54px; padding: 14px 26px; }
.button-block { width: 100%; }

/* Header (barre flottante) --------------------------------------------- */
.site-header {
    position: fixed;
    top: max(var(--header-top), env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
}
.header-bar {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    width: min(calc(100% - 24px), 1240px);
    height: var(--header-h);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 10px 0 20px;
    background: rgba(255, 255, 255, .985);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    box-shadow: 0 10px 34px rgba(8, 24, 38, .16);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled .header-bar {
    background: var(--white);
    box-shadow: 0 12px 38px rgba(8, 24, 38, .22);
}
.brand { flex: 0 0 auto; display: block; }
.brand img { width: 128px; height: auto; }

.main-nav { margin-left: auto; }
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav a {
    position: relative;
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-s);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease;
}
.main-nav a:hover { background: var(--mist); }
.main-nav a[aria-current="page"] { background: rgba(69, 165, 196, .14); }
.main-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: var(--gold);
}

.header-cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: var(--radius-s);
    background: var(--navy);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}
.header-cta:hover, .header-cta.is-current { background: var(--lagoon); color: var(--navy); }

.menu-toggle {
    display: none;
    position: relative;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: var(--radius-s);
    background: var(--mist);
    cursor: pointer;
}
.menu-toggle span {
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .22s ease, top .22s ease;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: calc(var(--header-h) + var(--header-top) + 28px) 24px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--navy);
    color: var(--white);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
}
.mobile-panel[hidden] { display: none; }
.mobile-panel.is-open { opacity: 1; transform: none; }
.mobile-panel ul { margin: 0; padding: 0; list-style: none; }
.mobile-panel li a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: clamp(22px, 6.5vw, 30px);
    font-weight: 700;
    text-decoration: none;
}
.mobile-panel li a[aria-current="page"] { color: var(--lagoon); }
.mobile-panel-foot { display: grid; gap: 16px; }
.mobile-panel-mail {
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    text-align: center;
    text-decoration: none;
}

/* Hero (accueil) -------------------------------------------------------- */
.hero {
    display: flex;
    align-items: center;
    min-height: min(100svh, 900px);
    padding: calc(var(--header-h) + var(--header-top) + 40px) 0 48px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: var(--white);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 7fr);
    gap: clamp(60px, 7vw, 50px);
    align-items: center;
}
.signature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--gold-light);
    font-size: 16px;
    font-weight: 700;
}
.signature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}
.hero h1 {
    font-size: clamp(30px, 2.5vw, 42px);
    line-height: 1.2;
    letter-spacing: 0;
}
.hero h1 span { display: block; }
.hero-lead {
    max-width: 32em;
    margin-top: 35px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(16px, 1.3vw, 18px);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-map { position: relative; }
.hero-map .fmap {
    width: 100%;
    max-width: min(100%, calc((100svh - 260px) * 1.066));
    margin-left: auto;
}
.hero-map-note {
    margin-top: 10px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    text-align: right;
}

.port-card {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: min(280px, 42%);
    overflow: hidden;
    border-radius: var(--radius-m);
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 18px 50px rgba(3, 14, 24, .4);
    transition: opacity .15s ease;
}
.port-card.is-changing { opacity: .35; }
.port-card {
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.port-card.is-closed {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.97);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.port-card-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 12px rgba(3, 14, 24, .25);
    cursor: pointer;
    transition: background-color .15s ease;
}
.port-card-close:hover { background: var(--white); }
.port-card-close svg { width: 14px; height: 14px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; }
.port-card-body { padding: 16px 20px 20px; }
.port-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--navy-deep);
}
.port-card-img,
.port-card-crop {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.port-card-img[hidden], .port-card-crop[hidden] { display: none; }
.crop-sea { fill: var(--navy-deep); }
.port-card-crop use { pointer-events: none; }
.crop-halo { fill: rgba(184, 138, 59, .25); stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; }
.crop-dot { fill: var(--gold); stroke: var(--navy-deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.port-card-coords {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(16, 38, 58, .78);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: pre;
}
.port-card-region {
    color: var(--lagoon-ink);
    font-size: 13px;
    font-weight: 700;
}
.port-card-name {
    margin-top: 6px;
    font-size: 19px;
    line-height: 1.2;
}
.port-card-meta {
    margin-top: 6px;
    color: var(--slate);
    font-size: 14px;
}
.port-card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--lagoon);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}
.port-card-link:hover { color: var(--lagoon-ink); }

/* Carte de France ------------------------------------------------------- */
.fmap {
    position: relative;
    aspect-ratio: 1000 / 938;
    width: 100%;
    --k: 1;
}
.fmap-canvas {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: pan-y;             /* vue France entière : la page défile normalement */
    -webkit-user-select: none;
    user-select: none;
}
.fmap.is-zoomed .fmap-canvas { touch-action: none; cursor: grab; }
.fmap.is-dragging .fmap-canvas { cursor: grabbing; }
/* Plan de dessin : sur les cartes zoomables il déborde d'une demi-vue de chaque côté,
   pour que le glisser / pincer se fasse par simple déplacement (fluide sur mobile). */
.fmap-stage {
    position: absolute;
    inset: 0;
    transform-origin: 0 0;
}
.fmap-stage--over {
    inset: -50%;
    transform-origin: 25% 25%;
}
.fmap.is-zoomed .fmap-stage--over,
.fmap.is-moving .fmap-stage { will-change: transform; }
.fmap-snapshot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    pointer-events: none;
}
.fmap.is-snapshot .fmap-snapshot { display: block; }
.fmap.is-snapshot .fmap-svg { visibility: hidden; }
.fmap.is-moving .pin-label { opacity: 0; }
.fmap-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.fmap-svg path, .fmap-svg rect { vector-effect: non-scaling-stroke; }
.map-graticule path { fill: none; stroke-width: 1; }
.map-neighbours path { stroke-width: 1; }
.map-regions path { stroke-width: 1; stroke-linejoin: round; }
.map-coast { fill: none; stroke-width: 1.5; stroke-linejoin: round; }
.map-inset-box { stroke-width: 1; }
.map-inset-land { stroke-width: 1.2; stroke-linejoin: round; }
.map-inset-context { stroke-width: 1; }
.map-inset-label { font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: .01em; }

.fmap--dark .map-graticule path { stroke: rgba(255, 255, 255, .06); }
.fmap--dark .map-neighbours path { fill: rgba(255, 255, 255, .045); stroke: rgba(255, 255, 255, .1); }
.fmap--dark .map-regions path { fill: var(--navy-land); stroke: rgba(255, 255, 255, .13); }
.fmap--dark .map-coast { stroke: var(--lagoon); stroke-opacity: .85; }
.fmap--dark .map-inset-box { fill: rgba(16, 38, 58, .88); stroke: rgba(255, 255, 255, .16); }
.fmap--dark .map-inset-land { fill: var(--navy-land); stroke: var(--lagoon); stroke-opacity: .85; }
.fmap--dark .map-inset-context { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .12); }
.fmap--dark .map-inset-label { fill: rgba(255, 255, 255, .78); }

.fmap--light .map-graticule path { stroke: rgba(21, 46, 69, .08); }
.fmap--light .map-neighbours path { fill: #EEF3F6; stroke: #CFDBE3; }
.fmap--light .map-regions path { fill: var(--white); stroke: var(--line); }
.fmap--light .map-coast { stroke: var(--navy); stroke-opacity: .55; stroke-width: 1.2; }
.fmap--light .map-inset-box { fill: #EAF2F6; stroke: #C9D7E0; }
.fmap--light .map-inset-land { fill: var(--white); stroke: var(--navy); stroke-opacity: .55; }
.fmap--light .map-inset-context { fill: #F3F6F8; stroke: #CFDBE3; }
.fmap--light .map-inset-label { fill: var(--slate); }

/* Points des ports : petits, pour que 180 ports restent lisibles ; ils grossissent en zoomant */
.fmap-pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    z-index: 1;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    pointer-events: auto;
    transition: opacity .2s ease;
}
.pin.is-off { display: none; }
span.pin { cursor: default; pointer-events: none; }
.pin-dot {
    position: relative;
    width: calc(7px + min(var(--k), 6) * 1px);
    height: calc(7px + min(var(--k), 6) * 1px);
    border-radius: 50%;
    background: var(--lagoon);
    box-shadow: 0 0 0 1.5px var(--navy-deep);
    transition: transform .18s ease, background-color .18s ease;
}
.fmap--light .pin-dot { background: #2A8DB3; box-shadow: 0 0 0 1.5px var(--white), 0 1px 4px rgba(21, 46, 69, .35); }
.pin:hover { z-index: 3; }
.pin:hover .pin-dot, .pin:focus-visible .pin-dot { transform: scale(1.45); background: #7CC6DE; }
.fmap--light .pin:hover .pin-dot { background: var(--navy); }
.pin.is-active { z-index: 2; }
.pin.is-active .pin-dot {
    width: 14px;
    height: 14px;
    background: var(--gold);
    box-shadow: 0 0 0 2px var(--navy-deep);
}
.fmap--light .pin.is-active .pin-dot { box-shadow: 0 0 0 2px var(--white), 0 1px 4px rgba(21, 46, 69, .35); }
.pin.is-active .pin-dot::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: pin-pulse 2.4s ease-out infinite;
}
@keyframes pin-pulse {
    0% { transform: scale(.5); opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}
.pin:focus-visible { outline-offset: 0; border-radius: 50%; }
.pin-label {
    position: absolute;
    top: 50%;
    left: calc(50% + 12px);
    padding: 4px 9px;
    border-radius: 7px;
    background: var(--white);
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(3, 14, 24, .25);
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}
.pin-more { font-weight: 400; color: var(--slate); }
.fmap--light .pin-more { color: rgba(255, 255, 255, .75); }
.pin--left .pin-label { left: auto; right: calc(50% + 12px); }
.pin:hover .pin-label,
.pin:focus-visible .pin-label,
.pin.is-active .pin-label { opacity: 1; }
.fmap.is-dragging .pin-label { opacity: 0; }
.fmap--light .pin-label { background: var(--navy); color: var(--white); }
.pin.is-dimmed { opacity: .15; pointer-events: none; }

/* Commandes de zoom */
.fmap-ui {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fmap-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(21, 46, 69, .12);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 4px 14px rgba(3, 14, 24, .22);
    cursor: pointer;
    transition: opacity .2s ease, background-color .15s ease;
}
.fmap-btn:hover { background: var(--mist); }
.fmap-btn:disabled { opacity: .45; cursor: default; }
.fmap-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fmap-hint {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 4;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(16, 38, 58, .88);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.fmap-hint.is-visible { opacity: 1; }

/* Zones de zoom rapide */
.map-zones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.zone-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.zone-chip span { margin-left: 3px; font-weight: 400; opacity: .7; }
.zone-chip:hover { border-color: rgba(255, 255, 255, .6); }
.zone-chip.is-active { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.zone-chip.is-active span { opacity: .8; }
.hero-map .map-zones { justify-content: flex-end; }
.hero-map-note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Accueil : chemins ----------------------------------------------------- */
.paths-title {
    margin-bottom: 32px;
    font-size: clamp(24px, 2.6vw, 34px);
}
.paths-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}
.path {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
    border-top: 2px solid var(--line);
    text-decoration: none;
    transition: border-color .2s ease;
}
.path:hover { border-top-color: var(--lagoon); }
.path h3 { font-size: 22px; }
.path p { color: var(--slate); }
.path-more {
    margin-top: auto;
    padding-top: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--lagoon);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

/* Bandeau d'appel ------------------------------------------------------- */
.cta-band {
    padding-block: clamp(48px, 6vw, 72px);
    background: var(--mist);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta-inner h2 {
    max-width: 22em;
    font-size: clamp(22px, 2.3vw, 30px);
}
.cta-inner p {
    max-width: 40em;
    margin-top: 10px;
    color: var(--slate);
}
.cta-inner .button { flex: 0 0 auto; }

/* En-tête des pages internes ------------------------------------------- */
.page-head {
    padding: calc(var(--header-h) + var(--header-top) + 56px) 0 clamp(48px, 6vw, 72px);
    background: var(--navy);
    color: var(--white);
}
.page-head--compact { padding-bottom: clamp(36px, 4.5vw, 52px); }

.page-head-inner { min-width: 0; }
.page-head h1 { max-width: 24ch; }
.page-head h1 {
    text-wrap: balance;
    font-size: clamp(28px, 3.8vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.025em;
}
.page-intro {
    max-width: 38em;
    margin-top: 20px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(16px, 1.3vw, 18px);
}
.crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--white); text-decoration: underline; }

/* Blocs de contenu ------------------------------------------------------ */
.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}
.split-head h2, .section-head h2 {
    font-size: clamp(24px, 2.6vw, 34px);
}
.split-head p, .section-head p {
    margin-top: 16px;
    color: var(--slate);
    font-size: 17px;
}
.section-navy .split-head p { color: rgba(255, 255, 255, .75); }
.section-head { max-width: 44em; margin-bottom: 40px; }

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 8px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    counter-increment: step;
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    grid-row: span 2;
    padding-top: 3px;
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
}
.steps h3 { font-size: 20px; }
.steps p { margin-top: 6px; color: var(--slate); }
.steps--compact h3 { font-size: 18px; }

.roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.role {
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--lagoon);
    border-radius: 4px 4px var(--radius-m) var(--radius-m);
    background: var(--white);
}
.role h3 { font-size: 20px; }
.role p { margin-top: 10px; color: var(--slate); }
.section-navy .section-head p { color: rgba(255, 255, 255, .75); }
.page-head + .section-navy { background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, .08); }
.roles--dark .role {
    border-color: rgba(255, 255, 255, .14);
    border-top-color: var(--lagoon);
    background: rgba(255, 255, 255, .04);
}
.roles--dark .role h3 { color: var(--white); }
.roles--dark .role p { color: rgba(255, 255, 255, .75); }

.facts { margin: 0; padding: 0; list-style: none; }
.facts li {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
}
.facts li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.facts strong { color: var(--white); }
.facts--light li { border-color: var(--line); color: var(--slate); }
.facts--light li:last-child { border-color: var(--line); }
.facts--light strong { color: var(--navy); }

.placeholder {
    padding: 28px;
    border: 2px dashed var(--line);
    border-radius: var(--radius-m);
    background: var(--mist);
    color: var(--slate);
}
.placeholder strong { color: var(--navy); }
.placeholder--dark {
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .75);
}
.placeholder--dark strong { color: var(--white); }

/* Page Nos ports -------------------------------------------------------- */
.ports-section { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.ports-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}
.ports-map {
    position: sticky;
    top: calc(var(--header-h) + var(--header-top) + 20px);
    padding: clamp(10px, 2vw, 20px);
    border-radius: var(--radius-l);
    background: #E2EEF3;
}
.ports-map .fmap { max-width: calc((100vh - 150px) * 1.066); margin-inline: auto; }
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter {
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.filter span { margin-left: 4px; color: var(--slate); font-weight: 400; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.filter.is-active span { color: rgba(255, 255, 255, .7); }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.ports-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    margin-bottom: 14px;
    padding: 0 14px;
    border: 1px solid #C5D1DB;
    border-radius: 12px;
    background: var(--white);
}
.ports-search:focus-within { border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(69, 165, 196, .28); }
.ports-search svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: var(--slate); stroke-width: 2; stroke-linecap: round; }
.ports-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    font-size: 16px;
    outline: none;
}
.ports-count { margin-top: 16px; color: var(--slate); font-size: 14px; }
.ports-count strong { color: var(--navy); }
.ports-empty { margin-top: 16px; padding: 20px; border-radius: var(--radius-m); background: var(--mist); color: var(--slate); }
.ports-empty[hidden] { display: none; }
.ports-list {
    max-height: calc(100vh - 360px);
    min-height: 320px;
    margin: 10px 0 0;
    padding: 0 4px 0 0;
    overflow-y: auto;
    list-style: none;
    overscroll-behavior: contain;
}
.ports-list li[hidden] { display: none; }
.ports-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: center;
    padding: 16px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: var(--radius-s);
    text-decoration: none;
    transition: background-color .15s ease;
}
.ports-list a:hover, .ports-list li.is-highlight a { background: rgba(69, 165, 196, .1); }
.ports-list-name { font-weight: 700; }
.ports-list-meta { grid-column: 1; color: var(--slate); font-size: 14px; }
.ports-list-coast {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--mist);
    font-size: 12px;
    font-weight: 700;
}

/* Page contact ---------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.field { margin-bottom: 18px; }
.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}
.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 700;
}
.optional { margin-left: 4px; color: var(--slate); font-size: 13px; font-weight: 400; }
.field input,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #C5D1DB;
    border-radius: var(--radius-s);
    background: var(--white);
    font-size: 16px; /* 16px minimum : évite le zoom automatique sur iPhone */
    line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--lagoon);
    box-shadow: 0 0 0 3px rgba(69, 165, 196, .28);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin-top: 6px; color: var(--danger); font-size: 14px; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: var(--radius-s);
}
.notice--error { border-color: #F0C3BF; background: #FCEEED; color: #7A1C15; }
.notice--success { padding: 28px; border-color: #BFE0CE; background: #EDF7F1; }
.notice--success h2 { font-size: 24px; }
.notice--success p { margin: 8px 0 20px; color: var(--slate); }

.contact-aside {
    padding: 8px 26px;
    border-radius: var(--radius-m);
    background: var(--mist);
}
.contact-block { padding: 20px 0; }
.contact-block + .contact-block { border-top: 1px solid var(--line); }
.contact-block h2 { margin-bottom: 6px; font-size: 16px; }
.contact-block p { color: var(--slate); }
.contact-block a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--lagoon);
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

/* Fiche port ------------------------------------------------------------ */
.port-head-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.port-head-map { width: 100%; max-width: 460px; margin-left: auto; }
.port-head-coords {
    margin-top: 6px;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    text-align: center;
    white-space: pre;
}
.port-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-l);
    aspect-ratio: 3 / 2;
    background: var(--navy-land);
    box-shadow: 0 20px 50px rgba(3, 14, 24, .35);
}
.port-photo img { width: 100%; height: 100%; object-fit: cover; }
.port-photo figcaption {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 4px 10px;
    border-radius: 7px;
    background: rgba(16, 38, 58, .8);
    font-size: 12px;
    font-weight: 700;
    white-space: pre;
}
.port-head-meta { margin-top: 12px; color: var(--gold-light); font-weight: 700; }
.port-alert {
    margin-bottom: 18px;
    padding: 10px 14px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-s);
    background: rgba(184, 138, 59, .14);
}
.port-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}
.port-facts dt { color: rgba(255, 255, 255, .6); font-size: 13px; }
.port-facts dd { margin: 2px 0 0; font-weight: 700; }

/* Approche : écosystème Alizée ----------------------------------------- */
.eco {
    padding: clamp(28px, 3.5vw, 44px) 0 clamp(40px, 5vw, 64px);
    overflow: hidden;
    background: var(--white);
}
.eco-head { margin-bottom: clamp(28px, 4vw, 44px); text-align: center; }
.eco-head h2 {
    color: #8A6424;
    font-size: clamp(22px, 2.2vw, 28px);
    letter-spacing: -0.01em;
}

.accent-lagoon { color: #2A8DB3; }
.accent-gold { color: var(--gold); }

.eco-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 8vw, 120px);
}
.eco-col-title { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.eco-rule {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 32px;
}
.eco-rule i { flex: 1; height: 2px; background: var(--navy); transform-origin: center; }
.eco-rule b { width: 40px; height: 3px; border-radius: 2px; background: var(--gold); }
.eco-col--plaisancier .eco-rule i { background: var(--navy); }

.eco-list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.eco-list--linked { position: relative; padding-left: 26px; }
.eco-list--linked::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 44px;
    bottom: 44px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(var(--lagoon), rgba(69, 165, 196, .35));
    transform-origin: top;
}
.eco-list--linked .eco-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 44px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--lagoon);
    box-shadow: 0 0 0 1px rgba(69, 165, 196, .4);
    transition: transform .25s ease;
}

.eco-item {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: -12px;
    padding: 12px;
    border-radius: 18px;
    outline: none;
    transition: background-color .25s ease;
}
.eco-item:focus-visible { box-shadow: 0 0 0 3px var(--lagoon); }
.eco-item:hover, .eco-item.is-linked { background: rgba(69, 165, 196, .08); }
.eco-item--gold:hover, .eco-item--gold.is-linked { background: rgba(184, 138, 59, .09); }
.eco-list--linked .eco-item:hover::before,
.eco-list--linked .eco-item.is-linked::before { transform: scale(1.35); }

.eco-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.eco-item:hover .eco-icon, .eco-item.is-linked .eco-icon {
    transform: translateY(-4px) rotate(-3deg);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(21, 46, 69, .16);
}
.eco-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: var(--navy);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.eco-icon .ic-accent { fill: var(--lagoon); }
.eco-icon .ic-accent-line { stroke: var(--lagoon); }
.eco-icon .ic-check { stroke: var(--white); stroke-width: 3; }
.eco-icon .ic-gold { fill: var(--gold); stroke: var(--gold); }

.eco-item h4 { margin: 4px 0 0; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
.eco-sub { margin-top: 4px; font-weight: 700; font-size: 15px; }
.eco-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: var(--slate);
    font-size: 15px;
}
.eco-tags li:not(:last-child)::after { content: "•"; margin: 0 8px; color: var(--lagoon); }
.eco-item--gold .eco-tags li:not(:last-child)::after { color: var(--gold); }

.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(69, 165, 196, .13);
    font-size: 15px;
    font-weight: 700;
}
.eco-badge svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; }
.eco-badge .scan-line { stroke: #2A8DB3; animation: scan 2.2s ease-in-out infinite; }
@keyframes scan {
    0%, 100% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
}

.eco-link {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: -6px 0 -6px 30px;
    color: #8A6424;
    font-size: 15px;
    font-weight: 700;
}
.eco-link svg { width: 16px; height: 48px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.eco-arrow-line { stroke-dasharray: 4 5; animation: flow-up 1.2s linear infinite; }
@keyframes flow-up { to { stroke-dashoffset: 9; } }

.eco-bubbles { display: flex; gap: 10px; margin-top: 14px; }
.bubble {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 2px solid;
    border-radius: 50%;
    background: var(--white);
    animation: bob 3.2s ease-in-out infinite;
}
.bubble svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bubble--sun { color: #E07B24; }
.bubble--food { color: #2A6FB3; animation-delay: -1s; }
.bubble--pin { color: var(--gold); animation-delay: -2s; }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Scène du port */
.eco-scene-wrap { margin-top: clamp(32px, 4vw, 56px); text-align: center; }
/* Le visuel conserve ses points interactifs au-dessus de la photographie. */
@media (min-width: 901px) {
    .eco-scene { pointer-events: none; }
    .eco-scene .spot { pointer-events: auto; }
}
.eco-scene {
    position: relative;
    max-width: 1536px;
    margin: 0 auto;
    overflow: hidden;
}
.eco-scene-inner {
    position: relative;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.eco-scene-img {
    width: 100%;
    height: auto;
    display: block;
}
.spot {
    position: absolute;
    left: var(--sx);
    top: var(--sy);
    z-index: 1;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
    --spot: var(--lagoon);
}
.spot--gold { --spot: var(--gold); }
.spot::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--spot);
    box-shadow: 0 2px 8px rgba(21, 46, 69, .35);
    transition: transform .25s ease;
}
.spot::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 2.5px solid var(--spot);
    border-radius: 50%;
    animation: spot-pulse 2.6s ease-out infinite;
}
@keyframes spot-pulse {
    0% { transform: scale(.6); opacity: .9; }
    100% { transform: scale(1.7); opacity: 0; }
}
.spot:hover::before, .spot:focus-visible::before, .spot.is-active::before { transform: scale(1.35); }
.spot.is-active::after { animation-duration: 1.2s; }
.spot-label {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    padding: 5px 10px;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(21, 46, 69, .25);
    transform: translate(-50%, 4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.spot:hover .spot-label, .spot:focus-visible .spot-label, .spot.is-active .spot-label {
    opacity: 1;
    transform: translate(-50%, 0);
}
.spot--left .spot-label { left: -6px; transform: translate(0, 4px); }
.spot--left:hover .spot-label,
.spot--left.is-active .spot-label,
.spot--left:focus-visible .spot-label { transform: none; }
.spot--edge .spot-label { left: auto; right: -6px; transform: translate(0, 4px); }
.spot--edge:hover .spot-label,
.spot--edge.is-active .spot-label,
.spot--edge:focus-visible .spot-label { transform: none; }

.eco-swipe { display: none; }
/* Animations d'arrivée (uniquement si JavaScript actif) */
.js .eco [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i, 0) * 120ms);
}
.js .eco.is-visible [data-reveal] { opacity: 1; transform: none; }
.js .eco .eco-rule i { transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1) .25s; }
.js .eco.is-visible .eco-rule i { transform: scaleX(1); }
.js .eco .eco-list--linked::before { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1) .5s; }
.js .eco.is-visible .eco-list--linked::before { transform: scaleY(1); }
.js .eco .eco-scene-img { clip-path: inset(0 50% 0 50%); transition: clip-path 1.6s cubic-bezier(.65, 0, .25, 1) .5s; }
.js .eco.is-visible .eco-scene-img { clip-path: inset(0 0 0 0); }
.js .eco .spot { opacity: 0; transition: opacity .4s ease; }
.js .eco.is-visible .spot { opacity: 1; transition-delay: 1.9s; }
.js .eco.is-visible .spot:nth-of-type(2) { transition-delay: 2s; }
.js .eco.is-visible .spot:nth-of-type(3) { transition-delay: 2.1s; }
.js .eco.is-visible .spot:nth-of-type(4) { transition-delay: 2.2s; }
.js .eco.is-visible .spot:nth-of-type(5) { transition-delay: 2.3s; }

/* Actualités ----------------------------------------------------------- */
.agenda-layout {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.agenda-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 28px;
}
.agenda-head h2 { font-size: clamp(22px, 2.2vw, 28px); }
.agenda-month + .agenda-month { margin-top: 36px; }
.agenda-month[hidden] { display: none; }
.agenda-month-title {
    padding-bottom: 10px;
    border-bottom: 2px solid var(--navy);
    font-size: 15px;
    letter-spacing: .01em;
}
.events { margin: 0; padding: 0; list-style: none; }
.event {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.event[hidden] { display: none; }
.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: start;
    height: 64px;
    border-radius: var(--radius-s);
    background: var(--mist);
    line-height: 1.1;
}
.event-weekday { color: var(--slate); font-size: 12px; }
.event-day { font-size: 24px; font-weight: 700; }
.event-day--fuzzy { font-size: 15px; }
.event-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    color: var(--slate);
    font-size: 14px;
}
.event-type {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--mist);
    color: var(--navy);
}
.event-type--demo { background: rgba(69, 165, 196, .16); color: var(--lagoon-ink); }
.event-type--installation { background: var(--navy); color: var(--white); }
.event-type--rencontre { background: rgba(184, 138, 59, .16); color: #7C5A1E; }
.event-type--sortie { background: #E7F1EC; color: #2F6B4F; }
.event-title { margin-top: 8px; font-size: 19px; }
.event-place { margin-top: 4px; font-weight: 700; font-size: 15px; }
.event-place a {
    text-decoration: underline;
    text-decoration-color: var(--lagoon);
    text-underline-offset: 4px;
}
.event-text { margin-top: 6px; color: var(--slate); }
.agenda-empty { padding: 24px; border-radius: var(--radius-m); background: var(--mist); color: var(--slate); }
.agenda-empty[hidden] { display: none; }

.agenda-past { margin-top: 40px; border-top: 1px solid var(--line); }
.agenda-past[hidden] { display: none; }
.agenda-past summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.agenda-past summary::-webkit-details-marker { display: none; }
.agenda-past summary::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.agenda-past[open] summary::after { transform: rotate(-135deg); }
.agenda-past summary span { color: var(--slate); font-weight: 400; }
.events--past .event { opacity: .7; }

.agenda-aside {
    position: sticky;
    top: calc(var(--header-h) + var(--header-top) + 20px);
    display: grid;
    gap: 20px;
}
.social-card {
    padding: 28px;
    border-radius: var(--radius-l);
    background: var(--navy);
    color: var(--white);
}
.social-card-kicker { color: var(--gold-light); font-size: 14px; font-weight: 700; }
.social-card h2 { margin-top: 8px; font-size: 22px; }
.social-card p { margin: 10px 0 22px; color: rgba(255, 255, 255, .75); }
.social-others { display: flex; flex-wrap: wrap; gap: 16px; margin: 16px 0 0 !important; }
.aside-note { padding: 24px 28px; border-radius: var(--radius-l); background: var(--mist); }
.aside-note h2 { font-size: 17px; }
.aside-note p { margin: 6px 0 12px; color: var(--slate); }
.aside-note a {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--lagoon);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* Footer ---------------------------------------------------------------- */
.site-footer {
    background: var(--navy-deep);
    color: var(--white);
    padding-bottom: env(safe-area-inset-bottom);
}
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 56px 0 40px;
}
.footer-brand img { width: 140px; height: auto; }
.footer-brand p { margin-top: 14px; font-weight: 700; }
.footer-brand .footer-sub { margin-top: 4px; color: rgba(255, 255, 255, .6); font-weight: 400; font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a, .footer-col span { color: rgba(255, 255, 255, .72); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-title { margin-bottom: 4px; font-weight: 700; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
    .main-nav a { padding-inline: 10px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}

@media (max-width: 900px) {
    :root { --header-h: 62px; --header-top: 10px; }

    .main-nav, .header-cta { display: none; }
    .header-bar { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .menu-toggle { display: block; }
    .header-bar { padding: 0 8px 0 16px; border-radius: 14px; }
    .brand img { width: 116px; }

    .hero { min-height: 0; padding-top: calc(var(--header-h) + var(--header-top) + 32px); }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .hero-map .fmap { max-width: 560px; margin-inline: auto; }
    .port-card {
        position: relative;
        width: 100%;
        max-width: 560px;
        margin: 16px auto 0;
    }
    .port-card.is-closed { display: none; }
    .hero-map .map-zones {
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 560px;
        margin: 14px auto 0;
        padding-bottom: 4px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .hero-map .map-zones::-webkit-scrollbar { display: none; }
    .hero-map-note { max-width: 560px; margin-inline: auto; text-align: left; }

    /* Sur écran tactile, seule l'étiquette du port actif s'affiche */
    .pin:hover:not(.is-active) .pin-label { opacity: 0; }

    .paths-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .agenda-layout { grid-template-columns: minmax(0, 1fr); }

    .eco-cols { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .eco-scene-wrap { margin-top: 24px; }
    .eco-scene {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .eco-scene::-webkit-scrollbar { display: none; }
    .eco-scene-inner { width: 960px; transform: none; }
    .eco-swipe {
        display: block;
        margin-top: 8px;
        color: var(--slate);
        font-size: 13px;
    }
    .eco-swipe::before, .eco-swipe::after { content: "↔"; margin: 0 8px; color: var(--lagoon); }
    .agenda-aside { position: static; }
    .path { padding: 22px 0 24px; }

    .cta-inner { flex-direction: column; align-items: flex-start; }

    .split { grid-template-columns: minmax(0, 1fr); }
    .roles { grid-template-columns: minmax(0, 1fr); gap: 16px; }

    .ports-layout { grid-template-columns: minmax(0, 1fr); }
    .ports-map { position: relative; top: 0; }
    .ports-map .fmap { max-width: 100%; }
    .ports-list { max-height: 70vh; }

    .contact-layout { grid-template-columns: minmax(0, 1fr); }

    .port-head-grid { grid-template-columns: minmax(0, 1fr); }
    .port-head-map { max-width: 380px; margin: 0; }

    .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    :root { --gutter: 18px; }

    .brand img { width: 108px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .cta-inner .button { width: 100%; }
    .field-row { grid-template-columns: minmax(0, 1fr); }
    .contact-form .button { width: 100%; }
    .pin-label { font-size: 11px; }
    .pin-more { display: none; }
    /* Petits écrans : commandes de zoom en haut à droite (zone sans port) */
    .fmap-ui { left: auto; right: 6px; top: 6px; gap: 5px; }
    .fmap-btn { width: 34px; height: 34px; }
    .steps li { grid-template-columns: 40px minmax(0, 1fr); }
    .event { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
    .event-date { height: 56px; }
    .event-day { font-size: 20px; }
    .social-card, .aside-note { padding: 22px; }
    .eco-item { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
    .eco-icon { width: 60px; height: 60px; border-radius: 16px; }
    .eco-icon svg { width: 42px; height: 42px; }
    .eco-list--linked .eco-item::before, .eco-list--linked::before { top: 36px; }
    .eco-list--linked::before { bottom: 36px; }
    .eco-link { margin-left: 22px; }
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

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

/* Fiche port : les autres ports restent discrets */
span.pin:not(.is-active) { opacity: .45; }

/* Évite que deux bandes brume se confondent */
.section-mist + .cta-band { background: var(--white); border-top: 1px solid var(--line); }

/* ==========================================================================
   Ajouts v9 : chiffres clés, frise « Après la signature », ports à proximité,
   pages légales
   ========================================================================== */

/* Accueil : chiffres clés (prolonge le dégradé du hero) ---------------- */
.figures {
    background: var(--navy-deep);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.figures-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-block: 0;
    padding: 0;
    list-style: none;
}
.figure {
    display: flex;
    flex-direction: column;
    padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 40px);
}
.figure:first-child { padding-left: 0; }
.figure + .figure { border-left: 1px solid rgba(255, 255, 255, .1); }
.figure-num {
    display: flex;
    align-items: flex-start;
    font-size: clamp(46px, 5.6vw, 76px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}
.figure-plus {
    margin-right: 2px;
    color: var(--gold-light);
    font-size: .55em;
    line-height: 1.1;
}
.figure-unit { font-size: .6em; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.figure-word {
    align-self: flex-end;
    margin: 0 0 .06em .22em;
    font-size: .52em;
    line-height: 1;
    letter-spacing: -0.02em;
}
.figure-rule {
    width: 40px;
    height: 3px;
    margin: 20px 0 14px;
    border-radius: 2px;
    background: var(--gold);
    transform-origin: left center;
}
.figure-label { color: rgba(255, 255, 255, .74); font-size: clamp(15px, 1.2vw, 17px); }

.js .figures .figure-rule { transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms + .1s); }
.js .figures.is-visible .figure-rule { transform: scaleX(1); }

/* Nos logiciels : frise « Après la signature » ------------------------- */
.onboard .split-head h2 { color: var(--white); }
.onboard-head {
    position: sticky;
    top: calc(var(--header-h) + var(--header-top) + 36px);
}
.onboard-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}
.onboard-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot--lagoon { background: var(--lagoon); }
.dot--gold { background: var(--gold); }

.timeline {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Rail (fond) et progression (dégradé lagune → or) */
.timeline::before,
.timeline::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: var(--tl-end, 60px);
    width: 2px;
    border-radius: 2px;
}
.timeline::before { background: rgba(255, 255, 255, .14); }
.timeline::after {
    background: linear-gradient(180deg, var(--lagoon) 0%, var(--lagoon) 70%, var(--gold) 100%);
    transform-origin: top center;
    transform: scaleY(var(--p, 1));
}

.tl-step {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 24px;
    padding-bottom: 44px;
}
.tl-step:last-child { padding-bottom: 0; }
.tl-node {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: var(--navy);
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
    font-weight: 700;
    transition: background-color .45s ease, border-color .45s ease, color .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1.4);
}
.tl-node svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-step.is-reached .tl-node { border-color: var(--lagoon); background: var(--lagoon); color: var(--navy); }
.tl-step--last.is-reached .tl-node { border-color: var(--gold); background: var(--gold); }
.tl-body { padding-top: 9px; transition: opacity .5s ease; }
.tl-body h3 { color: var(--white); font-size: 20px; }
.tl-body > p { max-width: 36em; margin-top: 8px; color: rgba(255, 255, 255, .75); }

.tl-places { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.tl-place {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
    border-left: 3px solid var(--lagoon);
    border-radius: 4px var(--radius-m) var(--radius-m) 4px;
    background: rgba(255, 255, 255, .05);
    transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.tl-place--gold { border-left-color: var(--gold); }
.tl-place-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(69, 165, 196, .16);
    color: #7CC6DE;
}
.tl-place--gold .tl-place-icon { background: rgba(184, 138, 59, .2); color: var(--gold-light); }
.tl-place-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tl-place h4 { margin: 0; color: var(--white); font-size: 16px; }
.tl-place p { margin-top: 4px; color: rgba(255, 255, 255, .74); font-size: 15px; }

/* Défilement : les étapes s'allument quand la ligne les atteint (si JS) */
.js .timeline { --p: 0; }
.js .tl-step:not(.is-reached) .tl-body { opacity: .42; }
.js .tl-step .tl-place { opacity: 0; transform: translateX(-12px); }
.js .tl-step.is-reached .tl-place { opacity: 1; transform: none; }
.js .tl-step.is-reached .tl-place:nth-child(2) { transition-delay: .12s; }
.js .tl-step.is-reached .tl-place:nth-child(3) { transition-delay: .24s; }
.js .tl-step.is-reached .tl-node { transform: scale(1.08); }

/* Fiche port : ports à proximité ---------------------------------------- */
.nearby-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 28px;
}
.nearby-head h2 { font-size: clamp(24px, 2.6vw, 34px); }
.nearby-all {
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--lagoon);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}
.nearby-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nearby-list a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding-top: 18px;
    border-top: 2px solid var(--line);
    text-decoration: none;
    transition: border-color .2s ease;
}
.nearby-list a:hover { border-top-color: var(--lagoon); }
.nearby-km { color: #8A6421; font-size: 14px; font-weight: 700; }
.nearby-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.nearby-meta { color: var(--slate); font-size: 15px; }

.page-head-actions { margin-top: 28px; }

/* Pages légales --------------------------------------------------------- */
.legal > * { max-width: 46em; }
.legal h2 { margin: 44px 0 12px; font-size: 22px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--slate); }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--lagoon-ink); text-underline-offset: 3px; }
.legal-facts { margin: 0; border-top: 1px solid var(--line); }
.legal-facts div {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.legal-facts dt { color: var(--slate); font-size: 15px; }
.legal-facts dd { margin: 0; }

.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

.form-privacy { margin-top: 14px; color: var(--slate); font-size: 14px; }
.form-privacy a { color: var(--lagoon-ink); }

/* Nos logiciels : apparition du bloc « Ce qui paraît simple… » (si JS) */
.js .parcours .split-head > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .parcours .split-head p { transition-delay: .12s; }
.js .parcours .steps li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.js .parcours .steps li:nth-child(1) { transition-delay: .25s; }
.js .parcours .steps li:nth-child(2) { transition-delay: .4s; }
.js .parcours .steps li:nth-child(3) { transition-delay: .55s; }
.js .parcours .steps li:nth-child(4) { transition-delay: .7s; }
.js .parcours.is-visible .split-head > *,
.js .parcours.is-visible .steps li { opacity: 1; transform: none; }
/* Le numéro doré glisse légèrement en place une fois l'étape apparue */
.js .parcours .steps li::before { display: inline-block; transform: translateX(-8px); opacity: 0; transition: transform .5s ease, opacity .5s ease; transition-delay: inherit; }
.js .parcours.is-visible .steps li::before { transform: none; opacity: 1; }

@media (max-width: 900px) {
    .onboard-head { position: static; }
    .onboard .split { gap: 40px; }
    .nearby-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .figures-grid { grid-template-columns: minmax(0, 1fr); }
    .figure, .figure:first-child { padding: 28px 0; }
    .figure + .figure { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    .figure-num { font-size: 52px; }
    .figure-rule { margin: 14px 0 10px; }
}

@media (max-width: 560px) {
    .tl-step { grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; padding-bottom: 36px; }
    .tl-node { width: 36px; height: 36px; font-size: 14px; }
    .tl-node svg { width: 18px; height: 18px; }
    .timeline::before, .timeline::after { left: 17px; top: 18px; }
    .tl-body { padding-top: 5px; }
    .tl-place { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .tl-place-icon { width: 34px; height: 34px; }
    .tl-place-icon svg { width: 20px; height: 20px; }
    .nearby-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .nearby-list a { padding: 16px 0; }
    .legal-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    .js .figures .figure-rule { transform: none; }
    .js .timeline { --p: 1; }
    .js .tl-step .tl-body, .js .tl-step .tl-place { opacity: 1; transform: none; }
    .js .parcours .split-head > *, .js .parcours .steps li, .js .parcours .steps li::before { opacity: 1; transform: none; }
}

/* ==========================================================================
   Ajouts v10 : menu « Connexion », popups mobiles (connexion, fiche port)
   ========================================================================== */

/* Menu « Connexion » (ordinateur) -------------------------------------- */
.login { position: relative; flex: 0 0 auto; }
.login-toggle {
    gap: 8px;
    border: 0;
    font-family: inherit;
    cursor: pointer;
}
.login-chevron {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}
.login.is-open .login-toggle { background: var(--lagoon); color: var(--navy); }
.login.is-open .login-chevron { transform: rotate(180deg); }
.login-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 5;
    width: 236px;
    padding-top: 10px; /* pont invisible entre le bouton et le menu */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.login.is-open .login-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.login-menu .login-list {
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--white);
    box-shadow: 0 18px 44px rgba(8, 24, 38, .2);
}
.login-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.login-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-s);
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .15s ease;
}
.login-option:hover, .login-option:focus-visible { background: var(--mist); }
.login-option:focus-visible { outline-offset: 0; }
.login-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(69, 165, 196, .14);
    color: #2A8DB3;
}
.login-option--gold .login-icon { background: rgba(184, 138, 59, .15); color: var(--gold); }
.login-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.login-arrow { width: 14px; height: 14px; margin-left: auto; fill: none; stroke: var(--slate); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Popup légère (mobile) : menu de connexion -------------------------- */
body.modal-open { overflow: hidden; }
.sheet {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
}
.sheet[hidden] { display: none; }
.sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 38, .55);
    opacity: 0;
    transition: opacity .22s ease;
}
.sheet-panel {
    position: relative;
    width: min(100%, 400px);
    padding: 20px;
    border-radius: var(--radius-l);
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 24px 60px rgba(3, 14, 24, .35);
    opacity: 0;
    transform: translateY(14px) scale(.97);
    transition: opacity .22s ease, transform .24s cubic-bezier(.2, .7, .2, 1);
}
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { opacity: 1; transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { font-size: 22px; }
.sheet-close {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--mist);
    cursor: pointer;
}
.sheet-close svg { width: 14px; height: 14px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; }
.sheet-intro { margin: 2px 0 16px; color: var(--slate); font-size: 15px; }
.login-list--sheet { gap: 10px; }
.login-list--sheet .login-option {
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    font-size: 17px;
}
.login-list--sheet .login-option:active { background: var(--mist); }
.login-list--sheet .login-icon { width: 44px; height: 44px; border-radius: 12px; }
.login-list--sheet .login-icon svg { width: 22px; height: 22px; }

/* Fiche port en popup (mobile) ---------------------------------------- */
.port-backdrop { display: none; }

@media (max-width: 900px) {
    .login { display: none; }

    .port-card {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        z-index: 310;
        width: min(calc(100vw - 32px), 420px);
        max-width: none;
        max-height: calc(100svh - 48px);
        margin: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: var(--radius-l);
        transform: translate(-50%, -50%);
    }
    .port-card.is-closed {
        display: block;
        transform: translate(-50%, -46%) scale(.96);
    }
    .port-card-close { width: 40px; height: 40px; }
    .port-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 305;
        background: rgba(8, 24, 38, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, visibility 0s linear .2s;
    }
    .port-card:not(.is-closed) ~ .port-backdrop {
        opacity: 1;
        visibility: visible;
        transition: opacity .2s ease, visibility 0s;
    }
}

/* Connexion temporairement masquée, accès conservés pour réactivation. */
[data-login][hidden], [data-login-sheet-open][hidden] { display: none !important; }
