/* ============================================================
   STRATOS LOCATIONS — styles.css
   Structure :
   1.  Variables
   2.  Reset & base
   3.  Navigation
   4.  Boutons
   5.  Hero (page d'accueil)
   6.  Sections & grilles
   7.  Cartes bateaux
   8.  Features & split
   9.  Destinations & avis
   10. CTA band & footer
   11. Pages SEO (subhero)
   12. Pages bateaux — hero produit
   13. Pages bateaux — slider photos
   14. Pages bateaux — layout contenu
   15. Pages bateaux — carte réservation
   16. WhatsApp flottant & utilitaires
   17. Responsive ≤ 980px
   18. Responsive ≤ 620px
   19. Accessibilité
   ============================================================ */


/* ─── 1. Variables ────────────────────────────────────────── */
:root {
  /* HERO CARD — MOBILE */
  --hero-card-width-mobile: 400px;
  --hero-card-padding-mobile: 14px;
  --hero-card-title-mobile: 22px;
  --hero-card-text-mobile: 16px;

  --ink:    #071520;
  --muted:  #5d6d78;
  --sea:    #007c89;
  --sea2:   #0fb7c6;
  --sand:   #f5efe5;
  --gold:   #d9b26c;
  --shadow: 0 24px 70px rgba(7, 21, 32, .16);
  --radius: 28px;

  /* =========================================================
     TYPOGRAPHIE TITRES — DESKTOP
     Modifie uniquement les valeurs ci-dessous pour régler
     les tailles de titres sur ordinateur.
     ========================================================= */
  --title-home-h1: 60px;
  --title-section-h2: 36px;
  --title-card-h3: 22px;
  --title-destination-h3: 28px;
  --title-cta-h2: clamp(30px, 4vw, 52px);

  --title-subhero-h1: clamp(36px, 5vw, 70px);
  --title-content-h2: 36px;
  --title-seo-card-h3: 23px;

  --title-boat-hero-h1: clamp(40px, 4.5vw, 60px);
  --title-boat-main-h2: 30px;
  --title-boat-about-h2: 28px;
  --title-boat-departure-h2: 24px;
  --title-booking-h2: 22px;
  --title-boat-cta-h2: 28px;
}


/* ─── 2. Reset & base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fbfc 0, #fff 38%, #f7fbfc 100%);
  line-height: 1.55;
}

a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1160px, calc(100% - 34px));
  margin: auto;
}


/* ─── 3. Navigation ───────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 21, 32, .08);
}

.navin {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.brand img   { width: 42px; height: 42px; object-fit: contain; }
.brand small { display: block; font-weight: 700; color: var(--muted); letter-spacing: .02em; font-size: 14px; }

.links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
}
.links a       { opacity: .78; }
.links a:hover { opacity: 1; }

/* Hamburger — masqué desktop, visible ≤ 980px */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(7, 21, 32, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span                    { width: 18px; height: 2px; background: var(--ink); border-radius: 999px; transition: .22s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px)  rotate(45deg);  }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bouton téléphone — masqué desktop, visible ≤ 980px */
.call-cta-mobile {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sea), var(--sea2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 124, 137, .28);
  border: 1px solid rgba(255, 255, 255, .45);
  margin-left: auto;
  flex: 0 0 auto;
}
.call-cta-mobile svg { width: 19px; height: 19px; fill: currentColor; }


/* ─── 4. Boutons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  border: 1px solid rgba(7, 21, 32, .1);
  box-shadow: 0 14px 30px rgba(7, 21, 32, .16);
  transition: .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(7, 21, 32, .22); }
.btn.light { background: #fff; color: var(--ink); }
.btn.sea   { background: linear-gradient(135deg, var(--sea), var(--sea2)); color: #fff; }


/* ─── 5. Hero (page d'accueil) ────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #071520;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,21,32,.72), rgba(7,21,32,.24) 52%, rgba(7,21,32,.08)),
    linear-gradient(0deg,  rgba(7,21,32,.78), transparent 52%);
  z-index: 1;
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .96;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 92px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* H1 hero — 40px desktop */
.hero h1 {
  font-size: var(--title-home-h1);
  line-height: 1.08;
  letter-spacing: -.045em;
  max-width: 780px;
  margin: 22px 0 18px;
}

.hero p {
  font-size: clamp(17px, 2vw, 22px);
  max-width: 680px;
  color: rgba(255, 255, 255, .86);
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  position: absolute;
  right: 5vw;
  bottom: 48px;
  z-index: 3;
  width: min(340px, calc(100% - 34px));
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 18px;
  color: #fff;
}
.hero-card strong { font-size: 30px; letter-spacing: -.05em; }
.hero-card span   { display: block; color: rgba(255,255,255,.78); font-size: 14px; }


/* ─── 6. Sections & grilles ───────────────────────────────── */
.section     { padding: 50px 0; }
.section.alt { background: var(--sand); }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 30px;
}

/* H2 sections — 40px desktop */
.section h2 {
  font-size: var(--title-section-h2);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 0;
}

.section-head p { max-width: 520px; color: var(--muted); margin: 0; font-weight: 600; margin-top: 16px; }

.grid  { display: grid; gap: 22px; }
.boats { grid-template-columns: repeat(4, 1fr); }


/* ─── 7. Cartes bateaux ───────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(7, 21, 32, .07);
}

.boat-card              { display: flex; flex-direction: column; }
.boat-card .photo       { height: 230px; position: relative; overflow: hidden; }
.boat-card .photo img   { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.boat-card:hover .photo img { transform: scale(1.05); }

.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.boat-card .body { padding: 20px; }
.boat-card h3    { font-size: var(--title-card-h3); letter-spacing: -.04em; margin: 0 0 4px; }
.boat-card p     { color: var(--muted); font-weight: 700; margin: 0 0 16px; }

.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 14px 0 20px; }
.chip  { padding: 7px 10px; border-radius: 999px; background: #f2f7f8; color: #31505b; font-size: 12px; font-weight: 900; }


/* ─── 8. Features & split ─────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}
.feature-img     { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); }
.feature-img img { height: 520px; width: 100%; object-fit: cover; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature {
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(7, 21, 32, .07);
  box-shadow: 0 14px 42px rgba(7, 21, 32, .08);
}
.feature b { font-size: 17px; }
.feature p { color: var(--muted); margin: 6px 0 0; }


/* ─── 9. Destinations & avis ──────────────────────────────── */
.destinations { grid-template-columns: repeat(3, 1fr); }
.destination {
  min-height: 370px;
  position: relative;
  color: #fff;
  overflow: hidden;
  border-radius: 34px;
  display: flex;
  align-items: end;
  padding: 24px;
  box-shadow: var(--shadow);
}
.destination::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,21,32,.76), transparent 58%);
  z-index: 1;
}
.destination img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.destination div { position: relative; z-index: 2; }
.destination h3  { font-size: var(--title-destination-h3); letter-spacing: -.05em; margin: 0; }
.destination p   { color: rgba(255, 255, 255, .82); margin: 6px 0 0; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(7, 21, 32, .07);
  box-shadow: 0 12px 40px rgba(7, 21, 32, .08);
}
.stars    { color: #c49336; letter-spacing: 1px; }
.review p { color: #41525c; }
.review b { display: block; }


/* ─── 10. CTA band & footer ───────────────────────────────── */
.cta-band {
  padding: 48px;
  border-radius: 38px;
  background: linear-gradient(135deg, #071520, #0b5461 58%, #0fb7c6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: var(--title-cta-h2); margin: 0; letter-spacing: -.055em; line-height: 1; }

.footer {
  background: #06121b;
  color: #fff;
  padding: 54px 0 26px;
}
.footgrid      { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer a,
.footer p      { color: rgba(255, 255, 255, .72); }
.footer h3     { margin: 0 0 12px; }

.section-kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 950;
  color: var(--sea);
}


/* ─── 11. Pages SEO — subhero ─────────────────────────────── */
.subhero {
  padding: 74px 0 28px;
  background: linear-gradient(180deg, #e9f6f8, #fff);
}
.subhero h1 {
  font-size: var(--title-subhero-h1);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 18px 0 12px;
  max-width: 900px;
}
.subhero p { font-size: 19px; color: var(--muted); max-width: 720px; }

.seo-grid { grid-template-columns: repeat(3, 1fr); }
.seo-card {
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(7, 21, 32, .07);
  box-shadow: 0 12px 42px rgba(7, 21, 32, .08);
}
.seo-card h3 { font-size: var(--title-seo-card-h3); letter-spacing: -.04em; margin: 0 0 8px; }

.content       { max-width: 900px; }
.content h2    { font-size: var(--title-content-h2); letter-spacing: -.05em; margin: 36px 0 12px; }
.content p,
.content li    { color: #42545e; font-size: 18px; }


/* ─── 12. Pages bateaux — hero produit ───────────────────── */
.boat-product-page {
  background: linear-gradient(180deg, #f7fbfc 0, #fff 260px, #f7fbfc 100%);
}

.product-hero-v4 {
  position: relative;
  background: #06121b;
  color: #fff;
  overflow: hidden;
}
.product-hero-v4::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 22%, rgba(15,183,198,.20), transparent 32%),
    linear-gradient(90deg, rgba(6,18,27,.86), rgba(6,18,27,.44) 52%, rgba(6,18,27,.12)),
    linear-gradient(0deg, rgba(6,18,27,.82), transparent 56%);
}

.product-media-slider { position: absolute; inset: 0; }

/* Desktop : hero = image fixe — on cache les slides 2/3/4 et les contrôles */
@media (min-width: 621px) {
  .product-hero-v4 .slide:not(.is-active)          { display: none; }
  .product-hero-v4 .slider-btn                      { display: none; }
  .product-hero-v4 .slider-dots                     { display: none; }
}

.product-track        { height: 100%; position: relative; }
.product-track .slide     { height: 100%; }
.product-track .slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.04) contrast(1.03); }

.product-hero-overlay {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-end;
}

.product-hero-copy { padding: 127px 0 89px; }
.product-hero-copy h1 {
  font-size: var(--title-boat-hero-h1);
  line-height: .94;
  letter-spacing: -.07em;
  max-width: 920px;
  margin: 18px 0 16px;
  color: #fff;
  text-shadow: 0 18px 54px rgba(0, 0, 0, .35);
}
.product-hero-copy p {
  font-size: clamp(17px, 2vw, 22px);
  max-width: 740px;
  color: rgba(255, 255, 255, .86);
  font-weight: 650;
  margin: 0 0 24px;
}
.product-hero-copy .eyebrow { margin-top: 2px; }

/* Bouton retour */
.boat-back {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  backdrop-filter: blur(14px);
  transition: .22s;
}
.boat-back:hover { transform: translateX(-2px); background: rgba(255, 255, 255, .22); }

/* Bande specs sous le hero */
.quick-strip-v4 {
  position: relative;
  z-index: 4;
  margin-top: -42px;
  padding: 0 0 48px;
}
.quick-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(7, 21, 32, .08);
  box-shadow: 0 24px 70px rgba(7, 21, 32, .14);
}
.quick-strip-inner div    { padding: 18px 20px; border-radius: 22px; background: #fff; border: 1px solid rgba(7,21,32,.06); }
.quick-strip-inner span   { display: block; text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 950; color: var(--muted); margin-bottom: 5px; }
.quick-strip-inner strong { display: block; font-size: 19px; line-height: 1.08; letter-spacing: -.04em; }


/* ─── 13. Pages bateaux — slider photos ───────────────────── */
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .35s ease, transform .55s ease;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide img       { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(0deg, rgba(6,18,27,.74), transparent);
}
.slide figcaption {
  position: absolute;
  left: 26px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.product-hero-v4 figcaption  { display: none; }
.product-hero-v4 .slider-btn  { z-index: 5; }
.product-hero-v4 .slider-dots { z-index: 6; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(14px);
}
.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.slider-dots button           { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.38); padding: 0; cursor: pointer; }
.slider-dots button.is-active { width: 26px; background: #fff; }

/* Slider inline dans la fiche */
.photo-mosaic-v4 {
  position: relative;
  width: 100%;
  height: 470px;
  min-height: 470px;
  margin: 0 0 8px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #06121b;
}
.inline-boat-slider .inline-track { height: 470px; min-height: 470px; position: relative; }
.inline-boat-slider .slide         { height: 470px; }
.inline-boat-slider .slide img     { width: 100%; height: 100%; object-fit: cover; }
.inline-boat-slider .slide::after  { height: 24%; }
.inline-boat-slider .slider-btn    { background: rgba(7,21,32,.24); border-color: rgba(255,255,255,.35); }
.inline-boat-slider .slider-dots   { bottom: 16px; }


/* ─── 14. Pages bateaux — layout contenu ─────────────────── */
.product-layout-v4 { padding-top: 16px; }

.product-grid-v4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 30px;
  align-items: start;
}

.product-main-v4 { min-width: 0; }

/* H2 contenu bateau — 30px desktop */
.product-main-v4 h2 {
  font-size: var(--title-boat-main-h2);
  line-height: 1;
  letter-spacing: -.06em;
  margin: 46px 0 16px;
}

.big-lead { font-size: 17px; max-width: 780px; color: #516875; font-weight: 750; line-height: 1.55; }

/* Section À propos */
.about-boat-v5 {
  margin-top: 20px;
  margin-bottom: 40px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(7, 21, 32, .07);
  box-shadow: 0 18px 54px rgba(7, 21, 32, .08);
}
.about-boat-v5 h2 {
  font-size: var(--title-boat-about-h2);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 0 0 16px;
}
.about-boat-v5 .about-text {
  color: var(--muted);
  font-weight: 650;
  font-size: 15.5px;
  line-height: 1.65;
}
.about-boat-v5 .about-text p { margin: 0; color: var(--muted); font-weight: 650; }
.about-boat-v5 .about-text.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.see-more {
  margin-top: 16px;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(7, 21, 32, .16);
}

/* Départ desktop */
.departure-copy    { display: block; }
.departure-copy h2 { font-size: var(--title-boat-departure-h2); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 8px; }
.departure-copy p  { margin: 0; font-size: 15.5px; line-height: 1.6; }

/* Départ mobile (masqué desktop) */
.mobile-departure  { display: none; }

/* Révélation scroll */
.reveal            { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }


/* ─── 15. Pages bateaux — carte réservation ──────────────── */
.booking-card-v4 {
  position: sticky;
  top: 92px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, #eefafb);
  border: 1px solid rgba(7, 21, 32, .08);
  box-shadow: var(--shadow);
}
.booking-card-v4 h2 { font-size: var(--title-booking-h2); line-height: 1.2; letter-spacing: -.025em; margin: 8px 0; }
.booking-card-v4 p  { color: var(--muted); font-weight: 750; font-size: 14px; margin: 0 0 12px; }
.booking-card-v4 ul { padding: 0; margin: 16px 0; list-style: none; display: grid; gap: 8px; }
.booking-card-v4 li { padding: 10px 12px; border-radius: 18px; background: #fff; border: 1px solid rgba(7,21,32,.06); font-weight: 800; color: #38505b; font-size: 14px; }
.booking-card-v4 .btn { width: 100%; margin-top: 10px; }

/* CTA band dans les pages bateaux */
.boat-product-page .cta-band    { padding: 24px 28px; border-radius: 30px; }
.boat-product-page .cta-band h2 { font-size: var(--title-boat-cta-h2); line-height: 1.2; letter-spacing: -.025em; }

/* Bouton sticky mobile (masqué desktop) */
.sticky-reserve-mobile { display: none; }


/* ─── 16. WhatsApp flottant ───────────────────────────────── */
.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 44px rgba(37, 211, 102, .35);
  border: 1px solid rgba(255, 255, 255, .5);
}
.whatsapp svg   { width: 29px; height: 29px; fill: currentColor; }
.whatsapp:hover { transform: translateY(-2px) scale(1.03); }

/* ─── Instagram flottant ───────────────────────────────────── */
.insta-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #C13584;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(193, 53, 132, .35);
  border: 1px solid rgba(255, 255, 255, .4);
  transition: transform .2s;
}
.insta-float:hover { transform: translateY(-2px) scale(1.03); }
.insta-float svg   { width: 26px; height: 26px; fill: #fff; }



/* ─── 17. Responsive ≤ 980px ──────────────────────────────── */
@media (max-width: 980px) {

  /* Nav */
  .hamburger       { display: flex; }
  .call-cta-mobile { display: flex; }
  .navin           { gap: 10px; }
  .brand           { min-width: 0; }
  .brand span      { white-space: nowrap; }

  .links {
    display: none;
    position: fixed;
    left: 17px;
    right: 17px;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(7, 21, 32, .08);
    border-radius: 26px;
    padding: 14px;
    box-shadow: 0 24px 70px rgba(7, 21, 32, .18);
  }
  .links.is-open { display: flex; }
  .links a       { padding: 12px 14px; border-radius: 18px; }
  .links .btn    { width: 100%; }

  /* Grilles */
  .boats, .destinations, .reviews, .seo-grid { grid-template-columns: 1fr 1fr; }
  .split, .footgrid                           { grid-template-columns: 1fr; }

  /* Hero */
  .hero-card { position: relative; right: auto; bottom: auto; margin: 0 auto 20px; }

  /* Quick strip */
  .quick-strip-inner { grid-template-columns: repeat(2, 1fr); }

  /* Layout bateau */
  .product-grid-v4 { grid-template-columns: 1fr; }
  .booking-card-v4 { position: relative; top: 0; }

  /* Sticky CTA */
  .sticky-reserve-mobile {
    position: fixed;
    left: 80px;
    right: 84px;
    bottom: 18px;
    z-index: 59;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sea), var(--sea2));
    color: #fff;
    font-weight: 950;
    box-shadow: 0 16px 44px rgba(0, 124, 137, .32);
    border: 1px solid rgba(255, 255, 255, .55);
  }

  .footer { padding-bottom: 110px; }

  /* Scroll anchors */
  html { scroll-padding-top: 86px; }
  [id], .hero, .section, .subhero,
  .product-hero-v4, .quick-strip-v4,
  .product-layout-v4, .boat-product-page .section,
  .footer { scroll-margin-top: 86px; }
}


/* ─── 18. Responsive ≤ 620px ──────────────────────────────── */
@media (max-width: 620px) {

  :root {
    /* =======================================================
       TYPOGRAPHIE TITRES — MOBILE
       Modifie uniquement les valeurs ci-dessous pour régler
       les tailles de titres sur téléphone.
       Les valeurs actuelles reprennent le rendu existant.
       ======================================================= */
    --title-home-h1: 40px;
    --title-section-h2: 32px;
    --title-card-h3: 22px;
    --title-destination-h3: 28px;
    --title-cta-h2: clamp(30px, 4vw, 52px);

    --title-subhero-h1: clamp(36px, 5vw, 70px);
    --title-content-h2: 32px;
    --title-seo-card-h3: 23px;

    --title-boat-hero-h1: 26px;
    --title-boat-main-h2: 30px;
    --title-boat-about-h2: 18px;
    --title-boat-departure-h2: 18px;
    --title-booking-h2: 22px;
    --title-boat-cta-h2: 28px;
  }

  /* Nav */
  .navin           { height: 66px; }
  .brand small     { display: none; }
  .links           { top: 66px; }
  .call-cta-mobile,
  .hamburger       { width: 42px; height: 42px; }

  /* Sections */
  .section         { padding: 58px 0; }
  .section-head    { display: block; }
  .section-head h2 { margin-bottom: 16px; }

  /* Grilles */
  .boats, .destinations, .reviews, .seo-grid, .features { grid-template-columns: 1fr; }

  /* Hero */
  .hero            { min-height: 760px; align-items: start; }
  .hero-content    { padding: 32px 0 28px; }
  .hero .eyebrow   { margin-top: 0; }

  /* CTA band */
  .cta-band        { display: flex; flex-direction: column; align-items: flex-start; gap: 34px; padding: 30px; }
  .cta-band .btn   { width: 100%; }

  .feature-img img { height: 360px; }

  /* Scroll anchors */
  html { scroll-padding-top: 74px; }
  [id], .hero, .section, .subhero,
  .product-hero-v4, .quick-strip-v4,
  .product-layout-v4, .boat-product-page .section,
  .footer { scroll-margin-top: 74px; }

  #bateaux { scroll-margin-top: 56px; padding-top: 42px; }

  /* Pages bateaux mobile */
  .boat-card .photo  { height: 260px; }

  /* ── Pages bateaux mobile : flux normal, zéro positionnement absolu résiduel ── */
  .boat-product-page {
    background: #fff;
    padding-bottom: 80px; /* espace pour le sticky CTA */
  }

  /* 1. Hero : devient un bloc en flux normal */
  .product-hero-v4 {
    position: static;        /* supprime le relative qui piège les enfants abs */
    background: #fff;
    color: var(--ink);
    overflow: visible;
    min-height: 0;
    height: auto;
  }
  .product-hero-v4::after { display: none; }

  /* 2. Slider photo hero mobile : block normal, hauteur fixe, arrondi bas */
  .product-media-slider {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
  }
  .product-track,
  .product-track .slide { height: 260px; min-height: 0; }
  .product-track .slide img { transform: none; }

  /* 3. Overlay : block normal sous le slider */
  .product-hero-overlay {
    position: static;
    display: block;
    min-height: 0;
    height: auto;
    background: #fff;
    color: var(--ink);
  }

  /* 4. Texte hero : padding simple, tout en noir */
  .product-hero-copy {
    padding: 16px 20px 8px;
    background: #fff;
    color: var(--ink);
  }
  .product-hero-copy .boat-back {
    display: inline-flex;
    position: static;        /* supprime l'absolute qui causait le chevauchement */
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    background: #f2f5f6;
    color: var(--ink);
    border: 1px solid rgba(7,21,32,.08);
    box-shadow: none;
    backdrop-filter: none;
  }
  .product-hero-copy .eyebrow {
    background: #eefafb;
    color: #38505b;
    border: 1px solid rgba(7,21,32,.06);
    font-size: 10px;
    padding: 6px 10px;
  }
  .product-hero-copy h1 {
    font-size: var(--title-boat-hero-h1);
    line-height: 1.1;
    letter-spacing: -.04em;
    color: var(--ink);
    text-shadow: none;
    margin: 8px 0 8px;
  }
  .product-hero-copy p {
    font-size: 14px;
    line-height: 1.55;
    color: #516875;
    font-weight: 650;
    margin: 0 0 0;
  }
  .product-hero-copy .hero-actions { display: none; }

  /* 5. Quick strip */
  .quick-strip-v4 {
    margin-top: 0;
    padding: 12px 16px 8px;
    background: #fff;
  }
  .quick-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .quick-strip-inner div    { padding: 12px 10px; background: #f5fafb; border: 1px solid rgba(7,21,32,.06); border-radius: 16px; }
  .quick-strip-inner span   { font-size: 9px; }
  .quick-strip-inner strong { font-size: 13px; line-height: 1.2; }
  .product-hero-v4 .slider-btn { display: none; }
  /* Boutons flèches hero visibles sur mobile */
  .product-media-slider .slider-btn {
    display: flex;
    width: 36px;
    height: 36px;
    font-size: 24px;
    background: rgba(255,255,255,.82);
    color: var(--ink);
    border-color: rgba(255,255,255,.5);
    backdrop-filter: none;
  }
  .product-media-slider .slider-btn.prev { left: 10px; }
  .product-media-slider .slider-btn.next { right: 10px; }
  .slider-dots { bottom: 10px; }

  /* 6. Layout contenu : flex colonne, espaces via margin */
  .product-layout-v4 { padding: 4px 0 0; }
  .product-grid-v4 {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* 7. Carte réservation : en premier, position static */
  .booking-card-v4 {
    order: 1;
    position: static;        /* pas de sticky, pas de relative avec top */
    margin: 0 16px 14px;
    padding: 18px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(7,21,32,.08);
  }
  .booking-card-v4 .btn.light { display: none; }

  /* 8. Contenu principal : en second */
  .product-main-v4 {
    order: 2;
    padding: 0 16px;
    overflow: visible;
  }
  .product-main-v4 .big-lead              { display: none; }
  .photo-mosaic-v4.inline-boat-slider     { display: none; }

  /* 9. À propos : texte toujours entièrement visible, pas de line-clamp */
  .about-boat-v5 {
    margin: 0 0 14px;
    padding: 18px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(7,21,32,.08);
    overflow: visible;
  }
  .about-boat-v5 h2 { font-size: var(--title-boat-about-h2); line-height: 1.2; margin-bottom: 10px; }
  .about-boat-v5 .about-text {
    font-size: 14px;
    line-height: 1.6;
  }
  .about-boat-v5 .about-text.collapsed {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
  }
  .about-boat-v5 .see-more { display: none; }

  /* 10. Départ mobile */
  .departure-copy   { display: none; }
  .mobile-departure {
    display: block;
    margin: 0 0 14px;
    padding: 18px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(7,21,32,.08);
  }
  .mobile-departure h2 { font-size: var(--title-boat-departure-h2); line-height: 1.2; margin: 0 0 8px; }
  .mobile-departure p  { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

  /* 11. CTA section */
  .boat-product-page .section.alt { padding: 14px 0 20px; background: #fff; }
  .boat-product-page .cta-band    { margin: 0 16px; padding: 20px; border-radius: 22px; }
  .boat-product-page .cta-band p  { font-size: 14px; margin: 6px 0 0; }
  .boat-product-page .cta-band .btn { display: none; }

  /* Sticky CTA */
  .sticky-reserve-mobile { right: 78px; height: 48px; font-size: 14px; }

  
  
  /* ─── BOAT CARD TEXT WRAP (mobile) ───────────────── */
  .boat-card p {
    max-width: 240px;
  }

  /* ─── HERO CARD MOBILE ───────────────────────────── */
  .hero-card {
    width: 100%;
    max-width: var(--hero-card-width-mobile);
    padding: var(--hero-card-padding-mobile);
  }

  .hero-card strong {
    font-size: var(--hero-card-title-mobile);
  }

  .hero-card span {
    font-size: var(--hero-card-text-mobile);
  }

  /* WhatsApp */
  .whatsapp     { width: 48px; height: 48px; bottom: 18px; }
  .whatsapp svg { width: 27px; height: 27px; }
}


/* ─── 19. Accessibilité ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .product-track .slide img { transition: none; transform: none; }
}
