/* =========================================================
   PHUKET BOAT (PKBC) — feuille de style
   Récupérée et remise au propre depuis la version ChatGPT.
   Palette : navy / deep / aqua / gold
   ========================================================= */

:root {
  /* Fonds */
  --navy:  #061f2c;   /* bleu nuit des sections sombres */
  --deep:  #082b3b;   /* bleu nuit du bloc contact */
  --sable: #faf8f4;   /* blanc chaud des sections claires */
  --carte: #ffffff;   /* blanc pur, réservé aux cartes posées sur le sable */

  /* Turquoise de la marque, en trois niveaux — ne pas en inventer d'autres */
  --aqua:  #5ed6d2;   /* clair : uniquement sur fond sombre */
  --teal:  #0e7078;   /* moyen : étiquettes et liens sur fond clair */
  --teal-fonce: #0a4f57;

  /* Or */
  --gold:  #cfa96a;

  /* Textes */
  --ink:   #0b2732;   /* titres */
  --texte: #44565e;   /* paragraphes longs */
  --gris:  #54666d;   /* textes secondaires */
  --gris-clair: #556870;

  /* Traits */
  --trait: #e4e0d8;
}

/* ---------- Reset minimal ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--sable);
  /* Police système : San Francisco sur iPhone et Mac, Segoe UI sur Windows,
     Roboto sur Android. Bien plus soignée qu'Arial, et rien à télécharger. */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; border-radius: 0; }
b, strong { font-weight: bolder; }

/* ---------- Structure ---------- */
.shell   { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { padding: 110px 0; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #fff;
  background-image:
    linear-gradient(90deg, #021822e8, #03232f85 48%, #041d2614),
    url(images/hero-boat.webp);
  background-size: cover;
  background-position: 50% 58%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(#0000, #031c2673);
}

/* ---------- Navigation ---------- */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  border-bottom: 1px solid #ffffff38;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 3px; }
.brand-logo {
  display: flex;
  align-items: center;
  height: 88px;
  padding: 7px 14px;
  background: #ffffffed;
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.brand-logo img { width: 184px; height: 70px; object-fit: contain; }

.nav-links { display: flex; gap: 34px; font-size: 13px; }
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 12px; }


/* Bouton menu mobile (masqué sur desktop) */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  background: #031c26b8;
  border: 1px solid #ffffff73;
  cursor: pointer;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 18px 26px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #092633;
  background: var(--gold);
  border: 1px solid var(--gold);
  transition: all .25s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-small { padding: 13px 22px; }
.gold { align-self: flex-start; }
.whatsapp { color: #052a25; background: #25d366; border-color: #25d366; }
.outline  { color: #fff; background: none; border-color: #60808a; }

.text-link { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; }

/* ---------- Contenu hero ---------- */
.hero-content { position: relative; z-index: 1; margin: auto; padding: 80px 0 120px; }
.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--aqua);
}
.eyebrow.dark { color: var(--teal); }

.hero h1, .private h2, .contact h2 {
  max-width: 900px;
  margin: 0;
  font: 400 clamp(46px, 6.7vw, 92px)/.98 Georgia, serif;
  letter-spacing: -3px;
}
.hero-lead {
  max-width: 610px;
  margin: 28px 0 34px;
  font: 18px/1.7 Georgia, serif;
  color: #d7e2e4;
}
.hero-actions { display: flex; align-items: center; gap: 34px; }
.hero-proof { display: flex; align-items: center; margin-top: 60px; }
.hero-proof p { font-size: 11px; line-height: 1.6; color: #c6d4d7; }
.hero-proof b { color: #fff; }

/* ---------- Titres de section ---------- */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 55px;
}
.section-heading > p { max-width: 460px; font-size: 14px; line-height: 1.8; color: var(--gris-clair); }
.section h2 {
  margin: 0;
  font: 400 clamp(39px, 4.3vw, 62px)/1.05 Georgia, serif;
  letter-spacing: -2px;
}
.section h2 em, .private h2 em, .contact h2 em { color: var(--teal); font-weight: 400; }
.centered { justify-content: center; text-align: center; }

/* ---------- Excursions ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.tour-card {
  /* Colonne : quel que soit le nombre de lignes du descriptif, le prix et le
     lien « En savoir plus » restent collés en bas — les cartes d'une même
     rangée s'alignent au lieu de laisser un blanc sous la bande verte. */
  display: flex;
  flex-direction: column;
  background: var(--carte);
  box-shadow: 0 14px 50px #0d2d381a;
  transition: all .3s;
}
.tour-card:hover { transform: translateY(-7px); }
.tour-image { position: relative; flex: 0 0 auto; height: 290px; background-position: 50%; background-size: cover; }
.tour-image span {
  position: absolute;
  top: 20px; left: 20px;
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  background: var(--gold);
}
.tour-body { display: flex; flex-direction: column; flex: 1; padding: 25px; }
.tour-time { font-size: 10px; letter-spacing: 1.6px; color: var(--teal); }
.tour-body h3 { margin: 12px 0; font: 28px Georgia, serif; }
.tour-body > p { margin-bottom: 22px; font-size: 13px; line-height: 1.65; color: var(--gris); }
.tour-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--trait);
}
.tour-bottom strong { font-size: 13px; }
.tour-bottom a {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}
.sunset-card { box-shadow: 0 18px 55px #d2693033; }
.sunset-card .tour-image span { color: #fff; background: #e47642; }

/* ---------- Bateau privé ---------- */
.private {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 720px;
  color: #fff;
  background: var(--navy);
}
.private-photo {
  min-height: 600px;
  background-image: url(images/boat-profile.webp);
  background-size: cover;
  background-position: 50%;
}
.private-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px 8vw; }
.private h2 { font-size: clamp(45px, 5vw, 72px); }
.private-copy > p:not(.eyebrow) { margin: 28px 0; font: 16px/1.8 Georgia, serif; color: #c1d0d4; }

/* Paragraphes de présentation mis en avant (page « Pourquoi nous ») :
   un cran au-dessus du texte courant, avec un filet doré qui les rattache. */
.private-copy > p.private-plus {
  max-width: 620px;
  margin: 0 0 24px;
  padding-left: 22px;
  font: 18.5px/1.8 Georgia, serif;
  color: #dbe6e9;
  border-left: 2px solid var(--gold);
}
.private-copy > p.private-plus:first-of-type { margin-top: 30px; }
.private-copy > p.private-plus:last-of-type { margin-bottom: 38px; }

@media (max-width: 620px) {
  .private-copy > p.private-plus { padding-left: 16px; font-size: 16.5px; }
}
.private ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 35px;
  font-size: 12px;
  color: #d9e1e3;
}

/* ---------- Vidéo ---------- */
.video-showcase {
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #061f2c, #0a4351);
}
.video-shell { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.video-copy h2 { margin: 0 0 24px; font: 400 clamp(38px, 4.5vw, 64px)/1.04 Georgia, serif; letter-spacing: -2px; }
.video-copy > p:not(.eyebrow) { font: 16px/1.75 Georgia, serif; color: #bcd0d5; }
.video-frame {
  position: relative;
  max-width: 560px;      /* la vidéo est carrée : un cadre large laissait du vide */
  margin-left: auto;
  padding: 12px;
  background: #ffffff14;
  box-shadow: 0 30px 80px #00000047;
}
.video-frame::before {
  content: "PKBC";
  position: absolute;
  top: -22px; right: 22px;
  font: italic 12px Georgia, serif;
  letter-spacing: 4px;
  color: var(--gold);
}
.video-frame video { width: 100%; max-height: 660px; object-fit: contain; background: #03141c; }
.video-facts {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: center;
  gap: 10px 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #ffffff2e;
}
.video-facts span { font: 34px Georgia, serif; color: var(--gold); }
.video-facts small { font-size: 9px; line-height: 1.4; letter-spacing: 1px; text-transform: uppercase; color: #c4d3d6; }

/* ---------- Galerie ---------- */
.gallery { overflow: hidden; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
}
.gallery-grid figure { position: relative; overflow: hidden; background: var(--navy); }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s, filter .7s;
}
.gallery-grid figure:hover img { filter: saturate(1.08); transform: scale(1.035); }
.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 22px 18px;
  font: italic 16px Georgia, serif;
  color: #fff;
  background: linear-gradient(#0000, #031c26d1);
}
/* La première photo occupe le grand cadre ; les suivantes se rangent
   d'elles-mêmes, quel que soit leur nombre. */
.gallery-grid .gallery-main { grid-column: span 2; grid-row: span 2; }

/* ---------- Pourquoi nous ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.benefit-grid article { padding-top: 24px; border-top: 1px solid var(--trait); }
.benefit-grid span { font: italic 28px Georgia, serif; color: var(--gold); }
.benefit-grid h3 { margin: 35px 0 14px; font: 20px Georgia, serif; }
.benefit-grid p { font-size: 13px; line-height: 1.7; color: var(--gris); }

/* ---------- Avis clients ---------- */
.avis {
  padding: 110px 0;
  color: #fff;
  background-image: linear-gradient(#052a37e8, #052a37e8), url(images/aerial.webp);
  background-size: cover;
  background-position: 50%;
}
.section-heading.centre { display: block; text-align: center; margin-bottom: 52px; }
/* le titre de section normal est bridé à 390px : à annuler quand il est centré */
.section-heading.centre > p { max-width: none; }
.avis .section-heading .eyebrow { color: var(--aqua); }
.avis .section-heading h2 {
  margin: 0;
  color: #fff;
  font: 400 clamp(34px, 4vw, 56px)/1.08 Georgia, serif;
  letter-spacing: -2px;
}

.avis-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.avis-carte {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r-card);
  background: rgba(255,255,255,.045);
}
.avis-note { letter-spacing: 4px; font-size: 15px; color: var(--gold); }
.avis-note span { color: rgba(255,255,255,.28); }
.avis-carte blockquote {
  flex: 1;
  font: italic 17px/1.7 Georgia, serif;
  color: #eaf3f5;
}
.avis-carte figcaption {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #fff;
}
.avis-lieu { font-weight: 400; color: #a9c2c8; }
.avis-source {
  margin-top: -6px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8fa9b0;
}
.avis .section-heading > p.avis-note-globale {
  max-width: none;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 1.2px;
  color: var(--gold);
}
.avis-note-globale span { color: #c6d9dd; }
.avis-tous { margin-top: 44px; text-align: center; }
.avis-tous .btn.outline { border-color: rgba(255,255,255,.4); color: #fff; }
.avis-tous .btn.outline:hover { border-color: var(--aqua); color: var(--aqua); }

/* ---------- Contact ---------- */
.contact { color: #fff; text-align: center; background: var(--deep); }
.contact-inner { max-width: 850px; }
.contact h2 { font-size: clamp(48px, 6vw, 75px); }
.contact h2 em { color: var(--aqua); }
.contact-inner > p:not(.eyebrow) {
  max-width: 650px;
  margin: 28px auto 35px;
  font: 16px/1.8 Georgia, serif;
  color: #b6c9ce;
}
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Footer ---------- */
footer { padding: 35px 0; color: #fff; background: #041923; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-inner p { font-size: 10px; letter-spacing: 1px; color: #8ba0a7; }
.footer-logo { height: 74px; padding: 6px 12px; background: #fff; }
.footer-logo img { width: 158px; height: 60px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 104px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
    background: #041923f2;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid #ffffff1f; }
  .nav-toggle { display: block; }

  .hero { min-height: 860px; }
  .tour-grid { grid-template-columns: 1fr 1fr; }
  .private { grid-template-columns: 1fr; }
  .private-photo { min-height: 520px; }
  .private-copy { padding: 80px 8vw; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { align-items: start; gap: 30px; }

  .video-shell { grid-template-columns: 1fr; gap: 40px; }
  .video-frame { margin: auto; }
  .video-copy { text-align: center; }
  .video-facts { max-width: 500px; margin: 30px auto 0; text-align: left; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .gallery-grid .gallery-main { grid-column: 1 / 3; grid-row: span 1; height: 400px; }
}

@media (max-width: 900px) {
  .avis-grille { grid-template-columns: 1fr; gap: 18px; }
  .avis { padding: 80px 0; }
  .section-heading.centre { margin-bottom: 38px; }
  .avis-carte { padding: 26px 24px 22px; }
  .avis-carte blockquote { font-size: 16px; line-height: 1.65; }
  .avis-tous { margin-top: 32px; }
}

@media (max-width: 760px) {
  .nav-actions .btn { display: none; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 30px, 1180px); }
  .section { padding: 75px 0; }

  .nav { height: 82px; }
  .nav-links { top: 82px; }
  .nav-actions { margin-left: auto; }

  .brand-logo { height: 66px; padding: 5px 9px; }
  .brand-logo img { width: 138px; height: 54px; }
  .footer-logo { height: 68px; }
  .footer-logo img { width: 145px; }

  .hero { min-height: 780px; background-position: 58%; }
  .hero-content { padding: 80px 0; }
  .hero h1 { font-size: 49px; letter-spacing: -2px; }
  .hero h1 span, .hero h1 em { display: inline; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-proof { margin-top: 40px; }

  .section-heading { display: block; }
  .section-heading > p { margin-top: 25px; }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-image { height: 260px; }

  .private-photo { min-height: 390px; }
  .private-copy { padding: 65px 24px; }
  .private ul, .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid h3 { margin-top: 20px; }

  .video-showcase { padding: 72px 0; }
  .video-shell { width: 100%; }
  .video-copy { width: calc(100% - 30px); margin: auto; }
  .video-frame { width: 100%; padding: 7px; }
  .video-facts { grid-template-columns: auto 1fr; }

  .gallery-grid { display: flex; flex-direction: column; }
  .gallery-grid figure, .gallery-grid .gallery-main { height: 280px; }
  .gallery-grid figcaption { font-size: 14px; }

  .quote { padding: 80px 0; }
  .quote blockquote { font-size: 24px; }

  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; }

  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}

/* =========================================================
   WHATSAPP — bouton flottant & mentions interlocuteurs
   ========================================================= */

.contact-agents {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #8fb0b8;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-bubble {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 28px #0a3a2c40;
  transition: transform .2s, box-shadow .2s;
}
.wa-bubble:hover { transform: scale(1.06); box-shadow: 0 14px 34px #0a3a2c59; }
.wa-bubble:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }

.wa-panel {
  width: 268px;
  padding: 16px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 60px #05202b2e;
  animation: waPop .18s ease-out;
}
@keyframes waPop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wa-panel-title {
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal);
}

.wa-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 3px;
  transition: background .18s;
}
.wa-person:hover { background: #f1f6f6; }
.wa-person + .wa-person { margin-top: 2px; }
.wa-flag { font-size: 17px; line-height: 1; }
.wa-person b { display: block; font-size: 14px; color: var(--ink); }
.wa-person small { display: block; margin-top: 2px; font-size: 11px; color: #77898f; }

@media (max-width: 620px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-bubble { width: 54px; height: 54px; }
  .wa-panel { width: calc(100vw - 44px); max-width: 300px; }
}

/* =========================================================
   ARRONDIS
   Tout le site utilise ces trois valeurs. Pour arrondir plus
   ou moins, modifier UNIQUEMENT les trois lignes ci-dessous.
   ========================================================= */
:root {
  --r-btn:   10px;   /* boutons */
  --r-card:  14px;   /* cartes, photos, cadres */
  --r-small:  6px;   /* petites étiquettes */
}

/* --- Boutons --- */
.btn,
.nav-toggle        { border-radius: var(--r-btn); }
.tour-bottom a     { border-radius: 50%; }          /* les flèches restent rondes */

/* --- Cartes d'excursion --- */
.tour-card         { border-radius: var(--r-card); overflow: hidden; }
.tour-image span   { border-radius: var(--r-small); }

/* --- Galerie --- */
.gallery-grid figure { border-radius: var(--r-card); }

/* --- Vidéo --- */
.video-frame       { border-radius: var(--r-card); }
.video-frame video { border-radius: calc(var(--r-card) - 5px); }

/* --- Logo & entête --- */
.brand-logo        { border-radius: var(--r-btn); }
.footer-logo       { border-radius: var(--r-btn); }

/* --- Menu mobile déroulant --- */
@media (max-width: 900px) {
  .nav-links       { border-radius: 0 0 var(--r-card) var(--r-card); }
}

/* --- Panneau WhatsApp flottant --- */
.wa-panel          { border-radius: var(--r-card); }
.wa-person         { border-radius: var(--r-btn); }

/* --- Section bateau privé : on adoucit la photo côté texte --- */
@media (min-width: 901px) {
  .private-photo   { border-radius: 0 var(--r-card) var(--r-card) 0; }
}

/* =========================================================
   LOGO — sans plaque blanche
   Le PNG est déjà transparent : la plaque venait du CSS.
   Une ombre douce remplace le rectangle pour garder le logo
   lisible quand la photo derrière s'éclaircit.
   ========================================================= */
.brand-logo {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55))
          drop-shadow(0 0 3px rgba(0, 0, 0, .35));
}
.footer-logo {
  background: none;
  padding: 0;
  border-radius: 0;
}

/* Logo vectoriel : format plus large, plus de hauteur perdue */
.brand-logo img { width: 210px; height: 66px; }
.footer-logo img { width: 180px; height: 56px; }
@media (max-width: 620px) {
  .brand-logo img { width: 155px; height: 49px; }
  .footer-logo img { width: 160px; height: 50px; }
}

/* Pied de page : raison sociale */
.footer-inner p { line-height: 1.9; }

/* Logo : dimensions calées sur le nouveau viewBox (520 x 140) */
.brand-logo img  { width: 230px; height: 62px; }
.footer-logo img { width: 200px; height: 54px; }
@media (max-width: 620px) {
  .brand-logo img  { width: 196px; height: 53px; }
  .footer-logo img { width: 180px; height: 48px; }
}

/* =========================================================
   BADGE D'ACCUEIL (drapeau + langue parlée à bord)
   Textes dans _source/traductions.py : badge_flag / badge_txt
   ========================================================= */
.hero-proof { flex-wrap: wrap; gap: 18px 26px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #eaf6f7;
  background: #ffffff14;
  border: 1px solid #ffffff33;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-badge i { font-size: 16px; font-style: normal; line-height: 1; }

@media (max-width: 620px) {
  .hero-badge { font-size: 10px; padding: 8px 13px; letter-spacing: 1px; }
}

/* =========================================================
   PAGES D'EXCURSION
   Une page par sortie : phi-phi.html, phi-phi-en.html…
   ========================================================= */

/* Bandeau de maquette — à supprimer avant la mise en ligne */
.bandeau-maquette {
  padding: 12px 24px;
  font-size: 12px;
  line-height: 1.6;
  color: #4a3410;
  background: #f8e2b4;
  text-align: center;
}
.bandeau-maquette code { font-size: 11px; background: #00000012; padding: 1px 5px; border-radius: 3px; }

/* Passages d'exemple à remplacer */
.a-remplir {
  color: #c8781f;
  text-decoration: underline dotted #e0a75e 2px;
  text-underline-offset: 3px;
}
.exc-hero .a-remplir { color: #f0b970; text-decoration-color: #f0b97099; }

/* ---------- En-tête de la page ---------- */
.exc-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  color: #fff;
  background-size: cover;
  background-position: 50% 55%;
}
.exc-hero-content { margin-top: auto; margin-bottom: 0; padding: 60px 0 90px; }

.fil { margin-bottom: 22px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #9fc0c6; }
.fil a:hover { color: var(--gold); }
.fil span { margin: 0 8px; }

.exc-hero h1 {
  max-width: 900px;
  margin: 0;
  font: 400 clamp(40px, 5.4vw, 74px)/1.02 Georgia, serif;
  letter-spacing: -2px;
}
.exc-hero h1 em { color: var(--aqua); font-weight: 400; }

.exc-lead { max-width: 640px; margin: 26px 0 30px; font: 17px/1.7 Georgia, serif; color: #d7e2e4; }

.exc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-bottom: 32px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #cfe0e3;
}
.exc-prix {
  padding: 8px 16px;
  font-weight: 700;
  color: #092633;
  background: var(--gold);
  border-radius: 999px;
  text-transform: none;
  letter-spacing: .6px;
}

/* ---------- Introduction ---------- */
.exc-intro { max-width: 820px; }
.exc-intro h2, .exc-h2 { margin-bottom: 22px; font: 400 clamp(30px, 3.4vw, 46px)/1.1 Georgia, serif; letter-spacing: -1px; }
.exc-intro p { font: 17px/1.85 Georgia, serif; color: var(--texte); }

/* ---------- Programme ---------- */
.exc-programme { padding: 100px 0; color: #fff; background: var(--navy); }
.exc-programme h2 { margin-bottom: 45px; font: 400 clamp(30px, 3.4vw, 46px)/1.1 Georgia, serif; letter-spacing: -1px; }

.etapes { max-width: 780px; }
.etapes li {
  display: flex;
  gap: 28px;
  padding: 0 0 34px 0;
  position: relative;
}
.etapes li::before {
  content: "";
  position: absolute;
  left: 6px; top: 22px; bottom: 0;
  width: 1px;
  background: #ffffff2e;
}
.etapes li:last-child { padding-bottom: 0; }
.etapes li:last-child::before { display: none; }

.etape-heure {
  position: relative;
  flex: 0 0 78px;
  padding-left: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--aqua);
}
.etape-heure::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 13px; height: 13px;
  background: var(--gold);
  border-radius: 50%;
}
.etapes h3 { margin-bottom: 7px; font: 22px Georgia, serif; }
.etapes p { font-size: 14px; line-height: 1.7; color: #b8cbd0; }

.programme-libre {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.85;
  color: #d3e2e6;
}
.programme-note {
  max-width: 780px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: 13px;
  font-style: italic;
  letter-spacing: .2px;
  color: #9fb6bd;
}

/* ---------- Inclus / non inclus ---------- */
.inclus-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; }
.inclus-bloc { padding: 34px 32px; border-radius: var(--r-card); }
.inclus-bloc.oui { background: #edf5f4; border: 1px solid #cfe2e0; }
.inclus-bloc.non { background: #f4f2ec; border: 1px solid var(--trait); }
.inclus-bloc h2 { margin-bottom: 20px; font: 400 26px Georgia, serif; letter-spacing: 0; }
.inclus-bloc li { padding: 9px 0; font-size: 14px; line-height: 1.6; color: var(--texte); border-bottom: 1px solid #00000010; }
.inclus-bloc li:last-child { border-bottom: 0; }
.inclus-bloc.oui li { color: var(--teal-fonce); }

/* ---------- Galerie ---------- */
.exc-galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 20px; }
.exc-galerie figure { height: 280px; overflow: hidden; border-radius: var(--r-card); }
.exc-galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.exc-galerie figure:hover img { transform: scale(1.04); }

/* Galerie en portrait : quand les photos fournies sont verticales, on adapte
   la hauteur des vignettes au lieu de recadrer et de perdre le sujet. */
.exc-galerie.portrait figure { height: auto; aspect-ratio: 3 / 4; }

/* ---------- Carrousel de photos ----------
   Défilement horizontal natif : glisser au doigt, molette ou barre de
   défilement. Les flèches et les points ne sont révélés que si le
   JavaScript est actif — sans lui, rien d'inerte à l'écran. */
.exc-galerie.est-carrousel { display: block; padding-bottom: 20px; }

.carrousel { position: relative; }
.carrousel-piste {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carrousel-piste::-webkit-scrollbar { display: none; }
.carrousel-piste figure {
  flex: 0 0 auto;
  scroll-snap-align: center;
  height: 460px;
  overflow: hidden;
  border-radius: var(--r-card);
  background: #eceae5;
}
/* Hauteur imposée, largeur libre : la photo garde ses proportions d'origine,
   rien n'est ni recadré ni étiré. Paysage, portrait et panoramique cohabitent. */
.carrousel-piste img {
  width: auto; height: 100%;
  max-width: none;
  object-fit: contain;
}

.carrousel-fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  font: 30px/1 Georgia, serif;
  color: var(--ink);
  background: #fffffff2;
  border: 1px solid var(--trait);
  border-radius: 50%;
  box-shadow: 0 6px 26px #0d2d3859;
  cursor: pointer;
  transition: all .2s;
}
.carrousel-fleche:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carrousel-fleche:disabled { opacity: .42; cursor: default; transform: translateY(-50%); }
.carrousel-fleche.prec { left: 14px; padding-right: 3px; }
.carrousel-fleche.suiv { right: 14px; padding-left: 3px; }

.carrousel-points {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}
.carrousel-points button {
  width: 9px; height: 9px;
  padding: 0;
  background: var(--trait);
  border-radius: 50%;
  cursor: pointer;
  transition: all .25s;
}
.carrousel-points button.actif { width: 26px; border-radius: 5px; background: var(--teal); }

/* ---------- Bon à savoir ---------- */
.savoir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.savoir-item { padding-top: 20px; border-top: 1px solid var(--trait); }
.savoir-item dt { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal); }
.savoir-item dd { font-size: 14px; line-height: 1.75; color: #4e6068; }

/* ---------- FAQ ---------- */
.exc-faq { padding: 100px 0; background: #f2efe8; }
.exc-faq h2 { margin-bottom: 34px; font: 400 clamp(30px, 3.4vw, 46px)/1.1 Georgia, serif; letter-spacing: -1px; }
.exc-faq details {
  padding: 20px 24px;
  margin-bottom: 12px;
  background: var(--carte);
  border: 1px solid #e2ded6;
  border-radius: var(--r-btn);
}
.exc-faq summary {
  cursor: pointer;
  font: 17px Georgia, serif;
  color: var(--ink);
  list-style: none;
}
.exc-faq summary::-webkit-details-marker { display: none; }
.exc-faq summary::after { content: "+"; float: right; color: var(--teal); font-size: 20px; line-height: 1; }
.exc-faq details[open] summary::after { content: "–"; }
.exc-faq details p { margin-top: 14px; font-size: 14px; line-height: 1.8; color: #4e6068; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .inclus-grid, .savoir-grid { grid-template-columns: 1fr; }
  .exc-galerie { grid-template-columns: 1fr 1fr; }
  .exc-galerie figure:first-child { grid-column: 1 / 3; }
  /* en portrait, pas de grande vignette en tête : elle serait démesurée */
  .exc-galerie.portrait { grid-template-columns: 1fr 1fr; }
  .exc-galerie.portrait figure:first-child { grid-column: auto; }
  .carrousel-piste figure { height: 250px; }
  .carrousel-fleche { width: 44px; height: 44px; font-size: 25px; }
  .carrousel-fleche.prec { left: 8px; }
  .carrousel-fleche.suiv { right: 8px; }
}
@media (max-width: 620px) {
  .exc-hero { min-height: 560px; }
  .exc-hero-content { padding: 40px 0 60px; }
  .exc-programme, .exc-faq { padding: 70px 0; }
  .etapes li { gap: 16px; }
  .etape-heure { flex-basis: 62px; padding-left: 22px; font-size: 12px; }
  .exc-galerie { display: flex; flex-direction: column; }
  .exc-galerie figure { height: 230px; }
  .inclus-bloc { padding: 26px 22px; }
}

/* Lien « en savoir plus » sur une carte d'excursion qui a sa page dédiée */
.tour-plus {
  display: block;
  padding: 14px 25px 20px;
  margin: 0 -25px -25px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
  background: #f1f5f2;
  border-top: 1px solid var(--trait);
  transition: background .2s;
}
.tour-plus:hover { background: #e6efeb; }

/* =========================================================
   SITE MULTI-PAGES
   Accueil · Excursions · Notre bateau · Pourquoi nous · Contact
   ========================================================= */

/* Lien actif dans le menu */
.nav-links a.actif { color: var(--gold); }
.nav-links a.actif::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 5px;
  background: var(--gold);
}
@media (max-width: 900px) {
  .nav-links a.actif::after { display: none; }
}

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  color: #fff;
  background-size: cover;
  background-position: 50% 55%;
}
.page-hero.nu { min-height: 0; background: var(--navy); }
.page-hero-content { margin-top: auto; margin-bottom: 0; padding: 50px 0 80px; }

.fil { margin-bottom: 20px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #9fc0c6; }
.fil a:hover { color: var(--gold); }
.fil span { margin: 0 8px; }

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font: 400 clamp(38px, 5.2vw, 70px)/1.03 Georgia, serif;
  letter-spacing: -2px;
}
.page-hero h1 em { color: var(--aqua); font-weight: 400; }
.page-lead { max-width: 640px; margin-top: 24px; font: 17px/1.75 Georgia, serif; color: #d7e2e4; }

/* ---------- Bouton « voir tout » en bas de section ---------- */
.voir-tout { margin-top: 45px; text-align: center; }
.btn.outline.sombre { color: var(--ink); border-color: #c3ccc6; }
.btn.outline.sombre:hover { color: #fff; background: var(--navy); border-color: var(--navy); }

/* ---------- Arguments en grand format (page Pourquoi nous) ---------- */
.benefit-grid.large { grid-template-columns: 1fr 1fr; gap: 44px 60px; }
.benefit-grid.large h3 { margin: 26px 0 12px; font: 26px Georgia, serif; }
.benefit-grid.large p { font-size: 15px; line-height: 1.85; }
.benefit-grid.large span { font-size: 34px; }
@media (max-width: 620px) { .benefit-grid.large { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Fiche technique du bateau ---------- */
.fiche-technique { margin-top: 10px; }

/* ---------- Page contact ---------- */
.contact-intro {
  max-width: 640px;
  margin-bottom: 45px;
  font: 17px/1.8 Georgia, serif;
  color: var(--texte);
}
.contact-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 60px; }
.contact-carte {
  display: block;
  padding: 32px 28px;
  background: var(--carte);
  border: 1px solid #e2ded6;
  border-radius: var(--r-card);
  box-shadow: 0 10px 34px #0d2d3812;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.contact-carte:hover {
  transform: translateY(-5px);
  border-color: #b6d5d6;
  box-shadow: 0 18px 46px #0d2d3820;
}
.cc-flag { display: block; margin-bottom: 16px; font-size: 24px; line-height: 1; }
.contact-carte h3 { font: 27px Georgia, serif; color: var(--ink); }
.cc-langue { margin-top: 4px; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--teal); }
.cc-num { margin: 16px 0 20px; font-size: 15px; color: var(--texte); }
.cc-action {
  display: inline-block;
  padding: 11px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #052a25;
  background: #25d366;
  border-radius: var(--r-btn);
}
.contact-carte:not(.js-wa) .cc-action { color: #fff; background: var(--navy); }
.contact-infos { max-width: 820px; }

@media (max-width: 900px) { .contact-cartes { grid-template-columns: 1fr; } }

/* ---------- Groupes & événements (page contact) ----------
   Bande de photos à hauteur fixe et largeur libre : portraits et
   paysages cohabitent sans être recadrés ni déformés. */
.groupes-bloc { margin-top: 54px; }
.groupes-intro { max-width: 640px; margin: 10px 0 26px; font-size: 15px; line-height: 1.75; color: var(--gris); }
.groupes-galerie { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.groupes-galerie figure {
  height: 260px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--r-card);
  background: #eceae5;
}
.groupes-galerie img { width: auto; height: 100%; max-width: none; object-fit: contain; display: block; }

@media (max-width: 620px) {
  .groupes-galerie { flex-direction: column; }
  .groupes-galerie figure { height: auto; width: 100%; }
  .groupes-galerie img { width: 100%; height: auto; }
}

/* ---------- Liens du pied de page ---------- */
.footer-liens { font-size: 11px; letter-spacing: .6px; color: #8ba0a7; }
.footer-liens a { padding: 0 2px; }
.footer-liens a:hover { color: var(--gold); }

@media (max-width: 620px) {
  .page-hero { min-height: 420px; }
  .page-hero-content { padding: 36px 0 54px; }
  .footer-liens { line-height: 2.2; text-align: center; }
}

/* =========================================================
   RÉSEAUX SOCIAUX
   Liens dans _source/generer.py (bloc SOCIAUX)
   ========================================================= */

/* --- Rangée d'icônes dans le pied de page --- */
.reseaux { display: flex; gap: 10px; }
.reseaux a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  color: #9fb3ba;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.reseaux a:hover {
  color: #fff;
  background: #ffffff14;
  border-color: #ffffff4d;
  transform: translateY(-2px);
}

/* --- Bloc de la page contact --- */
.reseaux-bloc { padding-top: 0; }
.reseaux-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reseau-carte {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--ink);
  background: var(--carte);
  border: 1px solid #e2ded6;
  border-radius: var(--r-card);
  transition: color .25s, background .25s, border-color .25s, transform .25s;
}
.reseau-carte svg { width: 22px; height: 22px; }
.reseau-carte:hover { color: #fff; border-color: transparent; transform: translateY(-4px); }
.reseau-carte.instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 45%, #bc1888); }
.reseau-carte.tiktok:hover    { background: #111; }
.reseau-carte.facebook:hover  { background: #1877f2; }

@media (max-width: 620px) {
  .reseaux-cartes { grid-template-columns: 1fr; }
  .footer-inner .reseaux { justify-content: center; }
}

/* =========================================================
   SÉLECTEUR DE LANGUE
   De vrais liens : fonctionne sans JavaScript et Google les suit.
   ========================================================= */
.langue { position: relative; }
.langue summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 92px;
  height: 42px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #031c26b8;
  border: 1px solid #ffffff73;
  border-radius: var(--r-btn);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.langue summary::-webkit-details-marker { display: none; }
.langue summary::after {
  content: "";
  margin-left: auto;
  width: 6px; height: 6px;
  border-right: 1.5px solid #ffffffcc;
  border-bottom: 1.5px solid #ffffffcc;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}
.langue[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.langue summary:hover { background: #031c26e0; border-color: #ffffffa6; }
.langue summary:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

.langue-liste {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 132px;
  padding: 6px;
  background: #fff;
  border-radius: var(--r-card);
  box-shadow: 0 18px 46px #05202b33;
}
.langue-liste a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink);
  border-radius: var(--r-small);
  white-space: nowrap;
}
.langue-liste a:hover { background: #f0f4f2; }
.langue-liste a.actif { font-weight: 700; color: var(--teal); background: #eef6f6; }

@media (max-width: 620px) {
  .langue summary { min-width: 84px; padding: 0 10px; }
}
