/* =========================================================
   DanyVoile – feuille de style
   CSS moderne : custom properties, clamp(), grid, :has(),
   scroll-snap, nesting natif, prefers-reduced-motion
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  /* Couleurs */
  --navy-900: #071d31;
  --navy-800: #0b2a45;
  --navy-700: #123a5c;
  --sea-600: #0f6e8c;
  --sea-500: #1689ab;
  --sea-100: #e3f1f5;
  --sunset-600: #c2502b;
  --sunset-500: #e0683f;
  --sunset-100: #fbe9e1;
  --sand-50: #fbf8f3;
  --sand-100: #f3ede3;
  --ink: #15212e;
  --ink-soft: #4a5868;
  --line: #e2dbcf;
  --white: #fff;

  --season-low: #2f8f9d;
  --season-mid: #e2a33a;
  --season-high: #d9583a;

  /* Typo */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4.5vw, 5rem);

  /* Espacements & formes */
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px rgb(7 29 49 / 0.06), 0 2px 6px rgb(7 29 49 / 0.05);
  --shadow: 0 2px 4px rgb(7 29 49 / 0.05), 0 12px 32px -8px rgb(7 29 49 / 0.18);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
p + p { margin-top: 1em; }
a { color: var(--sea-600); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--sunset-600); }
:focus-visible { outline: 3px solid var(--sunset-500); outline-offset: 3px; border-radius: 4px; }
ul[role="list"] { list-style: none; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--navy-800); color: var(--white);
  border-radius: var(--radius-sm); transform: translateY(-150%);
  &:focus { transform: none; }
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon-xl { width: 2.5rem; height: 2.5rem; }

.container {
  width: min(100% - 2 * var(--gutter), 72rem);
  margin-inline: auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.875rem; padding: 0.7rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  &:hover { transform: translateY(-1px); }
  &:active { transform: translateY(0); }
  & .icon { width: 1.1em; height: 1.1em; }
}
.btn-sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-lg { min-height: 3.25rem; padding: 0.85rem 1.75rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--sunset-600); color: var(--white);
  box-shadow: 0 6px 18px -6px rgb(194 80 43 / 0.55);
  &:hover { background: #a8431f; color: var(--white); }
}
.btn-light {
  background: rgb(255 255 255 / 0.14); color: var(--white); border-color: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(6px);
  &:hover { background: var(--white); color: var(--navy-800); }
}
.btn-outline {
  background: transparent; color: var(--navy-800); border-color: var(--navy-800);
  &:hover { background: var(--navy-800); color: var(--white); }
}
.btn-ghost {
  background: transparent; color: var(--navy-800);
  &:hover { background: var(--sea-100); color: var(--navy-800); }
}
.link-btn {
  background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 0.2em;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 248 243 / 0.85);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
  &.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
}
/* Transparent au-dessus du hero */
.site-header.on-hero:not(.menu-open) {
  background: transparent; backdrop-filter: none; border-color: transparent; box-shadow: none;
  & .brand, & .main-nav a, & .btn-ghost { color: var(--white); }
  & .main-nav a:hover, & .btn-ghost:hover { background: rgb(255 255 255 / 0.16); color: var(--white); }
  & .main-nav a[aria-current="true"] { background: rgb(255 255 255 / 0.2); color: var(--white); }
  & .menu-toggle { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.4); color: var(--white); }
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem; height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--navy-800); text-decoration: none;
  font-family: var(--font-serif); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em;
  & strong { font-weight: 700; color: var(--sunset-600); }
  & img { width: 2.75rem; height: 2.75rem; padding: 2px; background: var(--white); border-radius: 50%; box-shadow: var(--shadow-sm); }
  &:hover { color: var(--navy-800); }
}
.brand-light { color: var(--white); & strong { color: var(--sunset-500); } &:hover { color: var(--white); } }

.main-nav {
  margin-inline: auto;
  & ul { display: flex; gap: 0.25rem; list-style: none; padding: 0; }
  & a {
    display: block; padding: 0.5rem 0.75rem; border-radius: 999px;
    color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    &:hover { background: var(--sea-100); color: var(--navy-800); }
    &[aria-current="true"] { color: var(--sunset-600); background: var(--sunset-100); }
  }
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }

.menu-toggle {
  display: none; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy-800);
}
.mobile-menu {
  border-top: 1px solid var(--line); background: var(--sand-50);
  & ul { list-style: none; padding: 0.5rem var(--gutter) 1rem; }
  & a {
    display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line);
    color: var(--ink); font-weight: 500; font-size: 1.0625rem; text-decoration: none;
  }
}

@media (max-width: 76rem) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 40rem) {
  .hide-sm { display: none; }
}

/* ---------- Typo de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sea-600);
  &::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }
}
.eyebrow-light { color: #ffd2bd; }

h2 { font-family: var(--font-serif); font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.02em; color: var(--navy-800); margin-bottom: 1.25rem; }
h3 { font-size: var(--fs-h3); font-weight: 700; color: var(--navy-800); letter-spacing: -0.01em; }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section-tint { background: var(--sand-100); }
.section-dark {
  background: radial-gradient(120% 80% at 100% 0%, var(--navy-700), var(--navy-900));
  color: #d7e2ec;
  & h2, & h3 { color: var(--white); }
  & strong { color: var(--white); }
}
.section-head {
  max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  & > p:not(.eyebrow) { color: var(--ink-soft); font-size: var(--fs-lg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92svh, 56rem);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  color: var(--white);
  &::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(180deg, rgb(7 29 49 / 0.35) 0%, rgb(7 29 49 / 0) 30%),
      linear-gradient(0deg, rgb(7 29 49 / 0.88) 0%, rgb(7 29 49 / 0.35) 50%, rgb(7 29 49 / 0) 75%);
  }
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 60%;
  animation: hero-zoom 18s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-content { padding-block: clamp(3rem, 2rem + 6vw, 6rem); }
.hero h1 {
  font-family: var(--font-serif); font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02;
  max-width: 16ch; text-shadow: 0 2px 24px rgb(7 29 49 / 0.35);
  & span { display: block; margin-top: 0.35em; font-size: 0.48em; font-weight: 500; font-style: italic; letter-spacing: -0.01em; color: #ffd2bd; }
}
.hero-lead { max-width: 38rem; margin-top: 1.5rem; font-size: var(--fs-lg); color: rgb(255 255 255 / 0.9); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1px;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem); max-width: 64rem;
  background: rgb(255 255 255 / 0.2); border: 1px solid rgb(255 255 255 / 0.2); border-radius: var(--radius);
  overflow: hidden; backdrop-filter: blur(10px);
  & li { padding: 1rem 1.25rem; background: rgb(7 29 49 / 0.35); }
  & strong { display: block; font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; line-height: 1.1; }
  & span { font-size: var(--fs-sm); color: rgb(255 255 255 / 0.82); }
}
/* Note Google mise en avant */
.hero-facts .hf-google {
  padding: 0; background: linear-gradient(135deg, rgb(245 184 61 / 0.28), rgb(7 29 49 / 0.45));
  & a {
    display: block; height: 100%; padding: 0.85rem 1.25rem 1rem; color: var(--white); text-decoration: none;
    transition: background-color 0.2s;
    &:hover { background: rgb(255 255 255 / 0.08); color: var(--white); }
  }
  & .hf-stars { display: flex; gap: 0.15rem; margin-bottom: 0.3rem; color: #f5b83d; filter: drop-shadow(0 1px 4px rgb(245 184 61 / 0.45)); }
  & .hf-stars .icon { width: 1.1rem; height: 1.1rem; }
  & strong small { font-size: 0.6em; font-weight: 500; opacity: 0.75; }
  & span:last-child { display: inline-flex; align-items: center; gap: 0.35rem; }
  & span:last-child .icon { width: 0.85rem; height: 0.85rem; opacity: 0.7; }
}
@media (max-width: 40rem) { .hero-facts .hf-google { grid-column: 1 / -1; } }

/* ---------- Split (texte + média) ---------- */
.split {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.split-wide { align-items: start; }
.split-text > p:not(.eyebrow) { color: var(--ink-soft); }
.section-dark .split-text > p:not(.eyebrow) { color: #c5d3e0; }
.split-text h3 { margin-top: 2.25rem; margin-bottom: 1rem; }
.split-media {
  position: relative;
  & img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
  &::before {
    content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; z-index: -1;
    border: 2px solid var(--sunset-500); border-radius: var(--radius-lg); opacity: 0.5;
  }
}
@media (max-width: 40rem) { .split-media::before { inset: 0.75rem -0.5rem -0.75rem 0.75rem; } }

.badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem;
  & li {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    font-size: 0.9375rem; font-weight: 600; color: var(--navy-800);
  }
  & .icon { color: var(--sunset-600); }
}

/* ---------- Offres (sorties) ---------- */
.offer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.offer {
  display: flex; flex-direction: column; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  & > p:not(.offer-tag, .offer-note) { color: var(--ink-soft); }
  & .btn { margin-top: auto; align-self: flex-start; }
}
.offer-icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem;
  border-radius: var(--radius); background: var(--sunset-100); color: var(--sunset-600);
  & .icon { width: 1.6rem; height: 1.6rem; }
}
.offer-tag { margin: 0.35rem 0 1rem; font-size: var(--fs-sm); font-weight: 600; color: var(--sea-600); }
.price-list {
  display: grid; gap: 0.75rem; margin-block: 1.5rem 0.75rem; padding: 1rem 1.25rem;
  background: var(--sand-50); border-radius: var(--radius);
  & div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; align-items: baseline; }
  & div + div { padding-top: 0.75rem; border-top: 1px dashed var(--line); }
  & dt { font-size: var(--fs-sm); color: var(--ink-soft); }
  & dd { text-align: right; }
  & dd strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy-800); }
  & small { display: block; color: var(--ink-soft); font-size: 0.8125rem; }
}
.offer-note { margin-bottom: 1.5rem; font-size: var(--fs-sm); color: var(--ink-soft); }

/* ---------- Cartes voiliers ---------- */
.boat-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.boat-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  & img { flex-shrink: 0; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s var(--ease); }
  &:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  &:hover img { transform: scale(1.04); }
  & h3 { font-size: 1.2rem; & span { font-weight: 500; color: var(--ink-soft); } }
  & .btn { margin-top: auto; }
}
.boat-card:has(.btn:focus-visible) { box-shadow: 0 0 0 3px var(--sunset-500); }
.boat-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; position: relative; z-index: 1; background: var(--white); }
.boat-card-name { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--sunset-600); line-height: 1.2; }
.specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-block: 1.25rem;
  & li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--ink-soft); }
  & .icon { color: var(--sea-600); }
}
.specs-inline {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1.25rem 0;
  & li { padding: 0.4rem 0.85rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 500; }
}
.from-price {
  margin-bottom: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: var(--fs-sm);
  & strong { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy-800); }
}

/* ---------- Saisons ---------- */
.season-timeline { position: relative; margin-block: 1.5rem; padding-top: 0.75rem; }
.st-bar {
  display: flex; height: 3.25rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  touch-action: pan-y; cursor: pointer;
}
.st-seg {
  height: 100%; padding: 0; border: 0; border-radius: 0; min-width: 0;
  transition: opacity 0.25s, filter 0.25s, box-shadow 0.25s;
  &:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 5px var(--navy-800); }
}
/* Mise en valeur de la saison survolée : les autres s'estompent */
.season-timeline[data-active] .st-seg { opacity: 0.35; filter: saturate(0.6); }
.season-timeline[data-active="low"] .st-low,
.season-timeline[data-active="mid"] .st-mid,
.season-timeline[data-active="high"] .st-high { opacity: 0.75; filter: none; }
.season-timeline[data-active] .st-seg.is-active { opacity: 1; filter: none; box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.9); }

.st-low { background: var(--season-low); }
.st-mid { background: var(--season-mid); }
.st-high { background: var(--season-high); }

.st-tip {
  --arrow: 50%;
  position: absolute; z-index: 5; width: max-content; max-width: min(21rem, 100%);
  padding: 1rem 1.1rem; background: var(--navy-800); color: #d7e2ec;
  border-radius: var(--radius); box-shadow: 0 18px 40px -12px rgb(7 29 49 / 0.5);
  font-size: 0.875rem; line-height: 1.45; pointer-events: none;
  animation: tip-in 0.18s var(--ease);
  &::after {
    content: ""; position: absolute; top: 100%; left: var(--arrow); translate: -50% 0;
    border: 8px solid transparent; border-top-color: var(--navy-800);
  }
}
@keyframes tip-in { from { opacity: 0; translate: 0 6px; } }
.st-tip-title {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem;
  font-weight: 700; font-size: 1rem; color: var(--white);
}
.st-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgb(255 255 255 / 0.15); }
.st-tip-dates { margin: 0 0 0.75rem; text-transform: none; & small { color: #9fb3c6; } }
.st-tip-prices {
  width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums;
  & th, & td { padding: 0.3rem 0; text-align: right; white-space: nowrap; }
  & th:first-child { text-align: left; padding-right: 1rem; }
  & td + td { padding-left: 1rem; }
  & thead th { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9fb3c6; font-weight: 600; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
  & tbody th { font-weight: 600; color: var(--white); }
  & tbody td { color: var(--white); }
  & tbody tr + tr { border-top: 1px solid rgb(255 255 255 / 0.08); }
}
.st-today {
  position: absolute; top: 0.25rem; height: 4.25rem; width: 2px; background: var(--navy-800); pointer-events: none;
  &::after {
    content: attr(data-label); position: absolute; top: -1.4rem; left: 50%; translate: -50% 0; white-space: nowrap;
    padding: 0.1rem 0.5rem; background: var(--navy-800); color: var(--white); border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  }
}
.st-today[data-align="end"]::after { left: auto; right: 0; translate: none; }
.st-today[data-align="start"]::after { left: 0; translate: none; }
.st-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; padding: 0.35rem 0.4rem 0.35rem 0.9rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; color: var(--navy-800);
  & span { padding: 0.15rem 0.6rem; background: var(--navy-800); color: var(--white); border-radius: 999px; font-size: 0.8125rem; }
}
.st-months {
  position: relative; height: 1.4rem; margin-top: 0.4rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); text-transform: capitalize;
  & span { position: absolute; top: 0; padding-left: 0.3rem; border-left: 1px solid var(--ink-soft); line-height: 1.4rem; }
}
.st-hint { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--ink-soft); }
.season-legend {
  display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  & li {
    padding: 1rem 1.25rem 1rem 1.25rem; background: var(--white); border-radius: var(--radius);
    border-left: 5px solid var(--c); font-size: 0.9375rem; color: var(--ink-soft);
  }
  & strong { display: block; color: var(--navy-800); font-size: 1rem; }
  & li { transition: box-shadow 0.25s, translate 0.25s var(--ease); }
  & li.is-active { box-shadow: 0 0 0 2px var(--c), var(--shadow-sm); translate: 0 -2px; }
}
.season-low { --c: var(--season-low); }
.season-mid { --c: var(--season-mid); }
.season-high { --c: var(--season-high); }

/* ---------- Fiches voiliers ---------- */
.boat-head {
  margin-bottom: 2rem;
  & h2 { margin-bottom: 0; }
  & h2 span { display: inline-block; font-style: italic; font-weight: 500; color: var(--sunset-600); }
}
.boat-layout {
  display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem); align-items: start;
}
@media (max-width: 62rem) { .boat-layout { grid-template-columns: minmax(0, 1fr); } }
.boat-main {
  & > h3 { margin-block: 2rem 0.75rem; }
  & > p { color: var(--ink-soft); }
}
.boat-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 62rem) { .boat-aside { position: static; } }

/* Galerie */
.gallery { position: relative; }
.gallery-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  border-radius: var(--radius-lg); scrollbar-width: none;
  &::-webkit-scrollbar { display: none; }
  & img {
    width: 100%; aspect-ratio: 16 / 10; object-fit: cover; scroll-snap-align: center;
    border-radius: var(--radius-lg); cursor: zoom-in; background: var(--sand-100);
  }
}
.gallery-nav {
  position: absolute; inset: 50% 0.75rem auto; translate: 0 -50%;
  display: flex; justify-content: space-between; pointer-events: none;
  & button {
    pointer-events: auto; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
    border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.92); color: var(--navy-800); box-shadow: var(--shadow-sm);
    transition: opacity 0.2s, transform 0.2s;
    &:hover { transform: scale(1.08); }
    &:disabled { opacity: 0; pointer-events: none; }
  }
}
.gallery-thumbs {
  display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto; scrollbar-width: thin;
  & button {
    flex: 0 0 5rem; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; background: none;
    opacity: 0.6; transition: opacity 0.2s, border-color 0.2s;
    &[aria-current="true"] { opacity: 1; border-color: var(--sunset-600); }
    &:hover { opacity: 1; }
  }
  & img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
}
.gallery-count {
  position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.2rem 0.65rem;
  background: rgb(7 29 49 / 0.7); color: var(--white); border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
}

/* Équipements */
.equipment {
  margin-top: 2rem;
  & summary {
    display: flex; align-items: center; gap: 0.75rem; cursor: pointer; list-style: none; margin-bottom: 1rem;
    &::-webkit-details-marker { display: none; }
    &::after {
      content: ""; width: 0.6rem; height: 0.6rem; margin-left: auto;
      border-right: 2px solid var(--navy-800); border-bottom: 2px solid var(--navy-800);
      rotate: 45deg; transition: rotate 0.2s;
    }
  }
  &:not([open]) summary::after { rotate: -45deg; }
  & .count { padding: 0.1rem 0.6rem; background: var(--sea-100); color: var(--sea-600); border-radius: 999px; font-size: 0.8125rem; font-weight: 700; }
}
.chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  & li {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem;
    &::before { content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--season-low); }
  }
}
.section-tint .chips li, .section-tint .specs-inline li { background: var(--sand-50); }

/* Carte tarifs */
.price-card {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  & h3 { margin-bottom: 1rem; }
  & h4 { margin-block: 1.5rem 0.6rem; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
}
.table-wrap { overflow-x: auto; }
.price-table {
  width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.9375rem;
  & th, & td { padding: 0.5rem 0.4rem; text-align: right; white-space: nowrap; }
  & th:first-child { text-align: left; }
  & thead th {
    font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
    border-bottom: 2px solid var(--line);
  }
  & thead th[class^="season"] { box-shadow: inset 0 -3px 0 var(--c); color: var(--navy-800); }
  & tbody th { font-weight: 600; color: var(--navy-800); }
  & tbody tr { border-bottom: 1px solid var(--sand-100); }
  & tbody tr:hover { background: var(--sand-50); }
  & td.is-current, & th.is-current { background: color-mix(in srgb, var(--c, var(--sunset-500)) 12%, transparent); font-weight: 700; }
}
.price-seasons { margin-top: 0.75rem; font-size: var(--fs-sm); }
.options {
  display: grid; gap: 0.6rem; font-size: 0.875rem;
  & li { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); }
  & strong { white-space: nowrap; color: var(--navy-800); }
}
.price-ctas { display: grid; gap: 0.6rem; margin-top: 1.5rem; }

/* ---------- Accès ---------- */
.access-list {
  display: grid; gap: 1rem;
  & li { display: flex; gap: 1rem; align-items: flex-start; color: #c5d3e0; font-size: 0.9375rem; }
}
.access-icon {
  display: grid; place-items: center; flex: 0 0 2.5rem; height: 2.5rem; border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.08); color: #ffd2bd;
}
.map-box {
  position: relative; min-height: 26rem; height: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--sea-600), var(--navy-700));
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
  & iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
}
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center;
  background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px); background-size: 18px 18px;
  color: var(--white);
}
.map-hint { font-size: 0.8125rem; color: rgb(255 255 255 / 0.7); max-width: 22rem; }
.map-link { color: var(--white); display: inline-flex; gap: 0.35rem; align-items: center; font-size: var(--fs-sm); &:hover { color: #ffd2bd; } }

/* ---------- Confiance ---------- */
.trust {
  display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center;
  grid-template-columns: auto 1fr; padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  & h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); }
  & .trust-text > p { color: var(--ink-soft); }
  & .btn { margin-top: 1.5rem; }
}
@media (max-width: 44rem) { .trust { grid-template-columns: 1fr; } }
.trust-rating {
  display: grid; justify-items: center; gap: 0.25rem; padding: 1.75rem 2rem; text-align: center;
  background: var(--navy-800); color: var(--white); border-radius: var(--radius-lg);
  & .stars { display: flex; gap: 0.15rem; color: #f5b83d; }
  & strong { font-family: var(--font-serif); font-size: 3.25rem; line-height: 1; font-weight: 600; }
  & small { font-size: 1.25rem; opacity: 0.7; }
  & span:last-child { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #ffd2bd; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  & > div > p:not(.eyebrow) { color: var(--ink-soft); }
}
.contact-cards { display: grid; gap: 0.75rem; margin-top: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  transition: border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  & small { display: block; color: var(--ink-soft); font-size: 0.8125rem; }
  & strong { font-size: 1.125rem; color: var(--navy-800); word-break: break-word; }
  &:hover { border-color: var(--sunset-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
}
.contact-card-icon {
  display: grid; place-items: center; flex: 0 0 3rem; height: 3rem; border-radius: 50%;
  background: var(--sunset-100); color: var(--sunset-600);
}
.contact-form {
  display: grid; gap: 1rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.form-intro { margin-top: -0.5rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.field :is(input, select, textarea) {
  width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #cfc6b8; border-radius: var(--radius-sm); background: var(--sand-50);
  transition: border-color 0.2s, box-shadow 0.2s;
  &:focus { outline: none; border-color: var(--sea-600); box-shadow: 0 0 0 3px rgb(22 137 171 / 0.2); }
  &:user-invalid { border-color: var(--season-high); }
}
.field textarea { resize: vertical; min-height: 6rem; }
.form-error { color: var(--sunset-600); font-size: var(--fs-sm); font-weight: 600; }

/* ---------- Liens utiles ---------- */
.section-head > p + p { margin-top: 0.75rem; }
.links-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.link-group {
  padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  & h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.125rem; margin-bottom: 0.75rem; & .icon { color: var(--sunset-600); } }
  & ul { display: grid; }
  & a {
    display: block; padding: 0.7rem 1.5rem 0.7rem 0; border-top: 1px solid var(--sand-100);
    color: var(--navy-800); font-weight: 600; text-decoration: none; position: relative;
    &::after { content: "↗"; position: absolute; right: 0.25rem; top: 0.7rem; color: var(--ink-soft); transition: translate 0.2s; }
    &:hover { color: var(--sunset-600); &::after { translate: 2px -2px; color: var(--sunset-600); } }
  }
  & small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--ink-soft); }
}

/* ---------- Pied de page ---------- */
.site-footer {
  padding-block: 3.5rem 1.5rem; background: var(--navy-900); color: #a9bccd; font-size: 0.9375rem;
  & a { color: #d7e2ec; text-decoration: none; &:hover { color: var(--white); text-decoration: underline; } }
  & .brand { margin-bottom: 0.75rem; }
}
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  & ul { display: grid; gap: 0.4rem; }
  & .link-btn { margin-top: 0.75rem; color: #a9bccd; font-size: var(--fs-sm); }
}
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: var(--fs-sm); }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 40rem) {
  body { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgb(255 255 255 / 0.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    & a {
      display: grid; justify-items: center; gap: 0.15rem; padding: 0.6rem 0;
      color: var(--navy-800); font-size: 0.75rem; font-weight: 600; text-decoration: none;
    }
    & a:first-child { color: var(--sunset-600); }
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; border: 0;
  background: rgb(7 29 49 / 0.96); color: var(--white);
  &[open] { display: grid; place-items: center; }
  &::backdrop { background: transparent; }
  & figure { display: grid; gap: 0.75rem; justify-items: center; padding: 4rem 1rem; max-width: min(100%, 80rem); }
  & img { max-height: calc(100dvh - 10rem); width: auto; border-radius: var(--radius); }
  & figcaption { font-size: var(--fs-sm); color: #c5d3e0; }
}
.lb-btn {
  position: fixed; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / 0.12); color: var(--white);
  &:hover { background: rgb(255 255 255 / 0.25); }
}
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Bandeau cookies ---------- */
.consent {
  position: fixed; z-index: 60; left: 50%; bottom: 1rem; translate: -50% 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; width: min(100% - 2rem, 40rem);
  padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 0.9375rem;
  & p { flex: 1 1 16rem; }
}
.consent-actions { display: flex; gap: 0.5rem; }
@media (max-width: 40rem) { .consent { bottom: calc(4.5rem + env(safe-area-inset-bottom)); } }

/* ---------- Animations d'apparition ---------- */
/* Classe posée par le JS uniquement : sans JS, tout est visible */
.reveal { transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
.reveal.reveal-pending { opacity: 0; translate: 0 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal.reveal-pending { opacity: 1; translate: none; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .mobile-bar, .consent, .hero-ctas, .map-box, .gallery, .price-ctas { display: none !important; }
  .hero { min-height: auto; color: var(--ink); margin: 0; padding: 0; }
  .hero::after, .hero-bg { display: none; }
  .section { padding-block: 1.5rem; }
  .boat-detail { break-before: page; }
}
