/* Le Nautique — feuille de style du site (refonte du 11 novembre 2026).
   Blanc, bleu nuit pour l'encre, jaune solaire en petites touches.
   Matière « Liquid Glass » uniquement là où une photo passe dessous.
   Cinq tailles de texte, une marge, des rayons concentriques 28 / 22 / 14 et des pilules. */

@font-face {
  font-family: "Lexend Mega Fallback";
  src: local("Arial"), local("Helvetica Neue");
  size-adjust: 132%;
  ascent-override: 78%;
  descent-override: 22%;
}

:root {
  --ink: #141F32;
  --ink-2: #44506A;
  --bg: #FFFFFF;
  --tint: #F1F3F6;
  --tint-2: #E6EAF0;
  --sky: #E4ECF4;
  --sun: #FAC447;
  --sun-2: #FFD368;
  --ok: #2F9E62;

  --f-display: "Lexend Mega", "Lexend Mega Fallback", system-ui, sans-serif;
  --f-text: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-xl: clamp(34px, 4.2vw, 62px);
  --t-l: clamp(26px, 2.5vw, 38px);
  --t-m: clamp(19px, 1.5vw, 23px);
  --t-s: 17px;
  --t-xs: 14px;

  --m: clamp(16px, 3.3vw, 48px);
  --head: 92px;
  --gap-section: clamp(88px, 9vw, 144px);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-s)/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
[hidden] { display: none !important; }
/* Le canal VHF n'est affiché que pendant les heures de la capitainerie */
.cap-closed [data-if-open] { display: none !important; }

.n-skip { position: absolute; left: var(--m); top: -100px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 999px; }
.n-skip:focus { top: 12px; }

/* ---------- Texte ---------- */
.n-h2 { font: 600 var(--t-l)/1.1 var(--f-display); letter-spacing: -0.03em; text-wrap: balance; }
.n-h3 { font: 600 var(--t-m)/1.25 var(--f-text); letter-spacing: -0.015em; text-wrap: balance; }
.n-lead { font-size: var(--t-m); line-height: 1.45; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.n-small { font-size: var(--t-xs); line-height: 1.5; }
.n-muted { color: var(--ink-2); }
.n-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 320ms var(--ease); }
.n-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding-block: 6px; }
.n-link:hover .n-arrow, .n-btn:hover .n-arrow { transform: translateX(4px); }
.n-u { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.n-u:hover { text-decoration-thickness: 2.5px; }

/* ---------- Boutons : pilules pleines ---------- */
.n-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--f-text); white-space: nowrap;
  transition: transform 320ms var(--ease), background-color 200ms ease;
}
.n-btn:active { transform: scale(.97); }
.n-btn--ink { background: var(--ink); color: #fff; }
.n-btn--ink:hover { background: #24324D; }
.n-btn--sun { background: var(--sun); color: var(--ink); }
.n-btn--sun:hover { background: var(--sun-2); }
.n-btn--soft { background: var(--tint); color: var(--ink); }
.n-btn--soft:hover { background: var(--tint-2); }
.n-btn--light { background: #fff; color: var(--ink); }
.n-btn--light:hover { background: #EEF2F7; }
.n-btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.n-btn--block { width: 100%; }
.n-btn svg.n-user { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.n-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Matière « Liquid Glass » ---------- */
.n-glass {
  position: relative; isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur, 22px)) saturate(190%) brightness(1.06);
  backdrop-filter: blur(var(--glass-blur, 22px)) saturate(190%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .62),
    inset 1px 0 0 rgba(255, 255, 255, .24),
    inset -1px 0 0 rgba(255, 255, 255, .10),
    inset 0 -1px 0 rgba(255, 255, 255, .16),
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 12px 32px -16px rgba(8, 13, 22, .45);
}
.n-glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(140% 90% at var(--mx, 18%) var(--my, -10%), rgba(255, 255, 255, var(--glass-shine, .34)), rgba(255, 255, 255, 0) 58%);
}
.n-glass--light { --glass-bg: rgba(255, 255, 255, .64); color: var(--ink); }
.n-glass--clear { --glass-bg: rgba(255, 255, 255, .16); --glass-shine: .28; color: #fff; }
.n-glass--dark { --glass-bg: rgba(14, 22, 38, .42); --glass-shine: .22; color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .n-glass--light { --glass-bg: rgba(255, 255, 255, .95); }
  .n-glass--clear { --glass-bg: rgba(20, 31, 50, .6); }
  .n-glass--dark { --glass-bg: rgba(14, 22, 38, .9); }
}
@media (prefers-reduced-transparency: reduce) {
  .n-glass--light { --glass-bg: rgba(255, 255, 255, .96); }
  .n-glass--clear, .n-glass--dark { --glass-bg: rgba(14, 22, 38, .9); }
}
.n-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; }

/* ---------- En-tête : capsule de verre flottante ---------- */
.n-head {
  position: fixed; top: 14px; left: var(--m); right: var(--m); z-index: 40;
  height: 66px; padding: 0 10px 0 24px; border-radius: 999px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  transition: transform 520ms var(--ease);
}
.n-head.is-hidden { transform: translateY(calc(-100% - 20px)); }
.n-head__logo img { width: 176px; height: auto; }
.n-head__nav { display: flex; justify-content: center; gap: clamp(16px, 2vw, 34px); }
.n-head__nav a { position: relative; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 16px; padding: 8px 0; }
.n-head__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--ease); }
.n-head__nav a:hover::after, .n-head__nav a[aria-current="page"]::after { transform: scaleX(1); }
.n-ext { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.n-head__end { display: flex; align-items: center; gap: 12px; }
.n-head__lang { font-weight: 600; font-size: 15px; padding: 10px 8px; }
.n-head__menu { display: none; width: 46px; height: 46px; border-radius: 50%; place-items: center; background: var(--tint); }
.n-head__menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.n-head__menu:hover { background: var(--tint-2); }

.n-menu { position: fixed; inset: 0; z-index: 60; --glass-bg: rgba(255, 255, 255, .84); --glass-blur: 30px; padding: 14px var(--m) 32px; display: flex; flex-direction: column; overflow-y: auto; }
.n-menu__bar { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 10px; }
.n-menu__bar img { width: 160px; }
.n-menu__bar .n-head__menu { display: grid; }
.n-menu__links { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.n-menu__links a { display: inline-flex; align-items: center; gap: 10px; font: 600 clamp(24px, 7vw, 36px)/1.3 var(--f-display); letter-spacing: -0.03em; }
.n-menu__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.n-menu__links .n-ext { width: 18px; height: 18px; }
.n-menu__end { margin-top: auto; padding-top: 40px; display: grid; gap: 10px; }
.n-menu__end p { margin-top: 10px; font-size: var(--t-xs); }
.n-menu__end p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pastille « capitainerie » ---------- */
.n-live { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-xs); font-weight: 500; }
.n-live__dot { width: 10px; height: 10px; border-radius: 50%; background: #8A94A6; flex: none; }
.n-live__dot.is-open { background: var(--ok); }

/* ---------- Héros de l'accueil : une photo plein cadre ---------- */
.n-hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; background: var(--ink); isolation: isolate; }
.n-hero__media, .n-page-hero__media { position: absolute; inset: 0; z-index: -2; }
.n-hero__media img, .n-page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: n-settle 2400ms var(--ease) both; }
@keyframes n-settle { from { transform: scale(1.07); } to { transform: none; } }
.n-hero::after, .n-page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, rgba(10, 16, 28, .72) 0%, rgba(10, 16, 28, .36) 38%, rgba(10, 16, 28, 0) 62%); }
.n-hero__body { position: absolute; left: var(--m); bottom: clamp(32px, 6vh, 64px); width: min(640px, calc(100% - 2 * var(--m))); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.n-hero__title { font: 600 var(--t-xl)/1.05 var(--f-display); letter-spacing: -0.035em; text-wrap: balance; }
.n-hero__lead { font-size: var(--t-m); line-height: 1.4; max-width: 34ch; }
.n-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.n-hero .n-live, .n-page-hero .n-live { padding-inline: 14px 18px; }
.n-hero .n-live__dot, .n-page-hero .n-live__dot { background: #fff; }
.n-hero .n-live__dot.is-open, .n-page-hero .n-live__dot.is-open { background: #5BD08F; }
.n-hero .n-now { position: absolute; right: var(--m); bottom: clamp(32px, 6vh, 64px); width: min(360px, 30vw); }

/* « En ce moment à Saint-Jean » */
.n-now { border-radius: var(--r-lg); padding: 18px 20px; display: grid; gap: 12px; }
.n-now__title { font-weight: 600; font-size: var(--t-xs); display: flex; align-items: center; gap: 8px; }
.n-now dl { display: grid; gap: 8px; }
.n-now dl > div { display: flex; justify-content: space-between; gap: 18px; font-size: var(--t-xs); }
.n-now dt { opacity: .78; }
.n-now dd { font-weight: 600; text-align: right; }
.n-now:not(.is-live) [data-now]:empty::after { content: "…"; }

/* ---------- Héros des vues ---------- */
.n-page-hero { position: relative; height: min(76svh, 760px); min-height: 520px; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); display: flex; align-items: flex-end; padding: 0 var(--m) clamp(28px, 5vh, 56px); gap: 24px; }
.n-page-hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 760px; }
.n-page-hero h1 { font: 600 var(--t-xl)/1.05 var(--f-display); letter-spacing: -0.035em; }
.n-page-hero p { font-size: var(--t-m); line-height: 1.4; max-width: 40ch; }
.n-page-hero .n-now { margin-left: auto; width: min(360px, 34vw); flex: none; }
.n-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.n-toc a { font-weight: 500; font-size: 15px; transition: background-color 200ms ease; }
.n-toc a:hover { --glass-bg: rgba(255, 255, 255, .28); }

/* ---------- Sections ---------- */
.n-sec { padding: var(--gap-section) var(--m); }
.n-sec--tint { background: var(--tint); }
.n-sec--tight-top { padding-top: 0; }
.n-sec__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.n-sec__head .n-h2 { grid-column: 1 / 8; }
.n-sec__head > p { grid-column: 9 / 13; color: var(--ink-2); }

/* Grille de tuiles (fond teinté, rayons 22) */
.n-tiles { display: grid; gap: 12px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.n-tile { background: var(--tint); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.n-sec--tint .n-tile { background: #fff; }
.n-tile p { color: var(--ink-2); }
.n-tile__kicker { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.n-tile--ink { background: var(--ink); color: #fff; }
.n-tile--ink p, .n-tile--ink .n-tile__kicker { color: rgba(255, 255, 255, .8); }
.n-tile--sun { background: var(--sun); }
.n-tile--sun p { color: var(--ink); }
a.n-tile { transition: background-color 200ms ease, transform 320ms var(--ease); }
a.n-tile:hover { background: var(--tint-2); }

.n-checks { display: grid; gap: 10px; }
.n-checks li { position: relative; padding-left: 30px; }
.n-checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 18px no-repeat; }
.n-tile--ink .n-checks li::before { background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23141F32' stroke-width='2'/%3E%3C/svg%3E"); }
.n-dots { display: grid; gap: 8px; }
.n-dots li { position: relative; padding-left: 18px; }
.n-dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Texte + média */
.n-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; }
.n-split__text { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 22px; }
.n-split__media { grid-column: 8 / 13; }
.n-split--flip .n-split__text { grid-column: 7 / 13; grid-row: 1; }
.n-split--flip .n-split__media { grid-column: 1 / 6; grid-row: 1; }
.n-split__text > p { color: var(--ink-2); max-width: 52ch; }
.n-media { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--tint); }
.n-media img, .n-media video { width: 100%; height: 100%; object-fit: cover; }
.n-media--43 { aspect-ratio: 4 / 3; }
.n-media--45 { aspect-ratio: 4 / 5; }
.n-media--169 { aspect-ratio: 16 / 9; }

/* Chiffres clés */
.n-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.n-facts > div { background: var(--tint); border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.n-facts strong { font: 600 var(--t-m)/1.2 var(--f-display); letter-spacing: -0.03em; }
.n-facts span { font-size: var(--t-xs); color: var(--ink-2); }

/* Une seule fenêtre, sa photo change */
.n-frame { display: flex; flex-direction: column; gap: 12px; }
.n-frame__box { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-xl); background: var(--tint); cursor: pointer; }
.n-frame__box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 800ms ease; }
.n-frame__box img.is-on { opacity: 1; }
.n-frame__cap { font-size: var(--t-xs); color: var(--ink-2); }

/* Tableaux */
.n-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.n-table caption { text-align: left; font-weight: 600; margin-bottom: 10px; }
.n-table th, .n-table td { text-align: left; padding: 14px 16px; vertical-align: top; }
.n-table thead th { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); padding-block: 10px; }
.n-table tbody tr:nth-child(odd) { background: var(--tint); }
.n-sec--tint .n-table tbody tr:nth-child(odd) { background: #fff; }
.n-table tbody tr > :first-child { border-radius: var(--r-md) 0 0 var(--r-md); }
.n-table tbody tr > :last-child { border-radius: 0 var(--r-md) var(--r-md) 0; }
.n-table tbody th { font-weight: 600; }
.n-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tiroir (details natif) */
.n-drawer { border-radius: var(--r-lg); background: var(--tint); }
.n-drawer summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; }
.n-drawer summary::-webkit-details-marker { display: none; }
.n-drawer summary::after { content: ""; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%23141F32' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 320ms var(--ease); }
.n-drawer[open] summary::after { transform: rotate(45deg); }
.n-drawer__body { padding: 0 22px 22px; }

/* Commande segmentée */
.n-seg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--tint); }
.n-seg button { position: relative; z-index: 1; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: color 240ms ease, background-color 240ms ease; }
.n-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 8px -2px rgba(20, 31, 50, .2); }

/* Variantes de mise en page */
.n-tiles--2 { --cols: 2; }
.n-tiles--3 { --cols: 3; }
.n-tiles + .n-actions, .n-tiles + template + .n-actions, .n-gap { margin-top: 28px; }
.n-split--top { align-items: start; }
.n-reach__ways--stack { grid-column: auto; margin-top: 8px; }
.n-urg--tint > * { background: var(--tint); }
.n-urg--tint a:hover { background: var(--tint-2); }
.n-facts--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.n-sec--tint .n-facts > div, .n-sec--tint .n-rates > div { background: #fff; }
.n-pick { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.n-pick .n-models, .n-pick .n-drawer { width: 100%; }
.n-sec .n-band { margin: 0; }
.n-tile .n-table { margin-bottom: 8px; }
.n-tile--sun .n-h2 { margin-top: 4px; }

/* ---------- Accueil : le billet d'amarrage ---------- */
.n-ticket-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); padding: var(--gap-section) var(--m); display: flex; justify-content: center; }
.n-ticket-band__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--drift, 1.08)); }
.n-ticket {
  width: min(100%, 1120px); display: grid; grid-template-columns: 7fr 3fr;
  border-radius: var(--r-xl); --glass-bg: rgba(255, 255, 255, .72); --glass-blur: 28px;
  -webkit-mask: radial-gradient(circle 14px at 70% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 14px at 70% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 14px at 70% 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 14px at 70% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.n-ticket__main { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 44px); }
.n-ticket__terms { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; }
.n-ticket__terms dt { font-weight: 600; }
.n-ticket__terms dd { color: var(--ink-2); }
.n-ticket__stub {
  padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='18'%3E%3Ccircle cx='4' cy='9' r='3.5' fill='%23ffffff' fill-opacity='.95'/%3E%3C/svg%3E") -4px 24px / 8px 18px repeat-y;
}
.n-ticket__big { font: 600 var(--t-l)/1.05 var(--f-display); letter-spacing: -0.03em; margin-bottom: auto; }
.n-ticket__stub .n-small { color: var(--ink-2); }
.n-ticket__tel { text-align: center; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Accueil : un seul module, quatre onglets ---------- */
.n-deck { padding: var(--gap-section) var(--m) 0; }
.n-deck__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 14px; align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.n-deck__head .n-h2 { grid-column: 1 / 7; }
.n-deck__head p { grid-column: 8 / 13; color: var(--ink-2); }
.n-deck__stage { position: relative; height: min(78svh, 720px); min-height: 520px; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); isolation: isolate; }
.n-deck__tabs { position: absolute; z-index: 3; top: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.n-deck__tabs::-webkit-scrollbar { display: none; }
.n-deck__tabs button { position: relative; overflow: hidden; flex: none; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; transition: background-color 260ms ease, color 260ms ease; }
.n-deck__tabs button:hover { background: rgba(255, 255, 255, .14); }
.n-deck__tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
/* Avancement automatique : un trait se remplit sous l'onglet actif */
.n-deck__tabs button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 2px; border-radius: 2px; background: currentColor; opacity: .35; transform: scaleX(0); transform-origin: left; }
.n-deck.is-auto .n-deck__tabs button[aria-selected="true"]::after { animation: n-fill var(--deck-ms, 7000ms) linear forwards; }
@keyframes n-fill { to { transform: scaleX(1); } }
.n-deck__panel { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; }
.n-deck__media { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.js .n-deck__panel { opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s 700ms; }
.js .n-deck__panel.is-on { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease); }
.js .n-deck__panel .n-deck__media { transform: scale(1.06); transition: transform 2400ms var(--ease); }
.js .n-deck__panel.is-on .n-deck__media { transform: none; }
.n-deck__card { width: min(380px, 100%); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; --glass-blur: 26px; }
.js .n-deck__card { transform: translateY(16px); transition: transform 800ms var(--ease); }
.js .n-deck__panel.is-on .n-deck__card { transform: none; }
.n-deck__card p { color: rgba(255, 255, 255, .86); }
.n-deck__fact { color: #fff !important; font-weight: 600; }
.n-deck__thumb { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-md); }

/* ---------- Nous joindre ---------- */
.n-reach { padding: var(--gap-section) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.n-reach__text { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 18px; }
.n-reach__text p { color: var(--ink-2); max-width: 36ch; }
.n-reach__text .n-live { color: var(--ink); }
.n-reach__ways { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.n-way { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--tint); transition: background-color 200ms ease; }
a.n-way:hover { background: var(--tint-2); }
.n-way span { font-size: var(--t-xs); color: var(--ink-2); }
.n-way strong { font-weight: 600; font-size: var(--t-m); letter-spacing: -0.01em; overflow-wrap: anywhere; }

/* ---------- La marina : le plan interactif ---------- */
.n-explorer { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.n-explorer__map { position: relative; border-radius: var(--r-xl); overflow: hidden; background: #0D3A5C; }
.n-explorer__map > img { width: 100%; height: auto; }
.n-spot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; }
/* Zone transparente posée sur l'icône du plan : seul un anneau la signale */
.n-spot::before { content: ""; width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 5px rgba(20, 31, 50, .18); transition: transform 360ms var(--ease), box-shadow 240ms ease; }
.n-spot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .7); animation: n-ping 2600ms var(--ease) infinite; pointer-events: none; }
@keyframes n-ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.n-spot:hover::before { transform: scale(1.08); box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(20, 31, 50, .25); }
.n-spot.is-on::before { transform: scale(1.1); box-shadow: 0 0 0 3px var(--sun), 0 0 0 7px rgba(20, 31, 50, .3); }
.n-spot.is-on::after { animation: none; opacity: 0; }
.n-spot--label { width: auto; height: 38px; margin: -19px 0 0; transform: translateX(-50%); padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; }
.n-spot--label::before, .n-spot--label::after { display: none; }
.n-spot--label.is-on { --glass-bg: rgba(250, 196, 71, .9); color: var(--ink); }
.n-explorer__panel { position: sticky; top: calc(var(--head) + 8px); background: var(--tint); border-radius: var(--r-xl); padding: 26px; min-height: 280px; display: flex; flex-direction: column; gap: 14px; }
.n-explorer__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.n-explorer__chips button { min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; transition: background-color 200ms ease; }
.n-explorer__chips button:hover { background: var(--tint-2); }
.n-explorer__chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.n-zone { display: flex; flex-direction: column; gap: 10px; }
.n-zone p { color: var(--ink-2); }

/* ---------- Locations ---------- */
.n-models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.n-model { background: var(--tint); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.n-model span { font-size: var(--t-xs); color: var(--ink-2); }
.n-model strong { margin-top: 18px; font: 600 var(--t-l)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.n-rates { display: grid; gap: 6px; }
.n-rates > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-radius: var(--r-md); background: var(--tint); font-variant-numeric: tabular-nums; }
.n-rates strong { font-weight: 600; }
.n-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.n-tags li { padding: 8px 14px; border-radius: 999px; background: var(--tint); font-size: var(--t-xs); font-weight: 600; }

/* ---------- Infos pratiques ---------- */
.n-urg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.n-urg > * { background: #fff; border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; font-size: var(--t-xs); color: var(--ink-2); transition: background-color 200ms ease; }
.n-urg strong { font: 600 var(--t-m)/1.2 var(--f-text); color: var(--ink); }
.n-urg a:hover { background: var(--tint-2); }
.n-urg .is-first { background: var(--sun); color: var(--ink); }
.n-urg .is-first:hover { background: var(--sun-2); }
.n-bridge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.n-level { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.n-level strong { font: 600 var(--t-l)/1 var(--f-display); letter-spacing: -0.03em; }
.n-range { width: 100%; -webkit-appearance: none; appearance: none; height: 44px; background: transparent; cursor: pointer; }
.n-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: var(--tint-2); }
.n-range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--tint-2); }
.n-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(20, 31, 50, .3); }
.n-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; }
.n-scale { display: flex; justify-content: space-between; font-size: var(--t-xs); color: var(--ink-2); }
.n-bridge__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.n-bridge__out > div { background: var(--tint); border-radius: var(--r-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.n-bridge__out span { font-size: var(--t-xs); color: var(--ink-2); }
.n-bridge__out strong { font: 600 var(--t-l)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ---------- Formulaires ---------- */
.n-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.n-field { display: flex; flex-direction: column; gap: 6px; }
.n-field--wide { grid-column: 1 / -1; }
.n-field label { font-size: var(--t-xs); font-weight: 600; }
.n-input { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r-md); border: 0; background: var(--tint); font-size: 16px; transition: background-color 200ms ease, box-shadow 200ms ease; }
.n-sec--tint .n-input { background: #fff; }
.n-input:hover { background: var(--tint-2); }
.n-input:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
textarea.n-input { min-height: 130px; resize: vertical; }
select.n-input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141F32' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.n-form__msg { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--r-md); font-weight: 500; }
.n-form__msg--ok { background: #E3F4EA; }
.n-form__msg--err { background: #FDECEC; }
.n-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.n-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }

/* ---------- Bande d'appel finale ---------- */
.n-band { margin: 0 var(--m) var(--gap-section); border-radius: var(--r-xl); overflow: hidden; position: relative; isolation: isolate; color: #fff; min-height: 360px; display: flex; align-items: flex-end; padding: clamp(24px, 3vw, 40px); background: var(--ink); }
.n-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.n-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 16, 28, .66), rgba(10, 16, 28, 0) 70%); }
.n-band__card { max-width: 520px; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Pied de page ---------- */
.n-foot { background: var(--tint); padding: clamp(56px, 6vw, 88px) var(--m) 32px; }
.n-foot__logo img { width: 190px; }
.n-foot__row { margin-top: 44px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; }
.n-foot__pages { grid-column: 1 / 5; display: grid; gap: 10px; align-content: start; }
.n-foot__pages a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.n-foot__pages a:hover, .n-foot__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.n-foot__col { font-size: var(--t-xs); color: var(--ink-2); display: grid; align-content: start; gap: 12px; }
.n-foot__col:first-of-type { grid-column: 6 / 9; }
.n-foot__col:last-of-type { grid-column: 10 / 13; }
.n-foot__col h2 { font: 600 var(--t-xs)/1.4 var(--f-text); color: var(--ink); }
.n-foot__col ul { display: grid; gap: 8px; }
.n-foot__legal { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: var(--t-xs); color: var(--ink-2); }
.n-foot__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Apparitions ---------- */
.js [data-n~="rise"] .n-r { opacity: 0; transform: translateY(20px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-n~="rise"].is-in .n-r { opacity: 1; transform: none; }

/* ---------- Tablette ---------- */
@media (max-width: 1180px) {
  .n-head__nav { display: none; }
  .n-head__menu { display: grid; }
  .n-head__end { justify-content: flex-end; }
  .n-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-urg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-explorer { grid-template-columns: 1fr; }
  .n-explorer__panel { position: static; min-height: 0; }
}
@media (max-width: 900px) {
  .n-hero .n-now, .n-page-hero .n-now { display: none; }
  .n-tiles { --cols: 1 !important; }
  .n-split { grid-template-columns: 1fr; }
  .n-split__text, .n-split__media, .n-split--flip .n-split__text, .n-split--flip .n-split__media { grid-column: auto; grid-row: auto; }
  .n-bridge { grid-template-columns: 1fr; }
  .n-facts, .n-facts--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n-sec__head, .n-deck__head { grid-template-columns: 1fr; }
  .n-sec__head .n-h2, .n-sec__head > p, .n-deck__head .n-h2, .n-deck__head p { grid-column: auto; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 760px) {
  :root { --head: 80px; }
  .n-head { top: 10px; height: 58px; padding: 0 6px 0 16px; gap: 8px; }
  .n-head__logo img { width: 148px; }
  .n-head__lang { display: none; }
  .n-head__end { gap: 6px; }
  .n-head__end .n-btn--sun { min-height: 46px; padding: 0 14px; font-size: 14px; }
  .n-head__end .n-btn--sun span { display: none; }

  .n-hero { min-height: 560px; }
  .n-hero::after, .n-page-hero::after { background: linear-gradient(to top, rgba(10, 16, 28, .8) 0%, rgba(10, 16, 28, .45) 45%, rgba(10, 16, 28, 0) 72%); }
  .n-hero__body { bottom: 24px; gap: 14px; }
  .n-hero__lead { font-size: var(--t-s); }
  .n-hero__actions { width: 100%; }
  .n-hero__actions .n-btn { flex: 1 1 auto; }
  .n-page-hero { height: 70svh; min-height: 460px; }
  .n-page-hero p { font-size: var(--t-s); }

  .n-ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .n-ticket__terms { grid-template-columns: 1fr; gap: 16px; }
  .n-ticket__stub { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='8'%3E%3Ccircle cx='9' cy='4' r='3.5' fill='%23ffffff' fill-opacity='.95'/%3E%3C/svg%3E") 24px -4px / 18px 8px repeat-x; }

  .n-deck { padding-inline: var(--m); }
  .n-deck__stage { height: auto; min-height: 0; border-radius: var(--r-lg); background: var(--tint); }
  .n-deck__tabs { top: 10px; left: 10px; right: 10px; transform: none; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 4px; border-radius: 18px; }
  .n-deck__tabs button { min-height: 44px; padding: 6px 6px; border-radius: 14px; font-size: 13px; line-height: 1.15; white-space: normal; text-align: center; }
  .n-deck__tabs button::after { left: 14px; right: 14px; bottom: 4px; }
  .n-deck__panel { position: relative; inset: auto; min-height: 600px; padding: 10px; }
  .js .n-deck__panel:not(.is-on) { display: none; }
  .n-deck__card { width: 100%; }

  .n-reach { grid-template-columns: 1fr; }
  .n-reach__text, .n-reach__ways { grid-column: auto; }
  .n-reach__ways { grid-template-columns: 1fr; }
  .n-models { grid-template-columns: 1fr 1fr; }
  .n-urg { grid-template-columns: 1fr 1fr; }
  .n-form { grid-template-columns: 1fr; }
  .n-bridge__out { grid-template-columns: 1fr; }
  .n-table th, .n-table td { padding: 12px; }
  .n-foot__row { grid-template-columns: 1fr 1fr; }
  .n-foot__pages { grid-column: 1 / -1; }
  .n-foot__col, .n-foot__col:first-of-type, .n-foot__col:last-of-type { grid-column: span 1; }
}
@media (max-width: 380px) {
  .n-head__logo img { width: 128px; }
  .n-models, .n-urg { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .n-ticket-band__bg { transform: none; }
}
.n-model strong span { font-size: inherit; color: inherit; }
.n-sec--tint .n-tags li { background: #fff; }
.n-sec--tint .n-tile--ink { background: var(--ink); }
.n-sec--tint .n-tile--sun { background: var(--sun); }
.n-tile .n-input { background: #fff; }
.n-tile .n-input:hover { background: #fff; box-shadow: 0 0 0 1px var(--tint-2); }
.n-sec--tint .n-tile .n-input { background: var(--tint); }
.n-note { font-size: var(--t-xs); color: var(--ink-2); }
@media (max-width: 760px) {
  .n-spot { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .n-spot::before { width: 20px; height: 20px; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .9); }
  .n-spot::after { display: none; }
  .n-spot.is-on::before { box-shadow: 0 0 0 2.5px var(--sun); }
  .n-spot--label { width: auto; height: 28px; margin: -14px 0 0; padding: 0 10px; font-size: 12px; white-space: nowrap; }
  .n-explorer__panel { padding: 20px; }
}

.n-chat { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Place pour la bulle de clavardage (Voiceflow, en bas à gauche) */
.n-hero__body { bottom: clamp(88px, 11vh, 112px); }
.n-hero .n-now { bottom: clamp(88px, 11vh, 112px); }
.n-page-hero { padding-bottom: clamp(84px, 10vh, 104px); }
.n-foot { padding-bottom: 96px; }
@media (max-width: 760px) {
  .n-hero__body { bottom: 84px; }
  .n-page-hero { padding-bottom: 84px; }
}

@media (max-width: 760px) {
  .n-menu { padding: 10px var(--m) 28px; }
  .n-menu__bar { height: 58px; padding: 0 6px 0 16px; }
  .n-menu__bar img { width: 148px; }
  .n-foot__row { grid-template-columns: 1fr; row-gap: 32px; }
  .n-foot__col, .n-foot__col:first-of-type, .n-foot__col:last-of-type { grid-column: auto; }
  .n-foot__legal { flex-direction: column; }
}
@media (max-width: 380px) { .n-menu__bar img { width: 128px; } }
.n-chat { text-align: left; }
/* Le logo (logo-bleu.png) a une marge transparente de 14,2 % à gauche : on la compense pour l'aligner sur le texte */
.n-foot__logo { display: inline-block; margin-left: calc(190px * -0.142); }
@media (max-width: 760px) {
  .n-menu__bar { padding-right: 14px; }
  .n-menu__links { padding-left: calc(16px + 148px * 0.142); }
}
@media (max-width: 380px) { .n-menu__links { padding-left: calc(16px + 128px * 0.142); } }
