:root {
  --c-navy-900: #0d2b4d;   /* couleur principale — navy profond */
  --c-navy-700: #1a4570;
  --c-navy-500: #2f6699;
  --c-navy-100: #dfe9f3;
  --c-saffron-600: #e8d61f;   /* hover / actif — un poil + sombre/saturé */
  --c-saffron-500: #ffee32;   /* couleur principale — jaune franc lumineux */
  --c-saffron-300: #fff7a3;   /* clair pour fonds doux */
  --c-saffron-100: #fffce6;   /* très clair pour fonds discrets */
  --c-ink-900: #1a1d23;
  --c-ink-700: #2e3440;
  --c-ink-500: #525a6b;
  --c-ink-300: #9097a3;
  --c-paper-50: #fafaf7;
  --c-paper-100: #f4f3ee;
  --c-paper-200: #e8e6df;
  --c-white: #ffffff;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-md: 0 4px 12px -2px rgba(13,43,77,0.08), 0 2px 6px -2px rgba(13,43,77,0.05);
  --shadow-lg: 0 12px 24px -6px rgba(13,43,77,0.12), 0 6px 12px -6px rgba(13,43,77,0.06);
  --shadow-xl: 0 24px 48px -12px rgba(13,43,77,0.18);
  --transition: 220ms cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink-700);
  background-color: var(--c-paper-50);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) { .container { padding: 0 40px; } }

/* ─── Header ─────────────────────────────────────────────────────── */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 18px 0;
}
@media (min-width: 1024px) {
  .header { padding: 24px 0; }
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px) {
  .header__inner { padding: 0 40px; }
}
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--c-white);
  min-width: 0;  /* permet le wrap correct */
  background: #fff;
  border-radius: var(--radius-full);
  padding-right: 24px;
  height: 47px;  /* aligne sur la hauteur du CTA "Webcam live" */
}
.header__logo img {
  display: block;
  height: 47px;
  width: auto;
  flex-shrink: 0;
}
.header__logo span {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--c-navy-900);
}
@media (min-width: 1024px) {
  /* hauteur déjà 47px — pas d'override img/span pour conserver l'alignement */
}
/* ─── Burger button (mobile only) ─────────────────────────────── */
.header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 60;
  position: relative;
}
.header__burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--c-white);
  border-radius: 2px;
  transition: transform 200ms, opacity 200ms;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
body.nav-open .header__burger span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
body.nav-open .header__burger span:nth-child(2) { opacity: 0; }
body.nav-open .header__burger span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
@media (min-width: 1200px) {
  .header__burger { display: none; }
}

/* ─── Nav : mobile = drawer overlay, desktop = horizontal inline ─ */
.header__nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--c-navy-900);
  padding: 100px 32px 40px;
  z-index: 50;
  overflow-y: auto;
}
body.nav-open .header__nav { display: block; }
body.nav-open { overflow: hidden; }
.header__nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__nav li { margin: 0; }
.header__nav a {
  display: block;
  padding: 18px 0;
  color: var(--c-white);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: opacity var(--transition);
}
.header__nav a:hover { opacity: 0.7; }

/* Le filter walker_nav_menu_start_el (functions.php) convertit les liens
 * "current" en <span> — on doit donc styler aussi le <span> comme un <a>. */
.header__nav span {
  display: block;
  padding: 18px 0;
  color: var(--c-white);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 1200px) {
  .header__nav {
    display: block;
    position: static;
    background: transparent;
    padding: 0;
    overflow: visible;
  }
  .header__nav ul {
    flex-direction: row;
    gap: 32px;
    align-items: center;
  }
  .header__nav a,
  .header__nav span {
    padding: 0;
    font-size: 15px;
    border-bottom: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  body.nav-open { overflow: auto; }
}
.header__nav .current-menu-item > a,
.header__nav .current-menu-item > span,
.header__nav .current_page_item > a,
.header__nav .current_page_item > span,
.header__nav .current-menu-ancestor > a,
.header__nav .current-menu-ancestor > span,
.header__nav .current-menu-parent > a,
.header__nav .current-menu-parent > span {
  color: var(--c-white) !important;
  /* Souligne sans changer la box (text-decoration n'affecte pas la hauteur,
   * contrairement à border-bottom + padding qui décalait l'alignement). */
  text-decoration: underline;
  text-decoration-color: var(--c-saffron-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* Override pour les items current DANS le sub-menu (panel blanc) :
 * la règle au-dessus passe en blanc (fait pour le hero navy), mais
 * dans le mega-menu blanc ça les rend invisibles. On force navy. */
.header__nav .sub-menu .current-menu-item > a,
.header__nav .sub-menu .current-menu-item > span,
.header__nav .sub-menu .current-menu-item .mega-title,
.header__nav .sub-menu .current_page_item > a,
.header__nav .sub-menu .current_page_item .mega-title {
  color: var(--c-navy-900) !important;
  text-decoration-color: var(--c-saffron-500);
  text-underline-offset: 4px;
}
.header__nav .sub-menu .current-menu-item .mega-count,
.header__nav .sub-menu .current_page_item .mega-count {
  color: var(--c-saffron-700, #b88600) !important;
}

/* ═══════════════════════════════════════════════════════════════════
 * MEGA-MENU style magazine (sprint 5 v2 — inspiration tourismelandes)
 * Fond blanc, typographie sobre, image vedette à droite,
 * hover saffron en sous-ligne fine.
 * ═══════════════════════════════════════════════════════════════════ */

.header__nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Indicateur ▾ sur les parents */
.header__nav .menu-item-has-children > a,
.header__nav .menu-item-has-children > span {
  cursor: default;
}
.header__nav .menu-item-has-children > a::after,
.header__nav .menu-item-has-children > span::after {
  content: " ▾";
  display: inline-block;
  font-size: 0.65em;
  margin-left: 6px;
  opacity: 0.6;
  font-weight: 400;
}

/* Mega-link mobile (drawer) — sobre */
.header__nav .mega-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: opacity var(--transition);
}
.header__nav .mega-link:hover { opacity: 0.7; }
.header__nav .mega-title {
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  letter-spacing: 0.01em;
}
.header__nav .mega-count {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── DESKTOP : mega-menu blanc style magazine ─────────────────────── */
@media (min-width: 1200px) {
  .header__nav > .menu > li {
    position: relative;
  }
  /* Le mega-menu s'ancre sur la nav (pas sur le parent hover) :
   * même largeur + même position quelle que soit l'entrée hover. */
  .header__nav {
    position: relative;
  }
  .header__nav > .menu > li {
    position: static;
  }

  .header__nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -8px);
    width: 960px;
    max-width: 94vw;
    padding: 44px 56px;
    padding-right: 320px; /* réserve l'image vedette à droite */
    background: #fff;
    box-shadow: 0 28px 64px rgba(15, 30, 60, 0.20);
    border-radius: 12px;
    overflow: hidden; /* clip l'image vedette pour suivre le radius */
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    column-gap: 56px;
    row-gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease;
    z-index: 100;
    margin-top: 18px;
  }
  /* JS-mega-menu : désactive :hover natif (le JS gère via .mega-active)
   * pour éviter que le transit souris vers le panel n'ouvre les sub-menus
   * voisins. Fallback no-JS conservé via :hover ci-dessous. */
  body.js-mega-menu .header__nav .menu-item-has-children:hover > .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
  }
  body.js-mega-menu .header__nav .menu-item-has-children.mega-active > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  /* Image vedette à droite du panel */
  .header__nav .menu-item-has-children > .sub-menu::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background-color: #f4f1eb;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .header__nav .mega-cat-hebergements > .sub-menu::after {
    background-image: url('/wp-content/uploads/2022/04/hotels-capbreton.jpg');
  }
  .header__nav .mega-cat-manger-boire > .sub-menu::after {
    background-image: url('/wp-content/uploads/2022/04/restaurant-capbreton-820x460.jpg');
  }
  .header__nav .mega-cat-a-faire > .sub-menu::after {
    background-image: url('/wp-content/uploads/2022/04/capbreton-plage.jpg');
  }
  .header__nav .mega-cat-meteo-marees > .sub-menu::after {
    background-image: url('/wp-content/uploads/2022/04/capbreton-foret.jpg');
  }

  /* 1 seul enfant : 1 col */
  .header__nav .sub-menu:has(li:only-child) {
    grid-template-columns: 1fr;
    min-width: 600px;
  }
  /* 2 enfants : 1 col (Manger & boire) */
  .header__nav .sub-menu:has(li:nth-child(2):last-child) {
    grid-template-columns: 1fr;
    min-width: 600px;
  }

  /* Image vedette à droite — overlay sur sous-menu via pseudo-element
   * qui n'occupe pas la grid (positionné en absolute dans le panel). */
  .header__nav .menu-item-has-children > .sub-menu {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 0; /* hidden par défaut sauf overrides ci-dessous */
  }

  /* Pas de pont invisible — c'est le JS qui maintient le mega-active
   * et la fermeture est ancrée sur nav.mouseleave (pas li.mouseleave). */
  .header__nav .menu-item-has-children:hover > .sub-menu,
  .header__nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .header__nav .sub-menu li {
    width: 100%;
    list-style: none;
  }
  .header__nav .sub-menu .mega-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 30, 60, 0.08);
    color: var(--c-navy-900);
    text-shadow: none;
    border-radius: 0;
    background: transparent;
    transition: color 0.15s;
  }
  .header__nav .sub-menu li:last-child .mega-link {
    border-bottom: none;
  }
  .header__nav .sub-menu .mega-link:hover {
    background: transparent;
    color: var(--c-navy-900);
    opacity: 1;
  }
  .header__nav .sub-menu .mega-title {
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: none;
  }
  .header__nav .sub-menu .mega-link:hover .mega-title {
    color: var(--c-saffron-700, #b88600);
  }
  .header__nav .sub-menu .mega-count {
    font-size: 11px;
    font-weight: 400;
    color: rgba(15, 30, 60, 0.45);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: none;
  }
  .header__nav .sub-menu .mega-link:hover .mega-count {
    color: var(--c-saffron-700, #cc9900);
  }

  /* Header "Tous les <X>" en haut de chaque colonne pourrait être
   * ajouté plus tard via filter walker_nav_menu_start_lvl. */
}
.header__cta {
  display: none;  /* caché sur mobile — accessible via le menu drawer */
  background-color: transparent;
  color: var(--c-white);
  padding: 11px 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--c-saffron-500);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-shadow: none;
  transition: all var(--transition);
}
@media (min-width: 1200px) {
  .header__cta { display: inline-flex; align-items: center; }
}
.header__cta:hover {
  background-color: var(--c-saffron-500);
  color: var(--c-ink-900);
  border-color: var(--c-saffron-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: max(640px, 75vh);
  background:
    linear-gradient(180deg, rgba(13,43,77,0.45) 0%, rgba(13,43,77,0.25) 50%, rgba(13,43,77,0.65) 100%),
    url('https://port-capbreton.fr/wp-content/uploads/2022/04/capbreton-tourisme.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 60px;
}
@media (min-width: 768px) {
  .hero { padding: 140px 0 80px; }
}
.hero__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  color: var(--c-white);
}
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-saffron-500);
  margin-bottom: 16px;
}
.hero__title {
  margin: 0 0 20px;
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 900px;
}
.hero__lead {
  font-size: 18px;
  line-height: 1.55;
  max-width: 600px;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.92);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
/* Tous les boutons : fond transparent + bordure jaune. Texte selon contexte. */
.btn--primary {
  background-color: transparent;
  color: var(--c-navy-900);
  border-color: var(--c-saffron-500);
  border-width: 2px;
}
.btn--primary:hover {
  background-color: var(--c-saffron-500);
  color: var(--c-ink-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--primary.btn--on-dark { color: var(--c-white); }
.btn--primary.btn--on-dark:hover { background-color: var(--c-saffron-500); color: var(--c-ink-900); }

.btn--ghost {
  background: transparent;
  border-color: var(--c-saffron-500);
  color: var(--c-white);
  border-width: 2px;
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background-color: var(--c-saffron-500); color: var(--c-ink-900); }

/* Variante "solid" historique remplacée par même style que primary outline */
.btn--solid {
  background-color: transparent;
  color: var(--c-navy-900);
  border-color: var(--c-saffron-500);
  border-width: 2px;
}
.btn--solid:hover {
  background-color: var(--c-saffron-500);
  color: var(--c-ink-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ─── Section common ─────────────────────────────────────────────── */
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.section__head {
  text-align: center;
  margin-bottom: 56px;
}
.section__pill {
  display: inline-block;
  background-color: transparent;
  color: var(--c-navy-900);
  padding: 7px 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--c-saffron-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--c-navy-900);
}
.section__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink-500);
  max-width: 640px;
  margin: 0 auto;
}

/* ─── Carte interactive home (Leaflet) ───────────────────────────── */
.map-section { padding: 80px 0 96px; }
.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.map-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--c-white);
  border: 1.5px solid var(--c-paper-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-700);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.map-filter-chip:hover { border-color: var(--c-navy-700, #1a4570); }
.map-filter-chip.is-active {
  background: var(--c-navy-900);
  border-color: var(--c-navy-900);
  color: var(--c-white);
}
.map-filter-chip__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-navy-900);
  flex-shrink: 0;
}
.map-filter-chip__dot--hotel        { background: #0d2b4d; }
.map-filter-chip__dot--camping      { background: #2f6699; }
.map-filter-chip__dot--gite         { background: #1a4570; }
.map-filter-chip__dot--chambre-hote { background: #5d8db7; }
.map-filter-chip__dot--restaurant   { background: #d68b1d; }
.map-filter-chip__dot--bar          { background: #b8312a; }
.map-filter-chip__dot--site-culturel{ background: #7c3aed; }
.map-filter-chip__dot--balade       { background: #10b981; }
.map-filter-chip__dot--ecole-de-surf{ background: #06b6d4; }
.map-filter-chip__dot--plage        { background: #facc15; }
.map-filter-chip__dot--commerce     { background: #f97316; }
.map-filter-chip__dot--activite     { background: #84cc16; }
.map-filter-chip__dot--evenement    { background: #ec4899; }
.map-filter-chip__count {
  display: inline-block;
  padding: 1px 7px;
  background: rgba(13, 43, 77, 0.08);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-ink-500);
}
.map-filter-chip.is-active .map-filter-chip__count {
  background: rgba(255, 255, 255, 0.18);
  color: var(--c-saffron-500);
}
.map-canvas {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-paper-200);
}
@media (min-width: 768px) {
  .map-canvas { height: 580px; }
}
.gh-map-marker {
  background: transparent;
  border: 0;
}
.gh-map-marker span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 6px rgba(13,43,77,0.4);
}
.gh-map-popup { font-size: 13px; line-height: 1.4; }
.gh-map-popup strong { color: var(--c-navy-900); font-size: 14px; }
.gh-map-popup__type {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-ink-500);
}
.gh-map-popup a {
  color: var(--c-saffron-600);
  font-weight: 700;
  text-decoration: none;
}
.gh-map-popup a:hover { text-decoration: underline; }

/* ─── Archive links row (home — 4 boutons hébergements) ─────────── */
.archive-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

/* ─── Conditions live (home) — météo + marées + webcam thumbnail ── */
.live-section { padding: 56px 0 40px; }
@media (min-width: 768px) {
  .live-section { padding: 72px 0 48px; }
}
.live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .live-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.live-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700, #1a4570) 100%);
  color: var(--c-white);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  min-height: 200px;
}
.live-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.live-card__pill {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-saffron-500);
}
.live-card__pill--red {
  background: rgba(231, 76, 60, 0.25);
  border-color: rgba(231, 76, 60, 0.5);
  color: #ffeded;
}
.live-card__main {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.live-card__icon { font-size: 44px; line-height: 1; }
.live-card__big {
  font-size: 38px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.live-card__label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.live-card__hint {
  margin-top: auto;
  font-size: 12px;
  color: var(--c-saffron-500);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Tides rows */
.live-card__tide-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.live-card__tide-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md, 10px);
  font-size: 13px;
}
.live-card__tide-type {
  font-weight: 700;
  color: var(--c-saffron-500);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.live-card__tide-type--bm { color: rgba(255,255,255,0.7); }
.live-card__tide-time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
.live-card__tide-level {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-variant-numeric: tabular-nums;
}
.live-card__loading {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 14px 0;
  text-align: center;
}

/* Webcam thumbnail */
.live-card--webcam {
  padding: 0;
  min-height: 200px;
  display: block;
}
.live-card__webcam-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.live-card__webcam-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(13,43,77,0.05) 0%, rgba(13,43,77,0.7) 80%);
  color: var(--c-white);
}
.live-card__webcam-label {
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ─── Action tiles (home — Quoi faire ?) ─────────────────────────── */
.action-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .action-tiles { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.action-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px;
  background: var(--c-white);
  border: 2px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--c-ink-900);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  min-height: 180px;
}
.action-tile:hover {
  transform: translateY(-4px);
  border-color: var(--c-saffron-500);
  box-shadow: var(--shadow-lg);
}
.action-tile__icon {
  font-size: 36px;
  line-height: 1;
}
.action-tile__label {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: -0.01em;
}
.action-tile__desc {
  font-size: 13px;
  color: var(--c-ink-500);
  line-height: 1.4;
  flex: 1;
}
.action-tile__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.action-tile:hover .action-tile__count {
  color: var(--c-navy-700, #1a4570);
}

/* ─── Feature row (image + texte) ────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 768px) {
  .feature-row { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .feature-row--reverse > :first-child { order: 2; }
}
.feature-row__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.feature-row__content h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--c-navy-900);
}
.feature-row__content p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink-500);
  margin: 0 0 28px;
}

/* ─── Cards grid (portrait, radius marqué) ───────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }
.cards-grid--5 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .cards-grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid--5 { grid-template-columns: repeat(5, 1fr); } }
.cards-grid--3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .cards-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background-color: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--c-paper-100);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-white);
  color: var(--c-navy-900);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(13,43,77,0.15);
  z-index: 1;
}
.card__body { padding: 20px 22px 24px; }
.card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-saffron-600);
  margin-bottom: 8px;
}
.card__date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-navy-900);
  background-color: transparent;
  border: 1.5px solid var(--c-saffron-500);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
}
.card__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-navy-900);
  line-height: 1.3;
}
.card__meta {
  font-size: 14px;
  color: var(--c-ink-500);
  line-height: 1.4;
}

/* ─── Immersive banner ───────────────────────────────────────────── */
.banner {
  position: relative;
  min-height: 460px;
  background:
    linear-gradient(180deg, rgba(13,43,77,0.4) 0%, rgba(13,43,77,0.6) 100%),
    url('https://port-capbreton.fr/wp-content/uploads/2022/04/Capbreton-plage-1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  border-radius: var(--radius-xl);
  margin: 0 24px;
  overflow: hidden;
  color: var(--c-white);
}
@media (min-width: 768px) {
  .banner { margin: 0 40px; min-height: 520px; }
}
.banner__pill {
  display: inline-block;
  background-color: transparent;
  color: var(--c-white);
  padding: 7px 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--c-saffron-500);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.banner__title {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 780px;
}
.banner__lead {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 580px;
  color: rgba(255,255,255,0.92);
}

/* ─── Duo cards (2 cards larges côte-à-côte) ─────────────────────── */
.duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .duo { grid-template-columns: 1fr 1fr; gap: 32px; } }
.duo__card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
}
.duo__card:hover { transform: translateY(-4px); }
.duo__card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,43,77,0) 0%, rgba(13,43,77,0.8) 100%);
}
.duo__inner {
  position: relative;
  z-index: 1;
  padding: 32px 32px 36px;
  width: 100%;
}
.duo__pill {
  display: inline-block;
  background-color: transparent;
  color: var(--c-white);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--c-saffron-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.duo__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.duo__lead {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.92);
  max-width: 380px;
}

/* ─── Mini features (icons + texte) ──────────────────────────────── */
.mini-features {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 640px) { .mini-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mini-features { grid-template-columns: repeat(4, 1fr); } }
.mini-feature {
  background-color: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.mini-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mini-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--c-saffron-100);
  color: var(--c-saffron-600);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  font-size: 24px;
}
.mini-feature__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-navy-900);
}
.mini-feature__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink-500);
  margin: 0;
}

/* ─── Page Windguru ───────────────────────────────────────────────── */
.windguru-widget-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px;
  background: var(--c-white);
  border: 1px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.windguru-widget {
  overflow-x: auto;
}
.windguru-widget__credit {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--c-ink-500);
  text-align: center;
}
.windguru-widget__credit a {
  color: var(--c-navy-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-saffron-500);
}

/* Resources cards (météo / marées / webcam / écoles) */
.windguru-resources {
  max-width: 1000px;
  margin: 80px auto 0;
}
.windguru-resources__title {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 700;
  color: var(--c-navy-900);
  text-align: center;
  letter-spacing: -0.01em;
}
.windguru-resources__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .windguru-resources__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .windguru-resources__grid { grid-template-columns: repeat(4, 1fr); } }
.windguru-resource-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  background: var(--c-white);
  border: 2px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--c-ink-900);
  transition: all var(--transition);
}
.windguru-resource-card:hover {
  border-color: var(--c-saffron-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.windguru-resource-card__icon {
  font-size: 30px;
  line-height: 1;
}
.windguru-resource-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy-900);
}
.windguru-resource-card__lead {
  font-size: 13px;
  line-height: 1.4;
  color: var(--c-ink-500);
}

/* ─── Page Contact ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; }
}
.contact-aside__title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: -0.01em;
}
.contact-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-reasons li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: flex-start;
}
.contact-reasons__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-saffron-100, #fffce6);
  border: 2px solid var(--c-saffron-500);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
}
.contact-reasons li strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy-900);
  margin-bottom: 4px;
}
.contact-reasons li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink-500);
}
.contact-aside__direct {
  padding: 24px;
  background: var(--c-paper-50);
  border: 1px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
}
.contact-aside__direct-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-navy-900);
}
.contact-aside__direct p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink-700);
}
.contact-aside__direct a {
  color: var(--c-navy-900);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--c-saffron-500);
  text-decoration-thickness: 2px;
}
.contact-aside__direct-note {
  font-size: 12px !important;
  color: var(--c-ink-500) !important;
}
.contact-form-wrap {
  padding: 32px;
  background: var(--c-white);
  border: 1px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) {
  .contact-form-wrap { padding: 40px; }
}
.contact-form-wrap__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: -0.01em;
}
.contact-form-wrap__lead {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink-500);
}
/* Styles CF7 minimaux pour rester cohérent avec le design system */
.gh-form p { margin: 0 0 18px; }
.gh-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy-900);
  margin-bottom: 6px;
}
.gh-form input[type="text"],
.gh-form input[type="email"],
.gh-form input[type="tel"],
.gh-form textarea,
.gh-form select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-ink-900);
  background: var(--c-paper-50);
  border: 1.5px solid var(--c-paper-200);
  border-radius: var(--radius-md, 10px);
  transition: border-color var(--transition);
}
.gh-form input:focus,
.gh-form textarea:focus,
.gh-form select:focus {
  outline: none;
  border-color: var(--c-saffron-500);
  background: var(--c-white);
}
.gh-form textarea { min-height: 140px; resize: vertical; }
.gh-form input[type="submit"] {
  display: inline-block;
  padding: 14px 32px;
  background: var(--c-navy-900);
  color: var(--c-white);
  border: 2px solid var(--c-navy-900);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
}
.gh-form input[type="submit"]:hover {
  background: var(--c-saffron-500);
  color: var(--c-navy-900);
  border-color: var(--c-saffron-500);
}

/* ─── Footer v3 ──────────────────────────────────────────────────── */
.footer {
  background-color: var(--c-navy-900);
  color: var(--c-paper-200);
  padding: 64px 0 24px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-saffron-500), transparent);
}

/* Bandeau top : conditions live + contact */
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.footer__top-block {
  padding: 28px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}
.footer__top-pill {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,238,50,0.15);
  border: 1px solid rgba(255,238,50,0.3);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-saffron-500);
  margin-bottom: 14px;
}
.footer__top-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.01em;
}
.footer__top-lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
}
.footer__top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__top-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.footer__top-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--c-saffron-500);
}
.footer__top-btn--primary {
  background: var(--c-saffron-500);
  color: var(--c-navy-900);
  border-color: var(--c-saffron-500);
}
.footer__top-btn--primary:hover {
  background: var(--c-saffron-600);
  color: var(--c-navy-900);
}

/* 5 colonnes thématiques */
.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 640px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__cols { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; } }
.footer__col--brand { max-width: 360px; }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand img {
  display: block;
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__brand span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-white);
}
.footer__about {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0 0 20px;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: var(--c-white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
}
.footer__social a:hover {
  background: var(--c-saffron-500);
  border-color: var(--c-saffron-500);
  color: var(--c-navy-900);
  transform: translateY(-2px);
}
.footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-saffron-500);
  margin: 0 0 16px;
}
.footer__list { display: flex; flex-direction: column; gap: 9px; }
.footer__list a {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition);
}
.footer__list a:hover { color: var(--c-saffron-500); }

/* Partenaires */
.footer__partners-wrap {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.footer__partners-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.footer__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.footer__partners img {
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--transition);
}
.footer__partners a:hover img { opacity: 1; }

/* Bottom bar */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--c-saffron-500); }
.footer__bottom-right a {
  color: var(--c-saffron-500);
  text-decoration: none;
  font-weight: 600;
}
.footer__bottom-right a:hover { text-decoration: underline; }

/* ─── Preview disclaimer (visible que sur cette URL) ─────────────── */
.preview-disclaimer {
  position: fixed;
  top: 16px;
  right: 16px;
  background-color: var(--c-saffron-500);
  color: var(--c-ink-900);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 100;
}

/* ════════════════════════════════════════════════════════════════════════
 * Single Datas (resto, hôtel, camping, etc.)
 * ═══════════════════════════════════════════════════════════════════════ */

.single-hero {
  position: relative;
  min-height: 480px;
  background-color: var(--c-navy-900);  /* fallback navy si image manquante/cassée */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 60px;
  color: var(--c-white);
}
.single-hero__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
@media (min-width: 1024px) {
  .single-hero__content { padding: 0 40px; }
}
.single-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.85);
}
.single-hero__breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: opacity 200ms;
}
.single-hero__breadcrumb a:hover { opacity: 1; color: var(--c-white); }
.single-hero__breadcrumb span { opacity: 0.5; }

.single-hero__pill {
  display: inline-block;
  background-color: transparent;
  color: var(--c-white);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--c-saffron-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.single-hero__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 900px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.single-hero__date,
.single-hero__meta {
  font-size: 16px;
  margin: 0 0 8px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Grid 2 colonnes : contenu + sidebar info pratique */
.single-section { padding: 64px 0 80px; }
.single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .single-grid { grid-template-columns: 1.6fr 1fr; gap: 56px; }
}

.single-main {
  min-width: 0;
}
.single-main__title {
  font-family: var(--font-display, "DM Sans", sans-serif);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-navy-900, #0d2b4d);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.single-content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-700);
}
.single-content h2,
.single-content h3 {
  color: var(--c-navy-900);
  margin: 1.5em 0 0.5em;
}
.single-content h2 { font-size: 1.6em; }
.single-content h3 { font-size: 1.3em; }
.single-content p { margin: 0 0 1em; }
.single-content a { color: var(--c-navy-700); text-decoration: underline; }
.single-content a:hover { color: var(--c-saffron-600); }
.single-content__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--c-ink-700);
  font-weight: 500;
  margin-bottom: 1.5em;
}
.single-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 16px 0; }
.single-content ul, .single-content ol { padding-left: 1.4em; margin: 0 0 1em; }

/* Sidebar info pratique */
.single-aside {
  align-self: start;
}
@media (min-width: 1024px) {
  .single-aside { position: sticky; top: 100px; }
}

.info-card {
  background-color: var(--c-white);
  border: 1px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}
.info-card__title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: -0.01em;
}
.info-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-paper-200);
}
.info-row:last-child { border-bottom: 0; }
.info-row__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-ink-500);
  margin-bottom: 4px;
}
.info-row__value {
  display: block;
  font-size: 15px;
  color: var(--c-ink-700);
  line-height: 1.5;
}
.info-row__value--link {
  color: var(--c-navy-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.info-row__value--link:hover {
  border-bottom-color: var(--c-saffron-500);
}

.info-card__map {
  margin-top: 16px;
}
.info-card__map iframe {
  margin-bottom: 8px;
}
.info-card__map-link {
  display: inline-block;
  font-size: 13px;
  color: var(--c-navy-700);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.info-card__map-link:hover { border-bottom-color: var(--c-saffron-500); }

/* ════════════════════════════════════════════════════════════════════════
 * Archive Datas (taxonomy-type.php) — Restaurants, Hotels, etc.
 * ═══════════════════════════════════════════════════════════════════════ */
.archive-hero {
  position: relative;
  min-height: 380px;
  background-color: var(--c-navy-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 50px;
  color: var(--c-white);
}
.archive-hero__content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
@media (min-width: 1024px) { .archive-hero__content { padding: 0 40px; } }
.archive-hero__breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.archive-hero__breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.archive-hero__breadcrumb a:hover { color: var(--c-white); }
.archive-hero__breadcrumb span { opacity: 0.5; }
.archive-hero__title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.archive-hero__lead {
  font-size: 17px;
  margin: 0 0 12px;
  max-width: 700px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.archive-hero__count {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--c-saffron-500);
  color: var(--c-white);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.archive-section { padding: 56px 0 80px; }
.archive-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: var(--c-ink-500);
  line-height: 1.6;
  text-align: center;
}
.archive-section__title {
  font-family: var(--font-display, "DM Sans", sans-serif);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-navy-900, #0d2b4d);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.archive-section__title::first-letter { text-transform: uppercase; }

/* Filtres archive (recherche + ville + tri) */
.archive-filters {
  padding: 20px 0 4px;
}
.archive-filters__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: end;
}
@media (min-width: 640px) {
  .archive-filters__row {
    grid-template-columns: 1fr 220px auto;
    gap: 16px;
  }
}
.archive-filters__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.archive-filters__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink-500);
}
.archive-filters__field input,
.archive-filters__field select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--c-white);
  border: 1.5px solid var(--c-paper-300, #e5e7eb);
  border-radius: var(--radius-md, 10px);
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--c-navy-900);
  transition: border-color var(--transition);
  min-width: 0;
  width: 100%;
}
.archive-filters__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230d2b4d' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.archive-filters__field input:focus,
.archive-filters__field select:focus {
  outline: none;
  border-color: var(--c-navy-900);
}
.archive-filters__reset {
  appearance: none;
  background: transparent;
  border: 1.5px solid var(--c-paper-300, #e5e7eb);
  border-radius: var(--radius-md, 10px);
  padding: 11px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-500);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.archive-filters__reset:hover {
  border-color: var(--c-navy-900);
  color: var(--c-navy-900);
}

.archive-empty--filtered {
  margin: 32px 0;
  padding: 24px;
  background: var(--c-paper-100);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--c-ink-500);
}
.archive-empty__reset {
  appearance: none;
  background: var(--c-navy-900);
  color: var(--c-white);
  border: 0;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  margin-left: 8px;
  cursor: pointer;
}

/* Topbar : compteur + toggle Liste/Carte */
.archive-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--c-paper-200);
  margin-bottom: 32px;
}
.archive-topbar__count {
  font-size: 15px;
  color: var(--c-ink-500);
}
.archive-topbar__count strong {
  color: var(--c-navy-900);
  font-weight: 700;
  font-size: 17px;
}
.archive-topbar__toggle {
  display: inline-flex;
  background: var(--c-paper-100);
  border-radius: var(--radius-full);
  padding: 4px;
}
.archive-topbar__btn {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-500);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}
.archive-topbar__btn.is-active {
  background: var(--c-navy-900);
  color: var(--c-white);
}
@media (min-width: 1024px) {
  .archive-topbar__toggle { display: none; }
}

/* Split layout : cards à gauche, map sticky à droite */
.archive-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .archive-split { grid-template-columns: 1.2fr 1fr; gap: 40px; }
}

/* Mobile : toggle Liste/Carte */
@media (max-width: 1023px) {
  .archive-split[data-view="list"] .archive-map { display: none; }
  .archive-split[data-view="map"] .archive-cards { display: none; }
  .archive-split[data-view="map"] .archive-map { display: block; }
}

.archive-cards-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Cards horizontales (photo gauche, body droite) */
.archive-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  text-decoration: none;
  min-height: 130px;
}
/* L'attribut [hidden] HTML donne display:none par défaut, mais
   display:grid au-dessus le bat en cascade. Force le hide. */
.archive-card[hidden] { display: none !important; }
@media (min-width: 640px) {
  .archive-card { grid-template-columns: 220px 1fr; min-height: 180px; }
}
.archive-card:hover,
.archive-card.is-active {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.archive-card.is-active {
  outline: 3px solid var(--c-saffron-500);
  outline-offset: -3px;
}
.archive-card__media {
  overflow: hidden;
  background: var(--c-paper-100);
}
.archive-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition);
}
.archive-card:hover .archive-card__media img { transform: scale(1.05); }
.archive-card__body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.archive-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-navy-900);
  line-height: 1.3;
}
.archive-card__meta {
  font-size: 13px;
  color: var(--c-ink-500);
  margin: 0 0 4px;
  line-height: 1.4;
}
.archive-card__excerpt {
  font-size: 14px;
  color: var(--c-ink-500);
  margin: 8px 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Map sticky */
.archive-map { position: relative; }
.archive-map__sticky {
  height: 480px;
}
@media (min-width: 1024px) {
  .archive-map__sticky {
    position: sticky;
    top: 100px;
    height: calc(100vh - 140px);
    max-height: 800px;
  }
}
@media (max-width: 1023px) {
  /* Mode "carte" mobile : map prend tout l'espace, plus haut */
  .archive-split[data-view="map"] .archive-map__sticky { height: 70vh; }
}
.archive-map__inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-paper-200);
}
.archive-map__hint {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--c-ink-500);
}

/* Leaflet custom marker */
.gh-marker { background: none; border: 0; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font-sans); }
.leaflet-popup-content .popup strong {
  display: block;
  color: var(--c-navy-900);
  font-size: 15px;
  margin-bottom: 6px;
}
.leaflet-popup-content .popup a {
  color: var(--c-navy-700);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--c-saffron-500);
}

.archive-outro {
  max-width: 720px;
  margin: 64px auto 0;
  font-size: 16px;
  color: var(--c-ink-700);
  line-height: 1.65;
}
.archive-intro a,
.archive-outro a {
  color: var(--c-navy-900);
  text-decoration: underline;
  text-decoration-color: var(--c-saffron-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.archive-intro a:hover,
.archive-outro a:hover {
  color: var(--c-saffron-700, #b88a00);
}
.archive-empty {
  text-align: center;
  color: var(--c-ink-500);
  padding: 40px 0;
}

/* ════════════════════════════════════════════════════════════════════
 * Pages WP + Blog (single + archive) — design v2
 * ════════════════════════════════════════════════════════════════════ */

/* Container narrow pour pages & articles (lecture optimale) */
.container--narrow {
  max-width: 760px;
}

/* Hero pages (couleur navy ou image) */
.page-hero {
  position: relative;
  padding: 96px 0 64px;
  background-color: var(--c-navy-900);
  background-size: cover;
  background-position: center;
  color: var(--c-white);
}
@media (min-width: 768px) {
  .page-hero { padding: 140px 0 96px; }
}
.page-hero--color {
  background-image: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700, #1a3d6e) 100%);
}
.page-hero--color::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40%;
  background: radial-gradient(circle at 80% 30%, rgba(255, 238, 50, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__content {
  position: relative;
  z-index: 1;
}
.page-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition);
}
.page-hero__breadcrumb a:hover {
  color: var(--c-saffron-500);
}
.page-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 800px;
}
.page-hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}

/* Section padding réduit pour pages */
.page-section {
  padding: 56px 0 80px;
}

/* Contenu page/blog : typographie riche */
.page-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink-700);
}
.page-content > * + * {
  margin-top: 1.1em;
}
.page-content h2 {
  margin: 2em 0 0.6em;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--c-navy-900);
  line-height: 1.25;
}
.page-content h3 {
  margin: 1.6em 0 0.5em;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--c-navy-900);
  line-height: 1.3;
}
.page-content h4 {
  margin: 1.4em 0 0.4em;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-navy-900);
}
.page-content p { margin: 0 0 1.1em; }
.page-content ul,
.page-content ol {
  padding-left: 1.4em;
  margin: 0 0 1.2em;
}
.page-content li { margin: 0.3em 0; }
.page-content a {
  color: var(--c-navy-900);
  text-decoration: underline;
  text-decoration-color: var(--c-saffron-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.page-content a:hover {
  color: var(--c-saffron-700, #b88a00);
}
.page-content blockquote {
  margin: 1.6em 0;
  padding: 16px 24px;
  border-left: 4px solid var(--c-saffron-500);
  background: var(--c-paper-100);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--c-ink-700);
}
.page-content img,
.page-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 1.4em 0;
  display: block;
}
.page-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}
.page-content figure {
  margin: 1.6em 0;
}
.page-content figure img {
  margin: 0;
}
.page-content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--c-ink-500);
  text-align: center;
}
.page-content hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--c-paper-200);
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
}
.page-content table th,
.page-content table td {
  padding: 12px 14px;
  border: 1px solid var(--c-paper-200);
  text-align: left;
}
.page-content table th {
  background: var(--c-paper-100);
  font-weight: 600;
}

/* Hero blog (single article) */
.blog-hero {
  position: relative;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  color: var(--c-white);
}
@media (min-width: 768px) {
  .blog-hero { padding: 180px 0 110px; }
}
.blog-hero__content {
  max-width: 820px;
}
.blog-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.blog-hero__breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-hero__breadcrumb a:hover { color: var(--c-saffron-500); }
.blog-hero__pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1.5px solid var(--c-saffron-500);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-saffron-500);
  margin-bottom: 16px;
}
.blog-hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
}
.blog-hero__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* Footer article */
.blog-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--c-paper-200);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.blog-footer__cats {
  font-size: 14px;
  color: var(--c-ink-500);
}
.blog-footer__label {
  font-weight: 600;
  margin-right: 6px;
}
.blog-footer__list a {
  color: var(--c-navy-900);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--c-saffron-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Cards blog (article listing) */
.cards-grid--blog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .cards-grid--blog { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards-grid--blog { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.blog-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-paper-100);
}
.blog-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition);
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-navy-900);
  margin-bottom: 8px;
}
.blog-card__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  color: var(--c-navy-900);
  line-height: 1.3;
}
.blog-card__excerpt {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--c-ink-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.blog-card__date {
  margin: 0;
  font-size: 13px;
  color: var(--c-ink-500);
  font-weight: 500;
}

/* Filtres catégories (chips) */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding: 8px 0;
}
.blog-filters__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--c-white);
  border: 1.5px solid var(--c-paper-300, #e5e7eb);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink-700);
  text-decoration: none;
  transition: all var(--transition);
}
.blog-filters__chip:hover {
  border-color: var(--c-navy-900);
  color: var(--c-navy-900);
}
.blog-filters__chip.is-active {
  background: var(--c-navy-900);
  border-color: var(--c-navy-900);
  color: var(--c-white);
}
.blog-filters__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--c-paper-100);
  color: var(--c-ink-500);
  font-size: 11px;
  font-weight: 700;
}
.blog-filters__chip.is-active .blog-filters__count {
  background: rgba(255,255,255,0.18);
  color: var(--c-white);
}

/* Pagination */
.gh-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.gh-pagination span > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--c-white);
  border: 1.5px solid var(--c-paper-300, #e5e7eb);
  color: var(--c-navy-900);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
}
.gh-pagination span > a:hover {
  border-color: var(--c-navy-900);
}
.gh-pagination span > .current {
  background: var(--c-navy-900);
  color: var(--c-white);
  border-color: var(--c-navy-900);
}

/* Button ghost variante "back to blog" (scope au footer blog uniquement
 * pour éviter d'écraser la variante hero .btn--ghost qui doit rester
 * blanche sur fond sombre).
 */
.blog-footer .btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid var(--c-paper-300, #e5e7eb);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-ink-700);
  text-decoration: none;
  transition: all var(--transition);
  background: transparent;
  backdrop-filter: none;
}
.blog-footer .btn--ghost:hover {
  border-color: var(--c-navy-900);
  color: var(--c-navy-900);
  background: transparent;
}

/* Facettes archive (sprint 3) */
.archive-filters__facets {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-paper-200);
}
.archive-filters__chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.archive-filters__chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.archive-filters__chip {
  appearance: none;
  background: var(--c-white);
  border: 1.5px solid var(--c-paper-300, #e5e7eb);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-700);
  cursor: pointer;
  transition: all var(--transition);
}
.archive-filters__chip:hover {
  border-color: var(--c-navy-900);
  color: var(--c-navy-900);
}
.archive-filters__chip.is-active {
  background: var(--c-navy-900);
  border-color: var(--c-navy-900);
  color: var(--c-white);
}
.archive-filters__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 18px;
  background: var(--c-white);
  border: 1.5px solid var(--c-paper-300, #e5e7eb);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-700);
  cursor: pointer;
  transition: all var(--transition);
  box-sizing: border-box;
}
.archive-filters__toggle:hover { border-color: var(--c-navy-900); }
.archive-filters__toggle input {
  accent-color: var(--c-navy-900);
  cursor: pointer;
}
.archive-filters__toggle:has(input:checked) {
  background: var(--c-navy-900);
  border-color: var(--c-navy-900);
  color: var(--c-white);
}

/* ════════════════════════════════════════════════════════════════════
 * Single — sections enrichies (sprint 3+)
 * ════════════════════════════════════════════════════════════════════ */

/* Étoiles classement */
.gh-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-saffron-500);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.gh-stars--palace {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border: 1.5px solid var(--c-saffron-500);
  border-radius: var(--radius-full);
  color: var(--c-saffron-500);
  filter: none;
}
.single-hero__stars {
  margin: 0 0 14px;
}

/* Pills (cuisine, tags) */
.gh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 8px;
}
.gh-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--c-paper-100);
  border: 1.5px solid var(--c-paper-200);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy-900);
}

/* Spécifications (dl liste clé/valeur) */
.gh-specs {
  margin-top: 36px;
  padding: 24px;
  background: var(--c-paper-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-paper-200);
}
.gh-specs__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-900);
}
.gh-specs__list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) {
  .gh-specs__list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
.gh-specs__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-paper-200);
  gap: 16px;
}
.gh-specs__row:last-child { border-bottom: 0; }
.gh-specs__key {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-500);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.gh-specs__val {
  margin: 0;
  font-size: 15px;
  color: var(--c-navy-900);
  font-weight: 500;
  text-align: right;
}

/* Équipements avec icônes */
.gh-amenities {
  margin-top: 32px;
}
.gh-amenities__title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-900);
}
.gh-amenities__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .gh-amenities__list { grid-template-columns: repeat(3, 1fr); }
}
.gh-amenities__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--c-white);
  border: 1.5px solid var(--c-paper-200);
  border-radius: var(--radius-md, 10px);
}
.gh-amenities__icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.gh-amenities__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy-900);
}

/* Horaires en tableau */
.gh-hours {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--c-paper-200);
}
.gh-hours__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink-500);
}
.gh-hours__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.gh-hours__row {
  border-bottom: 1px dashed var(--c-paper-200);
}
.gh-hours__row:last-child { border-bottom: 0; }
.gh-hours__row.is-today {
  background: var(--c-saffron-100, #fffce6);
  font-weight: 600;
}
.gh-hours__day {
  padding: 8px 10px 8px 0;
  font-weight: 600;
  text-align: left;
  color: var(--c-navy-900);
  vertical-align: top;
  width: 38%;
}
.gh-hours__slot {
  padding: 8px 0;
  color: var(--c-ink-700);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.gh-hours__row.is-closed .gh-hours__slot {
  color: var(--c-ink-300);
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════════════
 * Services temps réel — météo + marine (sprint 4)
 * ════════════════════════════════════════════════════════════════════ */

/* Mini widget (hero, header, sidebar) */
.gh-weather-mini {
  display: inline-flex;
}
.gh-weather-mini__inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.gh-weather-mini__icon { font-size: 18px; }
.gh-weather-mini__sep { opacity: 0.6; }

/* Widget complet (page météo) */
.gh-weather {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.gh-weather__current {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--c-paper-200);
}
@media (min-width: 768px) {
  .gh-weather__current { flex-direction: row; align-items: center; justify-content: space-between; }
}
.gh-weather__current-main {
  display: flex;
  align-items: center;
  gap: 20px;
}
.gh-weather__icon {
  font-size: 64px;
  line-height: 1;
}
.gh-weather__temp {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--c-navy-900);
  line-height: 1.05;
}
.gh-weather__label {
  display: block;
  font-size: 16px;
  color: var(--c-ink-500);
  margin-top: 4px;
}
.gh-weather__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}
@media (min-width: 768px) {
  .gh-weather__metrics { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.gh-weather__metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gh-weather__metric-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-500);
}
.gh-weather__metric-val {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-navy-900);
  font-variant-numeric: tabular-nums;
}
.gh-weather .gh-weather__h3 {
  margin: 24px 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-900);
}
.gh-weather__forecast {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 768px) {
  .gh-weather__forecast { grid-template-columns: repeat(7, 1fr); gap: 10px; }
}
.gh-weather__day {
  display: grid;
  grid-template-columns: 80px auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--c-paper-50);
  border-radius: var(--radius-md, 10px);
  border: 1px solid var(--c-paper-200);
}
@media (min-width: 768px) {
  .gh-weather__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 8px;
  }
}
.gh-weather__day.is-today {
  background: var(--c-saffron-100, #fffce6);
  border-color: var(--c-saffron-500);
}
.gh-weather__day-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy-900);
}
.gh-weather__day-icon { font-size: 28px; }
.gh-weather__day-temps {
  font-size: 14px;
  color: var(--c-ink-700);
}
.gh-weather__day-temps strong { color: var(--c-navy-900); }
.gh-weather__day-extra {
  font-size: 12px;
  color: var(--c-ink-500);
}
.gh-weather__forecast-loading {
  text-align: center;
  color: var(--c-ink-500);
  padding: 24px 0;
}

/* Hourly 24h — scroll horizontal */
.gh-weather__hourly {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 2px 12px;
  margin: 0 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gh-weather__hourly::-webkit-scrollbar { height: 6px; }
.gh-weather__hourly::-webkit-scrollbar-thumb {
  background: var(--c-paper-200);
  border-radius: 3px;
}
.gh-weather__hour {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 4px;
  background: var(--c-paper-50);
  border: 1px solid var(--c-paper-200);
  border-radius: var(--radius-md, 10px);
  scroll-snap-align: start;
}
.gh-weather__hour.is-now {
  background: var(--c-saffron-100, #fffce6);
  border-color: var(--c-saffron-500);
}
.gh-weather__hour-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: 0.02em;
}
.gh-weather__hour-icon { font-size: 22px; line-height: 1; }
.gh-weather__hour-temp {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy-900);
  font-variant-numeric: tabular-nums;
}
.gh-weather__hour-precip {
  font-size: 11px;
  color: var(--c-ink-500);
  font-variant-numeric: tabular-nums;
}
.gh-weather__hour-precip--med { color: var(--c-navy-700, #1a4570); font-weight: 600; }
.gh-weather__hour-precip--high { color: #1e40af; font-weight: 700; }
.gh-weather__hourly-loading {
  text-align: center;
  color: var(--c-ink-500);
  padding: 24px 0;
  width: 100%;
}

.gh-weather__credit {
  margin: 22px 0 0;
  font-size: 12px;
  color: var(--c-ink-500);
}
.gh-weather__credit a { color: var(--c-navy-900); text-decoration: underline; }

/* Marine widget */
.gh-marine {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700, #1a3d6e) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--c-white);
  box-shadow: var(--shadow-md);
}
.gh-marine .gh-marine__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-white);
  text-transform: uppercase;
}
.gh-marine__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .gh-marine__grid { grid-template-columns: repeat(4, 1fr); }
}
.gh-marine__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md, 10px);
}
.gh-marine__cell-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
}
.gh-marine__cell-val {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gh-marine .gh-marine__h3 {
  margin: 28px 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-white);
  text-transform: uppercase;
}

/* Tides — liste des prochaines PM/BM */
.gh-marine__tides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 640px) {
  .gh-marine__tides { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gh-marine__tides { grid-template-columns: repeat(3, 1fr); }
}
.gh-marine__tide {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md, 10px);
}
.gh-marine__tide--pm { border-left: 3px solid var(--c-saffron-500); }
.gh-marine__tide--bm { border-left: 3px solid rgba(255,255,255,0.4); }
.gh-marine__tide-type {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-saffron-500);
  letter-spacing: 0.05em;
}
.gh-marine__tide--bm .gh-marine__tide-type { color: rgba(255,255,255,0.8); }
.gh-marine__tide-day {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.gh-marine__tide-time {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  grid-column: 1;
  grid-row: 2;
}
.gh-marine__tide-level {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-variant-numeric: tabular-nums;
}
.gh-marine__tides-loading,
.gh-marine__hourly-loading,
.gh-marine__forecast-loading {
  text-align: center;
  color: rgba(255,255,255,0.6);
  padding: 18px 0;
  grid-column: 1 / -1;
}

/* Vagues 24h — scroll horizontal */
.gh-marine__hourly {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
}
.gh-marine__hourly::-webkit-scrollbar { height: 6px; }
.gh-marine__hourly::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
.gh-marine__hour {
  flex: 0 0 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md, 10px);
  scroll-snap-align: start;
  font-size: 12px;
}
.gh-marine__hour.is-now {
  background: rgba(255,238,50,0.18);
  border-color: var(--c-saffron-500);
}
.gh-marine__hour-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.gh-marine__hour-wave {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gh-marine__hour-period,
.gh-marine__hour-dir {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-variant-numeric: tabular-nums;
}
/* Codes couleur vagues — barre fine sur le bord */
.gh-marine__wave--calm   { box-shadow: inset 3px 0 0 #4ade80; }
.gh-marine__wave--good   { box-shadow: inset 3px 0 0 #60a5fa; }
.gh-marine__wave--med    { box-shadow: inset 3px 0 0 #facc15; }
.gh-marine__wave--strong { box-shadow: inset 3px 0 0 #f87171; }

/* Forecast 7j vagues */
.gh-marine__forecast {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 768px) {
  .gh-marine__forecast { grid-template-columns: repeat(7, 1fr); gap: 10px; }
}
.gh-marine__day {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md, 10px);
}
@media (min-width: 768px) {
  .gh-marine__day {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 14px 8px;
  }
}
.gh-marine__day.is-today {
  background: rgba(255,238,50,0.18);
  border-color: var(--c-saffron-500);
}
.gh-marine__day-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.gh-marine__day-wave {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gh-marine__day-extra {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-variant-numeric: tabular-nums;
}

.gh-marine__credit {
  margin: 24px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.gh-marine__credit a {
  color: var(--c-saffron-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gh-services-tr-block {
  margin: 32px 0 40px;
}
.gh-services-tr-block + .gh-services-tr-block {
  margin-top: 24px;
}

/* ════════════════════════════════════════════════════════════════════
 * Webcams live (sprint 6) — player HTML5 + hls.js
 * ════════════════════════════════════════════════════════════════════ */

.gh-webcams {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 32px 0 48px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.gh-webcam { margin: 0; }
.gh-webcam .gh-webcam__title {
  margin: 0 0 14px;
  font-family: var(--font-display, "DM Sans", sans-serif);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--c-navy-900);
  letter-spacing: -0.01em;
}
.gh-webcam__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-navy-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.gh-webcam__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--c-navy-900);
}
.gh-webcam__loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  background: linear-gradient(135deg, rgba(13,43,77,0.85) 0%, rgba(13,43,77,0.7) 100%);
  backdrop-filter: blur(2px);
  pointer-events: none;
  transition: opacity 220ms;
}
.gh-webcam__loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.gh-webcam__loading.is-error {
  background: linear-gradient(135deg, rgba(184,49,42,0.85) 0%, rgba(184,49,42,0.7) 100%);
}
.gh-webcam__loading-text {
  display: inline-block;
}
.gh-webcam__loading-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-saffron-500);
  animation: gh-webcam-pulse 1.2s ease-in-out infinite;
}

/* Bloc "Plus de webcams" — lien externe capbreton.fr pour le port */
.gh-webcams-extra {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 28px 28px;
  background: var(--c-paper-50);
  border: 1.5px solid var(--c-paper-200);
  border-left: 4px solid var(--c-saffron-500);
  border-radius: var(--radius-lg);
  text-align: center;
}
.gh-webcams-extra__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-900);
}
.gh-webcams-extra__lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-ink-500);
}

/* Iframe variant (legacy, conservé pour compat) */
.gh-webcam--iframe .gh-webcam__player {
  background: var(--c-paper-100);
}
.gh-webcam__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@keyframes gh-webcam-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
.gh-webcam__credit {
  margin: 10px 2px 0;
  font-size: 12px;
  color: var(--c-ink-500);
}
.gh-webcam__credit a {
  color: var(--c-navy-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════════════
 * Single — labels qualité, thèmes, paiement, langues, galerie
 * ════════════════════════════════════════════════════════════════════ */

/* Labels qualité (badges saffron) */
.gh-labels {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--c-saffron-100, #fffce6);
  border-radius: var(--radius-md, 10px);
  border-left: 4px solid var(--c-saffron-500);
}
.gh-labels__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink-700);
  margin-bottom: 10px;
}
.gh-labels__badge {
  display: inline-block;
  margin: 4px 6px 4px 0;
  padding: 5px 12px;
  background: var(--c-white);
  border: 1.5px solid var(--c-saffron-500);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy-900);
}

/* Thèmes & ambiance (chips paper) */
.gh-themes {
  margin-top: 24px;
}
.gh-themes__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink-500);
  margin-bottom: 10px;
}
.gh-themes__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gh-themes__chip {
  padding: 4px 11px;
  background: var(--c-paper-100);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-700);
}

/* Galerie photos */
.gh-gallery {
  margin-top: 32px;
}
.gh-gallery__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy-900);
}
.gh-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .gh-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.gh-gallery__item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background: var(--c-paper-100);
  transition: transform var(--transition);
}
.gh-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition);
}
.gh-gallery__item:hover img { transform: scale(1.05); }

/* Sidebar : langues + paiement (chips compacts) */
.gh-langues, .gh-payment {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--c-paper-200);
}
.gh-langues__title, .gh-payment__title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink-500);
  margin-bottom: 8px;
}
.gh-langues__chip, .gh-payment__chip {
  display: inline-block;
  margin: 3px 4px 3px 0;
  padding: 3px 10px;
  background: var(--c-paper-100);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--c-navy-900);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════
 * Gallery item button (au lieu d'une <a> qui ouvrait un onglet)
 * ════════════════════════════════════════════════════════════════════ */
button.gh-gallery__item {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md, 10px);
  overflow: hidden;
  background-color: var(--c-paper-100);
}

/* ════════════════════════════════════════════════════════════════════
 * Lightbox overlay (vanilla)
 * ════════════════════════════════════════════════════════════════════ */
.gh-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(13, 43, 77, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  animation: ghLbFadeIn 200ms ease-out;
}
.gh-lb.is-open { display: flex; }
body.gh-lb-open { overflow: hidden; }

@keyframes ghLbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.gh-lb__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.gh-lb__img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  background: var(--c-paper-100);
}
.gh-lb__caption {
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.gh-lb__counter {
  font-weight: 600;
  color: var(--c-saffron-500);
}

.gh-lb__close,
.gh-lb__nav {
  position: absolute;
  appearance: none;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--c-white);
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease-out;
  font-family: var(--font-sans);
}
.gh-lb__close:hover,
.gh-lb__nav:hover {
  background: var(--c-saffron-500);
  border-color: var(--c-saffron-500);
  color: var(--c-navy-900);
}
.gh-lb__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
.gh-lb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 36px;
  line-height: 1;
}
.gh-lb__nav--prev { left: 20px; }
.gh-lb__nav--next { right: 20px; }

@media (max-width: 640px) {
  .gh-lb { padding: 50px 8px; }
  .gh-lb__nav { width: 44px; height: 44px; font-size: 28px; }
  .gh-lb__nav--prev { left: 8px; }
  .gh-lb__nav--next { right: 8px; }
  .gh-lb__close { top: 10px; right: 10px; }
  .gh-lb__img { max-height: calc(100vh - 140px); }
}

/* ════════════════════════════════════════════════════════════════════
 * Home — Top 10 incontournables + Guide complet (SEO sections, cards)
 * ════════════════════════════════════════════════════════════════════ */

/* Top 10 incontournables — grille de cards */
.inc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.inc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background-color: var(--c-white);
  border: 1px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.inc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-saffron-500);
}
.inc-card__num {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 56px;
  font-weight: 800;
  color: var(--c-saffron-500);
  opacity: 0.35;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.inc-card__icon {
  display: inline-block;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 14px;
}
.inc-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-navy-900);
}
.inc-card__title a {
  color: var(--c-navy-900);
  text-decoration: none;
}
.inc-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.inc-card__desc {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-ink-500);
  flex: 1;
}
.inc-card__cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-navy-900);
  transition: color var(--transition), letter-spacing var(--transition);
}
.inc-card:hover .inc-card__cta {
  color: var(--c-navy-700);
  letter-spacing: 0.08em;
}

/* Guide complet — grille 3 cards */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0 0;
}
.guide-card {
  padding: 32px 28px;
  background-color: var(--c-white);
  border: 1px solid var(--c-paper-200);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--c-saffron-500);
}
.guide-card__icon {
  display: inline-block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 16px;
}
.guide-card__title {
  margin: 0 0 14px;
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-navy-900);
}
.guide-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--c-ink-700);
}
.guide-card p a {
  color: var(--c-navy-900);
  text-decoration: underline;
  text-decoration-color: var(--c-saffron-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.guide-card p a:hover {
  color: var(--c-navy-700);
}
.guide-card p strong {
  color: var(--c-navy-900);
  font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════════
 * Blog — Partage social
 * ════════════════════════════════════════════════════════════════════ */
.blog-share {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin: 48px 0 32px;
  padding: 28px 24px;
  background-color: var(--c-paper-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-paper-200);
}
.blog-share__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-navy-900);
}
.blog-share__buttons {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 10px;
  justify-content: center;
}
.blog-share__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--c-white);
  border: 2px solid var(--c-navy-900);
  border-radius: var(--radius-full);
  color: var(--c-navy-900);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.blog-share__btn:hover,
.blog-share__btn:focus-visible {
  background-color: var(--c-saffron-500);
  border-color: var(--c-saffron-500);
  color: var(--c-navy-900);
  transform: translateY(-2px);
  outline: none;
}
.blog-share__btn--copy.is-copied {
  background-color: var(--c-navy-900);
  border-color: var(--c-navy-900);
  color: var(--c-saffron-500);
}
.blog-share__feedback {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  background-color: var(--c-navy-900);
  color: var(--c-white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}
.blog-share__feedback::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--c-navy-900);
}
/* Mobile : padding et gap réduits pour faire tenir les 6 boutons sur 1 ligne
   à partir de l'iPhone 14 (390px). iPhone SE (320px) reste en wrap 4+2. */
@media (max-width: 639px) {
  .blog-share {
    padding: 24px 16px;
    gap: 12px;
  }
  .blog-share__buttons {
    gap: 6px;
  }
  .blog-share__label {
    font-size: 13px;
    text-align: center;
  }
}
@media (min-width: 640px) {
  .blog-share {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 24px;
  }
  .blog-share__label {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* --- 404 --- */
.error-404__wrap {
  text-align: center;
}
.error-404__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink-500);
  max-width: 620px;
  margin: 0 auto 32px;
}
.error-404__search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto 56px;
}
.error-404__search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--c-navy-900);
  background: var(--c-white);
  border: 2px solid var(--c-navy-900);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.error-404__search input[type="search"]:focus {
  border-color: var(--c-saffron-500);
  box-shadow: 0 0 0 4px var(--c-saffron-300);
}
.error-404__search button {
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-navy-900);
  background: var(--c-saffron-500);
  border: 2px solid var(--c-navy-900);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.error-404__search button:hover {
  background: var(--c-saffron-600);
  transform: translateY(-1px);
}
.error-404__subtitle {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-ink-500);
  margin: 0 0 20px;
}
.error-404__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.error-404__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  text-align: left;
  background: var(--c-white);
  border: 2px solid var(--c-navy-900);
  border-radius: var(--radius-md);
  color: var(--c-navy-900);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.error-404__card:hover {
  transform: translateY(-2px);
  background: var(--c-saffron-100);
  box-shadow: var(--shadow-md);
}
.error-404__card-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--c-navy-900);
}
.error-404__card-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--c-ink-500);
}
@media (max-width: 520px) {
  .error-404__search {
    flex-direction: column;
  }
  .error-404__search button {
    width: 100%;
  }
}

/* Formulaire de contact maison (inc/contact-form.php) */
.gh-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gh-form__notice { padding: 12px 16px; border-radius: 8px; margin: 0 0 18px; font-weight: 600; }
.gh-form__notice--ok { background: #e7f6ec; color: #11633a; }
.gh-form__notice--error { background: #fdecec; color: #8a1f1f; }

/* Crédit photo (images DataTourisme, licence avec attribution) */
.single-hero { position: relative; }
.single-hero__credit { position: absolute; right: 12px; bottom: 8px; z-index: 2; font-size: .75rem; color: rgba(255,255,255,.85); background: rgba(0,0,0,.35); padding: 2px 8px; border-radius: 4px; }
