/* ==========================================================================
   LaRide 971 — feuille de style principale
   Charte : cyan du logo #70BFC4 · ombre du logo #427276 · sable #F5EDE0
   DA : aplats, sans ombres portées ni contours épais
   ========================================================================== */

:root {
  --sand: #f5ede0;
  --sand-2: #ebdfca;
  --sand-3: #dccbb0;
  --teal: #70bfc4;
  --teal-soft: #d5eeef;
  --teal-deep: #16797d;
  --lagoon: #0b6066;
  --ink: #0a3236;
  --ink-soft: #2f5e62;
  --night: #06454a;
  --coral: #f08a6c;
  --coral-dark: #d4664a;
  --white: #fffdf9;

  --f-display: "Gabarito", system-ui, sans-serif;
  --f-body: "Karla", system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(10, 50, 54, 0.3);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Lenis gère le défilement fluide : on coupe celui du navigateur pour éviter les conflits */
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
}
html, body { overflow-x: clip; }

/* grain léger façon papier */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
/* titres d'une seule couleur et d'une seule graisse : le <em> ne change rien visuellement */
h1 em, h2 em { font-style: normal; font-weight: inherit; color: inherit; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

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

.eyebrow {
  font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--teal-deep);
  margin-bottom: 0.4em;
  transform: rotate(-2deg);
  transform-origin: left;
  display: inline-block;
}

/* ---------- Boutons & liens ---------- */
.btn {
  --bg: var(--teal-deep);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover { --bg: var(--lagoon); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--light { --bg: var(--sand); --fg: var(--ink); }
.btn--light:hover { --bg: var(--white); }
.btn--ghost {
  --bg: rgba(255, 253, 249, 0.12);
  --fg: var(--white);
  border-color: rgba(255, 253, 249, 0.7);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --bg: rgba(255, 253, 249, 0.24); }
.btn--big { font-size: 1.1rem; padding: 1.1em 2em; }
.ico { width: 1.4em; height: 1.4em; fill: currentColor; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
/* icône Lucide arrow-right, en masque pour prendre la couleur du lien */
.link-arrow::after {
  content: "";
  width: 1.1em;
  height: 1.1em;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--light { color: var(--sand); }

/* ---------- Vagues SVG ---------- */
/* Séparateurs en vague retirés (retour Thomas 09/11) : sections en coupe droite */
.wave { display: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding-block: 18px;
}
.header.is-scrolled {
  background: rgba(112, 191, 196, 0.95);
  backdrop-filter: blur(10px);
  padding-block: 8px;
}
.header__inner {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo img {
  height: 92px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: height 0.4s var(--ease);
}
.header.is-scrolled .header__logo img { height: 58px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav ul a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  transition: color 0.4s;
}
/* sur le fond cyan de la nav, le blanc manque de contraste : liens en encre */
.header.is-scrolled .nav ul a { color: var(--ink); text-shadow: none; }
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 0.7em 1.4em; }

.burger { display: none; }

@media (max-width: 960px) {
  .burger {
    display: grid;
    gap: 6px;
    width: 48px; height: 48px;
    place-content: center;
    background: var(--teal-deep);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 60;
    transition: opacity 0.4s;
  }
  .burger span { width: 22px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    background: var(--teal);
    clip-path: circle(0 at calc(100% - 44px) 44px);
    transition: clip-path 0.6s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .nav ul a { font-family: var(--f-display); font-size: 2rem; font-weight: 600; color: var(--ink); text-shadow: none; }
  .header__logo img { height: 70px; }
  .header.is-scrolled .header__logo img { height: 50px; }
  /* backdrop-filter ferait du header le cadre du menu plein écran (position: fixed) : fond plein à la place */
  .header.is-scrolled { backdrop-filter: none; background: var(--teal); }
}

/* ==========================================================================
   SPLASH (mobile) : logo plein écran sur fond uni, qui rejoint la nav au défilement
   ========================================================================== */
.splash { display: none; }

@media (max-width: 760px) {
  /* taille du logo fixe dans la nav : la cible de l'animation ne bouge pas */
  .header, .header.is-scrolled { padding-block: 8px; }
  .header__logo img, .header.is-scrolled .header__logo img { height: 52px; }

  .splash {
    display: block;
    position: relative;
    height: 68svh; /* logo seul : le titre et la photo arrivent dès le premier écran */
    background: var(--teal);
  }
  .splash__logo {
    position: absolute;
    inset: 0;
    margin: auto;
    height: min(56svh, 106vw);
    width: auto;
    transform-origin: 0 0;
  }
  .splash__hint {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 14px; height: 14px;
    margin-left: -7px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    rotate: 45deg;
    animation: hint 1.8s var(--ease) infinite;
  }
  /* tant que le logo n'est pas arrivé dans la nav : pas de menu ni de second logo */
  .splash-on:not(.splash-done) .header__logo { visibility: hidden; }
  .splash-on:not(.splash-done) .burger { opacity: 0; pointer-events: none; }
  .splash-on.splash-done .splash__logo { visibility: hidden; }
}
@keyframes hint { 0%, 100% { translate: 0 0; opacity: 0.5; } 50% { translate: 0 8px; opacity: 1; } }

/* ==========================================================================
   HERO
   ========================================================================== */
/* Photo : grand ciel bleu en haut, le texte s'y pose sans voile épais */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: start;
  color: var(--white);
  padding: clamp(170px, 24vh, 240px) var(--gutter) clamp(110px, 12vw, 170px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media, .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -2;
}
.hero__media img {
  object-fit: cover;
  object-position: 50% 55%;
  animation: heroZoom 14s var(--ease) both;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 38, 82, 0.55) 0%, rgba(16, 38, 82, 0.25) 45%, rgba(16, 38, 82, 0) 65%);
}
.hero__content { max-width: var(--container); width: 100%; margin-inline: auto; }
/* Le H1 « École de surf itinérante en Guadeloupe » est le titre du hero ; le nom reste lisible par Google mais masqué (le logo le montre) */
.hero__h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.25em;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(16, 38, 82, 0.45);
}
.hero__brand { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero__lead { max-width: 58ch; font-size: clamp(1.05rem, 1.5vw, 1.3rem); opacity: 0.95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* Mobile : juste le nom de l'école et un seul bouton, posés dans le ciel */
@media (max-width: 760px) {
  .hero { min-height: 88svh; padding-top: 64px; }
  .hero__media img { object-position: 38% 100%; }
  /* accroche et bouton cachés au premier écran (sinon sous les avis et WhatsApp), révélés au premier défilement */
  .hero__lead, .hero__actions { transition: opacity 0.5s var(--ease), translate 0.5s var(--ease); }
  html:not(.has-scrolled) .hero__lead, html:not(.has-scrolled) .hero__actions { opacity: 0; translate: 0 16px; pointer-events: none; }
  .hero__h1 { font-size: clamp(2.1rem, 10vw, 2.7rem); font-weight: 800; line-height: 1.05; margin: 0 0 0.4em; }
  .hero__actions { margin-top: 1.4em; }
}

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.intro__text > p { color: var(--ink-soft); max-width: 52ch; }
/* Valeurs dessinées : soleil, nuage, arc-en-ciel (idée de Charly) */
.values { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 1.6em 0 2em; }
.v { position: relative; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.v svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v span { position: relative; }
.v--sun { width: 120px; height: 120px; }
.v--sun circle { fill: #f4c860; }
.v__rays line { stroke: var(--coral); stroke-width: 7; stroke-linecap: round; }
.v--cloud { width: 180px; height: 110px; }
.v--cloud path { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.v--cloud span { top: 10px; }
.v--rainbow { width: 204px; height: 134px; }
.v--rainbow path { fill: none; stroke-width: 12; stroke-linecap: round; }
.v__arc { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; fill: var(--ink); }
.v__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.values.is-waiting { height: 90px; }
/* téléphone : formes plus petites (posées en ligne si la chute ne se lance pas) */
@media (max-width: 760px) {
  .values:not(.is-physics) { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: flex-end; gap: 4px; margin: 2em 0 0.5em; }
  .v--sun { width: 82px; height: 82px; rotate: -6deg; }
  .v--cloud { width: 128px; height: 78px; rotate: 3deg; font-size: 0.8rem; }
  .v--rainbow { width: 126px; height: 83px; rotate: -3deg; }
  .v { font-size: 0.9rem; }
  .values.is-physics .v { rotate: none; } /* la physique gère déjà la rotation */
}
.values.is-waiting li { visibility: hidden; }
/* Chips qui tombent (Matter.js, voir main.js) : le ul devient une petite « boîte » physique */
.values.is-physics {
  position: relative;
  display: block;
  height: 90px; /* petite zone : les formes finissent leur chute sur le bandeau */
  overflow: visible; /* les formes descendent jusqu'au bandeau, sous la zone */
  z-index: 5;
  touch-action: pan-y;
}
.values.is-physics li {
  position: absolute;
  top: 0; left: 0;
  user-select: none;
  will-change: transform;
  transform: translate(-999px, -999px);
}
@media (pointer: fine) {
  .values.is-physics li { cursor: grab; }
  .values.is-physics li:active { cursor: grabbing; }
}

.intro__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__photo { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative;
  z-index: 5;
  background: var(--teal-deep);
  color: var(--sand);
  /* coupé à gauche/droite seulement : la photo du spot peut dépasser au-dessus du bandeau */
  overflow-x: clip;
  overflow-y: visible;
  padding-block: 18px;
  transform: rotate(-1.5deg) scale(1.03) translateZ(0);
  /* Safari iOS crénelle les bords d'un bloc tourné : contour transparent + couche GPU pour lisser */
  outline: 1px solid transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  margin-block: 10px;
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span {
  position: relative;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  padding-inline: 0.8em;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee span::after { content: "✺"; color: var(--teal); margin-left: 1.6em; font-style: normal; font-size: 0.7em; vertical-align: middle; }
.marquee span img {
  position: absolute;
  left: calc(50% - 1.1em);
  bottom: calc(100% + 14px);
  width: clamp(180px, 16vw, 240px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  opacity: 0;
  translate: -50% 16px;
  rotate: 3deg;
  scale: 0.9;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), translate 0.45s var(--ease), scale 0.45s var(--ease);
}
@media (hover: hover) {
  .marquee__track:hover { animation-play-state: paused; }
  .marquee span:hover { color: var(--white); }
  .marquee span:hover img { opacity: 1; translate: -50% 0; scale: 1; }
}
/* pas assez de place au-dessus (bandeau collé sous la nav) : la photo s'affiche en dessous */
.marquee.is-below span img { bottom: auto; top: calc(100% + 14px); translate: -50% -16px; }
@media (hover: hover) { .marquee.is-below span:hover img { translate: -50% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   COURS
   ========================================================================== */
.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section__lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  line-height: 1.2;
}
.facts strong {
  font-family: var(--f-display);
  font-size: 1.15rem;
  background: var(--teal-soft);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (max-width: 560px) {
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .facts li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; border-radius: var(--radius-sm); font-size: 0.78rem; }
  .facts li br { display: none; }
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.card__media { aspect-ratio: 4/3.3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.cards { align-items: start; }
/* Ordi (≥ 1101px) : les cartes restent égales ; le détail du cours choisi s'affiche dans un panneau pleine largeur (main.js) */
.cours__panel { display: none; }
@media (min-width: 1101px) {
  .card summary { cursor: pointer; }
  .card .card__body, .card__toggle, .cours .section__lead { display: none; }
  .card__media { aspect-ratio: auto; height: 220px; }
  .card__head { padding-right: 22px; min-height: 120px; box-sizing: border-box; }
  /* contour dans un calque au-dessus de la photo (sinon le zoom au survol le recouvre) */
  .card::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: inherit; pointer-events: none; z-index: 2; transition: border-color 0.3s; }
  .card[open]::after { border-color: var(--teal); }
  .card[open] h3 { color: var(--teal-deep); }
  .cours__panel {
    display: grid;
    grid-template-columns: 1fr 1.6fr auto;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
    padding: 32px 36px;
    background: var(--white);
    border-radius: var(--radius);
  }
  .cours__panel .card__price { margin: 0; text-align: right; }
  .cours__panel .card__price + .btn { margin-top: 16px; }
  .cours__panel-end { display: flex; flex-direction: column; align-items: flex-end; }
}
.card summary { list-style: none; cursor: pointer; }
.card summary::-webkit-details-marker { display: none; }
.card__head { position: relative; padding: 18px 56px 18px 22px; }
.card__head h3 { margin: 0 0 0.2em; }
.card__head .card__meta { margin: 0; }
.card__toggle { position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--teal-soft); }
.card__toggle::before, .card__toggle::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.card__toggle::after { transform: rotate(90deg); }
.card[open] .card__toggle::after { transform: rotate(0); }
.card__facts { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.95rem; font-weight: 600; }
.card__facts li { padding-left: 18px; position: relative; }
.card__facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 0 22px 24px; }
.card__body > p { color: var(--ink-soft); font-size: 0.95rem; }
.card h3 { margin-bottom: 0.35em; }
.card__meta { font-size: 0.78rem !important; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--teal-deep) !important; margin-bottom: 0.5em; }
.card__price {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink) !important;
  line-height: 1;
  margin: auto 0 0;
  padding-top: 0.4em;
}
.card__body .card__price, .cours__panel .card__price { font-size: 2rem; color: var(--ink); }
.card__price span { font-family: var(--f-body); font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
.card__body .card__label, .cours__panel .card__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--teal-deep); margin: 0 0 0.6em; }
.card__steps { margin: 0 0 1.2em; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.95rem; color: var(--ink-soft); }
.card__steps li::marker { color: var(--teal-deep); font-weight: 700; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
/* Mobile : les cours s'empilent, chacun se déplie au toucher */
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card__media { aspect-ratio: 16/10; }
}

/* ==========================================================================
   SPOTS — carte dessinée
   ========================================================================== */
.spots__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.spots__group { margin-top: 26px; }
.spots__group ul { display: grid; gap: 4px; }
.spots__level { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.spots__level::before { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.spots__level--debutant::before { background: var(--teal); }
.spots__level--confirme::before { background: var(--teal-deep); }
.spots__note { margin: 22px 0 18px; color: var(--ink-soft); font-size: 0.95rem; }

.spot {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px 14px 8px 8px;
  background: none;
  border: 0;
  border-radius: 14px;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s;
}
.spot:hover, .spot.is-active { background: var(--white); }
.spot__num {
  flex: none;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  background: var(--teal);
}
.spots__group:last-of-type .spot__num { background: var(--teal-deep); color: var(--white); }
.spot__name { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; }
.spot__place { margin-left: auto; font-size: 0.85rem; color: var(--ink-soft); text-align: right; }

.spotmap {
  position: relative;
  background: var(--teal-soft);
  border-radius: var(--radius);
  padding: clamp(8px, 1.5vw, 18px);
}
.spotmap__svg { display: block; width: 100%; height: auto; overflow: hidden; } /* hidden : le zoom surfguiding ne doit pas déborder du cadre */
.spotmap__sea path { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; opacity: 0.55; }
.spotmap__halo { fill: none; stroke: var(--teal); stroke-width: 16; stroke-linejoin: round; opacity: 0.22; }
.spotmap__land { fill: var(--sand); }
.spotmap__hatch { fill: url(#hatch); }
#hatch line { stroke: var(--sand-3); stroke-width: 1.6; }
.spotmap__line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 4200;
  stroke-dashoffset: 0;
}
.js .spotmap:not(.is-in) .spotmap__line { stroke-dashoffset: 4200; }
.js .spotmap .spotmap__line { transition: stroke-dashoffset 2.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; }

.spotmap__labels text { text-anchor: middle; }
.lbl-island { font-family: var(--f-display); font-weight: 700; font-size: 32px; fill: var(--ink); opacity: 0.8; }
.lbl-small { font-family: var(--f-display); font-weight: 500; font-size: 19px; fill: var(--ink-soft); }
.lbl-sea { font-family: var(--f-body); font-style: italic; font-size: 20px; fill: var(--teal-deep); }
.lbl-town { font-family: var(--f-body); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--ink-soft); }
.spotmap__compass circle { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 5; }
.spotmap__compass path { fill: var(--ink); }
.spotmap__compass path.s { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.spotmap__compass text { font-family: var(--f-display); font-weight: 700; font-size: 20px; text-anchor: middle; fill: var(--ink); }

.pin { cursor: pointer; outline: none; }
.pin line { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 3 3; }
.pin__dot { fill: var(--ink); }
.pin__head { stroke: var(--white); stroke-width: 3; }
.pin--debutant .pin__head { fill: var(--teal); }
.pin--confirme .pin__head { fill: var(--teal-deep); }
.pin text { font-family: var(--f-display); font-weight: 700; font-size: 21px; text-anchor: middle; fill: var(--ink); pointer-events: none; }
.pin--confirme text { fill: var(--white); }
.pin__head, .pin text { transform-box: fill-box; transform-origin: center; transition: transform 0.35s var(--ease); }
.pin.is-active .pin__head, .pin:focus-visible .pin__head { transform: scale(1.35); }
.pin.is-active text, .pin:focus-visible text { transform: scale(1.3); }
.js .spotmap .pin { opacity: 0; transition: opacity 0.5s var(--ease); }
.js .spotmap.is-in .pin { opacity: 1; }
.js .spotmap.is-in .pin:nth-of-type(1) { transition-delay: 1.4s; }
.js .spotmap.is-in .pin:nth-of-type(2) { transition-delay: 1.55s; }
.js .spotmap.is-in .pin:nth-of-type(3) { transition-delay: 1.7s; }
.js .spotmap.is-in .pin:nth-of-type(4) { transition-delay: 1.85s; }
.js .spotmap.is-in .pin:nth-of-type(5) { transition-delay: 2s; }
.js .spotmap.is-in .pin:nth-of-type(6) { transition-delay: 2.15s; }
.js .spotmap.is-in .pin:nth-of-type(7) { transition-delay: 2.3s; }
.js .spotmap.is-in .pin:nth-of-type(8) { transition-delay: 2.45s; }
.js .spotmap.is-in .pin:nth-of-type(9) { transition-delay: 2.6s; }

@media (max-width: 960px) {
  /* mobile : la carte remonte juste sous l'intro, avant la liste */
  .spots__grid { grid-template-columns: 1fr; gap: 0; }
  .spots__text { display: contents; }
  .spots__text > * { order: 1; }
  .spotmap { order: 2; margin: 8px 0 12px; }
  .spots__group, .spots__note, .spots__text > .link-arrow { order: 4; justify-self: start; }
  .spots__group { width: 100%; }


}


/* ==========================================================================
   TEAM
   ========================================================================== */
.team {
  background: var(--lagoon);
  color: var(--sand);
  padding-block: calc(var(--section) + 40px);
}
.team .eyebrow { color: var(--teal-soft); }
.team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-bottom: 48px; }
.mate { display: grid; grid-template-columns: 0.9fr 1fr; gap: 28px; align-items: center; }
.mate--alt { margin-top: clamp(0px, 8vw, 110px); }
.mate__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.mate__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mate:hover .mate__photo img { transform: scale(1.05); }
.mate h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 0.15em; }
.mate__role { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal-soft); font-size: 0.78rem; margin-bottom: 0.8em; }
.mate p:last-of-type { opacity: 0.85; font-size: 0.98rem; }
.mate__cta { display: inline-block; margin-top: 0.8em; font-weight: 700; color: var(--teal-soft); text-underline-offset: 4px; }
.mate__cta:hover { color: var(--white); }

@media (max-width: 960px) {
  .team__grid { grid-template-columns: 1fr; max-width: 560px; }
  .mate--alt { margin-top: 0; }
}
@media (max-width: 480px) {
  .mate { grid-template-columns: 1fr; }
  .mate__photo { max-width: 260px; }
}

/* ==========================================================================
   AVIS
   ========================================================================== */
.reviews { padding-bottom: calc(var(--section) * 0.6); }
.reviews__head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.reviews .eyebrow { transform-origin: center; }
/* le widget n'injecte rien tant que la fiche n'a pas d'avis : on masque alors la section */
.reviews:has(.reviews__list:empty) { display: none; }

/* ==========================================================================
   GALERIE
   ========================================================================== */
.gallery { padding-top: calc(var(--section) * 0.6); }


/* ==========================================================================
   RÉSERVATION
   ========================================================================== */
.booking {
  background: var(--teal);
  padding-block: clamp(64px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}
.booking__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; }
.booking p { font-size: 1.1rem; max-width: 50ch; margin: 0; }
.booking__actions { display: grid; gap: 22px; justify-items: start; }
.booking__direct { margin: 0; }
.booking__direct a { font-weight: 700; text-underline-offset: 4px; }
.booking__direct a:hover { color: var(--lagoon); }

@media (max-width: 860px) {
  .booking__inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .booking .btn--big { width: 100%; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid rgba(10, 50, 54, 0.2); }
.faq details { border-bottom: 1px solid rgba(10, 50, 54, 0.2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  font-family: var(--f-body);
  font-size: 1.5rem;
  transition: transform 0.35s var(--ease), background 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal); }
.faq details p { padding: 0 4px 22px; color: var(--ink-soft); max-width: 60ch; margin: 0; }

@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  background: var(--night);
  color: var(--sand);
  padding-top: clamp(64px, 8vw, 100px);
  margin-top: clamp(28px, 3.5vw, 56px);
  font-size: 0.95rem;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 120px; width: auto; margin-bottom: 18px; }
.footer__brand p { opacity: 0.75; max-width: 32ch; }
.footer__title { font-family: var(--f-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--teal); margin-bottom: 0.6em; }
.footer ul { display: grid; gap: 8px; margin-bottom: 22px; }
.footer a { text-decoration: none; }
.footer ul a:hover { color: var(--teal); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px 96px;
  border-top: 1px solid rgba(245, 237, 224, 0.15);
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer__bottom p { margin: 0; }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WHATSAPP FLOTTANT
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }
.wa-float:hover { transform: translateY(-4px) rotate(-8deg); }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   ANIMATIONS D'APPARITION
   ========================================================================== */
.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

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

/* ---------- Ajustements mobile ---------- */
@media (max-width: 860px) {
  }

/* ==========================================================================
   MUR D'AVIS — colonnes qui défilent verticalement, avis Google + photos
   ========================================================================== */
.wall { display: none; }
/* la grille d'origine reste lisible par les lecteurs d'écran, le mur est décoratif */
.reviews.has-wall .avg-grid { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* boutons du widget (Laisser un avis…) : même arrondi que les boutons du site */
.reviews .avg-cta, .avg-panel .avg-cta, .avg-foot a { border-radius: 999px !important; }
.reviews.has-wall .wall {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 24px;
  height: min(760px, 85svh);
  overflow: hidden;
  margin-block: 48px 28px;
  /* fondu en haut et en bas : les éléments apparaissent et disparaissent en transparence */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.wall__col { min-width: 0; }
/* téléphone : les 5 premiers avis empilés, sans photos */
@media (max-width: 699px) { .reviews .avg-grid > .avg-card:nth-child(n+6) { display: none; } }
.wall__track { display: flex; flex-direction: column; gap: 24px; animation: wallUp var(--dur, 60s) linear infinite; }
.wall__col:nth-child(even) .wall__track { animation-direction: reverse; }
.wall:hover .wall__track { animation-play-state: paused; }
.wall .avg-card { margin: 0; border-radius: var(--radius-sm); padding: 24px; }
.wall__photo { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.wall__photo img { display: block; width: 100%; height: auto; }
@keyframes wallUp { to { transform: translateY(calc(-50% - 12px)); } }
@media (prefers-reduced-motion: reduce) {
  .wall__track { animation: none; }
  .reviews.has-wall .wall { overflow-y: auto; }
}

/* ==========================================================================
   SPOTS — onglets Débutants / Avancés / Surfguiding (créés par main.js), toutes tailles d'écran
   ========================================================================== */
.spots__tabs { order: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-top: 22px; background: var(--sand-2); border-radius: 999px; }
.spots__tabs button { font: inherit; font-family: var(--f-display); font-weight: 600; font-size: 0.92rem; padding: 10px 6px; border: 0; border-radius: 999px; background: none; color: var(--ink); cursor: pointer; }
.spots__tabs button[aria-selected="true"] { background: var(--white); }
.spots.has-tabs .spots__level { display: none; }
.spots.has-tabs .spots__group { margin-top: 14px; }
.spots[data-level="debutant"] .spots__group--confirme, .spots[data-level="debutant"] .spots__group--guiding,
.spots[data-level="confirme"] .spots__group--debutant, .spots[data-level="confirme"] .spots__group--guiding,
.spots[data-level="guiding"] .spots__group--debutant, .spots[data-level="guiding"] .spots__group--confirme { display: none; }
.spots[data-level="debutant"] .pin--confirme,
.spots[data-level="confirme"] .pin--debutant { opacity: 0.35 !important; }
/* surfguiding : pas de pins, seulement la route et le van */
.spots[data-level="guiding"] .pin { opacity: 0 !important; pointer-events: none; }
/* sans onglets (JS coupé) : le bloc surfguiding reste visible, la route est masquée */
.spotmap__route { opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.spots[data-level="guiding"] .spotmap__route { opacity: 1; }
.spotmap__route > path { fill: none; stroke: none; } /* tracé invisible : le van seul suffit */
.van__shadow { fill: var(--ink); opacity: 0.18; }
.van__low { fill: var(--teal-deep); }
.van__top { fill: var(--white); }
.van__outline, .van__board, .van__rack, .van__bumper { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.van__board { stroke-width: 1; }
.van__board--long { fill: #f4c860; }
.van__board--short { fill: var(--coral); }
.van__board--mid { fill: #fffaf0; }
.van__stripe { fill: none; stroke: var(--coral-dark); stroke-width: 1.2; }
.van__fin { fill: var(--ink); }
.van__win { fill: var(--teal-soft); stroke: var(--ink); stroke-width: 1; }
.van__door { stroke: var(--ink); stroke-width: 0.8; opacity: 0.5; }
.van__light { fill: #fff6d6; stroke: var(--ink); stroke-width: 1; }
.van__wheel circle { fill: var(--ink); }
.van__wheel .van__hub { fill: var(--sand); }
.van__spoke { stroke: var(--ink); stroke-width: 1; }
.spots__guiding { color: var(--ink-soft); margin: 0 0 1em; }
.spots__guiding-cta { justify-self: start; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .van { display: none; } }

/* zoom surfguiding : la carte occupe tout le cadre, sans marge */
.spotmap { overflow: hidden; transition: padding 0.6s var(--ease); }
.spots[data-level="guiding"] .spotmap { padding: 0; }

/* Onglets des spots : pastille qui glisse sous l'onglet actif */
.spots__tabs { position: relative; --i: 0; }
.spots__tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 16px) / 3); border-radius: 999px; background: var(--teal-deep); transform: translateX(calc(var(--i) * (100% + 4px))); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.spots__tabs button { position: relative; z-index: 1; transition: color .25s; }
.spots__tabs button[aria-selected="true"] { background: none; color: var(--white); }
.spots__tabs button:not([aria-selected="true"]):hover { color: var(--teal-deep); }
.spots__tabs button:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .spots__tabs::before { transition: none; } }

/* Galerie : carrousel */
.carousel__nav { display: flex; gap: 10px; margin-left: auto; }
@media (max-width: 760px) { .carousel__btn { width: 46px; height: 46px; } }
.carousel__btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, opacity .25s; }
.carousel__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__btn:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel__btn:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }
.carousel__track { display: flex; gap: clamp(10px, 1.2vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 clamp(260px, 30vw, 400px); aspect-ratio: 4 / 5; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.carousel__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .carousel__item { flex-basis: 78%; } }

.br-mobile { display: none; }
@media (max-width: 760px) { .br-mobile { display: inline; } }

/* ==========================================================================
   PAGES COURS
   ========================================================================== */
.page-cours .header { background: rgba(112, 191, 196, 0.95); backdrop-filter: blur(10px); padding-block: 8px; }
.page-cours .header__logo img { height: 58px; }
.page-cours .nav ul a { color: var(--ink); text-shadow: none; }
.pc-hero { padding: calc(110px + 3vw) 0 clamp(40px, 6vw, 80px); background: var(--sand); }
.pc-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.crumbs { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.pc-hero__kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 10px; }
.pc-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; margin: 0 0 20px; }
.pc-hero__lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 52ch; margin: 0 0 24px; }
.pc-hero__facts { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-hero__facts li { background: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; }
.pc-hero__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.pc-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-body { background: var(--white); }
.pc-body__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pc-body h2, .tarifs h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 20px; }
.tarifs { background: var(--sand); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); position: sticky; top: 100px; }
.tarifs__sub { color: var(--ink-soft); margin: -8px 0 22px; }
.tarifs__list { list-style: none; padding: 0; margin: 0 0 24px; }
.tarifs__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(10, 50, 54, 0.15); }
.tarifs__list li:first-child { border-top: 1px solid rgba(10, 50, 54, 0.15); }
.tarifs__name { font-weight: 700; display: grid; }
.tarifs__name small { font-weight: 400; font-size: 0.88rem; color: var(--ink-soft); }
.tarifs__val { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: var(--teal-deep); white-space: nowrap; }
.tarifs__note { font-size: 0.95rem; color: var(--ink-soft); margin: -8px 0 22px; }
.pc-faq__more { margin: 28px 0 8px; font-weight: 700; }
.pc-faq__links { padding: 0; list-style: none; display: grid; gap: 6px; }
.pc-faq__links a { color: var(--teal-deep); font-weight: 700; }
.card__more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--teal-deep); }
@media (max-width: 900px) {
  .pc-hero__grid, .pc-body__grid { grid-template-columns: 1fr; }
  .pc-hero { padding-top: 100px; }
  .pc-hero__img { aspect-ratio: 4 / 3; order: -1; }
  .tarifs { position: static; }
}

/* Nav : sous-menu des cours */
.nav__has-sub { position: relative; }
.nav ul.nav__sub {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 6px;
  display: grid; gap: 2px; min-width: 210px; padding: 10px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, translate .2s, visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; } /* pont pour le survol */
.nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; translate: -50% 0; }
.nav ul.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-shadow: none; font-size: 0.95rem; }
.nav ul.nav__sub a::after { display: none; }
.nav ul.nav__sub a:hover { background: var(--sand); }
@media (max-width: 960px) {
  .nav ul.nav__sub { position: static; translate: none; opacity: 1; visibility: inherit; background: none; box-shadow: none; padding: 6px 0 0; min-width: 0; gap: 0; justify-items: center; }
  .nav ul.nav__sub a { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; padding: 4px 0; color: var(--ink-soft); }
  .nav ul.nav__sub a:hover { background: none; }
  .nav__has-sub { display: grid; justify-items: center; }
  .nav ul:not(.nav__sub) { gap: 10px; }
  .nav ul:not(.nav__sub) > li > a { font-size: 1.7rem; }
  .nav { gap: 28px; }
  .page-cours .header { backdrop-filter: none; background: var(--teal); }
}

/* Réservation : photo de Lara & Charly */
.booking__inner { grid-template-columns: 0.9fr 1.1fr; }
.booking__content { display: grid; gap: 32px; }
.booking__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.booking__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
@media (max-width: 900px) { .booking__inner { grid-template-columns: 1fr; } }

/* Hero : nouvelles photos. Les personnes sont au milieu de l'image :
   le titre va dans le ciel (en haut), l'accroche et le bouton dans l'eau / le sable (en bas) */
.hero { align-content: stretch; padding-top: clamp(120px, 16vh, 150px); padding-bottom: clamp(110px, 15vh, 150px); }
.hero__content { display: grid; grid-template-rows: auto 1fr auto auto; }
.hero__h1 { grid-row: 1; margin: 0; }
.hero__lead { grid-row: 3; margin: 0; }
.hero__actions { grid-row: 4; }
.hero__media img { object-position: 50% 40%; }
.hero__veil { background:
  linear-gradient(180deg, rgba(10, 50, 54, 0.45) 0%, rgba(10, 50, 54, 0) 35%),
  linear-gradient(0deg, rgba(10, 50, 54, 0.6) 0%, rgba(10, 50, 54, 0) 35%); }
@media (max-width: 760px) {
  .hero { min-height: 100svh; padding-top: 84px; padding-bottom: 96px; }
  .hero__media img { object-position: 50% 50%; }
  .hero__h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
}

.carousel__nav--below { justify-content: flex-end; margin-top: 20px; }
/* titre du hero sur 2 lignes : « École de surf itinérante » / « en Guadeloupe » */
.hero__what { display: block; white-space: nowrap; }
.hero__h1 { font-size: clamp(2.2rem, 5.2vw, 4.6rem); }
@media (max-width: 760px) { .hero__h1 { font-size: 7.4vw; } }
/* accroche du hero : un peu plus haut et plus lisible */
.hero { padding-bottom: clamp(140px, 19vh, 190px); }
.hero__lead { font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; text-shadow: 0 1px 12px rgba(6, 30, 33, 0.65), 0 1px 2px rgba(6, 30, 33, 0.5); opacity: 1; }
.hero__veil { background:
  linear-gradient(180deg, rgba(10, 50, 54, 0.45) 0%, rgba(10, 50, 54, 0) 35%),
  linear-gradient(0deg, rgba(10, 50, 54, 0.75) 0%, rgba(10, 50, 54, 0.35) 30%, rgba(10, 50, 54, 0) 50%); }
@media (max-width: 760px) { .hero { padding-bottom: 112px; } .hero__lead { font-size: 1.08rem; } }
/* h1 du hero plus grand */
.hero__h1 { font-size: clamp(2.6rem, 6.4vw, 5.8rem); letter-spacing: -0.02em; line-height: 1.02; }
@media (max-width: 760px) { .hero__h1 { font-size: 8.1vw; letter-spacing: -0.025em; } }
/* Mobile : plus de voile teinté sur la photo ; ombre neutre seulement derrière les textes */
@media (max-width: 760px) {
  .hero__veil { background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 28%, rgba(0, 0, 0, 0) 42%); }
  .hero__h1 { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
}

/* ordi : plus d'air entre la nav et le titre */
@media (min-width: 761px) { .hero { padding-top: clamp(140px, 17vh, 170px); } .hero__media img { object-position: 50% 0%; } .hero { padding-bottom: clamp(100px, 12vh, 130px); } }
