/* Page d'accueil « Une journée à Landrezac ». */
[hidden] { display: none !important; }
/* Mise en page : une journée en sept plans. Chaque photo est cadrée sur un ciel qui change d'heure en heure ;
   le cadre s'ouvre en plein écran pendant la lecture. Texte aligné à gauche, une seule action rouge : réserver.
   Univers visuel unique et assumé (le cycle jour-nuit fait office de thème clair et sombre). */
:root {
  color-scheme: light;
  --encre: #0F2440;      /* bleu marine du logo */
  --ecume: #EEF5F3;      /* fond clair, écume */
  --hibiscus: #D9134A;   /* action : réserver */
  --lagon: #08708F;      /* liens */
  --soleil: #F4A23A;     /* horloge, étoiles */
  --nuit: #0A1930;       /* nuit bretonne */
  --blanc: #FFFFFF;
  --clair: #F3F6F8;      /* texte sur fond sombre */
  --voile: rgba(10, 25, 48, .55);
  --lagon-vif: #0B93C1;  /* turquoise du logo */
  --feuille: #3E9B3A;    /* vert feuillage du logo */
  --m-petit: 64px;       /* médaillon du logo dans l'en-tête : il déborde sous la barre */
  --m-haut: 6px;         /* marge du médaillon au-dessus, dans l'en-tête */

  --f-titre: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-texte: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --marge: clamp(12px, 5vw, 64px);
  --gouttiere: 16px;
  --entete-h: 60px;
  --texte: var(--encre);
  --entete-fond: transparent;
  --entete-texte: var(--blanc);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ecume);
  color: var(--encre);
  font: 400 17px/1.55 var(--f-texte);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagon); text-underline-offset: .18em; }
/* Contour clavier : marine sur fond clair (14:1), soleil sur fond sombre (8,4:1). */
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
.ouverture :focus-visible, [data-ton="sombre"] :focus-visible, .pied :focus-visible,
.entete:not(.solide) :focus-visible, html[data-ton="sombre"] .entete :focus-visible,
html[data-ton="sombre"] .barre :focus-visible { outline-color: var(--soleil); }
.medaillon:focus-visible { outline-color: var(--hibiscus); }
html .entete .menu-panneau a:focus-visible { outline-color: var(--encre); outline-offset: -3px; }
.passer { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--blanc); color: var(--encre); padding: 10px 14px; border-radius: 8px; }
.passer:focus { left: 16px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--f-texte); text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
:where(button).btn { border: 0; background: transparent; color: inherit; cursor: pointer; }
.btn-reserver { background: var(--hibiscus); color: var(--blanc); }
.btn-reserver:hover { background: #B80F3E; }
.btn-ligne { color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ligne:hover { background: rgba(255,255,255,.12); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--entete-fond); color: var(--entete-texte);
  transition: background-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.entete::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(5,12,24,.55), rgba(5,12,24,0));
  transition: opacity .4s ease;
}
.entete-ligne {
  height: var(--entete-h); display: flex; align-items: center; gap: 20px;
  padding-inline: max(var(--gouttiere), 3vw);
  padding-left: calc(max(var(--gouttiere), 3vw) + var(--m-petit) + 12px);
}
.entete::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; opacity: 0; transition: opacity .4s ease;
  background: linear-gradient(90deg, var(--encre) 0 20%, var(--lagon-vif) 20% 40%, var(--feuille) 40% 60%, var(--soleil) 60% 80%, var(--hibiscus) 80% 100%);
}
.entete.solide::after { opacity: 1; }

/* ---------- Médaillon du logo : grand dans l'ouverture, il rejoint l'en-tête au défilement ---------- */
/* Sa taille change par width/height, jamais par transform: scale() : agrandie par scale(), l'image était étirée et floue. */
.medaillon {
  position: fixed; z-index: 40; top: 0; left: 0; width: var(--m-petit); height: var(--m-petit); border-radius: 50%;
  transform: translate3d(max(var(--gouttiere), 3vw), calc(env(safe-area-inset-top, 0px) + var(--m-haut)), 0);
  box-shadow: 0 0 0 2px rgba(255,255,255,.85), 0 10px 26px rgba(4,10,20,.35);
}
.medaillon img { width: 100%; height: 100%; border-radius: 50%; }
.lien-film { color: var(--blanc); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; display: inline-flex; align-items: center; gap: 10px; }
.lien-film::before { content: ""; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.pastilles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pastilles li { display: flex; }
.pastilles a, .pastilles span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border-radius: 999px;
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.pastilles a { color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.pastilles a:hover { background: rgba(255,255,255,.12); }
.pastilles span { background: rgba(243,246,248,.12); }
.marque { font: 800 27px/1 var(--f-titre); color: inherit; text-decoration: none; letter-spacing: .01em; }
.nav { display: none; gap: 26px; margin-left: 18px; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: 15px; opacity: .92; }
.nav a:hover { text-decoration: underline; }
.entete-droite { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.horloge {
  margin: 0; font: 800 26px/1 var(--f-titre); font-variant-numeric: tabular-nums;
  display: flex; align-items: center; gap: 8px; color: inherit;
}
.horloge::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--soleil); box-shadow: 0 0 0 4px rgba(244,162,58,.25); }
.horloge.tic span { animation: tic .45s cubic-bezier(.2,.8,.2,1); display: inline-block; }
@keyframes tic { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
.entete .btn-reserver { display: none; min-height: 42px; padding: 0 18px; font-size: 15px; }
/* Menu mobile : bouton de 44 px, panneau blanc ; masqué à partir de 900 px, où la navigation est visible. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.menu-mobile { position: relative; }
.entete.menu-ouvert, .entete:has(.menu-mobile[open]) { z-index: 45; }   /* panneau au-dessus du médaillon du logo */
.menu-mobile > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 15px 0 14px; border-radius: 999px;
  cursor: pointer; color: inherit; box-shadow: inset 0 0 0 2px currentColor;
}
.menu-texte { font: 700 13px/1 var(--f-texte); letter-spacing: .1em; text-transform: uppercase; }
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile[open] > summary { background: rgba(255,255,255,.16); }
.menu-icone, .menu-icone::before, .menu-icone::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
.menu-icone { position: relative; }
.menu-icone::before, .menu-icone::after { content: ""; position: absolute; left: 0; }
.menu-icone::before { top: -6px; }
.menu-icone::after { top: 6px; }
.menu-mobile[open] .menu-icone { background: transparent; }
.menu-mobile[open] .menu-icone::before { top: 0; transform: rotate(45deg); }
.menu-mobile[open] .menu-icone::after { top: 0; transform: rotate(-45deg); }
.menu-panneau {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  display: grid; gap: 2px; padding: 10px; border-radius: 16px;
  background: var(--blanc); color: var(--encre); box-shadow: 0 18px 40px rgba(10,25,48,.28);
}
.menu-panneau a { display: block; padding: 13px 14px; border-radius: 10px; color: var(--encre); text-decoration: none; font-weight: 600; font-size: 16px; }
.menu-panneau a:hover { background: var(--ecume); }
.entete .marque { white-space: nowrap; }
@media (max-width: 899px) { .entete-ligne { gap: 12px; } .entete-droite { gap: 10px; } .entete .marque { font-size: 24px; } }
@media (max-width: 379px) { .entete .marque { font-size: 21px; } }
@media (max-width: 479px) { .entete.a-horloge .marque { display: none; } }   /* le médaillon du logo reste, le bouton « Menu » tient dans l'écran */
@media (prefers-reduced-motion: reduce) { .menu-icone, .menu-icone::before, .menu-icone::after { transition: none; } }
.entete.solide { --entete-fond: rgba(238,245,243,.94); --entete-texte: var(--encre); box-shadow: 0 1px 0 rgba(15,36,64,.08); }
.entete.solide::before { opacity: 0; }
html[data-ton="sombre"] .entete.solide { --entete-fond: rgba(10,25,48,.92); --entete-texte: var(--clair); box-shadow: 0 1px 0 rgba(255,255,255,.08); }

/* ---------- Ouverture (plan d'ensemble) ---------- */
/* Le texte est dans le flux, calé en bas : sur un écran court, l'ouverture s'allonge au lieu de glisser le titre
   sous l'en-tête ou sous le grand médaillon (--reserve-haut, calculée par accueil.js). */
.ouverture { position: relative; min-height: max(560px, 94svh); display: flex; flex-direction: column; justify-content: flex-end; color: var(--blanc); overflow: hidden; background: var(--nuit); }
.ouverture-image { position: absolute; inset: 0; }
.ouverture-image img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; animation: travelling 4.2s .1s cubic-bezier(.2,.6,.2,1) both; }
@keyframes travelling { from { transform: scale(1.14); filter: brightness(.7); } to { transform: none; filter: none; } }
.ouverture-image::before, .ouverture-image::after {
  content: ""; position: absolute; left: 0; right: 0; height: 11svh; background: #04070C; z-index: 1;
  animation: rideau 1.15s .35s cubic-bezier(.7,0,.25,1) both;
}
.ouverture-image::before { top: 0; }
.ouverture-image::after { bottom: 0; animation-name: rideau-bas; }
@keyframes rideau { to { transform: translateY(-100%); } }
@keyframes rideau-bas { to { transform: translateY(100%); } }
.ouverture-image .degrade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,10,20,0) 35%, rgba(4,10,20,.78) 100%); }
.ouverture-texte {
  position: relative; z-index: 2;
  padding: var(--reserve-haut, calc(env(safe-area-inset-top, 0px) + var(--entete-h) + 24px)) max(var(--gouttiere), 5vw) calc(92px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: 18px; max-width: 980px;
}
.badge { width: 96px; height: 96px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.ouverture h1 { display: grid; gap: 10px; }
.ouverture .t1 { font: 900 clamp(58px, 15vw, 148px)/.86 var(--f-titre); letter-spacing: -.005em; }
.ouverture .t2 { font: 600 clamp(18px, 2.4vw, 24px)/1.25 var(--f-texte); }
.ouverture .chapo { font-size: clamp(16px, 1.7vw, 19px); max-width: 38rem; color: rgba(255,255,255,.92); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ouverture .actions { display: none; }
.saison { font-size: 15px; color: rgba(255,255,255,.85); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.repere { position: absolute; bottom: 0; height: 1px; width: 1px; }

/* ---------- Scènes de la journée ---------- */
/* La photo reste fixée (sticky) pendant que le récit défile par-dessus : l'espace qui suit le récit
   (marge basse du récit, dans la boîte de contenu de la scène) donne la durée de ce plan fixe. */
.scene {
  position: relative; display: flow-root;
  background: linear-gradient(180deg, var(--ciel-haut), var(--ciel-bas));
  --ouvert: 1;
}
section[id], div[id] { scroll-margin-top: var(--entete-h); }
.plan { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.cadre {
  position: absolute; inset: 0; margin: 0;
  clip-path: inset(calc((1 - var(--ouvert)) * var(--marge) + (1 - var(--ouvert)) * var(--entete-h)) calc((1 - var(--ouvert)) * var(--marge)) calc((1 - var(--ouvert)) * var(--marge)) round calc((1 - var(--ouvert)) * 28px));
  will-change: clip-path;
}
.cadre img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--ouvert) * .12)); will-change: transform; }
.cadre figcaption { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: rgba(255,255,255,.85); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.cadre .film { display: block; width: 100%; height: 100%; object-fit: cover; background: #0B1022; transform: scale(calc(1.12 - var(--ouvert) * .12)); will-change: transform; }
.film-bouton {
  position: absolute; z-index: 3; top: calc(var(--entete-h) + 14px); right: 14px;
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 14px;
  border: 0; border-radius: 999px; background: rgba(10,25,48,.62); color: #fff;
  font: 600 14px/1 var(--f-texte); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.film-bouton::before { content: ""; box-sizing: border-box; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.film-bouton[data-etat="pause"]::before { width: 0; height: 0; border-right: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.film-bouton:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }
.recit {
  position: relative; z-index: 2;
  margin: -30svh var(--gouttiere) 55svh;
  padding: 24px 22px 26px;
  border-radius: 22px;
  background: var(--ciel-bas);
  background: color-mix(in srgb, var(--ciel-bas) 94%, transparent);
  color: var(--texte);
  display: grid; gap: 14px;
  box-shadow: 0 20px 50px rgba(10,25,48,.18);
}
.heure { font: 800 clamp(30px, 5vw, 44px)/1 var(--f-titre); font-variant-numeric: tabular-nums; color: var(--accent-heure, var(--hibiscus)); }
.recit h2 { font: 800 clamp(44px, 10vw, 84px)/.9 var(--f-titre); }
.recit p { max-width: 36rem; }
.faits { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.faits li { padding-left: 22px; position: relative; max-width: 36rem; }
.faits li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--soleil); }
.petit { font-size: 14px; opacity: .85; }
.scene[data-ton="sombre"] { --texte: var(--clair); --accent-heure: var(--soleil); }
.scene[data-ton="sombre"] a:not(.btn) { color: #9FD8EC; }

/* ---------- Bande de la guinguette ---------- */
.bande { background: linear-gradient(180deg, #F6C89E, #F3B98F); padding: 8px 0 56px; }
.bande--vent { background: linear-gradient(180deg, #DDF1F8, #C6E7F2); padding-top: 32px; }
.bande-titre { padding-inline: max(var(--gouttiere), 5vw); font: 800 clamp(30px, 5vw, 44px)/1 var(--f-titre); color: var(--encre); margin-bottom: 18px; }
.pellicule {
  list-style: none; margin: 0; padding: 0 max(var(--gouttiere), 5vw) 8px;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scroll-padding-inline: max(var(--gouttiere), 5vw);
}
.pellicule li { flex: 0 0 min(72vw, 300px); scroll-snap-align: start; }
.pellicule figure { margin: 0; display: grid; gap: 8px; }
.pellicule img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.pellicule figcaption { font-size: 15px; line-height: 1.35; color: var(--encre); }
.pellicule figcaption span { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }
.mention { padding: 16px max(var(--gouttiere), 5vw) 0; font-size: 13px; color: rgba(15,36,64,.8); }

/* ---------- Nuit ---------- */
.nuit {
  position: relative; overflow: hidden; color: var(--clair);
  background: linear-gradient(180deg, #102A4C, var(--nuit));
  min-height: 100svh;
  padding: 22svh max(var(--gouttiere), 6vw) 18svh;
  display: grid; gap: 18px; align-content: start;
}
.nuit-image { position: absolute; inset: 0; }
.nuit-image img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 100%; }
.nuit::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,25,48,.74) 0%, rgba(10,25,48,.22) 50%, rgba(10,25,48,.5) 100%);
}
.nuit > *:not(.nuit-image):not(.nuit-credit) { position: relative; z-index: 2; }
.nuit-credit { position: absolute; z-index: 2; right: 12px; bottom: 10px; font-size: 12px; color: rgba(255,255,255,.8); }
.nuit .heure { color: var(--soleil); }
.nuit h2 { font: 800 clamp(52px, 12vw, 120px)/.88 var(--f-titre); }
.nuit p { max-width: 34rem; font-size: 19px; }

/* ---------- Hébergements ---------- */
.section { padding: 80px max(var(--gouttiere), 5vw); }
.section-titre { font: 800 clamp(46px, 9vw, 96px)/.9 var(--f-titre); margin-bottom: 14px; }
.section-chapo { max-width: 40rem; margin-bottom: 40px; font-size: 18px; }
.vue-ciel { margin: 0 0 56px; display: grid; gap: 10px; }
.vue-ciel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.vue-ciel figcaption { font-size: 14px; opacity: .8; max-width: 44rem; }
@media (max-width: 760px) { .vue-ciel img { aspect-ratio: 4 / 3; } }
.offres { display: grid; gap: 48px; }
.offre { display: grid; gap: 18px; align-items: center; }
.offre img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.offre h3 { font: 800 clamp(34px, 5vw, 52px)/.95 var(--f-titre); margin-bottom: 10px; }
.offre .faits { margin-top: 12px; }
.offre .credit { font-size: 12px; opacity: .7; margin-top: 6px; }
.centre-action { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Galeries de photos : modèles, emplacements, sur place ---------- */
.galerie { margin-top: 64px; }
.galerie-titre { font: 800 clamp(30px, 5vw, 44px)/1 var(--f-titre); margin-bottom: 8px; }
.galerie-chapo { max-width: 40rem; margin-bottom: 18px; }
.galerie .pellicule { margin-inline: calc(-1 * max(var(--gouttiere), 5vw)); }
.pellicule--paysage li { flex: 0 0 min(84vw, 440px); }
.pellicule--paysage img { aspect-ratio: 3 / 2; }
.modele-nom { display: block; font: 800 26px/1.05 var(--f-titre); margin-bottom: 2px; }
.modele-nom a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.liens-hebergements { width: 100%; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; font-weight: 600; }
.pellicule figcaption .etiquette {
  display: inline-block; margin: 6px 6px 0 0; padding: 3px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; opacity: 1; background: rgba(11, 147, 193, .14);
}
.pellicule figcaption .etiquette--spa { background: rgba(217, 19, 74, .12); }
.pellicule figcaption .credit-photo { display: block; font-size: 12px; opacity: .75; margin-top: 4px; }

/* ---------- Sur place ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; }
.service { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(15,36,64,.12); }
.service::before { content: ""; width: 12px; height: 12px; border-radius: 50%; margin-top: .45em; background: var(--c, var(--lagon-vif)); }
.service p { max-width: 36rem; }

/* ---------- Pratique ---------- */
.pratique { background: var(--blanc); }
.hotes-photos { display: grid; gap: 22px; }
.hote { margin: 0; }
.hote img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.hote figcaption { margin-top: 10px; font-weight: 600; }
.hote .credit-photo { display: block; font-weight: 400; font-size: 12px; opacity: .75; margin-top: 2px; }
@media (min-width: 760px) { .hotes-photos { grid-template-columns: 1fr 1fr; gap: 28px; } }
.infos { display: grid; gap: 0; margin: 0; }
.infos div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid rgba(15,36,64,.12); }
.infos dt { font-weight: 700; }
.infos dd { margin: 0; max-width: 40rem; }

/* ---------- Pied de page ---------- */
.pied { position: relative; background: var(--nuit); color: var(--clair); padding: 64px max(var(--gouttiere), 5vw) calc(96px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 36px; }
.pied::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--encre) 0 20%, var(--lagon-vif) 20% 40%, var(--feuille) 40% 60%, var(--soleil) 60% 80%, var(--hibiscus) 80% 100%);
}
.pied-grille { display: grid; gap: 32px; }
.pied-titre { font: 800 24px/1.1 var(--f-titre); margin-bottom: 10px; }
.pied-bloc { display: grid; gap: 10px; align-content: start; }
.pied a { color: #9FD8EC; }
.pied-haut { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pied .badge { width: 132px; height: 132px; filter: none; box-shadow: 0 0 0 3px rgba(255,255,255,.9); border-radius: 50%; }
.pied .marque { font-size: 34px; }
.liens-legaux { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; opacity: .85; }
.prototype { border: 1px dashed rgba(243,246,248,.35); border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.5; max-width: 52rem; color: rgba(243,246,248,.85); }

/* ---------- Barre mobile ---------- */
.barre {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 10px; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(238,245,243,.96); box-shadow: 0 -1px 0 rgba(15,36,64,.1);
}
.barre .btn { flex: 1; min-width: 0; padding: 0 12px; }
.barre .btn-tel { flex: 0 0 auto; color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
html[data-ton="sombre"] .barre { background: rgba(10,25,48,.94); box-shadow: 0 -1px 0 rgba(255,255,255,.08); }
html[data-ton="sombre"] .barre .btn-tel { color: var(--clair); box-shadow: inset 0 0 0 2px var(--clair); }

/* ---------- Shurya, l'assistant du camping : chargé seulement au clic ---------- */
.shurya { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(82px + env(safe-area-inset-bottom, 0px)); z-index: 29; display: grid; justify-items: end; gap: 10px; }
.shurya[hidden], .shurya-panneau[hidden] { display: none; }
.shurya-bouton {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 8px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--blanc); color: var(--encre); font: 700 15px/1.1 var(--f-texte);
  box-shadow: 0 10px 28px rgba(10,25,48,.22), 0 0 0 1px rgba(15,36,64,.08);
}
.shurya-bouton:focus-visible { outline-color: var(--hibiscus); }
@media (max-width: 599px) {
  .shurya-bouton { padding: 0; width: 56px; min-height: 56px; justify-content: center; }
  .shurya-bulle { width: 44px; height: 44px; }
  .shurya-libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.shurya.masque { opacity: 0; visibility: hidden; transform: translateY(12px); }
.shurya { transition: opacity .2s ease, transform .2s ease, visibility .2s; }
@media (prefers-reduced-motion: reduce) { .shurya { transition: none; } }
.shurya-bulle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: var(--hibiscus); color: var(--blanc); }
.shurya-bulle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.shurya-libelle small { display: block; font-size: 11px; font-weight: 500; opacity: .75; margin-top: 2px; }
.shurya-panneau { width: min(320px, calc(100vw - 24px)); padding: 16px 18px; border-radius: 16px; background: var(--blanc); color: var(--encre); font-size: 15px; box-shadow: 0 18px 40px rgba(10,25,48,.28); display: grid; gap: 10px; }
.shurya-panneau a { color: var(--lagon); }
.shurya-panneau button { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--lagon); font: 600 15px var(--f-texte); text-decoration: underline; cursor: pointer; }

/* ---------- Grands écrans ---------- */
@media (min-width: 900px) {
  :root { --entete-h: 68px; --m-petit: 84px; --m-haut: 8px; }
  .ouverture .actions { display: flex; }
  .services { grid-template-columns: 1fr 1fr; }
  .pied-grille { grid-template-columns: 1.2fr 1fr 1fr; }
  .nav { display: flex; }
  .menu-mobile { display: none; }
  .entete .btn-reserver { display: inline-flex; }
  .barre { display: none; }
  /* Médaillon à droite (220 px, à max(48px, 6vw) du bord) : le texte s'arrête 24 px avant lui. */
  .ouverture-texte { padding-bottom: 72px; max-width: min(980px, calc(105vw - max(48px, 6vw) - 244px)); }
  /* Titre sur deux lignes dans cette largeur : sa ligne la plus longue mesure 4,62 fois la taille de la police
     (mesuré le 19/10/2026) ; la taille suit donc la place disponible (largeur du texte / 4,8), 148 px au plus. */
  .ouverture .t1 { font-size: clamp(58px, calc(min(980px - 10vw, 95vw - max(48px, 6vw) - 244px) / 4.8), 148px); }
  .badge { width: 124px; height: 124px; }
  .recit { margin: -70svh 0 60svh max(5vw, 48px); width: min(31rem, 42vw); padding: 30px 30px 32px; }
  /* Vidéo verticale : cadre portrait à droite, image entière et nette, sans recadrage ni flou. */
  .scene--portrait .plan::before { content: ""; position: absolute; top: 8svh; right: 0; width: 56vw; height: 84svh; background: radial-gradient(closest-side, rgba(255, 176, 92, .22), transparent 72%); pointer-events: none; }
  .scene--portrait .cadre {
    inset: auto; top: calc(var(--entete-h) + 3svh); right: max(7vw, 56px);
    height: min(calc(94svh - var(--entete-h)), 900px); width: auto; aspect-ratio: 9 / 16;
    border-radius: 26px; overflow: hidden; clip-path: none;
    box-shadow: 0 30px 80px rgba(5, 8, 25, .55), 0 0 0 1px rgba(255, 255, 255, .1);
    opacity: calc(.25 + var(--ouvert) * .75); transform: translateY(calc((1 - var(--ouvert)) * 6svh));
  }
  .scene--portrait .film-bouton { top: 14px; right: 14px; }
  .offre { grid-template-columns: 7fr 5fr; gap: 48px; }
  .offre:nth-child(even) .offre-image { order: 2; }
  .infos { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .pied { padding-bottom: 56px; }
  .shurya { bottom: 24px; right: 24px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ouverture-image img, .ouverture-image::before, .ouverture-image::after, .horloge.tic span { animation: none; }
  .ouverture-image::before, .ouverture-image::after { display: none; }
  .scene { --ouvert: 1 !important; }
  .cadre img, .cadre .film { transform: none; }
}

/* ---------- Ciel de chaque scène et couleur des services (sans attribut style dans le HTML) ---------- */
#matin { --ciel-haut:#A9D3E8; --ciel-bas:#E4F2F5; }
#vent { --ciel-haut:#6EC2E2; --ciel-bas:#DDF1F8; }
#piscine { --ciel-haut:#8FD0D8; --ciel-bas:#F1E7CF; }
#spa { --ciel-haut:#F2C27B; --ciel-bas:#F8E2C4; }
#guinguette { --ciel-haut:#EE8A52; --ciel-bas:#F6C89E; }
#soir { --ciel-haut:#B6455A; --ciel-bas:#4A2E5E; }
#lumieres { --ciel-haut:#2A2450; --ciel-bas:#1B2148; }
.service--lagon { --c: var(--lagon-vif); }
.service--soleil { --c: var(--soleil); }
.service--feuille { --c: var(--feuille); }
.service--hibiscus { --c: var(--hibiscus); }

/* ---------- 16/10/2026 : lieu sous la marque, annonce du nouveau site, gammes des mobil-homes ---------- */
.entete .marque-lieu { display: block; margin-top: 3px; font: 600 12px/1.1 var(--f-texte); letter-spacing: .03em; opacity: .85; }
@media (max-width: 379px) { .entete .marque-lieu { font-size: 11px; letter-spacing: 0; } }
.annonce-accueil { margin-top: 10px; font-size: 14px; font-weight: 600; }
.annonce-accueil a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.gamme { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(62,155,58,.5); background: rgba(62,155,58,.14); color: var(--encre); font: 700 13px/1.4 var(--f-texte); letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.gamme::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--feuille); }
.gamme--premium { border-color: rgba(8,112,143,.5); background: rgba(8,112,143,.12); }
.gamme--premium::before { background: var(--lagon); }
.gamme--prestige { border-color: rgba(244,162,58,.8); background: rgba(244,162,58,.22); }
.gamme--prestige::before { background: var(--soleil); }
.modele-nom .gamme { margin-left: 4px; position: relative; top: -3px; }
.gammes-legende { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.gammes-legende li { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.orientation { max-width: 46rem; margin: 0 0 18px; font-size: 15px; }
.pied-lieu { font-weight: 700; letter-spacing: .02em; }
.pellicule figcaption .gamme { display: inline-flex; font-size: 13px; opacity: 1; margin: 0 0 0 6px; }
.reassurance { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; max-width: 40rem; }
.reassurance li { position: relative; padding-left: 26px; margin: 0; }
.reassurance li::before { content: ""; position: absolute; left: 4px; top: .42em; width: 12px; height: 7px; border-left: 3px solid var(--feuille); border-bottom: 3px solid var(--feuille); transform: rotate(-45deg); }
.consentement { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 34rem; margin-inline: auto; padding: 16px 18px; border-radius: 16px; background: var(--blanc); color: var(--encre); box-shadow: 0 10px 40px rgba(15,36,64,.28); font-size: 15px; }
.consentement h2 { font: 800 24px/1.1 var(--f-titre); margin: 0 0 6px; }
.consentement p { margin: 0 0 12px; }
.consentement-boutons { display: flex; gap: 10px; }
.consentement-boutons .btn { flex: 1; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
