/* ==========================================================================
   Amicale des Plaisanciers de Troaon — feuille de style principale
   Direction : « carte marine vivante » — abysse, cyan, papier de carte.
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Profondeurs */
  --abyss:      #04121E;
  --deep:       #08203A;
  --navy:       #10365A;
  --navy-soft:  #1B4B75;

  /* Lumières */
  --cyan:       #29abe2;
  --cyan-lt:    #6fd2f7;
  --cyan-glow:  rgba(41, 171, 226, .35);

  /* Surfaces claires */
  --foam:       #f5f9fb;
  --paper:      #efe8db;
  --paper-warm: #e5dbc9;

  /* Accents chauds (laiton, cordage) */
  --brass:      #c9a24b;
  --rope:       #b98b52;

  --ink:        #071722;
  --ink-soft:   #35505f;

  /* Typo */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Rythme */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sect: clamp(4.5rem, 10vw, 9rem);
  --r: 4px;
  --r-lg: 10px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.68;
  color: var(--ink);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* L'attribut « hidden » doit l'emporter sur les display: des composants
   (sans cela, .notice { display: flex } rend visible un bloc masqué). */
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  text-wrap: balance;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
h1 { font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--cyan); color: #fff; padding: .8rem 1.2rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ Utilitaires */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - var(--gutter) * 2, 1520px); margin-inline: auto; }
.section { padding-block: var(--sect); position: relative; }
.center { text-align: center; }
.lead {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Étiquette type annotation de carte marine */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--body);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; width: clamp(24px, 5vw, 46px); height: 1px;
  background: currentColor; opacity: .65;
}
.on-dark .eyebrow, .dark .eyebrow { color: var(--cyan-lt); }

/* --------------------------------------------------------------- Fonds */
.dark { background: var(--deep); color: var(--foam); }
.dark .lead, .dark p { color: rgba(238, 246, 250, .78); }
.dark h1, .dark h2, .dark h3 { color: var(--foam); }

.abyss { background: var(--abyss); color: var(--foam); }
.abyss p, .abyss .lead { color: rgba(238, 246, 250, .74); }

.paper { background: var(--paper); }

/* Texture : lignes bathymétriques */
.contours::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/contours.svg") repeat;
  background-size: 1200px 900px;
  opacity: .14;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.section > * { position: relative; z-index: 1; }

/* Grain */
.grain::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- Boutons */
.btn {
  --btn-bg: var(--cyan);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.7rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -14px var(--cyan-glow); }
.btn:hover::after { transform: translateX(120%); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  --btn-bg: transparent; --btn-fg: currentColor;
  border-color: currentColor;
  opacity: .92;
}
.btn-ghost:hover { box-shadow: none; opacity: 1; background: rgba(255,255,255,.08); }
.paper .btn-ghost:hover, body > main .btn-ghost:hover { background: rgba(8, 32, 58, .06); }

.btn-brass { --btn-bg: var(--brass); --btn-fg: var(--abyss); }
.btn-brass:hover { box-shadow: 0 14px 34px -14px rgba(201,162,75,.6); }

/* Lien fléché souligné */
.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  color: var(--navy); padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .45s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; }
.dark .link-arrow, .abyss .link-arrow { color: var(--cyan-lt); }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-block: 1.1rem;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,18,30,.72), transparent);
  transition: opacity .5s;
}
.site-header.is-stuck {
  background: rgba(6, 26, 44, .92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  padding-block: .65rem;
  box-shadow: 0 1px 0 rgba(111, 210, 247, .16), 0 18px 40px -28px rgba(0,0,0,.9);
}
.site-header.is-stuck::before { opacity: 0; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--foam); }
.brand-mark {
  width: 50px; height: 50px; flex: none; border-radius: 50%;
  background: var(--foam);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(111,210,247,.35), 0 8px 22px -12px rgba(0,0,0,.8);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.brand-mark img { width: 33px; height: auto; }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); box-shadow: 0 0 0 1px var(--cyan), 0 10px 26px -10px var(--cyan-glow); }
.is-stuck .brand-mark { width: 42px; height: 42px; }
.is-stuck .brand-mark img { width: 27px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display); font-size: 1.06rem; font-weight: 600;
  letter-spacing: -.01em;
}
.brand-sub {
  font-size: .63rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan-lt); opacity: .85; margin-top: 2px;
}

/* Navigation */
.nav { display: flex; align-items: center; gap: clamp(.4rem, 1.3vw, 1.35rem); }
.nav a {
  position: relative; text-decoration: none; color: rgba(245,249,251,.86);
  font-size: .875rem; font-weight: 500; padding: .5rem 0;
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--cyan-lt); transition: width .4s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .62rem 1.15rem !important;
  border: 1px solid rgba(111,210,247,.5); border-radius: var(--r);
  color: var(--cyan-lt) !important; font-weight: 600 !important;
  transition: background .35s, border-color .35s, color .35s !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--cyan); border-color: var(--cyan); color: #fff !important; }

@media (max-width: 540px) {
  .site-header .brand-mark { width: 42px; height: 42px; }
  .site-header .brand-mark img { width: 27px; }
  .site-header .brand-name { font-size: .95rem; }
  .site-header .brand-sub { display: none; }
}

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(245,249,251,.3);
  background: transparent; border-radius: var(--r); cursor: pointer;
  position: relative; flex: none;
}
.burger span {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--foam);
  transition: transform .45s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 400px);
    background: var(--abyss);
    flex-direction: column; align-items: stretch; justify-content: center;
    gap: .35rem; padding: 5rem 2rem 2rem;
    transform: translateX(100%); transition: transform .6s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0,0,0,.9);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 1.15rem; padding: .8rem 0; border-bottom: 1px solid rgba(111,210,247,.12); }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 1.4rem; justify-content: center; border-bottom: 0 !important; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 99; background: rgba(4,18,30,.6);
    opacity: 0; pointer-events: none; transition: opacity .5s;
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  }
  .nav-backdrop.is-on { opacity: 1; pointer-events: auto; }
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: 9rem 0;
  overflow: hidden; background: var(--abyss); color: var(--foam);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroDrift 34s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1.2%, 0); }
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(41,171,226,.24), transparent 55%),
    linear-gradient(180deg, rgba(4,18,30,.7) 0%, rgba(4,18,30,.34) 32%, rgba(4,18,30,.8) 74%, var(--abyss) 100%);
}
.hero .grain-layer {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content { padding-bottom: clamp(3rem, 8vh, 6rem); max-width: 62rem; }
.hero h1 { color: #fff; text-shadow: 0 2px 40px rgba(4,18,30,.5); margin-bottom: .35em; }
.hero h1 .accent {
  font-style: italic; color: var(--cyan-lt);
  font-variation-settings: "SOFT" 60, "WONK" 1;
}
.hero-lead { max-width: 44rem; font-size: clamp(1.05rem, .98rem + .55vw, 1.35rem); color: rgba(245,249,251,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

/* Bandeau d'infos en bas de héros */
.hero-bar {
  border-top: 1px solid rgba(111,210,247,.22);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.hero-bar div {
  padding: 1.15rem 1.4rem 1.35rem;
  border-left: 1px solid rgba(111,210,247,.14);
}
.hero-bar div:first-child { border-left: 0; padding-left: 0; }
.hero-bar dt {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan-lt); opacity: .8; margin-bottom: .3rem;
}
.hero-bar dd {
  margin: 0; font-family: var(--display); font-size: 1.28rem; font-weight: 600; color: #fff;
}
.hero-bar dd small { font-family: var(--body); font-size: .78rem; font-weight: 400; opacity: .65; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 11rem; z-index: 3;
  writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(245,249,251,.55);
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 62px;
  background: linear-gradient(rgba(111,210,247,.7), transparent);
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue { 0%,100% { transform: scaleY(.35); opacity: .4; transform-origin: top; } 50% { transform: scaleY(1); opacity: 1; transform-origin: top; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* Bouton son vidéo */
.video-toggle {
  position: absolute; right: var(--gutter); top: 50%; z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(245,249,251,.35); background: rgba(4,18,30,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--foam); cursor: pointer; display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.video-toggle:hover { background: var(--cyan); border-color: var(--cyan); transform: scale(1.08); }
@media (max-width: 900px) { .video-toggle { top: auto; bottom: 12.5rem; width: 42px; height: 42px; } }

/* --------------------------------------------------------------- Marquee */
.marquee {
  background: var(--abyss); color: var(--cyan-lt);
  border-block: 1px solid rgba(111,210,247,.16);
  padding-block: .95rem; overflow: hidden; position: relative;
}
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-size: .78rem; letter-spacing: .26em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap;
}
.marquee span::after { content: "◆"; font-size: .5rem; opacity: .55; letter-spacing: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Stats */
.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: rgba(16, 54, 90, .14);
  border: 1px solid rgba(16, 54, 90, .14);
}
.dark .stats, .abyss .stats { background: rgba(111,210,247,.16); border-color: rgba(111,210,247,.16); }
.stat { background: var(--foam); padding: 2.1rem 1.6rem; }
.dark .stat, .abyss .stat { background: var(--deep); }
.abyss .stat { background: var(--abyss); }
.stat-num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.4rem, 1.7rem + 2.4vw, 3.6rem); line-height: 1;
  color: var(--navy); display: flex; align-items: baseline; gap: .12em;
}
.dark .stat-num, .abyss .stat-num { color: var(--cyan-lt); }
.stat-num sup { font-size: .42em; font-weight: 500; color: var(--cyan); top: -.7em; }
.stat-label {
  margin-top: .6rem; font-size: .82rem; line-height: 1.45;
  color: var(--ink-soft); max-width: 20rem;
}
.dark .stat-label, .abyss .stat-label { color: rgba(238,246,250,.62); }

/* ------------------------------------------------------------- Split 2col */
.split {
  display: grid; gap: clamp(2.5rem, 6vw, 5.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.02fr 1fr; }
  .split.reverse > *:first-child { order: 2; }
  .split.wide-media { grid-template-columns: 1.25fr 1fr; }
}
.split-text { max-width: 38rem; }

/* Média encadré.
   Le liseré est tracé en « outline » sur le média lui-même : il en épouse donc
   exactement les contours, quelle que soit la hauteur de l'image, et n'englobe
   jamais la légende. (L'outline n'est pas rognée par l'overflow du parallaxe.) */
.framed { position: relative; }
.framed img { border-radius: var(--r-lg); width: 100%; height: auto; }

.framed > .media-parallax,
.framed > img,
.framed > picture > img {
  border-radius: var(--r-lg);
  outline: 1px solid rgba(41, 171, 226, .45);
  outline-offset: 12px;
}

.framed figcaption {
  margin-top: 1.7rem; font-size: .76rem; letter-spacing: .05em;
  color: var(--ink-soft); opacity: .8;
}

/* Un peu d'air autour du liseré, pour qu'il ne touche pas le bord de la colonne */
.framed { padding: 12px 12px 0; }
@media (max-width: 640px) { .framed { padding: 10px 10px 0; } .framed > .media-parallax,
  .framed > img, .framed > picture > img { outline-offset: 9px; } }
.dark .framed figcaption, .abyss .framed figcaption { color: rgba(238,246,250,.55); }

/* Vidéos : format forcé en 16/9 (celui des rushes) pour que les deux lecteurs
   aient la même hauteur quel que soit le format de leur image d'attente, et
   cadre décoratif aligné sur la vidéo — pas sur la légende. */
.framed-video::before { content: none; }
.video-wrap { position: relative; }
.video-wrap::before {
  content: ""; position: absolute; inset: -13px;
  border: 1px solid var(--cyan); border-radius: calc(var(--r-lg) + 5px);
  opacity: .45; pointer-events: none;
}
.video-wrap video {
  display: block; width: 100%;
  aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--abyss); border-radius: var(--r-lg);
}

/* Média « plongée » avec parallaxe douce */
.media-parallax { overflow: hidden; border-radius: var(--r-lg); }
.media-parallax img { will-change: transform; transform: scale(1.14); transition: transform .2s linear; }

/* ---------------------------------------------------------------- Cards */
.grid-cards {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  position: relative; padding: 2rem 1.8rem 2.1rem;
  background: #fff; border: 1px solid rgba(16,54,90,.1); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
}
.dark .card, .abyss .card {
  background: rgba(255,255,255,.035); border-color: rgba(111,210,247,.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px;
  background: linear-gradient(var(--cyan), transparent);
  transform: scaleY(0); transform-origin: top; transition: transform .55s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(8,32,58,.5); border-color: rgba(41,171,226,.4); }
.card:hover::before { transform: scaleY(1); }
.card-icon {
  width: 44px; height: 44px; margin-bottom: 1.25rem; color: var(--cyan);
}
.card h3 { font-size: 1.22rem; margin-bottom: .5rem; padding-right: 2.8rem; text-wrap: balance; }
.card p { font-size: .935rem; color: var(--ink-soft); margin-bottom: 0; }
.dark .card p, .abyss .card p { color: rgba(238,246,250,.7); }
.card-num {
  position: absolute; top: .6rem; right: 1.1rem;
  font-family: var(--display); font-size: 3.6rem; font-weight: 600;
  color: var(--navy); opacity: .07; line-height: 1;
}
.dark .card-num, .abyss .card-num { color: var(--cyan-lt); opacity: .12; }

/* -------------------------------------------------------------- Tarifs */
.pricing { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.price-card {
  padding: 2.4rem 2rem; border-radius: var(--r-lg);
  border: 1px solid rgba(111,210,247,.22); background: rgba(255,255,255,.04);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(165deg, rgba(41,171,226,.14), rgba(255,255,255,.03));
  box-shadow: 0 30px 70px -40px var(--cyan-glow);
}
.price-tag {
  font-family: var(--display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  font-weight: 600; line-height: 1; color: #fff; margin: .8rem 0 .2rem;
}
.price-tag small { font-size: .3em; font-family: var(--body); font-weight: 500; opacity: .6; letter-spacing: .05em; }
.price-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; font-size: .92rem; }
.price-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px dashed rgba(111,210,247,.2);
  color: rgba(238,246,250,.8);
}
.price-list li b { font-weight: 600; color: #fff; white-space: nowrap; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note { font-size: .8rem; color: rgba(238,246,250,.55); margin-top: 1rem; }

/* ------------------------------------------------------------- Timeline */
.timeline { position: relative; padding-left: 2.2rem; margin-top: 3rem; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: .6rem; bottom: .6rem; width: 1px;
  background: linear-gradient(var(--cyan), rgba(41,171,226,.15));
}
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2.2rem; top: .55rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--foam); border: 2px solid var(--cyan);
}
.dark .tl-item::before, .abyss .tl-item::before { background: var(--deep); }
.tl-year {
  font-family: var(--display); font-size: 1.05rem; font-weight: 700;
  color: var(--cyan); letter-spacing: .04em; margin-bottom: .2rem;
}
.tl-item h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.tl-item p { font-size: .94rem; margin-bottom: 0; }

/* ------------------------------------------------------------- Accordéon */
.accordion { border-top: 1px solid rgba(16,54,90,.16); }
.dark .accordion, .abyss .accordion { border-color: rgba(111,210,247,.2); }
.acc-item { border-bottom: 1px solid rgba(16,54,90,.16); }
.dark .acc-item, .abyss .acc-item { border-color: rgba(111,210,247,.2); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--display); font-size: clamp(1.05rem, 1rem + .35vw, 1.32rem); font-weight: 600;
  color: inherit; transition: color .3s;
}
.acc-head:hover { color: var(--cyan); }
.acc-sign { position: relative; width: 18px; height: 18px; flex: none; }
.acc-sign::before, .acc-sign::after {
  content: ""; position: absolute; background: var(--cyan);
  transition: transform .45s var(--ease), opacity .3s;
}
.acc-sign::before { left: 0; top: 8px; width: 18px; height: 1.6px; }
.acc-sign::after  { left: 8px; top: 0; width: 1.6px; height: 18px; }
.acc-head[aria-expanded="true"] .acc-sign::after { transform: scaleY(0); }
.acc-panel { overflow: hidden; height: 0; transition: height .5s var(--ease); }
.acc-panel > div { padding-bottom: 1.7rem; max-width: 54rem; }
.acc-panel p, .acc-panel ul { font-size: .96rem; }
.acc-panel ul { padding-left: 1.15rem; margin: 0 0 1em; }
.acc-panel li { margin-bottom: .5em; }

/* --------------------------------------------------------------- Galerie */
.gallery {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  grid-auto-rows: 210px;
}
.gallery button {
  padding: 0; border: 0; background: none; cursor: pointer; overflow: hidden;
  border-radius: var(--r); position: relative; display: block;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery button::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r);
  background: linear-gradient(180deg, transparent 55%, rgba(4,18,30,.55));
  opacity: 0; transition: opacity .45s;
}
.gallery button:hover img { transform: scale(1.07); }
.gallery button:hover::after { opacity: 1; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 640px) { .gallery { grid-auto-rows: 160px; } .gallery .wide { grid-column: span 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4,18,30,.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  place-items: center; padding: clamp(1rem, 5vw, 4rem);
}
.lightbox.is-open { display: grid; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--r); object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(245,249,251,.3); background: rgba(255,255,255,.06);
  color: var(--foam); cursor: pointer; display: grid; place-items: center;
  transition: background .3s, transform .35s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--cyan); transform: scale(1.08); }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev { left: 1.5rem; top: 50%; margin-top: -26px; }
.lb-next { right: 1.5rem; top: 50%; margin-top: -26px; }
.lb-count {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  font-size: .8rem; letter-spacing: .16em; color: rgba(245,249,251,.7);
}
@media (max-width: 640px) {
  .lb-prev { left: .6rem; } .lb-next { right: .6rem; }
  .lb-close { top: .8rem; right: .8rem; }
}

/* --------------------------------------------------------- Météo / marées */
.weather {
  display: grid; gap: 1px; background: rgba(111,210,247,.18);
  border: 1px solid rgba(111,210,247,.18); border-radius: var(--r-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.weather-cell { background: var(--deep); padding: 1.7rem 1.4rem; }
.weather-cell dt {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan-lt); opacity: .8; margin-bottom: .5rem;
}
.weather-cell dd {
  margin: 0; font-family: var(--display); font-size: 1.85rem; font-weight: 600; color: #fff; line-height: 1.1;
}
.weather-cell dd small { font-size: .5em; font-family: var(--body); font-weight: 400; opacity: .6; }
.weather-cell .sub { font-size: .8rem; color: rgba(238,246,250,.6); margin-top: .35rem; }
.is-loading dd { opacity: .35; }

/* Carte */
#carte {
  height: clamp(340px, 52vh, 540px); width: 100%;
  border-radius: var(--r-lg); border: 1px solid rgba(111,210,247,.25);
  z-index: 0; background: var(--deep);
}
.leaflet-container { font-family: var(--body) !important; border-radius: var(--r-lg); }
.leaflet-popup-content-wrapper { border-radius: var(--r) !important; }
.leaflet-popup-content { font-size: .9rem; }
.leaflet-popup-content b { font-family: var(--display); }

/* ------------------------------------------------------------ Formulaires */
.form-grid { display: grid; gap: 1.25rem 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--cyan-lt); }
.field .req { color: var(--brass); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; color: var(--foam);
  background: rgba(255,255,255,.05); border: 1px solid rgba(111,210,247,.25);
  border-radius: var(--r); padding: .85rem 1rem; width: 100%;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%236fd2f7' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field select option { background: var(--deep); color: var(--foam); }
.field input::placeholder, .field textarea::placeholder { color: rgba(238,246,250,.35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--cyan); background: rgba(41,171,226,.08);
  box-shadow: 0 0 0 3px rgba(41,171,226,.14);
}
.checkbox { display: flex; gap: .8rem; align-items: flex-start; font-size: .88rem; color: rgba(238,246,250,.75); }
.checkbox input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--cyan); }
.form-note { font-size: .82rem; color: rgba(238,246,250,.55); }

/* --------------------------------------------------------------- Actus */
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid rgba(16,54,90,.12); background: #fff;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  text-decoration: none; color: inherit; height: 100%;
}
.dark .post-card, .abyss .post-card { background: rgba(255,255,255,.04); border-color: rgba(111,210,247,.18); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -34px rgba(8,32,58,.55); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: .7rem; display: flex; gap: .7rem; align-items: center;
}
.post-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.post-card p { font-size: .92rem; color: var(--ink-soft); }
.dark .post-card p, .abyss .post-card p { color: rgba(238,246,250,.7); }

/* --------------------------------------------------------------- Bandeau */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--foam); }
.cta-band .bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .3; filter: saturate(.75);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, var(--abyss) 8%, rgba(8,32,58,.72) 55%, rgba(8,32,58,.28));
}
.cta-band > .wrap { position: relative; z-index: 2; }

/* ------------------------------------------------------------- Documents */
.doc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(111,210,247,.2); }
.doc-list li { border-bottom: 1px solid rgba(111,210,247,.2); }
.doc-list a {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem .4rem;
  text-decoration: none; transition: padding .45s var(--ease), background .35s;
}
.doc-list a:hover { padding-left: 1.2rem; background: rgba(41,171,226,.07); }
/* Entrée non téléchargeable (document annoncé « à venir ») */
.doc-list .doc-item {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem .4rem;
}
.doc-list .doc-item .doc-icon { opacity: .5; }
.doc-list .doc-item .doc-text strong { opacity: .8; }
.doc-list .doc-item .soon-badge { flex: none; }

.doc-icon { width: 40px; height: 40px; flex: none; color: var(--cyan); }
.doc-text { flex: 1; min-width: 0; }
.doc-text strong { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 600; margin-bottom: .15rem; }
.doc-text span { font-size: .84rem; color: rgba(238,246,250,.6); }
.doc-dl { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-lt); white-space: nowrap; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--abyss); color: rgba(238,246,250,.72); padding-block: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.footer-grid {
  display: grid; gap: 2.8rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 3.5rem;
}
.footer-grid > div:first-child { grid-column: span 1; min-width: 240px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.2rem; text-decoration: none; color: var(--foam); }
.footer-title {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan-lt); margin-bottom: 1.1rem; font-weight: 600;
}
.footer-list { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.footer-list li { margin-bottom: .6rem; }
.footer-list a { text-decoration: none; opacity: .8; transition: opacity .3s, color .3s, padding-left .35s var(--ease); }
.footer-list a:hover { opacity: 1; color: var(--cyan-lt); padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(111,210,247,.14);
  padding-block: 1.6rem 2rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: .8rem; color: rgba(238,246,250,.5);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan-lt); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* --------------------------------------------------------- Page en-tête */
.page-hero {
  position: relative; padding-block: clamp(9rem, 18vh, 13rem) clamp(3.5rem, 7vw, 6rem);
  background: var(--deep); color: var(--foam); overflow: hidden; isolation: isolate;
}
.page-hero .bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center; opacity: .42;
  animation: heroDrift 40s ease-in-out infinite alternate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,18,30,.9) 0%, rgba(4,18,30,.62) 45%, rgba(8,32,58,.94) 100%);
}
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); margin-bottom: .3em; }
.page-hero .lead { max-width: 44rem; color: rgba(245,249,251,.82); }

.breadcrumb { font-size: .78rem; color: rgba(245,249,251,.55); margin-bottom: 1.6rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan-lt); }
.breadcrumb span { margin-inline: .5rem; opacity: .5; }

/* ------------------------------------------------------- Vague séparatrice */
.tide {
  display: block; width: 100%; height: clamp(46px, 6vw, 88px);
  color: var(--deep);
}
.tide path { animation: tideMove 14s ease-in-out infinite alternate; }
@keyframes tideMove { from { transform: translateX(0); } to { transform: translateX(-3%); } }

/* ---------------------------------------------------------- Contenu long */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; font-size: 1.28rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .55em; }
.prose strong { font-weight: 600; }
.callout {
  border-left: 2px solid var(--cyan); padding: 1.2rem 1.5rem;
  background: rgba(41,171,226,.07); border-radius: 0 var(--r) var(--r) 0;
  font-size: .95rem; margin: 1.8rem 0;
}
.callout strong { color: var(--navy); }
.dark .callout strong, .abyss .callout strong { color: var(--cyan-lt); }

.tag {
  display: inline-block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .35rem .7rem; border: 1px solid currentColor; border-radius: 99px;
  color: var(--cyan); font-weight: 600;
}

/* ------------------------------------------------------------- Révélations */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.hero-content .reveal.is-in { transition-duration: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .hero-media video, .hero-media img, .page-hero .bg { animation: none; }
}

/* -------------------------------------------------------------- Divers */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.5rem; border-radius: var(--r-lg);
  background: rgba(201,162,75,.1); border: 1px solid rgba(201,162,75,.35);
  font-size: .92rem;
}
.notice svg { flex: none; color: var(--brass); width: 22px; height: 22px; margin-top: 2px; }
.notice strong { color: var(--brass); }

.soon-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--brass); border: 1px solid currentColor; border-radius: 99px; padding: .4rem .85rem;
}
.soon-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
