/* ==========================================================================
   Le Chenal de Méry — Design System v2
   1. Tokens          7. Hero & page-hero     13. Galerie & lightbox
   2. Base            8. Vagues               14. Expériences & bateaux
   3. Typographie     9. Cartes               15. FAQ
   4. Layout         10. Features & steps     16. Contact & formulaire
   5. Boutons        11. Stats & témoignages  17. CTA, footer
   6. Header         12. Partenaires          18. Flottants, reveal, a11y
   ========================================================================== */

/* -------- 1. Design tokens -------- */
:root {
  /* Couleurs */
  --navy-950: #0A2638;
  --navy-900: #0E3247;
  --marne: #1B4B6B;
  --marne-600: #24587C;
  --marne-light: #2E6A91;
  --cream: #F6EFE2;
  --cream-light: #FBF8F2;
  --paper: #FFFFFF;
  --champagne: #D4AF7A;
  --champagne-dark: #B8935F;
  --champagne-light: #E8D5AE;
  --reed: #5E7A5A;
  --ink: #22303B;
  --ink-60: rgba(34, 48, 59, 0.68);
  --ink-40: rgba(34, 48, 59, 0.45);
  --line: #E8DFCE;
  --on-dark: rgba(246, 239, 226, 0.82);
  --on-dark-strong: #F6EFE2;

  /* Typo */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-900: clamp(2.6rem, 1.1rem + 5.6vw, 5rem);
  --fs-800: clamp(2.1rem, 1.3rem + 3.1vw, 3.4rem);
  --fs-700: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem);
  --fs-600: clamp(1.3rem, 1.12rem + 0.8vw, 1.7rem);

  /* Géométrie */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --container: 1280px;
  --container-narrow: 920px;
  --header-h: 84px;
  --section: clamp(4.5rem, 3rem + 4.5vw, 7.5rem);

  /* Ombres (teintées marine) */
  --shadow-sm: 0 1px 2px rgba(10, 38, 56, 0.05), 0 2px 10px rgba(10, 38, 56, 0.06);
  --shadow-md: 0 2px 6px rgba(10, 38, 56, 0.06), 0 14px 36px rgba(10, 38, 56, 0.11);
  --shadow-lg: 0 4px 12px rgba(10, 38, 56, 0.08), 0 28px 72px rgba(10, 38, 56, 0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------- 2. Base -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}
@view-transition { navigation: auto; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marne); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--champagne-dark); }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul[class], ol[class] { list-style: none; }
::selection { background: var(--champagne); color: var(--navy-950); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  background: var(--navy-950); color: var(--cream);
  padding: 0.8rem 1.4rem; border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* -------- 3. Typographie -------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--marne);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.18rem; color: var(--ink-60); line-height: 1.75; text-wrap: pretty; }
.accent { font-style: italic; color: var(--champagne); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne-dark);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow-center::before { display: none; }
.eyebrow-center::after { display: none; }
.section-title { text-align: center; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-title h2 { margin-bottom: 1rem; }
.section-title p { max-width: 620px; margin: 0 auto; color: var(--ink-60); text-wrap: pretty; }

/* -------- 4. Layout & utilitaires -------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.section { padding: var(--section) 0; }
.section-sm { padding: calc(var(--section) * 0.6) 0; }
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.text-center { text-align: center; }
.bg-cream { background: var(--cream); }
.bg-cream-light { background: var(--cream-light); }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy-900); color: var(--on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--on-dark-strong); }
.bg-navy p { color: var(--on-dark); }
.icon { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.15em; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-row-center { justify-content: center; }

.list-check, .list-arrow { margin: 1rem 0 1.5rem; }
.list-check li, .list-arrow li {
  padding: 0.38rem 0 0.38rem 1.7rem;
  position: relative;
}
.list-check li::before {
  content: '';
  position: absolute; left: 0; top: 0.72em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--reed);
  border-bottom: 2.5px solid var(--reed);
  transform: rotate(-45deg);
}
.list-arrow li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--champagne-dark);
  font-weight: 700;
}

.callout {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  background: rgba(212, 175, 122, 0.14);
  border-left: 4px solid var(--champagne-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.callout strong { color: var(--marne); display: block; margin-bottom: 0.3rem; }
.callout span { color: var(--ink-60); }

/* -------- 5. Boutons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { width: 1em; height: 1em; }
.btn-primary { background: var(--marne); color: var(--cream-light); }
.btn-primary:hover {
  background: var(--navy-900);
  color: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-champagne { background: var(--champagne); color: var(--navy-950); }
.btn-champagne:hover {
  background: var(--champagne-light);
  color: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 122, 0.35);
}
.btn-outline { border-color: rgba(27, 75, 107, 0.45); color: var(--marne); background: transparent; }
.btn-outline:hover { background: var(--marne); border-color: var(--marne); color: var(--cream-light); }
.btn-light { border-color: rgba(246, 239, 226, 0.55); color: var(--cream); background: rgba(246, 239, 226, 0.06); backdrop-filter: blur(4px); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--navy-950); }
.btn-lg { padding: 1.15rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* -------- 6. Header -------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: height 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(180deg, rgba(10, 38, 56, 0.5) 0%, rgba(10, 38, 56, 0) 100%);
  border-bottom: 1px solid transparent;
}
.header a { color: var(--cream); }
.header .phone-link { color: var(--cream); }
.header .logo, .header .logo:hover { color: var(--cream); }
.header.scrolled, .header.solid {
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  height: 68px;
}
.header.scrolled a, .header.solid a,
.header.scrolled .logo, .header.solid .logo { color: var(--marne); }
.header.scrolled .logo-text small, .header.solid .logo-text small { color: var(--ink-60); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}
.logo img { height: 50px; width: auto; transition: height 0.3s var(--ease); }
.header.scrolled .logo img, .header.solid .logo img { height: 42px; }
.logo-text { line-height: 1.15; }
.logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(246, 239, 226, 0.75);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.nav-main { display: flex; align-items: center; gap: 0.2rem; }
.nav-main a {
  position: relative;
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: 0.25rem;
  height: 2px;
  background: var(--champagne);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-main a:hover::after, .nav-main a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.phone-link {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (min-width: 860px) { .phone-link { display: inline-flex; } }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  z-index: 130;
}
.burger span { display: block; width: 23px; height: 2px; background: currentColor; position: relative; transition: 0.3s; color: inherit; }
.header .burger { color: var(--cream); }
.header.scrolled .burger, .header.solid .burger, .header.menu-open .burger { color: var(--marne); }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0;
  width: 23px; height: 2px;
  background: currentColor;
  transition: 0.3s;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1023px) {
  .burger { display: flex; }
  .header-cta .btn { display: none; }
  .nav-main {
    position: fixed;
    inset: 0;
    background: var(--cream-light);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: calc(var(--header-h) + 1rem) clamp(2rem, 8vw, 4rem) 3rem;
    gap: 0.3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 120;
  }
  .nav-main.open { opacity: 1; visibility: visible; }
  .nav-main a {
    width: 100%;
    padding: 0.9rem 0;
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    color: var(--marne) !important;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .nav-main a::after { display: none; }
  .nav-main a[aria-current="page"] { color: var(--champagne-dark) !important; }
  .nav-main.open a { opacity: 1; transform: translateY(0); }
  .nav-main.open a:nth-child(1) { transition-delay: 0.05s; }
  .nav-main.open a:nth-child(2) { transition-delay: 0.1s; }
  .nav-main.open a:nth-child(3) { transition-delay: 0.15s; }
  .nav-main.open a:nth-child(4) { transition-delay: 0.2s; }
  .nav-main.open a:nth-child(5) { transition-delay: 0.25s; }
  .nav-main.open a:nth-child(6) { transition-delay: 0.3s; }
  .header .logo { position: relative; z-index: 125; }
  /* Menu ouvert : on retire le backdrop-filter du header. Sinon, quand on a
     scrollé (header .scrolled = backdrop-filter actif), iOS Safari traite le
     header comme bloc conteneur du menu position:fixed → le menu est confiné
     au header (68px) et invisible. Sans filtre, le menu couvre bien l'écran. */
  .header.menu-open {
    background: rgba(251, 248, 242, 0.97);
    z-index: 130;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .header.menu-open .logo { color: var(--marne) !important; }
  .header.menu-open .logo-text small { color: var(--ink-60); }
}

/* -------- 7. Hero & page-hero -------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 7rem;
  overflow: hidden;
  color: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 24s var(--ease) both;
}
/* Vidéo drone en fond du hero (par-dessus l'image-repli) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(10, 38, 56, 0.9) 0%, rgba(14, 50, 71, 0.66) 45%, rgba(10, 38, 56, 0.42) 100%),
    linear-gradient(0deg, rgba(10, 38, 56, 0.5) 0%, rgba(10, 38, 56, 0) 35%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
}
.hero .eyebrow { color: var(--champagne); }
.hero h1 {
  color: var(--cream);
  max-width: 880px;
  margin-bottom: 1.6rem;
  font-size: var(--fs-900);
  line-height: 1.04;
}
.hero p {
  color: rgba(246, 239, 226, 0.88);
  max-width: 600px;
  font-size: 1.15rem;
  margin-bottom: 2.4rem;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-facts {
  position: relative; z-index: 2;
  margin-top: clamp(3rem, 6vh, 5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246, 239, 226, 0.16);
  border: 1px solid rgba(246, 239, 226, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 880px;
}
.hero-fact {
  background: rgba(10, 38, 56, 0.4);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: rgba(246, 239, 226, 0.9);
}
.hero-fact .icon { width: 1.3rem; height: 1.3rem; color: var(--champagne); }
.hero-fact strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--cream); line-height: 1.2; }
@media (max-width: 860px) { .hero-facts { grid-template-columns: repeat(2, 1fr); } }

.hero-scroll {
  position: absolute;
  bottom: 5.5rem; right: clamp(1.2rem, 4vw, 3rem);
  z-index: 3;
  color: var(--cream);
  opacity: 0.75;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--champagne), transparent);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue { 0%, 100% { opacity: 0.4; transform: translateY(0); } 50% { opacity: 1; transform: translateY(8px); } }

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(4rem, 8vh, 6rem)) 0 clamp(6rem, 10vh, 8rem);
  color: var(--cream);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(10, 38, 56, 0.85) 0%, rgba(20, 60, 85, 0.55) 60%, rgba(10, 38, 56, 0.35) 100%);
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* variante « image atténuée » : photo plus discrète sous le voile (ex. la planche) */
.page-hero-muted { background: var(--navy-950); }
.page-hero-muted .page-hero-media img { opacity: 0.42; }
.page-hero-inner { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { color: var(--cream); max-width: 760px; }
.page-hero .eyebrow { color: var(--champagne); }
.page-hero p { color: rgba(246, 239, 226, 0.86); max-width: 620px; font-size: 1.12rem; margin-top: 1.1rem; text-wrap: pretty; }
.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(246, 239, 226, 0.65);
  margin-bottom: 1.2rem;
}
.breadcrumbs a { color: rgba(246, 239, 226, 0.9); }
.breadcrumbs a:hover { color: var(--champagne); }

/* -------- 8. Vagues -------- */
.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
  color: var(--cream);
}
.wave svg { width: 100%; height: clamp(36px, 6vw, 80px); display: block; }
.wave-flip { transform: scaleX(-1); }
.wave-static {
  position: static;
  margin-bottom: -1px;
  color: var(--navy-900);
}

/* -------- 9. Cartes -------- */
.card {
  background: var(--paper);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 38, 56, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 38, 56, 0.25) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover .card-img::after { opacity: 1; }
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 2rem 1.9rem 1.9rem; flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card-body .badge { margin-bottom: 0.2rem; }
.card-body h3 { margin: 1rem 0 0.75rem; line-height: 1.25; }
.card-body p { color: var(--ink-60); margin-bottom: 1.4rem; flex-grow: 1; font-size: 0.97rem; }
.card-body .btn { align-self: stretch; margin-top: auto; }
.card-meta {
  display: flex;
  gap: 0.55rem 1.2rem;
  font-size: 0.85rem;
  color: var(--ink-60);
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}
.card-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.card-meta .icon { color: var(--champagne-dark); }
.card-price {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--marne);
  font-weight: 600;
  margin-bottom: 1.3rem;
}
.card-price small { font-size: 0.8rem; font-family: var(--font-sans); color: var(--ink-60); font-weight: 400; }

.card-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 480px;
}
.card-feature .card-img { aspect-ratio: auto; height: 100%; }
.card-feature .card-body { padding: clamp(2rem, 4vw, 3.5rem); justify-content: center; }
@media (max-width: 768px) {
  .card-feature { grid-template-columns: 1fr; min-height: auto; }
  .card-feature .card-img { aspect-ratio: 16 / 10; }
}

.badge {
  display: inline-block;
  padding: 0.32rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 122, 0.18);
  color: var(--champagne-dark);
  border: 1px solid rgba(212, 175, 122, 0.45);
}
.badge-reed { background: rgba(94, 122, 90, 0.12); color: var(--reed); border-color: rgba(94, 122, 90, 0.4); }
.badge-marne { background: rgba(27, 75, 107, 0.08); color: var(--marne); border-color: rgba(27, 75, 107, 0.3); }
.badge-solid { background: var(--champagne); color: var(--navy-950); border-color: var(--champagne); }

/* -------- 10. Features & steps -------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; }
.feature { text-align: center; padding: 1rem; }
.feature-icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--marne);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.feature-icon::after {
  content: '';
  position: absolute; inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 122, 0.6);
}
.feature-icon .icon { width: 30px; height: 30px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-60); font-size: 0.94rem; }

.bg-navy .feature {
  background: rgba(246, 239, 226, 0.05);
  border: 1px solid rgba(246, 239, 226, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
}
.bg-navy .feature h3 { color: var(--on-dark-strong); }
.bg-navy .feature p { color: var(--on-dark); }
.bg-navy .feature-icon { background: rgba(246, 239, 226, 0.07); border-color: rgba(246, 239, 226, 0.15); color: var(--champagne); box-shadow: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem 1.8rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -22px; left: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--navy-950);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(212, 175, 122, 0.4);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-60); font-size: 0.94rem; margin: 0; }

/* -------- 11. Stats & témoignages -------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.stat { text-align: center; padding: 1.6rem 1rem; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--champagne);
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  color: var(--on-dark);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonial {
  background: var(--paper);
  padding: clamp(2rem, 3vw, 2.8rem);
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem; right: 1.6rem;
  font-family: var(--font-serif);
  font-size: 6.5rem;
  color: var(--champagne);
  opacity: 0.3;
  line-height: 1;
}
.stars { display: inline-flex; gap: 3px; color: var(--champagne-dark); margin-bottom: 1rem; }
.stars .icon { width: 17px; height: 17px; }
.testimonial-content {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 1.6rem;
  color: var(--marne);
  flex-grow: 1;
  text-wrap: pretty;
}
.testimonial-author { display: flex; align-items: center; gap: 0.9rem; }
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.avatar-fallback {
  width: 52px; height: 52px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-light);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--marne-light), var(--marne));
}
.avatar-fallback.gold { background: linear-gradient(135deg, var(--champagne), var(--champagne-dark)); color: var(--navy-950); }
.testimonial-author-info { font-size: 0.9rem; line-height: 1.4; }
.testimonial-author-info strong { display: block; color: var(--marne); }
.testimonial-author-info span { color: var(--ink-60); font-size: 0.82rem; }

/* -------- 12. Partenaires -------- */
.partners {
  padding: 3.2rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-title {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 2.2rem;
}
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.partners-grid img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.partners-grid a:hover img { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }

/* -------- 13. Galerie & lightbox -------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(160px, 22vw, 250px);
  gap: 10px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: block;
  cursor: zoom-in;
}
.gallery a::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 38, 56, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.gallery a img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a.tall { grid-row: span 2; }
.gallery a.wide { grid-column: span 2; }
@media (max-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery a.tall { grid-row: span 2; }
  .gallery a.wide { grid-column: span 2; }
}

/* Galerie masonry (visite guidée) : colonnes, photos non rognées, s'agence
   proprement quel que soit le nombre/format. Garde .gallery pour la lightbox. */
.gallery.gallery-cols {
  display: block;
  grid-template-columns: none;
  grid-auto-rows: auto;
  columns: 4 240px;
  column-gap: 12px;
}
.gallery.gallery-cols a {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.gallery.gallery-cols a img { width: 100%; height: auto; }
@media (max-width: 600px) {
  .gallery.gallery-cols { columns: 2 150px; column-gap: 8px; }
  .gallery.gallery-cols a { margin-bottom: 8px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 82vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lb-caption {
  color: rgba(246, 239, 226, 0.85);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lb-count { color: var(--champagne); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute;
  background: rgba(246, 239, 226, 0.1);
  color: var(--cream);
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s;
}
.lb-btn:hover { background: rgba(246, 239, 226, 0.28); }
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
}

/* -------- 14. Expériences & bateaux -------- */
.subnav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.subnav-inner {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 clamp(1.2rem, 4vw, 2rem);
  max-width: var(--container);
  margin: 0 auto;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none;
  padding: 0.45rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--paper);
  color: var(--ink);
  transition: all 0.2s ease;
}
.subnav a:hover { border-color: var(--marne); color: var(--marne); }

.experience-detail {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 38, 56, 0.05);
  margin-bottom: 3rem;
}
.experience-header { display: grid; grid-template-columns: 5fr 4fr; }
.experience-img { overflow: hidden; min-height: 100%; }
.experience-img img { width: 100%; height: 100%; object-fit: cover; }
.experience-info { padding: clamp(1.8rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
@media (max-width: 820px) {
  .experience-header { grid-template-columns: 1fr; }
  .experience-img { aspect-ratio: 16 / 10; }
}
.experience-info .badge { margin-bottom: 1rem; }
.experience-info h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-bottom: 0.8rem; }
.experience-info > p { color: var(--ink-60); margin-bottom: 1.5rem; }
.experience-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--cream);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  width: 100%;
}
.experience-meta-item { font-size: 0.85rem; display: flex; align-items: flex-start; gap: 0.6rem; }
.experience-meta-item .icon { color: var(--champagne-dark); margin-top: 0.25rem; }
.experience-meta-item strong {
  display: block;
  color: var(--marne);
  font-size: 1rem;
  font-family: var(--font-serif);
  font-weight: 600;
}
.experience-meta-item span { color: var(--ink-60); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; }
.experience-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  width: 100%;
}
.experience-price .price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--marne);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.experience-price small { color: var(--ink-60); }
.experience-info .btn { margin-top: 1.4rem; }
.experience-body { padding: clamp(1.8rem, 3vw, 2.8rem) clamp(1.8rem, 3vw, 3rem); border-top: 1px solid var(--line); }

.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .includes { grid-template-columns: 1fr; } }
.includes h3, .includes h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
}
.includes ul { list-style: none; }
.includes li { padding: 0.4rem 0 0.4rem 1.7rem; position: relative; font-size: 0.95rem; }
.includes li::before {
  content: '';
  position: absolute; left: 0; top: 0.78em;
  width: 13px; height: 7px;
  border-left: 2.5px solid var(--reed);
  border-bottom: 2.5px solid var(--reed);
  transform: rotate(-45deg);
}
.includes .plus li::before {
  border: none;
  content: '+';
  top: 0.32em;
  width: auto; height: auto;
  transform: none;
  color: var(--champagne-dark);
  font-weight: 700;
  font-size: 1.05rem;
}

.boat-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.boat-detail + .boat-detail { border-top: 1px solid var(--line); }
.boat-detail:nth-of-type(even) .boat-detail-img { order: 2; }
.boat-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  position: relative;
}
.boat-detail-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.boat-detail-img:hover img { transform: scale(1.04); }
.boat-detail h2 { margin: 0.4rem 0 0.8rem; }
.boat-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 1.6rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.boat-spec { background: var(--cream-light); padding: 1.1rem 1.3rem; }
.boat-spec strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--marne);
  font-size: 1.12rem;
  font-weight: 600;
}
.boat-spec span { font-size: 0.72rem; color: var(--ink-60); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 820px) {
  .boat-detail { grid-template-columns: 1fr; }
  .boat-detail:nth-of-type(even) .boat-detail-img { order: 0; }
}

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 0.93rem; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th {
  background: var(--marne);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--cream-light); }
.compare-table td strong { font-family: var(--font-serif); color: var(--marne); font-size: 1.02rem; }
.compare-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* -------- 15. FAQ -------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--champagne); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--marne);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--champagne-dark);
  border-bottom: 2px solid var(--champagne-dark);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-answer { padding: 0 1.5rem 1.4rem; color: var(--ink-60); line-height: 1.7; }
.faq-answer strong { color: var(--marne); }

/* -------- 16. Contact & formulaire -------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--paper);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.contact-card h2 { font-size: 1.55rem; margin-bottom: 0.2rem; }
.contact-card-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--champagne-dark);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.contact-card ul { list-style: none; margin-bottom: 1.6rem; }
.contact-card li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.contact-card li:last-child { border-bottom: none; }
.contact-card li strong {
  color: var(--ink-60);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-width: 86px;
  padding-top: 0.25rem;
  font-weight: 600;
}
.contact-card li span, .contact-card li a { color: var(--marne); font-weight: 500; }
.map-embed {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--cream);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.tile {
  text-align: center;
  padding: 2.2rem 1.8rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.tile-icon {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(212, 175, 122, 0.15);
  color: var(--champagne-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-icon .icon { width: 24px; height: 24px; }
.tile h2, .tile h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.tile p { color: var(--ink-60); margin-bottom: 1rem; font-size: 0.93rem; }
.tile-big {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--marne);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tile-lines { font-family: var(--font-serif); color: var(--marne); line-height: 2; }
.tile-lines .muted { color: var(--ink-60); }

.form {
  display: grid;
  gap: 1.1rem;
  background: var(--paper);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10, 38, 56, 0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
  font-size: 0.78rem;
  color: var(--ink-60);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.form-field label .req { color: var(--champagne-dark); }
.form-field input, .form-field textarea, .form-field select {
  padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-light);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B8935F' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--champagne-dark);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(212, 175, 122, 0.18);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-top: 0.5rem; }
.form-status { font-size: 0.92rem; color: var(--ink-60); }
.form-status.ok { color: var(--reed); font-weight: 500; }
.form-note { font-size: 0.8rem; color: var(--ink-40); margin: 1rem 0 0; line-height: 1.5; }
.form-note a { color: var(--marne); text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* -------- 17. CTA band & footer -------- */
.cta-wrap { position: relative; }
.cta-band {
  background: var(--navy-900);
  color: var(--cream);
  padding: calc(var(--section) * 0.85) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 122, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band .eyebrow { color: var(--champagne); }
.cta-band h2 { color: var(--cream); max-width: 680px; margin: 0 auto 1rem; position: relative; }
.cta-band p { color: var(--on-dark); max-width: 540px; margin: 0 auto 2.2rem; position: relative; }
.cta-band .btn-row { justify-content: center; position: relative; }

.footer {
  background: var(--navy-950);
  color: rgba(246, 239, 226, 0.66);
  padding: calc(var(--section) * 0.8) 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h2 {
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 1.2rem; }
.footer-brand .logo img { height: 52px; }
.footer-brand > p { color: rgba(246, 239, 226, 0.55); max-width: 320px; font-size: 0.92rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.7rem; }
.footer a { color: rgba(246, 239, 226, 0.72); }
.footer a:hover { color: var(--champagne); }
.footer-addr { font-style: normal; line-height: 1.6; }
.footer-addr strong { color: var(--champagne); font-weight: 600; }
.footer-addr a { display: inline-block; margin-top: 0.2rem; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; }
.socials { display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(246, 239, 226, 0.07);
  border: 1px solid rgba(246, 239, 226, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.socials a:hover { background: var(--champagne); border-color: var(--champagne); color: var(--navy-950); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 239, 226, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(246, 239, 226, 0.45);
}
.footer-bottom a { color: rgba(246, 239, 226, 0.65); }

/* -------- 18. Flottants, reveal, a11y -------- */
.action-bar {
  display: none;
  position: fixed;
  left: 0.9rem; right: 0.9rem;
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(130%);
  transition: opacity 0.3s ease, transform 0.4s var(--ease);
  pointer-events: none;
}
.action-bar .btn { flex: 1; box-shadow: var(--shadow-lg); }
.action-bar.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (max-width: 768px) {
  .action-bar { display: flex; }
  body { padding-bottom: 84px; }
}

.to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 85;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--marne);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--marne); color: var(--cream); }
@media (max-width: 768px) { .to-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 0.9rem; } }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 3px solid var(--champagne); outline-offset: 3px; border-radius: 3px; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* -------- Story (notre histoire) -------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}
.story + .story { border-top: 1px solid var(--line); }
.story-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.story-img::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(246, 239, 226, 0.5);
  border-radius: calc(var(--radius-lg) - 8px);
  pointer-events: none;
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story:nth-of-type(even) .story-img { order: 2; }
@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story:nth-of-type(even) .story-img { order: 0; }
  .story-img { aspect-ratio: 4 / 3; }
}

/* -------- Voyage : rivière scrollytelling (accueil) -------- */
.voyage {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.river-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.river-bed { fill: none; stroke: rgba(27, 75, 107, 0.07); stroke-linecap: round; }
.river-traveled { fill: none; stroke: rgba(27, 75, 107, 0.13); stroke-linecap: round; }
.river-current {
  fill: none;
  stroke: rgba(27, 75, 107, 0.18);
  stroke-width: 2;
  stroke-dasharray: 1 16;
  stroke-linecap: round;
}
.boat-g {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.boat-g.on { opacity: 1; }
.boat-g > g { will-change: transform; }
.boat-bob { animation: boatbob 3.6s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes boatbob {
  0%, 100% { transform: rotate(-1.8deg); }
  50% { transform: rotate(1.8deg); }
}
.river-marker-c {
  fill: var(--cream-light);
  stroke: var(--champagne-dark);
  stroke-width: 2.5;
  transition: fill 0.4s ease;
}
.river-marker-c.passed { fill: var(--champagne); }
.river-marker-halo {
  fill: none;
  stroke: rgba(212, 175, 122, 0.35);
  stroke-width: 5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.4s ease;
}
.river-marker-halo.passed { opacity: 1; animation: markerping 0.7s var(--ease) both; }
@keyframes markerping {
  from { transform: scale(0.45); }
  to { transform: scale(1); }
}
.voyage-intro {
  position: relative;
  z-index: 2;
  max-width: var(--container-narrow);
  margin: 0 auto;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.2rem, 4vw, 2rem) 0;
}
.escale {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.2rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
}
.escale-body { grid-column: 2; min-width: 0; }
.escale-left { grid-template-columns: minmax(0, 2fr) minmax(0, 0.7fr); }
.escale-left .escale-body { grid-column: 1; }
.escale-full { display: block; }
.escale-full .escale-body { grid-column: auto; }
@media (min-width: 901px) {
  .escale-full .escale-body { margin-inline: clamp(56px, 6vw, 96px); }
}
.escale .eyebrow { color: var(--champagne-dark); }
.escale .card-feature {
  min-height: 0;
  grid-template-columns: 0.95fr 1.05fr;
  max-width: 880px;
}
.escale .card-feature .card-img {
  aspect-ratio: 10 / 11;
  height: auto;
}
.escale .card-feature .card-body { padding: clamp(1.6rem, 2.5vw, 2.4rem); }
.escale .card-feature h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.9rem); margin: 0.15rem 0 0.95rem; }
.escale .card-feature .card-body .lead,
.escale .card-feature .card-body > p:first-of-type { margin-top: 0; }
@media (max-width: 900px) {
  /* mobile : la carte-escale repasse en 1 colonne (sinon l'image se réduit à 0
     et le texte déborde, le sélecteur .escale .card-feature étant plus
     spécifique que la règle mobile générique de .card-feature).
     minmax(0,1fr) empêche la piste de gonfler à la largeur min du contenu
     (ex. un bouton nowrap), et on autorise ce bouton à passer à la ligne. */
  .escale .card-feature { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .escale .card-feature .card-img { aspect-ratio: 16 / 11; }
  .escale .card-feature .card-body .btn { white-space: normal; }
}
.voyage .bridge { position: relative; z-index: 4; }
.voyage-terminus {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 2rem clamp(4.5rem, 8vw, 7rem);
}
.voyage-terminus .eyebrow { color: var(--champagne-dark); }
.voyage-terminus h2 { max-width: 560px; margin: 0 auto 1rem; }
@media (max-width: 900px) {
  .escale, .escale-left { display: block; padding-left: 70px; }
  .voyage-intro { padding-left: 70px; padding-right: 1.2rem; }
  .voyage-terminus { padding-left: 70px; }
  .river-boat svg { left: -32px; top: -16px; width: 64px; height: 32px; }
  .river-marker { width: 14px; height: 14px; margin: -7px; }
}

/* -------- Reels (vidéos verticales style Instagram) -------- */
.reels {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.reel {
  position: relative;
  width: min(300px, 82vw);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(246, 239, 226, 0.12);
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-sound {
  position: absolute;
  bottom: 0.7rem; right: 0.7rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(10, 38, 56, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.reel-sound:hover { background: rgba(10, 38, 56, 0.8); transform: scale(1.06); }
.reel-sound .icon { width: 20px; height: 20px; }
.reel-sound .i-on { display: none; }
.reel.unmuted .reel-sound .i-on { display: block; }
.reel.unmuted .reel-sound .i-off { display: none; }
@media (max-width: 760px) {
  .reels {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
    margin: 0 calc(-1 * clamp(1.2rem, 4vw, 2rem));
    padding-inline: clamp(1.2rem, 4vw, 2rem);
  }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 76%; scroll-snap-align: center; width: auto; }
}

/* -------- 404 -------- */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  color: var(--cream);
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}
.error-code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 16vw, 10rem);
  color: var(--champagne);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

/* -------- 24. Carte Airbnb -------- */
.airbnb-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.airbnb-card-media { position: relative; min-height: 290px; }
.airbnb-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.airbnb-badge {
  position: absolute; top: 1rem; left: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255, 255, 255, 0.95);
  color: #FF385C;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em;
  padding: 0.42rem 0.85rem; border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.airbnb-badge svg { width: 1.1em; height: 1.1em; fill: #FF385C; }
.airbnb-card-body { padding: clamp(1.6rem, 3.6vw, 2.5rem); display: flex; flex-direction: column; }
.airbnb-card-body h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin: 0.2rem 0 0.55rem; }
.airbnb-loc { display: flex; align-items: center; gap: 0.4rem; color: var(--ink-60); font-size: 0.95rem; margin: 0 0 1.1rem; }
.airbnb-loc svg { width: 1.05em; height: 1.05em; }
.airbnb-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.2rem; padding: 0; }
.airbnb-feats li {
  font-size: 0.84rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line);
  padding: 0.35rem 0.78rem; border-radius: var(--radius-full);
}
.airbnb-note { color: var(--ink-60); font-size: 0.95rem; line-height: 1.6; margin: 0 0 1.5rem; }
.btn-airbnb { background: #FF385C; color: #fff; margin-top: auto; }
.btn-airbnb:hover { background: #E0314F; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255, 56, 92, 0.32); }
.btn-airbnb svg { width: 1.2em; height: 1.2em; fill: #fff; }
@media (max-width: 760px) {
  .airbnb-card { grid-template-columns: 1fr; }
  .airbnb-card-media { min-height: 210px; }
}

/* -------- 25. Blog / articles -------- */
.article-head { padding-top: calc(var(--header-h) + 2.4rem); }
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.06rem; line-height: 1.8; color: var(--ink); }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.4rem 0 .8rem; }
.article-body h3 { font-size: 1.18rem; margin: 1.8rem 0 .5rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.3rem; }
.article-body li { margin: .35rem 0; }
.article-body img { width: 100%; height: auto; border-radius: var(--radius-md); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.article-body a { color: var(--champagne-dark); text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { color: var(--ink); }
.article-meta { color: var(--ink-60); font-size: .9rem; margin: .4rem 0 1.6rem; }
.article-lead { font-size: 1.18rem; line-height: 1.7; color: var(--ink-60); margin-bottom: 1.6rem; }
.article-cta { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); margin: 2.6rem auto; text-align: center; max-width: 720px; }
.article-cta h2 { margin: 0 0 .5rem; }
.article-faq { max-width: 720px; margin: 2.6rem auto 0; }
.blog-card-date { display: block; color: var(--ink-60); font-size: .82rem; margin-bottom: .3rem; }
