/* ═══════════ Les Bulles de Noël — refonte ═══════════ */

/* Palette retenue avec le client : BORDEAUX VELOURS #5e1a2e + crème,
   avec l'or du hero en fil conducteur (boutons, italiques, guirlande).
   Gamme dérivée du seul #5e1a2e (recette : l'ancien éditeur de couleur).
   L'intro nuit/photos impose son propre monde doré. */

:root {
  --nuit: #0a0c11;
  --or: #e8b568;
  --or-vif: #ffd9a0;
  --creme: #f2e8d8;
  --sable: #b9a98d;
  --police-titre: "Fraunces", Georgia, serif;
  --police-texte: "Outfit", "Helvetica Neue", sans-serif;

  /* thème contenu */
  --em: #a8813a;                /* italiques des titres */
  --guirlande: #d9b364;         /* guirlande dessinée de la transition */
  --fond: #f1efe4;
  --papier: #faf8ec;
  --accent: #5e1a2e;
  --accent-2: #862a45;
  --titre-c: #4f1526;
  --texte: #42373a;
  --texte-2: #675359;
  --texte-3: #8a747a;
  --filet: rgba(94, 26, 46, 0.22);
  --pied: #2c0c16;
  /* bande pleine (formule) */
  --bande-fond: #5e1a2e;
  --bande-titre: #faf8ec;
  --bande-em: #e3c987;
  --bande-texte: rgba(250, 248, 236, 0.9);
  --carte-fond: #faf8ec;
  --carte-bord: transparent;
  --doodle-bande: #e3c987;
  /* boutons : or MAT (le brillant faisait vieillot/tech) */
  --btn-a: #e2b872;
  --btn-b: #d7a95f;
  --btn-c: #a67c3b;
  --btn-texte: #2a1a06;
  --btn-ombre: rgba(140, 105, 55, 0.25);
  /* nav une fois dans le contenu */
  --nav2-fond: rgba(241, 239, 228, 0.9);
  --nav2-lien: rgba(74, 20, 36, 0.85);
  --nav2-vif: #862a45;
  --nav2-ligne: rgba(94, 26, 46, 0.25);
  /* boîte aux lettres */
  --poste-fond: #481423;
  --poste-joint-a: rgba(250, 248, 236, 0.13);
  --poste-joint-b: rgba(25, 6, 11, 0.4);
  --poste-ombre: rgba(25, 6, 11, 0.45);
  --boite-a: #872f48;
  --boite-b: #6b2137;
  --porte-a: #7d2942;
  --porte-b: #631f33;
  --fente-a: #14050a;
  --fente-b: #280b14;
  --grave: rgba(199, 100, 129, 0.45);
  --boite-ombre: rgba(25, 6, 11, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--nuit);
  color: var(--creme);
  font-family: var(--police-texte);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--or); color: var(--nuit); }

h1, h2, h3 { font-family: var(--police-titre); font-weight: 420; line-height: 1.12; }
/* retours à la ligne équilibrés (pas de mot orphelin, pas de « : » en début de ligne) */
h1, h2, h3 { text-wrap: balance; }
.section__chapo, .carte-postale__texte, .resa__texte { text-wrap: pretty; }
h1 em, h2 em, .nav__logo em, .footer__logo em {
  font-style: italic;
  font-weight: 380;
  color: var(--or-vif);
}

a { color: inherit; }

.overline {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 1.1rem;
}

/* ─────────── Boutons ─────────── */

.btn {
  display: inline-block;
  font-family: var(--police-texte);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.75em 1.5em;
  border-radius: 12px;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

/* boutons « tampon » : aplat + tranche dure, pression au clic —
   pas de dégradé ni de pilule (tics du design généré) */
.btn--gold,
.btn--accent {
  background: var(--btn-b);
  color: var(--btn-texte);
  box-shadow: 0 3px 0 var(--btn-c), 0 7px 14px var(--btn-ombre);
}
.btn--gold:hover,
.btn--accent:hover {
  background: var(--btn-a);
  box-shadow: 0 3px 0 var(--btn-c), 0 9px 18px var(--btn-ombre);
}
.btn--gold:active,
.btn--accent:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--btn-c), 0 6px 14px var(--btn-ombre);
}
.contenu a.btn--accent { color: var(--btn-texte); }

/* ─────────── Navigation ─────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.45s ease, backdrop-filter 0.45s ease, box-shadow 0.45s ease, color 0.45s ease;
}
.nav--pleine {
  background: rgba(10, 12, 17, 0.95);
  box-shadow: 0 1px 0 rgba(232, 181, 104, 0.18);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--police-titre);
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}
/* le vrai logo (SVG monochrome du site actuel), coloré par la nav */
.nav__bulle {
  width: 1.3rem;
  height: 2rem;
  flex: none;
  background: currentColor;
  -webkit-mask: url("../assets/logo.svg") center / contain no-repeat;
  mask: url("../assets/logo.svg") center / contain no-repeat;
}
.nav { color: var(--creme); }

.nav__links {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(242, 232, 216, 0.85);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--or-vif); }

/* version « contenu » de la nav, aux couleurs du thème */
.nav--creme {
  background: var(--fond);
  box-shadow: 0 1px 0 var(--nav2-ligne), 0 8px 24px rgba(40, 40, 20, 0.07);
  color: var(--nav2-lien);
}
.nav--creme .nav__links a { color: var(--nav2-lien); }
.nav--creme .nav__links a:hover { color: var(--nav2-vif); }
.nav--creme .nav__logo em { color: var(--nav2-vif); }
.nav--creme .nav__bulle {
  border-color: var(--nav2-vif);
  box-shadow: 0 0 12px var(--nav2-ligne);
}

/* langues dans le header */
.nav__langues {
  display: flex;
  gap: 0.55rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}
.nav__langues a {
  text-decoration: none;
  color: rgba(242, 232, 216, 0.7);
  padding-bottom: 2px;
}
.nav__langues a:hover { color: var(--or-vif); }
.nav__langues a[aria-current="true"] {
  color: var(--or-vif);
  border-bottom: 2px solid var(--or);
}
.nav--creme .nav__langues a { color: var(--nav2-lien); }
.nav--creme .nav__langues a[aria-current="true"] {
  color: var(--nav2-vif);
  border-bottom-color: var(--nav2-vif);
}
@media (max-width: 1140px) { .nav__langues { display: none; } }

/* burger + panneau mobile */
.nav__burger {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: inherit;
}
.nav__burger svg {
  display: block;
  width: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.nav--creme .nav__burger { color: var(--nav2-lien); }

.panneau {
  position: fixed;
  inset: 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 6rem clamp(1.6rem, 8vw, 3rem) 2rem;
  background: var(--fond);
  transform: translateY(-104%);
  transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.3, 1);
  overflow-y: auto;
}
.panneau--ouvert { transform: translateY(0); }
/* le header ne passe en crème que tant que le panneau existe (mobile) —
   sinon, au retour en desktop, il reste crème sur crème (illisible) */
@media (max-width: 1140px) {
  .nav:has(+ .panneau--ouvert) {
    background: var(--fond);
    color: var(--nav2-lien);
    box-shadow: 0 1px 0 var(--nav2-ligne);
  }
}
.panneau > a {
  font-family: var(--police-titre);
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  color: var(--titre-c);
  text-decoration: none;
  padding: 0.25rem 0;
}
.panneau > a.btn {
  font-family: var(--police-texte);
  font-size: 1rem;
  margin-top: 1.2rem;
  padding: 0.8em 1.7em;
}
.panneau__langues {
  margin-top: auto;
  padding: 1.5rem 0 4.5rem;
  display: flex;
  gap: 1.2rem;
}
.panneau__langues a {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--texte-2);
  text-decoration: none;
}
.panneau__langues a[aria-current="true"] { color: var(--accent); border-bottom: 2px solid var(--accent); }

@media (max-width: 1140px) {
  .nav { gap: 0.9rem; padding: 0.9rem 1rem; }
  .nav__links { display: none; }
  .nav__logo { font-size: 1.05rem; gap: 0.45rem; }
  .nav__bulle { width: 1.1rem; height: 1.7rem; }
  .nav__cta {
    margin-left: auto;
    font-size: 0.82rem;
    padding: 0.65em 1.2em;
  }
  .nav__burger { display: block; flex: none; }
}
@media (max-width: 460px) {
  .nav__logo em { display: none; }
}
@media (min-width: 1141px) {
  .panneau { display: none; }
}
/* nav complète mais compacte tant que les 6 liens ne tiennent pas larges */
@media (min-width: 1141px) and (max-width: 1420px) {
  .nav { gap: 1.3rem; }
  .nav__logo { font-size: 1.1rem; }
  .nav__links { gap: 1rem; }
  .nav__links a { font-size: 0.72rem; letter-spacing: 0.1em; }
}

/* ─────────── Intro immersive (identique dans les 3 thèmes) ─────────── */

.intro { height: 260vh; position: relative; }
@media (max-width: 760px) { .intro { height: 185vh; } }

.intro__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--nuit);
}

.intro__zoom {
  position: absolute;
  will-change: transform;
}

/* voile de traversée : flou + lumière en espace écran (backdrop-filter),
   jamais de filter sur la couche zoomée — texture GPU trop grande */
.intro__voile {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, backdrop-filter;
}
.intro__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro__interieur {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.intro__img--int { object-position: 50% 8%; } /* repos sur la couronne (demande Maxime) */
.intro__interieur { transform-origin: 50% 25%; } /* le zoom final (1.22) reste ancré sur la couronne */

.intro__flare {
  position: absolute;
  inset: -20%;
  opacity: 0;
  background: radial-gradient(circle at var(--flare-x, 50%) var(--flare-y, 55%),
    rgba(255, 236, 200, 0.98) 0%,
    rgba(255, 214, 150, 0.75) 22%,
    rgba(232, 181, 104, 0.28) 45%,
    transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: opacity;
}

.intro__neige {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 12, 17, 0.55), transparent 22%),
    radial-gradient(ellipse at center, transparent 55%, rgba(10, 12, 17, 0.55) 100%);
}

.intro__titre {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  will-change: transform, opacity;
}
/* voile derrière le titre : les guirlandes de la photo restent visibles,
   le texte redevient roi */
.intro__titre::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 46% at 50% 50%,
    rgba(8, 10, 14, 0.55),
    rgba(8, 10, 14, 0.26) 58%,
    transparent 78%);
  pointer-events: none;
}
.intro__titre > * { position: relative; }
.intro__titre h1 {
  font-size: clamp(2.4rem, 6.5vw, 5.2rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 4px 40px rgba(0, 0, 0, 0.7);
}
.intro .overline { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75); }
.intro__sous {
  margin-top: 1.4rem;
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(248, 240, 226, 0.98);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.intro__hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(248, 240, 226, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  transition: opacity 0.5s ease;
}
.intro__chevron {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(242, 232, 216, 0.6);
  border-radius: 12px;
  position: relative;
}
.intro__chevron::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--or-vif);
  animation: molette 1.8s ease-in-out infinite;
}
@keyframes molette {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

.intro__arrivee {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 0 1.5rem 11vh;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 12, 17, 0.72));
}
.intro__arrivee h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  margin-bottom: 1.8rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.intro__suite {
  margin-top: 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(242, 232, 216, 0.8);
}
.intro__arrivee--visible { pointer-events: auto; }

/* ─────────── Contenu ─────────── */

.contenu {
  position: relative;
  z-index: 2;
  background: var(--fond);
  color: var(--texte);
}

.contenu .overline { color: var(--accent); }

/* dans le contenu, l'étiquette de section devient une annotation manuscrite */
.contenu .overline {
  display: inline-block;
  font-family: var(--police-titre);
  font-style: italic;
  font-weight: 420;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  transform: rotate(-1.2deg);
  text-decoration: underline wavy;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  margin-bottom: 1rem;
}
.contenu h2 { color: var(--titre-c); }
.contenu h2 em { color: var(--em); }

/* les italiques penchent pour de vrai : axes WONK/SOFT de Fraunces */
h1 em, .contenu h2 em, .poste__titre h2 em {
  font-variation-settings: "WONK" 1, "SOFT" 45;
}

/* grain papier sur les surfaces-objets (jamais sur les photos) */
.menu, .infos, .carte-postale, .bande { position: relative; }
.menu::after, .infos::after, .carte-postale::after, .bande::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}
.contenu a { color: var(--accent); }

/* transition nuit → thème */
.transition { position: relative; line-height: 0; }
.vague-sombre { display: block; width: 100%; height: 72px; }
.guirlande {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.85;
}

/* la babiole volable, accrochée à la guirlande */
.babiole {
  position: absolute;
  left: 63%;
  /* l'anneau (5px sous le haut) doit toucher le fil : y = 40px + 37.1/1440 de la largeur */
  top: calc(35px + 2.576vw);
  width: 44px;
  z-index: 40;
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  filter: drop-shadow(0 6px 10px rgba(40, 25, 10, 0.35));
  transition: transform 0.3s ease;
  /* couche compositée : sans elle, Safari sème des images figées au drag */
  will-change: transform, filter;
}
.babiole:hover { transform: rotate(-8deg); }
.babiole--saisie { cursor: grabbing; transition: none; }
.babiole svg { display: block; width: 100%; height: auto; }
/* l'ornement suspendu, c'est le logo (même mécanique de masque que la nav) */
.babiole__logo {
  display: block;
  width: 100%;
  aspect-ratio: 218 / 343;
  background: #e8b568;
  -webkit-mask: url("../assets/logo.svg") center / contain no-repeat;
  mask: url("../assets/logo.svg") center / contain no-repeat;
}

/* le flocon en curseur, seulement sous les bulles */
#experience {
  cursor: url("../assets/flocon-cursor.svg") 13 13, auto;
}

/* intitulé vertical dans la marge, comme sur une carte imprimée */
.marge-verticale {
  position: absolute;
  top: 8rem;
  left: 0.9rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--texte-3);
}
@media (max-width: 1240px) { .marge-verticale { display: none; } }

/* doodles dessinés à la main */
.doodle {
  position: absolute;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
  pointer-events: none;
}
.doodle--bande { stroke: var(--doodle-bande); }
.doodle--flocon { top: 4.5rem; right: 7%; width: 46px; }
.doodle--squiggle { bottom: 3.5rem; left: 4%; width: 54px; }
.doodle--sprig { top: 1rem; right: 5%; width: 52px; }
.doodle--etoile { top: 4rem; right: 12%; width: 40px; }

.section {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem);
}
.section h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 1.6rem; }
.section__chapo {
  max-width: 42rem;
  font-size: 1.08rem;
  color: var(--texte-2);
}

.section__cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: 2.2rem;
}
@media (max-width: 860px) { .section__cols { grid-template-columns: 1fr; } }

.section__texte p + p { margin-top: 1.1rem; }

.puces { list-style: none; margin-top: 1.4rem; }
.puces li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.65rem;
}
.puces li::before {
  content: "❄";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85em;
}

.section__photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(40, 25, 15, 0.3), 0 0 0 1px var(--filet);
  transform: rotate(1.2deg);
  background: var(--papier);
  /* la photo mord sur la marge droite : rien ne reste sagement dans la grille */
  width: calc(100% + clamp(0px, 5vw, 4.5rem));
}
@media (max-width: 860px) { .section__photo { width: 100%; } }
.section__photo img { width: 100%; display: block; }
.section__photo--large {
  width: 100%;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  transform: rotate(-0.5deg);
}
.section__photo figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--texte-3);
  padding: 0.7rem 1rem;
  background: var(--papier);
}

/* ─── Galerie : des clichés épinglés, pas une grille de vignettes ─── */

.galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 1000px) { .galerie { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .galerie { grid-template-columns: 1fr; } }

.cliche {
  background: var(--papier);
  padding: 0.6rem 0.6rem 0.4rem;
  box-shadow: 0 16px 40px rgba(40, 25, 15, 0.25), 0 0 0 1px var(--filet);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cliche:nth-child(2n) { margin-top: 2rem; }
.cliche:hover { transform: rotate(0deg); box-shadow: 0 22px 50px rgba(40, 25, 15, 0.32), 0 0 0 1px var(--filet); }
.cliche__cadre { overflow: hidden; aspect-ratio: 4 / 5; }
.cliche__cadre img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cliche__cadre--porte img { transform: scale(2.3); transform-origin: 27% 72%; }
.cliche figcaption {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--texte-3);
  text-align: center;
  padding: 0.5rem 0.2rem 0.3rem;
}
.galerie__note {
  margin-top: 2.2rem;
  font-size: 0.85rem;
  color: var(--texte-3);
}

/* ─── Bande pleine : la formule ─── */

.bande {
  position: relative;
  background: var(--bande-fond);
  color: var(--bande-texte);
}
.bande .vague { display: block; width: 100%; height: 70px; }
.bande .overline { color: var(--bande-em); }
.contenu .bande h2, .bande h2 { color: var(--bande-titre); }
.bande h2 em { color: var(--bande-em); }
.bande .section__chapo { color: var(--bande-texte); }
.bande a { color: var(--bande-em); }

.cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
@media (max-width: 860px) { .cartes { grid-template-columns: 1fr; } }

.carte {
  background: var(--carte-fond);
  border: 1px solid var(--carte-bord);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  color: var(--texte);
  box-shadow: 0 14px 40px rgba(20, 10, 6, 0.28);
}
.carte h3 {
  font-size: 1.15rem;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}
.carte__prix {
  font-family: var(--police-titre);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--titre-c);
  margin-bottom: 0.5rem;
}
.carte--prix p:last-child { color: var(--texte-3); font-size: 0.92rem; }

/* les prix sont des étiquettes accrochées, pas des cartes de SaaS */
.carte--prix {
  position: relative;
  padding-top: 2.6rem;
  transform: rotate(-1.6deg);
  border: 1px dashed var(--filet);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.carte--prix + .carte--prix { transform: rotate(1.1deg); }
/* au survol, l'étiquette se redresse comme si on la prenait en main */
.carte--prix:hover {
  transform: rotate(-0.3deg);
  box-shadow: 0 20px 48px rgba(20, 10, 6, 0.34);
}
.carte--prix + .carte--prix:hover { transform: rotate(0.2deg); }

.marge {
  position: absolute;
  right: 1.2rem;
  bottom: 0.7rem;
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--texte-3);
  transform: rotate(-2deg);
}
.carte--prix::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--bande-fond);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.35);
}
.carte .puces { margin-top: 0.2rem; }

.bande__note {
  margin-top: 2rem;
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--bande-em);
  max-width: 44rem;
}

/* ─── La carte (menu) ─── */

/* le menu est une carte papier posée un peu de travers, plus large que la grille */
.menu {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4rem);
  margin-top: 3rem;
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: 8px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: 0 24px 60px rgba(40, 25, 15, 0.22);
  transform: rotate(-0.5deg);
  margin-inline: calc(-1 * clamp(0rem, 2.5vw, 2rem));
}
@media (max-width: 860px) { .menu { margin-inline: 0; } }
@media (max-width: 860px) { .menu { columns: 1; } }

.menu__guete {
  column-span: all;
  text-align: center;
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 0.5rem;
}
.menu__guete span {
  font-family: var(--police-texte);
  font-style: normal;
  font-size: 0.78rem;
  color: var(--texte-3);
  margin-left: 0.4rem;
}

.menu__groupe {
  break-inside: avoid;
  margin-bottom: 2.6rem;
}
.menu__groupe h3 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.menu__groupe h3::before,
.menu__groupe h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--filet);
}
.menu__sous {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--texte-3);
  margin: -0.5rem 0 0.7rem;
}
.menu__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--filet);
}
.menu__item:last-child { border-bottom: none; }
.menu__item strong { font-weight: 500; }
.menu__item span {
  display: block;
  font-size: 0.8rem;
  color: var(--texte-3);
}
.menu__item em {
  font-style: normal;
  font-family: var(--police-titre);
  font-size: 1.02rem;
  color: var(--accent);
  white-space: nowrap;
}

/* ─── Infos pratiques (bloc développé) ─── */

.section--infos { border-top: 1px solid var(--filet); }

/* le titre promet une ardoise : en voici une vraie */
.infos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 1.8rem;
  margin-top: 3rem;
  background: #262b2d;
  border-radius: 10px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 24px 60px rgba(20, 15, 8, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transform: rotate(-0.4deg);
  color: #ece4d0;
}
@media (max-width: 1000px) { .infos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .infos { grid-template-columns: 1fr; } }

.info {
  border-top: 2px dashed rgba(236, 228, 208, 0.25);
  padding-top: 1rem;
}
.info h3 {
  font-family: var(--police-titre);
  font-style: italic;
  font-weight: 420;
  font-size: 1.1rem;
  color: #f5edd9;
  margin-bottom: 0.5rem;
}
.info p { font-size: 0.92rem; color: rgba(236, 228, 208, 0.82); }
.info strong { font-weight: 500; color: #fdf8ea; }
#meteo { color: #e3c987; font-style: italic; }

/* ─── Encart sapins ─── */

.sapins {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.8rem 2rem;
  margin-inline: max(1.2rem, calc((100% - 1120px) / 2));
  border: 2px dashed var(--accent);
  border-radius: 18px;
  background: var(--papier);
  color: var(--texte);
}
.sapins__arbre { width: 52px; flex: none; color: var(--accent); }
.sapins h3 { color: var(--titre-c); font-size: 1.25rem; margin-bottom: 0.3rem; }
.sapins p { font-size: 0.95rem; color: var(--texte-2); }
@media (max-width: 560px) { .sapins { flex-direction: column; text-align: center; } }

/* ─── FAQ ─── */

/* FAQ éditoriale : le titre reste à gauche, les questions filent à droite */
.section--faq {
  display: grid;
  grid-template-columns: 0.85fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq__tete { position: sticky; top: 6rem; }
@media (max-width: 900px) {
  .section--faq { display: block; }
  .faq__tete { position: static; }
}

.faq { margin-top: 0.4rem; max-width: 780px; }
.faq details { border-top: 1px solid var(--filet); }
.faq details:last-child { border-bottom: 1px solid var(--filet); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.2rem;
  font-family: var(--police-titre);
  font-size: 1.12rem;
  color: var(--titre-c);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--police-texte);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0.2rem 1.2rem;
  max-width: 60ch;
  color: var(--texte-2);
}

/* ─── Où nous trouver ─── */

.lieux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.6rem;
}
@media (max-width: 860px) { .lieux { grid-template-columns: 1fr; } }

.lieu {
  background: var(--carte-fond);
  border: 1px solid var(--carte-bord);
  border-radius: 18px;
  padding: 2.2rem 2rem;
  box-shadow: 0 14px 40px rgba(20, 10, 6, 0.22);
}
.lieu__tag {
  display: inline-block;
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--titre-c);
  background: linear-gradient(0deg, var(--filet) 0 38%, transparent 38%);
  padding: 0 0.3em 0.1em;
  transform: rotate(-1deg);
  margin-bottom: 1rem;
}
.lieu h3 { font-size: 1.6rem; color: var(--titre-c); margin-bottom: 0.8rem; }
.lieu p + p { margin-top: 0.8rem; }
.lieu__adresse { font-size: 0.88rem; color: var(--texte-3); }
.lieu .btn { margin-top: 1.4rem; }

.pro {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--papier);
  border: 2px dashed var(--accent);
  border-radius: 18px;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 18px 44px rgba(40, 25, 15, 0.18);
  transform: rotate(-0.3deg);
}
.pro .overline { margin-bottom: 0.8rem; }
.pro h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--titre-c); margin-bottom: 0.7rem; }
.pro p { margin-bottom: 1.5rem; color: var(--texte-2); }
.pro__envoi { display: flex; align-items: center; gap: 0.9rem; }
.pro__fleche {
  width: 54px;
  flex: none;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(-6deg) translateY(-6px);
}

/* ─────────── La boîte aux lettres (un mot pour vous) ─────────── */

.poste {
  position: relative;
  height: 260vh;
  background-color: var(--poste-fond);
  background-image:
    repeating-linear-gradient(90deg, var(--poste-joint-a) 0 2px, transparent 2px 64px),
    repeating-linear-gradient(0deg, var(--poste-joint-b) 0 2px, transparent 2px 118px);
}

.poste__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 5.6rem 1.2rem 1.5rem;
}
.poste__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 45%, var(--poste-ombre) 100%);
}

.poste__vague {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 58px;
}

.poste__titre {
  position: relative;
  z-index: 2;
  text-align: center;
  will-change: transform, opacity;
}
.poste__titre .overline { color: var(--bande-em); margin-bottom: 0.7rem; }
.poste__titre h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  color: #faf4e6;
}
.poste__titre h2 em { color: var(--bande-em); }

.boite {
  position: relative;
  z-index: 1;
  width: min(460px, 92vw);
  border-radius: 22px;
  padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(165deg, var(--boite-a), var(--boite-b) 70%);
  box-shadow:
    0 30px 80px var(--boite-ombre),
    inset 0 2px 0 rgba(255, 255, 255, 0.22),
    inset 0 -3px 6px rgba(0, 0, 0, 0.3);
  will-change: transform;
}
.boite__plaque {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-align: center;
  color: var(--grave);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
  margin-bottom: 0.85rem;
}
.boite__porte {
  position: relative;
  height: clamp(360px, 54vh, 430px);
  border-radius: 14px;
  background: linear-gradient(170deg, var(--porte-a), var(--porte-b));
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.35),
    inset 0 2px 6px rgba(255, 255, 255, 0.15),
    inset 0 -8px 18px rgba(0, 0, 0, 0.3);
}
.boite__fente {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 12px;
  border-radius: 7px;
  background: linear-gradient(var(--fente-a), var(--fente-b));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 3px 5px rgba(0, 0, 0, 0.6);
}
.boite__masque {
  position: absolute;
  top: 31px;
  left: 50%;
  transform: translateX(-50%);
  width: 78%;
  height: 620px;
  overflow: hidden;
  pointer-events: none;
}
.boite__mention {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grave);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* la lettre reste une lettre : papier crème quel que soit le thème */
.carte-postale {
  pointer-events: auto;
  position: relative;
  background: #faf4e6;
  border-radius: 10px;
  padding: 1.25rem 1.35rem 1.05rem;
  color: #463327;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
@media (prefers-reduced-motion: no-preference) {
  .carte-postale {
    transform: translateY(-103%) rotate(-2deg);
    will-change: transform;
  }
}
.carte-postale__sur {
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.carte-postale h3 {
  font-size: 1.45rem;
  color: #4a2f24;
  margin-bottom: 0.8rem;
  padding-right: 62px;
}
.timbre {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 58px;
  padding: 0.35rem 0.3rem 0.3rem;
  border: 2px dashed var(--accent);
  border-radius: 5px;
  text-align: center;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.03);
  transform: rotate(3deg);
}
.timbre svg { width: 30px; display: block; margin: 0 auto 2px; }
.timbre span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.carte-postale__texte {
  font-size: 0.92rem;
  color: #5e4735;
  margin-bottom: 0.8rem;
}
.carte-postale .btn--accent {
  display: block;
  text-align: center;
  margin-top: 1rem;
}
.carte-postale__signature {
  margin-top: 0.85rem;
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 0.95rem;
  color: #8a6f56;
  text-align: center;
}

/* ─────────── Page franchise ─────────── */

.hero-simple {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 7rem clamp(1.2rem, 6vw, 5rem) 3.5rem;
  color: var(--creme);
  overflow: hidden;
  background: var(--nuit);
}
.hero-simple img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-simple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.4), rgba(10, 12, 17, 0.75));
}
.hero-simple > * { position: relative; z-index: 1; }
/* le <picture> ne doit pas devenir le référent de l'img absolue (il fait 0×0) */
.hero-simple picture { position: static; }
.hero-simple h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 16ch; }
.hero-simple p { margin-top: 1rem; max-width: 46ch; color: rgba(242, 232, 216, 0.9); }

.etapes { list-style: none; margin-top: 2.4rem; max-width: 640px; }
.etapes li {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-top: 1px dashed var(--filet);
}
.etapes li strong { display: block; color: var(--titre-c); font-weight: 600; }
.etapes__coche {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.formulaire {
  margin-top: 2.6rem;
  max-width: 620px;
  display: grid;
  gap: 1.1rem;
}
.formulaire label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--titre-c);
  margin-bottom: 0.35rem;
}
.formulaire input,
.formulaire textarea {
  width: 100%;
  font: inherit;
  color: var(--texte);
  background: var(--papier);
  border: 1px solid var(--filet);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
}
.formulaire input:focus,
.formulaire textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.formulaire .btn { justify-self: start; margin-top: 0.4rem; border: 0; cursor: pointer; }

/* ─────────── Footer ─────────── */

.footer {
  border-top: 1px solid var(--nav2-ligne);
  background: var(--pied);
  padding: 3rem clamp(1.2rem, 4vw, 3rem) 2rem;
}
.footer__haut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}
.footer__logo { font-family: var(--police-titre); font-size: 1.4rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__nav a, .footer__bas a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(242, 232, 216, 0.7);
}
.footer__nav a:hover, .footer__bas a:hover { color: var(--or-vif); }
.footer__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--sable);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.4rem;
}
.footer__bas nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* langues (footer) */
.langues { display: flex; gap: 0.9rem; align-items: center; }
.langues a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(242, 232, 216, 0.7);
}
.langues a[aria-current="true"] { color: var(--or-vif); border-bottom: 2px solid var(--or); }

/* ─────────── Alerte réservations ───────────
   La saison ouvre le 20 novembre ; en attendant, le bouton « Réserver »
   ouvre cette fenêtre de collecte d'e-mails. Le module de réservation
   L'Ardoize prendra cette place quand il sera prêt. */

.resa {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px 16px;
}
.resa[hidden] { display: none; }
.resa__fond {
  position: absolute;
  inset: 0;
  background: rgba(25, 6, 11, 0.55);
}
/* même papier que la carte postale : un objet, pas une « modale » */
.resa__carte {
  position: relative;
  width: min(440px, 100%);
  background: #faf4e6;
  color: #463327;
  border-radius: 10px;
  padding: 1.7rem 1.8rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(-0.5deg);
}
.resa__carte::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
}
.resa__carte .overline { color: var(--accent); margin-bottom: 0.4rem; }
.resa__carte h3 {
  font-size: 1.5rem;
  color: #4a2f24;
  margin-bottom: 0.55rem;
  padding-right: 34px;
}
.resa__texte { font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.1rem; }
.resa__label { display: block; font-size: 0.8rem; margin-bottom: 0.35rem; }
.resa__label[hidden] { display: none; }
.resa__ligne { display: flex; gap: 0.5rem; flex-wrap: wrap; position: relative; z-index: 1; }
.resa__ligne[hidden] { display: none; }
.resa__ligne input {
  flex: 1 1 170px;
  min-width: 0;
  border: 1px solid rgba(70, 51, 39, 0.4);
  background: #fffdf6;
  border-radius: 6px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: inherit;
}
.resa__ligne input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.resa__ok, .resa__err { margin-top: 0.8rem; font-size: 0.92rem; }
.resa__ok { color: var(--accent); font-weight: 600; }
.resa__err { color: #8c3a2b; }
.resa__ok[hidden], .resa__err[hidden] { display: none; }
.resa__fermer {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  z-index: 1;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  color: #7a5c49;
  padding: 0.2rem 0.4rem;
}
.resa__fermer:hover { color: #4a2f24; }
body.resa-ouverte { overflow: hidden; }

/* ─────────── Mouvement réduit ─────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { height: auto; }
  .intro__stage { position: relative; }
  .intro__hint, .intro__neige { display: none; }
  .intro__arrivee { display: none; }
  .intro__chevron::after { animation: none; }
  .poste { height: auto; }
  .poste__stage { position: relative; }
}
