@charset "UTF-8";
/* =====================================================================
   Camping de la Diable
   Direction : l'eau et le bois. Le geste fort est la découpe de rivière
   sous le hero ; tout le reste reste discipliné.
   ===================================================================== */

/* --- 1. Jetons ----------------------------------------------------- */

:root {
  /* Couleur */
  --eau-profonde: #0B3D3B;
  --eau:          #1E7A74;
  --eau-claire:   #2E9C94;
  --ecume:        #A8D5CF;
  --ecume-pale:   #DDEDE9;
  --soleil:       #F5B721;
  --soleil-fonce: #C98F05;
  --sable:        #E3D5B8;
  --sable-pale:   #F0E8D7;
  --encre:        #14211E;
  --encre-douce:  #4A5C56;
  --fond:         #F4F7F4;
  --blanc:        #FFFFFF;
  --alerte:       #A83A1E;

  /* Type */
  --titre: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --texte: "Literata", Georgia, "Times New Roman", serif;

  /* Échelle typographique — quinte, arrondie */
  --t-xs:   0.8125rem;
  --t-s:    0.9375rem;
  --t-base: 1.0625rem;
  --t-m:    1.25rem;
  --t-l:    1.5rem;
  --t-xl:   2rem;
  --t-2xl:  2.75rem;
  --t-3xl:  clamp(2.5rem, 6vw, 4.25rem);

  /* Espace */
  --e-1: 0.25rem;
  --e-2: 0.5rem;
  --e-3: 0.75rem;
  --e-4: 1rem;
  --e-5: 1.5rem;
  --e-6: 2rem;
  --e-7: 3rem;
  --e-8: 4.5rem;
  --e-9: 7rem;

  --largeur:       72rem;
  --largeur-texte: 38rem;  /* ~72 caractères en Literata */
  --rayon:         3px;
  --bordure:       1px solid var(--sable);
}

/* --- 2. Remise à zéro ---------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;          /* filet de sécurité, pas la vraie correction */
}

body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--texte);
  font-size: var(--t-base);
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--e-4);
  text-wrap: balance;
}

h1 { font-size: var(--t-3xl); letter-spacing: -0.035em; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-l); }
h4 { font-size: var(--t-m); }

p, ul, ol, table, details { margin: 0 0 var(--e-4); }
p { max-width: var(--largeur-texte); }

a { color: var(--eau); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--eau-profonde); }

:focus-visible {
  outline: 3px solid var(--soleil);
  outline-offset: 2px;
  border-radius: var(--rayon);
}

address { font-style: normal; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.saut-contenu {
  position: absolute; left: var(--e-4); top: -4rem;
  z-index: 100; padding: var(--e-3) var(--e-5);
  background: var(--eau-profonde); color: var(--blanc);
  font-family: var(--titre); text-decoration: none;
  transition: top 120ms ease;
}
.saut-contenu:focus { top: var(--e-4); color: var(--blanc); }

/* --- 3. Gabarit ---------------------------------------------------- */

.contenant,
main > section,
main > h1 {
  width: min(100% - 2.5rem, var(--largeur));
  margin-inline: auto;
}

main > section { margin-block: var(--e-8); }
main > h1      { margin-block: var(--e-7) var(--e-5); }

.mention {
  font-family: var(--titre);
  font-size: var(--t-s);
  font-weight: 500;
  color: var(--encre-douce);
}

/* --- 4. Boutons ---------------------------------------------------- */

.bouton {
  display: inline-block;
  padding: 0.7em 1.4em;
  background: var(--eau-profonde);
  color: var(--blanc);
  font-family: var(--titre);
  font-size: var(--t-s);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--eau-profonde);
  border-radius: var(--rayon);
  transition: background 140ms ease, color 140ms ease;
}
.bouton:hover { background: transparent; color: var(--eau-profonde); }

.bouton--reserver {
  background: var(--soleil);
  border-color: var(--soleil);
  color: var(--encre);
}
.bouton--reserver:hover {
  background: var(--encre);
  border-color: var(--encre);
  color: var(--soleil);
}

.bouton--fantome {
  background: transparent;
  color: var(--blanc);
  border-color: var(--blanc);
}
.bouton--fantome:hover { background: var(--blanc); color: var(--eau-profonde); }

/* --- 5. En-tête ---------------------------------------------------- */

/* L'en-tête est pleine largeur et son contenu vit dans un conteneur
   interne. L'ancienne version étirait un pseudo-élément à -50vw de
   chaque côté pour faire un fond pleine largeur : c'est exactement ce
   qui faisait déborder la page vers la droite. */

.entete {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease;
}
.entete.est-collee {
  background: var(--fond);
  border-bottom-color: var(--sable);
}

.entete__interieur {
  position: relative;
  display: flex; align-items: center; gap: var(--e-5);
  width: min(100% - 2.5rem, var(--largeur));
  margin-inline: auto;
  padding-block: var(--e-4);
}

.logo { flex: 0 0 auto; line-height: 0; }
.logo img { width: 120px; height: auto; transition: width 160ms ease; }
.entete.est-collee .logo img { width: 86px; }

.menu {
  flex: 1;
  display: flex; align-items: center; gap: var(--e-5);
  justify-content: flex-end;
  min-width: 0;
}

.menu ul {
  display: flex; flex-wrap: wrap; gap: var(--e-5);
  margin: 0; padding: 0; list-style: none;
  min-width: 0;
}

.menu a {
  font-family: var(--titre);
  font-size: var(--t-s);
  font-weight: 500;
  color: var(--encre);
  text-decoration: none;
  white-space: nowrap;
  padding-block: var(--e-1);
  border-bottom: 2px solid transparent;
}
.menu a:hover { border-bottom-color: var(--ecume); }
.menu a[aria-current="page"] { border-bottom-color: var(--eau); }

.bascule-langue {
  font-family: var(--titre);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--eau-profonde);
  text-decoration: none;
  white-space: nowrap;
  padding: var(--e-2) var(--e-3);
  border: var(--bordure);
  border-radius: var(--rayon);
}
.bascule-langue:hover { background: var(--sable-pale); }

.bascule-menu { display: none; }

/* --- 6. Hero ------------------------------------------------------- */

/* Le hero est pleine largeur : il doit échapper à la contrainte de
   `main > section`, qui le bornait à la largeur du conteneur et laissait
   une bande claire à droite. Son contenu, lui, reste dans .hero__contenu. */
main > section.hero {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hero {
  position: relative;
  margin: 0 0 var(--e-8);
  padding: var(--e-9) 0 var(--e-8);
  background: var(--eau-profonde);
  color: var(--blanc);
  overflow: hidden;
}

.hero__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero__contenu {
  position: relative;
  width: min(100% - 2.5rem, var(--largeur));
  margin-inline: auto;
}

.hero h1 { color: var(--blanc); max-width: 16ch; margin-bottom: var(--e-5); }

.hero__accroche {
  font-size: var(--t-m);
  color: var(--ecume);
  max-width: 34ch;
  margin-bottom: var(--e-6);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--e-4); }

/* Le geste : le bord de la rivière découpe le bas du hero. */
.hero__eau {
  position: absolute; bottom: -1px; left: 0;
  width: 100%; height: 70px;
  fill: var(--fond);
}

/* --- 7. Repères chiffrés ------------------------------------------- */

.reperes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: var(--e-5);
  padding: var(--e-6) 0;
  border-top: var(--bordure);
  border-bottom: var(--bordure);
}

.repere__nombre {
  display: block;
  font-family: var(--titre);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--eau);
}
.repere__libelle {
  font-family: var(--titre);
  font-size: var(--t-s);
  color: var(--encre-douce);
}

/* --- 8. Tarifs ----------------------------------------------------- */

.grille-tarifs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--e-5);
  margin-bottom: var(--e-5);
}

.carte-tarif {
  display: flex; flex-direction: column;
  padding: var(--e-5);
  background: var(--blanc);
  border: var(--bordure);
  border-top: 4px solid var(--eau);
  border-radius: var(--rayon);
}
.carte-tarif:last-child { border-top-color: var(--soleil); }

.carte-tarif h3 { margin-bottom: var(--e-3); font-size: var(--t-m); }

.carte-tarif__prix { margin: 0 0 var(--e-4); }
.carte-tarif__prix strong {
  display: block;
  font-family: var(--titre);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--eau-profonde);
}
.carte-tarif__prix .mention { display: block; }

.inclusions {
  flex: 1;
  margin: 0 0 var(--e-5);
  padding: 0;
  list-style: none;
  font-size: var(--t-s);
}
.inclusions li {
  padding: var(--e-2) 0 var(--e-2) 1.4em;
  border-bottom: 1px solid var(--sable-pale);
  position: relative;
}
.inclusions li::before {
  content: "";
  position: absolute; left: 0; top: 1.05em;
  width: 0.7em; height: 2px;
  background: var(--ecume);
}
.inclusions li:last-child { border-bottom: 0; }

.prix-saison {
  font-family: var(--titre);
  margin-bottom: var(--e-6);
}
.prix-saison strong {
  font-size: var(--t-2xl);
  font-weight: 700;
  color: var(--eau-profonde);
}

/* --- 9. Tableau des suppléments ------------------------------------ */

.groupe-supplements {
  margin: var(--e-6) 0 var(--e-3);
  padding-bottom: var(--e-2);
  font-size: var(--t-m);
  border-bottom: 2px solid var(--ecume);
}

.tableau-supplements {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-s);
}
.tableau-supplements th,
.tableau-supplements td {
  padding: var(--e-3) var(--e-4);
  text-align: left;
  border-bottom: 1px solid var(--sable-pale);
}
.tableau-supplements thead th {
  font-family: var(--titre);
  font-size: var(--t-xs);
  color: var(--encre-douce);
  border-bottom: var(--bordure);
}
.tableau-supplements tbody th {
  font-weight: 400;
  font-family: var(--texte);
}
.tableau-supplements tbody tr:hover { background: var(--ecume-pale); }
.tableau-supplements .colonne-prix {
  text-align: right;
  font-family: var(--titre);
  font-weight: 600;
  white-space: nowrap;
}
.tableau-supplements tbody th .mention { display: block; }

.liste-visiteurs {
  padding: 0; list-style: none;
  max-width: var(--largeur-texte);
}
.liste-visiteurs li {
  display: flex; justify-content: space-between; gap: var(--e-4);
  padding: var(--e-3) 0;
  border-bottom: 1px solid var(--sable-pale);
}

/* --- 10. Étiquettes de terrain ------------------------------------- */
/* Le vocabulaire du camping : V8, H6A, P11A. Porte une information
   réelle — le client sait quel emplacement il regarde. */

.terrains { display: flex; flex-wrap: wrap; gap: var(--e-2); margin: var(--e-3) 0; padding: 0; list-style: none; }
.terrain {
  padding: 0.15em 0.5em;
  background: var(--sable-pale);
  border: 1px solid var(--sable);
  border-radius: var(--rayon);
  font-family: var(--titre);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.terrain--eau { background: var(--ecume-pale); border-color: var(--ecume); }

/* --- 11. Activités -------------------------------------------------- */

.colonnes-activites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--e-7);
}

.liste-activites { padding: 0; list-style: none; }
.liste-activites li {
  padding: var(--e-3) 0;
  border-bottom: 1px solid var(--sable-pale);
}
.liste-activites .mention { margin-left: var(--e-2); }

/* --- 12. FAQ ------------------------------------------------------- */

.faq details {
  border-bottom: var(--bordure);
  max-width: var(--largeur-texte);
}
.faq summary {
  padding: var(--e-4) var(--e-5) var(--e-4) 0;
  font-family: var(--titre);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: var(--t-l);
  color: var(--eau);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: var(--e-5); }

/* --- 13. Pied ------------------------------------------------------ */

.pied {
  margin-top: var(--e-9);
  padding: var(--e-8) 0 var(--e-5);
  background: var(--eau-profonde);
  color: var(--ecume);
}

.pied__interieur {
  width: min(100% - 2.5rem, var(--largeur));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--e-6);
  align-items: start;
}

.pied h2 {
  font-size: var(--t-s);
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: var(--e-4);
}
.pied ul { padding: 0; list-style: none; font-size: var(--t-s); }
.pied li { margin-bottom: var(--e-2); }
.pied a { color: var(--ecume); }
.pied a:hover { color: var(--soleil); }
.pied .saison { font-size: var(--t-xs); margin-top: var(--e-4); }

.pied__legal {
  grid-column: 1 / -1;
  padding-top: var(--e-5);
  margin: 0;
  border-top: 1px solid rgba(168, 213, 207, 0.25);
  font-size: var(--t-xs);
  max-width: none;
}

/* --- 14. Page introuvable ------------------------------------------ */

.introuvable { padding-block: var(--e-9); }
.introuvable p { font-size: var(--t-m); }

/* --- 15. Mobile ---------------------------------------------------- */

@media (max-width: 56rem) {
  .bascule-menu {
    display: block;
    margin-left: auto;
    padding: var(--e-3);
    background: transparent;
    border: var(--bordure);
    border-radius: var(--rayon);
    cursor: pointer;
  }
  .bascule-menu .barres,
  .bascule-menu .barres::before,
  .bascule-menu .barres::after {
    display: block; width: 22px; height: 2px;
    background: var(--encre);
  }
  .bascule-menu .barres::before,
  .bascule-menu .barres::after { content: ""; position: relative; }
  .bascule-menu .barres::before { top: -7px; }
  .bascule-menu .barres::after  { top: 5px; }

  .menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: var(--e-4);
    padding: var(--e-5);
    background: var(--blanc);
    border: var(--bordure);
    border-radius: var(--rayon);
  }
  .menu.est-ouvert { display: flex; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu ul a { display: block; padding: var(--e-3) 0; border-bottom: 1px solid var(--sable-pale); }
  .menu .bouton { text-align: center; }

  .hero { padding-block: var(--e-7) var(--e-7); }
  .hero__eau { height: 40px; }
  main > section { margin-block: var(--e-7); }
}

@media (max-width: 34rem) {
  .tableau-supplements th,
  .tableau-supplements td { padding: var(--e-3) var(--e-2); }
}

/* --- 16. Préférences et impression --------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .entete, .pied, .hero__actions, .bouton { display: none; }
  body { background: #fff; font-size: 11pt; }
  .carte-tarif, .tableau-supplements { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* --- 17. Services et attraits --------------------------------------- */

.liste-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--e-5);
  padding: 0; list-style: none;
}
.liste-services li {
  padding: var(--e-5) 0 0;
  border-top: 3px solid var(--ecume);
}
.liste-services h3 { font-size: var(--t-base); margin-bottom: var(--e-2); }
.liste-services p  { font-size: var(--t-s); color: var(--encre-douce); margin: 0; }

.liste-attraits {
  columns: 2 16rem;
  column-gap: var(--e-7);
  padding: 0; list-style: none;
}
.liste-attraits li {
  break-inside: avoid;
  padding: var(--e-3) 0;
  border-bottom: 1px solid var(--sable-pale);
}
.liste-attraits a { font-family: var(--titre); font-weight: 500; text-decoration: none; }
.liste-attraits a:hover { text-decoration: underline; }
.liste-attraits .mention { display: block; }

/* --- 18. Galerie ---------------------------------------------------- */

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: var(--e-3);
  padding: 0; list-style: none;
}
.galerie li { margin: 0; }
.galerie img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--rayon);
  background: var(--ecume-pale);
}

/* La première photo de chaque album occupe deux colonnes : une grille
   parfaitement régulière donne un mur de vignettes sans hiérarchie. */
@media (min-width: 48rem) {
  .galerie li:first-child { grid-column: span 2; }
  .galerie li:first-child img { aspect-ratio: 3 / 2; }
}

/* --- 19. Débordement et photos -------------------------------------- */

/* Tout contenu large (tableaux, longues listes) défile dans sa propre
   boîte plutôt que de pousser la page vers la droite. */
.defilable {
  overflow-x: auto;
  margin-bottom: var(--e-4);
  -webkit-overflow-scrolling: touch;
}
.defilable > table { margin-bottom: 0; }

/* Photo d'en-tête de carte */
.carte-tarif__photo {
  margin: calc(var(--e-5) * -1) calc(var(--e-5) * -1) var(--e-5);
  border-radius: var(--rayon) var(--rayon) 0 0;
  overflow: hidden;
}
.carte-tarif__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Bande de photos de l'accueil : une grande à gauche, quatre petites.
   Une grille régulière donnerait un mur de vignettes sans hiérarchie. */
.bande-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--e-3);
  padding: 0; list-style: none;
  margin-bottom: var(--e-5);
}
.bande-photos li { margin: 0; }
.bande-photos img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--rayon);
  background: var(--ecume-pale);
}
.bande-photos li:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.bande-photos li:first-child img { aspect-ratio: 1 / 1; }
.bande-photos li + li img { aspect-ratio: 4 / 3; }

@media (max-width: 40rem) {
  .bande-photos { grid-template-columns: repeat(2, 1fr); }
  .bande-photos li:first-child { grid-column: span 2; grid-row: auto; }
  .bande-photos li:first-child img { aspect-ratio: 3 / 2; }
}

/* Vignette dans la liste des services */
.liste-services img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--rayon);
  margin-bottom: var(--e-3);
}

/* --- 22. Pages restantes -------------------------------------------- */

.colonne-lecture { max-width: var(--largeur-texte); }

.prix-vedette {
  padding: var(--e-5) 0;
  border-top: var(--bordure);
  border-bottom: var(--bordure);
  margin-bottom: var(--e-6);
}

/* Appel à l'action de fin de page : une bande sable, pas une carte de
   plus. Elle clôt la page au lieu de s'ajouter à la liste. */
.appel {
  padding: var(--e-6) var(--e-6);
  background: var(--sable-pale);
  border-radius: var(--rayon);
}
.appel h2 { margin-top: 0; font-size: var(--t-l); }
.appel p:last-child { margin-bottom: 0; }
.appel .bouton { margin-right: var(--e-4); }

/* --- Plan ------------------------------------------------------------ */

.plan__cadre {
  background: var(--blanc);
  border: var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
  margin-bottom: var(--e-4);
}
.plan__cadre object {
  display: block; width: 100%;
  height: clamp(420px, 70vh, 900px);
}
.plan__cadre p { padding: var(--e-5); margin: 0; }

/* --- Contact --------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--e-7);
  align-items: start;
}
.contact h2 { font-size: var(--t-l); margin-top: 0; }

.formulaire-contact label {
  display: block;
  margin: var(--e-4) 0 var(--e-1);
  font-family: var(--titre);
  font-size: var(--t-s);
  font-weight: 600;
}
.facultatif { font-weight: 400; color: var(--encre-douce); }

.formulaire-contact input,
.formulaire-contact select,
.formulaire-contact textarea {
  width: 100%;
  padding: var(--e-3);
  font: inherit; font-size: var(--t-s);
  color: var(--encre);
  background: var(--blanc);
  border: 1px solid var(--sable);
  border-radius: var(--rayon);
}
.formulaire-contact input:focus,
.formulaire-contact select:focus,
.formulaire-contact textarea:focus { border-color: var(--eau); }
.formulaire-contact textarea { resize: vertical; }
.formulaire-contact .bouton { margin-top: var(--e-5); }

/* Le leurre anti-robot : hors écran, pas display:none — certains
   robots ignorent les champs masqués de cette façon. */
.leurre {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

.message {
  padding: var(--e-3) var(--e-4);
  border-radius: var(--rayon);
  border-left: 3px solid;
  font-size: var(--t-s);
}
.message--succes { background: var(--ecume-pale); border-color: var(--eau); }
.message--erreur { background: #FBEEEA; border-color: var(--alerte); color: #6E2412; }

.carte iframe {
  display: block; width: 100%;
  height: clamp(320px, 45vh, 480px);
  border: 0; border-radius: var(--rayon);
}

@media (max-width: 48rem) {
  .contact { grid-template-columns: 1fr; gap: var(--e-6); }
  .appel { padding: var(--e-5); }
}

/* --- 23. Prêts-à-camper --------------------------------------------- */

/* Rangées alternées plutôt qu'une grille de cartes : avec trois unités
   dont le prix va de 180 $ à 330 $, des cartes identiques gomment
   justement ce qui les distingue. */

.unites-liste { display: grid; gap: var(--e-8); }

.rangee-unite {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--e-7);
  align-items: center;
}

.rangee-unite__media { position: relative; grid-column: 1; grid-row: 1; }
.rangee-unite__corps { grid-column: 2; grid-row: 1; }

/* On inverse une rangée sur deux. Le regard redescend en zigzag au lieu
   de suivre une colonne, et chaque unité reçoit la même attention. */
.rangee-unite:nth-child(even) .rangee-unite__media { grid-column: 2; }
.rangee-unite:nth-child(even) .rangee-unite__corps { grid-column: 1; }

.rangee-unite__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--rayon);
}
.rangee-unite__vide {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--ecume-pale), var(--sable-pale));
  border-radius: var(--rayon);
}

/* Le prix posé sur la photo : c'est le premier chiffre que le visiteur
   cherche, il n'a pas à le trouver dans le texte. */
.etiquette-prix {
  position: absolute;
  left: var(--e-4); bottom: var(--e-4);
  margin: 0;
  padding: var(--e-3) var(--e-4);
  background: var(--eau-profonde);
  color: var(--blanc);
  border-radius: var(--rayon);
  font-family: var(--titre);
  line-height: 1.15;
  max-width: none;
}
.etiquette-prix span { display: block; font-size: var(--t-xs); color: var(--ecume); }
.etiquette-prix strong { display: block; font-size: var(--t-xl); font-weight: 700; }
.etiquette-prix--seule { position: static; display: inline-block; }

.rangee-unite h3 { font-size: var(--t-xl); margin-bottom: var(--e-3); }
.rangee-unite h3 a { color: inherit; text-decoration: none; }
.rangee-unite h3 a:hover { color: var(--eau); }
.rangee-unite__texte { margin-bottom: var(--e-4); }
.rangee-unite__terrains { font-size: var(--t-s); margin: var(--e-4) 0; }
.rangee-unite__terrains .mention { display: inline; }
.rangee-unite__actions { display: flex; flex-wrap: wrap; gap: var(--e-3); margin: var(--e-5) 0 0; }

/* Pastilles d'équipement : une information par pastille, pas de décor. */
.traits-pastilles {
  display: flex; flex-wrap: wrap; gap: var(--e-2);
  margin: 0; padding: 0; list-style: none;
}
.traits-pastilles li {
  padding: 0.25em 0.7em;
  background: var(--sable-pale);
  border: 1px solid var(--sable);
  border-radius: 999px;
  font-family: var(--titre);
  font-size: var(--t-xs);
  font-weight: 500;
}
.traits-pastilles .pastille-eau {
  background: var(--ecume-pale);
  border-color: var(--ecume);
  color: var(--eau-profonde);
}

/* --- Fiche d'unité --------------------------------------------------- */

.fil-ariane { font-family: var(--titre); font-size: var(--t-s); margin-bottom: var(--e-3); }
.fil-ariane a { text-decoration: none; }

.unite {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--e-7);
  align-items: start;
}

.unite__principale { position: relative; margin: 0; }
.unite__principale img { width: 100%; border-radius: var(--rayon); }

.unite__vignettes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: var(--e-3);
  margin: var(--e-3) 0 0; padding: 0; list-style: none;
}
.unite__vignettes img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--rayon);
}

.unite__intro { margin-bottom: var(--e-5); }
.unite__intro p { margin-bottom: var(--e-4); }
.unite__intro p:first-child { font-size: var(--t-m); }
.unite__intro p:last-child { margin-bottom: 0; }
.unite__action { margin: var(--e-5) 0 0; }

.fiche { margin-top: var(--e-6); }
.fiche dt {
  font-family: var(--titre); font-weight: 600; font-size: var(--t-s);
  padding-top: var(--e-3); border-top: 1px solid var(--sable-pale);
}
.fiche dd { margin: var(--e-1) 0 var(--e-3); font-size: var(--t-s); }

.inclusions--exclues li::before { background: var(--sable); }

.liste-autres { padding: 0; list-style: none; margin: 0; }
.liste-autres li {
  display: flex; justify-content: space-between; gap: var(--e-4);
  padding: var(--e-3) 0;
  border-bottom: 1px solid var(--sable);
}
.liste-autres li:last-child { border-bottom: 0; }
.liste-autres a { font-family: var(--titre); font-weight: 500; }

@media (max-width: 52rem) {
  .rangee-unite { grid-template-columns: 1fr; gap: var(--e-5); }
  .rangee-unite__media,
  .rangee-unite__corps,
  .rangee-unite:nth-child(even) .rangee-unite__media,
  .rangee-unite:nth-child(even) .rangee-unite__corps { grid-column: 1; grid-row: auto; }
  .unites-liste { gap: var(--e-7); }
  .unite { grid-template-columns: 1fr; gap: var(--e-5); }
}

/* --- 24. Programme des activités ------------------------------------ */

/* Une ligne par animation, la date en colonne fixe à gauche. Un vrai
   calendrier en grille serait illisible : les animations d'un camping
   sont irrégulières, il y en a trois une semaine et zéro la suivante. */

.programme { padding: 0; list-style: none; margin: 0 0 var(--e-5); }

.programme__item {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: var(--e-5);
  padding: var(--e-4) 0;
  border-bottom: 1px solid var(--sable);
}
.programme__item:first-child { border-top: 1px solid var(--sable); }

.programme__quand { margin: 0; }
.programme__date {
  display: block;
  font-family: var(--titre);
  font-weight: 600;
  color: var(--eau-profonde);
}
.programme__heure {
  display: inline-block;
  margin-top: var(--e-1);
  padding: 0.1em 0.5em;
  background: var(--ecume-pale);
  border-radius: var(--rayon);
  font-family: var(--titre);
  font-size: var(--t-xs);
}
.programme__quoi h3 { font-size: var(--t-m); margin-bottom: var(--e-1); }
.programme__quoi p { margin-bottom: var(--e-2); }
.programme__quoi p:last-child { margin-bottom: 0; }

@media (max-width: 40rem) {
  .programme__item { grid-template-columns: 1fr; gap: var(--e-2); }
}
/* --- Promotions ---------------------------------------------------- */

/* Le bandeau est la seule chose plus haute que l'en-tête : il défile
   avec la page, l'en-tête collant prend le relais en dessous. */
.bandeau {
  display: flex; align-items: center; justify-content: center;
  gap: var(--e-4);
  padding: var(--e-2) var(--e-7) var(--e-2) var(--e-5);
  position: relative;
  background: var(--eau-profonde);
  color: var(--blanc);
  font-family: var(--titre);
  font-size: var(--t-s);
}
.bandeau[hidden] { display: none; }
.bandeau__texte { margin: 0; text-align: center; }
.bandeau a { color: var(--blanc); font-weight: 600; text-underline-offset: 0.2em; }
.bandeau a:hover { color: var(--soleil); }
.bandeau__pastille {
  display: inline-block;
  margin-right: var(--e-2);
  padding: 0.05em 0.55em;
  background: var(--soleil);
  color: var(--encre);
  border-radius: var(--rayon);
  font-weight: 700;
}
.bandeau__code { margin-left: var(--e-3); color: var(--ecume); }
.bandeau__code strong { color: var(--blanc); letter-spacing: 0.04em; }
.bandeau__fermer {
  position: absolute; right: var(--e-3); top: 50%;
  transform: translateY(-50%);
  width: 2rem; height: 2rem;
  background: none; border: 0;
  color: var(--ecume);
  font-size: 1.4rem; line-height: 1;
  cursor: pointer;
}
.bandeau__fermer:hover, .bandeau__fermer:focus-visible { color: var(--blanc); }

.a-la-une {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: var(--e-5);
}

.carte-une {
  display: flex; flex-direction: column;
  background: var(--blanc);
  border: var(--bordure);
  border-top: 4px solid var(--soleil);
  border-radius: var(--rayon);
  overflow: hidden;
}
.carte-une__photo { aspect-ratio: 16 / 9; overflow: hidden; }
.carte-une__photo img { width: 100%; height: 100%; object-fit: cover; }
.carte-une__corps { flex: 1; display: flex; flex-direction: column; padding: var(--e-5) var(--e-6) var(--e-6); }
.carte-une__corps h3 { font-size: var(--t-l); margin-bottom: var(--e-3); }
.carte-une__pastille {
  align-self: flex-start;
  margin: 0 0 var(--e-3);
  padding: 0.15em 0.6em;
  background: var(--soleil);
  border-radius: var(--rayon);
  font-family: var(--titre);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.carte-une__code {
  font-family: var(--titre);
  color: var(--encre-douce);
}
.carte-une__code strong {
  margin-left: var(--e-2);
  padding: 0.1em 0.5em;
  border: 1px dashed var(--eau);
  border-radius: var(--rayon);
  color: var(--eau-profonde);
  letter-spacing: 0.05em;
}
.carte-une__actions {
  margin: auto 0 0;
  padding-top: var(--e-3);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-4);
}

/* Une seule promotion : photo et texte côte à côte, elle a la place. */
@media (min-width: 52rem) {
  .a-la-une--seule .carte-une { flex-direction: row; }
  .a-la-une--seule .carte-une__photo { flex: 0 0 52%; aspect-ratio: auto; min-height: 20rem; }
  .a-la-une--seule .carte-une__corps { justify-content: center; padding: var(--e-7); }
  .a-la-une--seule .carte-une__actions { margin-top: var(--e-3); }
}

@media print {
  .bandeau { display: none; }
}

/* --- Prêts-à-camper d'hiver ------------------------------------------ */

.renvoi-saison {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--e-4);
  padding: var(--e-5) var(--e-6);
  background: var(--ecume-pale);
  border-left: 4px solid var(--eau);
  border-radius: var(--rayon);
}
.renvoi-saison p { margin: 0; }
.renvoi-saison strong { font-family: var(--titre); }

.traits-pastilles .pastille-hiver { background: var(--ecume-pale); border-color: var(--eau-claire); }

/* Section hiver de l'accueil : fond givré pleine bande, pour qu'elle se
   distingue de la grille d'été plus bas. */
main > section.hiver-une {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: var(--e-7) max(1.25rem, calc((100% - var(--largeur)) / 2));
  background: var(--ecume-pale);
}
.hiver-une__entete { max-width: var(--largeur-texte); margin-bottom: var(--e-5); }
.hiver-une__entete h2 { margin: 0 0 var(--e-3); }
.hiver-une__entete p:last-child { margin: 0; }
.carte-tarif--hiver { border-top-color: var(--eau-claire); }
.carte-tarif--hiver:last-child { border-top-color: var(--eau-claire); }
.carte-tarif--hiver .carte-tarif__photo {
  display: block;
  margin: calc(var(--e-5) * -1) calc(var(--e-5) * -1) var(--e-4);
  aspect-ratio: 4 / 3; overflow: hidden;
}
.carte-tarif--hiver .carte-tarif__photo img { width: 100%; height: 100%; object-fit: cover; }
.carte-tarif--hiver h3 a { color: inherit; text-decoration: none; }
.carte-tarif--hiver .traits-pastilles { margin-bottom: var(--e-4); }
.carte-tarif__actions { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: var(--e-3); }
.lien-fleche { font-family: var(--titre); font-weight: 600; color: var(--eau-profonde); }
.hiver-une .carte-une__pastille { display: inline-block; }

/* La colonne de lecture s'aligne sur le titre de la page au lieu de se
   centrer : centrée, elle laissait un vide à gauche sous un h1 calé à
   gauche. */
main > .colonne-lecture {
  margin-left: max(1.25rem, calc((100% - var(--largeur)) / 2));
  margin-right: auto;
}

/* --- Page hiver ------------------------------------------------------ */

.page-pac_hiver main { --nuit: #0E2A3F; --nuit-claire: #1C4562; --givre: #E8F1F5; }

main > section.hiver-hero,
main > section.hiver-final {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hiver-hero {
  position: relative;
  margin: 0 0 var(--e-7);
  padding: var(--e-9) max(1.25rem, calc((100% - var(--largeur)) / 2)) calc(var(--e-9) + 2rem);
  background: radial-gradient(ellipse at 75% 0%, var(--nuit-claire), var(--nuit) 65%);
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.hiver-hero__image { position: absolute; inset: 0; z-index: -2; }
.hiver-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hiver-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 42, 63, .92) 0%, rgba(14, 42, 63, .6) 55%, rgba(14, 42, 63, .2) 100%);
}

/* Flocons : deux couches de points qui descendent à vitesses différentes. */
.hiver-hero__neige,
.hiver-hero__neige::after {
  position: absolute; inset: -100% 0 0; z-index: -1;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 90px 120px, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 160px 60px, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 230px 170px, rgba(255,255,255,.5) 50%, transparent 51%);
  background-size: 260px 220px;
  animation: neige 26s linear infinite;
}
.hiver-hero__neige::after {
  content: ""; inset: 0;
  background-size: 180px 160px;
  opacity: .6;
  animation-duration: 18s;
}
@keyframes neige { to { transform: translateY(50%); } }
@media (prefers-reduced-motion: reduce) {
  .hiver-hero__neige, .hiver-hero__neige::after { animation: none; }
}

.hiver-hero__contenu { position: relative; max-width: 50rem; }
.hiver-hero__saison {
  display: inline-block;
  margin: 0 0 var(--e-4);
  padding: 0.3em 0.8em;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-family: var(--titre);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--givre);
}
.hiver-hero h1 { margin: 0 0 var(--e-5); color: var(--blanc); }
.hiver-hero__accroche { font-size: var(--t-m); line-height: 1.6; color: var(--givre); max-width: 36ch; margin-bottom: var(--e-6); }
.hiver-hero__actions { display: flex; flex-wrap: wrap; gap: var(--e-4); }
.hiver-hero .bouton--fantome { border-color: rgba(255,255,255,.7); }
.hiver-hero .bouton--fantome:hover { background: var(--blanc); color: var(--nuit); }
.hiver-hero__prix { margin: var(--e-5) 0 0; font-family: var(--titre); color: var(--givre); }
.hiver-hero__prix strong { font-size: var(--t-l); color: var(--soleil); }

.hiver-hero__montagnes {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(60px, 9vw, 130px);
}
.hiver-hero__montagnes .loin { fill: rgba(232, 241, 245, .35); }
.hiver-hero__montagnes .pres { fill: var(--fond); }

.hiver-atouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--e-5);
}
.atout {
  padding: var(--e-5);
  background: var(--blanc);
  border: 1px solid var(--ecume-pale);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(14, 42, 63, .04), 0 8px 24px -16px rgba(14, 42, 63, .35);
}
.atout svg {
  width: 2.5rem; height: 2.5rem;
  padding: 0.5rem;
  margin-bottom: var(--e-3);
  background: var(--givre);
  border-radius: 50%;
  fill: none; stroke: var(--nuit-claire); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.atout h2 { font-size: var(--t-m); margin: 0 0 var(--e-2); }
.atout p { margin: 0; font-size: var(--t-s); color: var(--encre-douce); line-height: 1.5; }

.hiver-blocs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--e-6);
}
.hiver-bloc {
  padding: var(--e-6);
  background: var(--givre);
  border-left: 4px solid var(--nuit-claire);
  border-radius: 0 6px 6px 0;
}
.hiver-bloc h2 { font-size: var(--t-xl); margin: 0 0 var(--e-3); color: var(--nuit); }
.hiver-bloc p { margin: 0; }

.hiver-titre-section { font-size: var(--t-2xl); margin-bottom: var(--e-6); }

.rangee-unite__vide--hiver {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(2px 2px at 30px 40px, rgba(255,255,255,.7) 50%, transparent 51%) 0 0 / 120px 100px,
    linear-gradient(160deg, var(--nuit-claire), var(--nuit));
  border-radius: var(--rayon);
}

.hiver-final {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--e-6);
  margin-bottom: 0 !important;
  padding: var(--e-8) max(1.25rem, calc((100% - var(--largeur)) / 2));
  background: var(--nuit);
  color: var(--givre);
}
.hiver-final h2 { color: var(--blanc); margin: 0 0 var(--e-3); }
.hiver-final p { margin: 0; max-width: 46ch; }
.hiver-final__actions { display: flex; flex-wrap: wrap; gap: var(--e-4); }
.hiver-final .bouton--fantome { border-color: rgba(255,255,255,.6); }
.hiver-final .bouton--fantome:hover { background: var(--blanc); color: var(--nuit); }

@media (max-width: 40rem) {
  .hiver-hero { padding-top: var(--e-8); }
  .hiver-bloc { padding: var(--e-5); }
}
.page-pac_hiver .pied { margin-top: 0; }

.hiver-bref {
  padding: var(--e-6);
  background: var(--blanc);
  border: 1px solid var(--ecume-pale);
  border-radius: 6px;
}
.hiver-bref h2 { font-size: var(--t-l); margin: 0 0 var(--e-5); }
.hiver-bref dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--e-4) var(--e-6);
  margin: 0;
}
.hiver-bref dt {
  font-family: var(--titre);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nuit-claire);
}
.hiver-bref dd { margin: var(--e-1) 0 0; }
.hiver-bref > .mention { margin: var(--e-5) 0 0; }

.hiver-faq h2 { font-size: var(--t-2xl); margin-bottom: var(--e-5); }
