/* ==========================================================================
   vacancesalamer.be - refonte 2026
   Feuille de style principale. CSS pur, sans framework, mobile-first.
   Palette « mer du Nord » : encre (bleu-gris), sable, écume, accent orange
   (continuité avec l'orange historique #D85427 du site).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices auto-hébergées (subset latin, licence SIL OFL)
   Typo validée par Alex le 27/07/2026 : Lora (titres) + Source Sans 3 (texte).
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Variables
   -------------------------------------------------------------------------- */
:root {
  --font-titres: "Lora", Georgia, serif;
  --font-texte: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --encre: #24333e;        /* titres, footer */
  --texte: #46555f;        /* texte courant */
  --mer: #266081;          /* liens, touches secondaires */
  --mer-foncee: #1c4a64;
  --accent: #d85427;       /* orange historique : décor, soulignés */
  --accent-btn: #c64a20;   /* orange assombri : fonds de boutons (contraste AA) */
  --accent-btn-hover: #a83d18;
  --sable: #f7f2ea;        /* fonds de sections alternées */
  --blanc: #ffffff;
  --ligne: #e5ddd0;        /* bordures discrètes */

  --largeur-page: 1140px;
  --arrondi: 10px;
  --ombre: 0 2px 10px rgba(36, 51, 62, 0.10), 0 8px 30px rgba(36, 51, 62, 0.08);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-titres);
  color: var(--encre);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p {
  margin: 0 0 1em;
}

a {
  color: var(--mer);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--mer-foncee);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--mer);
  outline-offset: 2px;
}

.conteneur {
  max-width: var(--largeur-page);
  margin: 0 auto;
  padding: 0 20px;
}

/* Lien d'évitement (accessibilité clavier) */
.evitement {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--encre);
  color: #fff;
  padding: 10px 16px;
  z-index: 300;
}
.evitement:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.8em 1.6em;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-texte);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-plein {
  background: var(--accent-btn);
  color: #fff;
}
.btn-plein:hover {
  background: var(--accent-btn-hover);
  color: #fff;
}
.btn-contour {
  background: transparent;
  color: var(--mer);
  box-shadow: inset 0 0 0 2px var(--mer);
}
.btn-contour:hover {
  background: var(--mer);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. En-tête et navigation
   -------------------------------------------------------------------------- */
.entete {
  background: var(--blanc);
  border-bottom: 1px solid var(--ligne);
  position: sticky;
  top: 0;
  z-index: 100;
}

.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.marque {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.marque img {
  width: 44px;
  height: 44px;
}
.marque-texte {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--encre);
  line-height: 1.1;
}
.marque-texte small {
  display: block;
  font-family: var(--font-texte);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--mer);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-principale ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-principale a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--encre);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-principale a:hover {
  background: var(--sable);
  color: var(--encre);
}
.nav-principale a[aria-current="page"] {
  color: var(--accent-btn);
}
.nav-principale .nav-cta {
  background: var(--accent-btn);
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  margin-left: 6px;
}
.nav-principale .nav-cta:hover {
  background: var(--accent-btn-hover);
  color: #fff;
}

/* Bouton menu mobile */
.btn-menu {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.btn-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--encre);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 980px) {
  .btn-menu {
    display: block;
  }
  .nav-principale {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--ligne);
    box-shadow: var(--ombre);
    padding: 10px 20px 16px;
  }
  .nav-principale.ouverte {
    display: block;
  }
  .nav-principale ul {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-principale a {
    padding: 12px;
    font-size: 1.05rem;
  }
  .nav-principale .nav-cta {
    text-align: center;
    margin: 8px 0 0;
  }
  body.menu-ouvert .btn-menu span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.menu-ouvert .btn-menu span:nth-child(2) {
    opacity: 0;
  }
  body.menu-ouvert .btn-menu span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   6. Héros
   -------------------------------------------------------------------------- */
.heros {
  background: linear-gradient(var(--sable), var(--blanc));
  padding: 48px 0 0;
  text-align: center;
}
.heros h1 {
  max-width: 21em;
  margin-left: auto;
  margin-right: auto;
}
.heros .accroche {
  font-size: 1.15rem;
  max-width: 38em;
  margin: 0 auto 1.4em;
}
.heros .accroche strong {
  color: var(--encre);
}
.heros-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.heros-photo {
  max-width: var(--largeur-page);
  margin: 0 auto;
  padding: 0 20px;
}
.heros-photo img {
  width: 100%;
  border-radius: var(--arrondi) var(--arrondi) 0 0;
  box-shadow: var(--ombre);
}

/* Petits repères sous le H1 (séparés par des points médians) */
.reperes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  font-weight: 600;
  color: var(--encre);
  font-size: 0.98rem;
}
.reperes li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reperes svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: none;
}

/* --------------------------------------------------------------------------
   6bis. Barre de recherche (critères fixes, pas de dates) et liste des
   appartements triée par pertinence côté client (assets/js/site.js).
   -------------------------------------------------------------------------- */
.selecteur {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--arrondi);
  box-shadow: var(--ombre);
  padding: 18px 20px;
  margin-top: -30px; /* chevauche légèrement la photo du héros */
  position: relative;
  z-index: 5;
}
.champ {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 150px;
}
.champ label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--encre);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.champ select {
  font: inherit;
  color: var(--texte);
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: 8px;
  padding: 9px 10px;
}
.selecteur .btn {
  flex: 0 0 auto;
}
.selecteur-resultat {
  text-align: center;
  font-weight: 600;
  color: var(--mer-foncee);
  margin: 0 0 6px;
  min-height: 1.3em;
}
.selecteur-combo {
  text-align: center;
  font-size: 0.97rem;
  max-width: 40em;
  margin: 0 auto 18px;
}

.liste-titre {
  text-align: center;
  margin: 2.4em 0 0.7em;
  scroll-margin-top: 84px; /* le header sticky ne doit pas recouvrir le titre */
}
.liste-apparts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 14px;
}
.appart {
  border: 1px solid var(--ligne);
  border-radius: var(--arrondi);
  background: var(--blanc);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.appart:hover {
  border-color: var(--mer);
}
.appart a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  color: inherit;
  text-decoration: none;
}
.appart-nom {
  display: block;
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--encre);
  margin-bottom: 2px;
}
.appart-infos {
  display: block;
  font-size: 0.9rem;
}
.appart .badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-ok {
  background: #e2efe6;
  color: #1e6b45;
}
.badge-ko {
  background: #f0ece4;
  color: #6f6552;
}
.appart-ko {
  opacity: 0.55;
}
.appart-ko:hover {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   7. Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 56px 0;
}
.section-sable {
  background: var(--sable);
}
.section-titre {
  text-align: center;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}
.section-intro {
  text-align: center;
  max-width: 42em;
  margin: 0 auto 2.2em;
}

/* Cartes des deux catégories d'appartements */
.cartes-apparts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
}
.carte {
  background: var(--blanc);
  border-radius: var(--arrondi);
  overflow: hidden;
  box-shadow: var(--ombre);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease;
}
.carte:hover {
  transform: translateY(-4px);
}
.carte-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.carte-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carte-corps {
  padding: 20px 22px 24px;
  text-align: center;
}
.carte-corps h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25em;
}
.carte-corps h3 a {
  color: inherit;
  text-decoration: none;
}
.carte-corps h3 a::after {
  /* rend toute la carte cliquable */
  content: "";
  position: absolute;
  inset: 0;
}
.carte {
  position: relative;
}
.carte-details {
  color: var(--texte);
  margin-bottom: 1em;
}
.carte .faux-lien {
  font-weight: 600;
  color: var(--mer);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bande d'atouts */
.atouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
  text-align: center;
}
.atout svg {
  width: 44px;
  height: 44px;
  color: var(--mer);
  margin: 0 auto 10px;
  display: block;
}
.atout h3 {
  font-size: 1.05rem;
  font-family: var(--font-texte);
  font-weight: 600;
  margin-bottom: 0.3em;
}
.atout p {
  font-size: 0.94rem;
  margin: 0;
}

/* Section « découvrir La Panne » : texte + liens utiles */
.deux-colonnes {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 760px) {
  .deux-colonnes {
    grid-template-columns: 1fr;
  }
}
.encart {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--arrondi);
  padding: 24px 26px;
}
.encart h3 {
  margin-bottom: 0.8em;
}
.encart ul {
  margin: 0;
  padding-left: 1.2em;
}
.encart li {
  margin-bottom: 0.55em;
}

/* Bandeau d'appel final */
.bandeau-cta {
  background: var(--encre);
  color: #e8eef2;
  text-align: center;
  padding: 52px 0;
}
.bandeau-cta h2 {
  color: #fff;
}
.bandeau-cta p {
  max-width: 36em;
  margin: 0 auto 1.5em;
}
.bandeau-cta .btn-plein {
  background: var(--accent);
}
.bandeau-cta .btn-plein:hover {
  background: #e9642f;
}
.bandeau-cta .tel {
  display: inline-block;
  margin-top: 14px;
  color: #cfdde6;
}
.bandeau-cta .tel a {
  color: #fff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. Pied de page
   -------------------------------------------------------------------------- */
.pied {
  background: #1b2730;
  color: #b8c6cf;
  padding: 40px 0 28px;
  font-size: 0.95rem;
}
.pied a {
  color: #dbe6ec;
}
.pied a:hover {
  color: #fff;
}
.pied-colonnes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 28px;
}
.pied h3 {
  color: #fff;
  font-family: var(--font-texte);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pied li {
  margin-bottom: 0.5em;
}
.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   9. En-tête des pages intérieures
   -------------------------------------------------------------------------- */
.page-tete {
  background: linear-gradient(var(--sable), var(--blanc));
  padding: 44px 0 34px;
  text-align: center;
}
.page-tete h1 {
  max-width: 26em;
  margin: 0 auto 0.4em;
}
.page-tete .page-intro {
  max-width: 46em;
  margin: 0 auto;
  font-size: 1.12rem;
}

/* Boutons ou liens centrés sous un texte */
.actions-centre {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   10. Cartes de fiches d'appartements (1chambre.html, 2chambres.html)
   Réutilisent .carte ; le lien du titre couvre la carte, le lien
   « disponibilités » reste cliquable au-dessus (z-index).
   -------------------------------------------------------------------------- */
.cartes-fiches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.carte-fiche .carte-corps {
  text-align: left;
  padding: 18px 20px 20px;
}
.carte-fiche h3 {
  font-size: 1.25rem;
  margin-bottom: 0.15em;
}
.carte-lits {
  font-size: 0.95rem;
  margin: 0 0 12px;
}
.puces {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
}
.puces li {
  background: var(--sable);
  color: var(--encre);
  border-radius: 999px;
  padding: 2px 11px;
  font-size: 0.84rem;
  font-weight: 600;
}
.carte-liens {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.carte-liens .faux-lien {
  font-size: 0.95rem;
}
.lien-dispo {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 0.95rem;
}
.passerelle {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   11. Formulaire (disponibilite.html)
   -------------------------------------------------------------------------- */
.bloc-form {
  max-width: 660px;
  margin: 0 auto;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--arrondi);
  box-shadow: var(--ombre);
  padding: 26px 28px 32px;
}
.formulaire label {
  display: block;
  font-weight: 600;
  color: var(--encre);
  margin: 18px 0 2px;
}
.formulaire .aide {
  font-size: 0.9rem;
  color: #66747e;
  margin: 0 0 6px;
}
.formulaire .sans-bord {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.formulaire .comme-label {
  display: block;
  font-weight: 600;
  color: var(--encre);
  padding: 0;
  margin: 18px 0 2px;
}
.formulaire input[type="date"],
.formulaire input[type="email"],
.formulaire input[type="text"],
.formulaire select,
.formulaire textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  color: var(--texte);
  background: var(--blanc);
  border: 1px solid #c8c0b2;
  border-radius: 8px;
  padding: 10px 12px;
}
.formulaire textarea {
  resize: vertical;
}
.formulaire .duo {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.formulaire .duo > div {
  flex: 1 1 200px;
}
.formulaire .radios label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 400;
  color: var(--texte);
  margin: 6px 22px 0 0;
}
.formulaire input[type="radio"],
.formulaire input[type="checkbox"] {
  width: 1.05em;
  height: 1.05em;
  accent-color: var(--accent-btn);
}
.formulaire .case {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--texte);
  margin-top: 20px;
}
.formulaire .case input {
  margin-top: 4px;
  flex: none;
}
.formulaire .btn {
  margin-top: 22px;
}
.formulaire .rgpd {
  font-size: 0.88rem;
  color: #66747e;
  margin: 14px 0 0;
}
/* Honeypot : champ invisible pour les humains, rempli par les robots */
.formulaire .hp {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Champ « races de chien », affiché en JS si animaux = Oui */
#fd-races {
  display: none;
}

/* --------------------------------------------------------------------------
   12. FAQ en accordéon (contact.html)
   -------------------------------------------------------------------------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--arrondi);
  margin-bottom: 12px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  color: var(--encre);
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq .faq-corps {
  padding: 0 20px 18px;
}
.faq .faq-corps p:last-child,
.faq .faq-corps ul:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   13. Tableaux de tarifs (stationnement.html)
   -------------------------------------------------------------------------- */
.tableau-defilant {
  overflow-x: auto;
  margin: 0 0 1.4em;
}
.tarifs {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.tarifs th,
.tarifs td {
  border: 1px solid var(--ligne);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.tarifs th {
  background: var(--sable);
  color: var(--encre);
}
.pastille {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-right: 8px;
}
.pastille-rouge { background: #c23b2a; }
.pastille-orange { background: #e08a1e; }
.pastille-verte { background: #3a8f5d; }
.pastille-bleue { background: #2b6fb3; }

/* --------------------------------------------------------------------------
   14. Avis de locataires (index.html)
   -------------------------------------------------------------------------- */
.avis-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 26px;
}
.avis {
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--arrondi);
  box-shadow: var(--ombre);
  padding: 24px 26px 20px;
  margin: 0;
}
.avis p {
  font-style: italic;
}
.avis cite {
  font-style: normal;
  font-weight: 600;
  color: var(--encre);
  font-size: 0.95rem;
}
.avis-note {
  text-align: center;
}

/* --------------------------------------------------------------------------
   15. Fiches appartements (fil d'Ariane, galerie, caractéristiques)
   -------------------------------------------------------------------------- */
.fil-ariane {
  font-size: 0.9rem;
  color: #66747e;
  margin: 0 0 1.4em;
}
.fil-ariane a {
  color: inherit;
}
.page-tete .reperes {
  margin-bottom: 0.4em;
}
.page-tete .actions-centre {
  margin-top: 20px;
}

/* Galerie photo : deux colonnes qui respectent le format de chaque image */
.galerie {
  columns: 2;
  column-gap: 22px;
  max-width: 940px;
  margin: 0 auto;
}
.galerie figure {
  break-inside: avoid;
  margin: 0 0 22px;
  background: var(--blanc);
  border-radius: var(--arrondi);
  overflow: hidden;
  box-shadow: var(--ombre);
}
.galerie img {
  width: 100%;
}
.galerie figcaption {
  padding: 10px 16px 12px;
  font-size: 0.92rem;
  color: #66747e;
}
@media (max-width: 640px) {
  .galerie {
    columns: 1;
  }
}

/* Encarts de caractéristiques (couchages, équipements, situation) */
.fiche-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1060px;
  margin: 0 auto;
}
.fiche-grille .encart h3 {
  margin-bottom: 0.6em;
}
.fiche-grille .encart ul {
  margin: 0;
  padding-left: 1.15em;
}
.fiche-grille .encart li {
  margin-bottom: 0.45em;
}

/* --------------------------------------------------------------------------
   16. Pages de texte long (_tos.html)
   -------------------------------------------------------------------------- */
.page-texte {
  max-width: 780px;
  margin: 0 auto;
}
.page-texte h2 {
  margin-top: 1.6em;
  padding-top: 0.4em;
  border-top: 1px solid var(--ligne);
}
.page-texte h3 {
  margin-top: 1.5em;
}

/* --------------------------------------------------------------------------
   17. Notes de source et plan d'accès (stationnement.html, contact.html)
   -------------------------------------------------------------------------- */
.tarifs-zones {
  min-width: 680px;
}
.tarifs-legende {
  caption-side: top;
  text-align: left;
  font-size: 0.92rem;
  color: var(--texte);
  padding-bottom: 8px;
}
.source-note {
  max-width: 780px;
  margin: 1.8em auto 0;
  padding-top: 1em;
  border-top: 1px solid var(--ligne);
  font-size: 0.92rem;
  color: var(--texte);
}
.plan-acces {
  margin: 0 0 1.4em;
}
.plan-acces img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ligne);
  border-radius: var(--arrondi);
}
.plan-acces figcaption {
  margin-top: 0.6em;
  font-size: 0.9rem;
  color: var(--texte);
}
