/* ==========================================================================
   Auberge Relais du Pitaval — feuille de styles
   Direction artistique : rustique contemporain (pierre, foin, terre cuite)
   ========================================================================== */

/* --- 1. Jetons de design ------------------------------------------------- */
:root {
  /* Couleurs */
  --creme:        #F8F4ED;
  --creme-2:      #F0E9DC;
  --creme-3:      #E4DACA;
  --encre:        #24201B;
  --encre-2:      #3A342C;
  --encre-doux:   #6B6156;
  --terre:        #A1502C;
  --terre-clair:  #C0693C;
  --terre-pale:   #EADCD1;
  --olive:        #4F5B3C;
  --olive-clair:  #6F7C55;
  --or:           #BE9B4E;
  --blanc:        #FFFFFF;
  --trait:        rgba(36, 32, 27, .14);
  --trait-fort:   rgba(36, 32, 27, .28);

  /* Typographie */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rythme */
  --pad-page: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
  --max-texte: 68ch;
  --sect: clamp(4rem, 9vw, 8rem);

  /* Divers */
  --arche: 14rem 14rem 3px 3px / 9rem 9rem 3px 3px;
  --ombre: 0 1px 2px rgba(36,32,27,.05), 0 12px 32px -14px rgba(36,32,27,.28);
  --ombre-forte: 0 2px 4px rgba(36,32,27,.06), 0 28px 60px -26px rgba(36,32,27,.42);
  color-scheme: light;
}

/* --- 2. Réinitialisation ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--trait); margin: 0; }

::selection { background: var(--terre); color: var(--creme); }

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

/* --- 3. Utilitaires de mise en page -------------------------------------- */
.enveloppe { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-page); }
.enveloppe--etroit { max-width: 860px; }
.section { padding-block: var(--sect); }
.section--creme { background: var(--creme-2); }
.section--sombre { background: var(--encre); color: var(--creme); }
.section--sombre h1, .section--sombre h2, .section--sombre h3 { color: var(--creme); }

.saut-contenu {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--encre); color: var(--creme);
  padding: .75rem 1.25rem; border-radius: 3px;
}
.saut-contenu:focus { left: 1rem; top: 1rem; }

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 4. Typographie ------------------------------------------------------ */
.affiche {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
.titre-1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); letter-spacing: -.02em; }
.titre-2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.titre-3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

.oeil {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terre);
  margin-bottom: 1.1rem;
}
.oeil::before {
  content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .55;
}
.section--sombre .oeil { color: var(--or); }

.chapo {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  line-height: 1.6;
  color: var(--encre-doux);
  max-width: var(--max-texte);
}
.section--sombre .chapo { color: rgba(248, 244, 237, .78); }

.texte { max-width: var(--max-texte); color: var(--encre-2); }
.texte p + p { margin-top: 0; }

.en-tete-section { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }

/* Lettrine pour les pages récit */
.lettrine::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.9em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--terre);
  font-weight: 400;
}

/* --- 5. Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.75rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--plein { background: var(--terre); color: var(--creme); }
.btn--plein:hover { background: var(--encre); }
.btn--contour { border-color: var(--trait-fort); color: var(--encre); }
.btn--contour:hover { background: var(--encre); border-color: var(--encre); color: var(--creme); }
.section--sombre .btn--contour,
.appel .btn--contour,
.hero .btn--contour,
.hero-page .btn--contour { border-color: rgba(248,244,237,.38); color: var(--creme); }
.section--sombre .btn--contour:hover,
.appel .btn--contour:hover,
.hero .btn--contour:hover,
.hero-page .btn--contour:hover { background: var(--creme); border-color: var(--creme); color: var(--encre); }
.btn--clair { background: var(--creme); color: var(--encre); }
.btn--clair:hover { background: var(--or); color: var(--encre); }

.groupe-btn { display: flex; flex-wrap: wrap; gap: .9rem; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--terre);
  border-bottom: 1px solid currentColor; padding-bottom: .25rem;
  transition: gap .2s ease, color .2s ease;
}
.lien-fleche:hover { gap: .95rem; color: var(--encre); }
.lien-fleche::after { content: "→"; font-size: 1.05em; letter-spacing: 0; }

/* --- 6. En-tête / navigation --------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 244, 237, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--trait);
  transition: box-shadow .25s ease;
}
.entete[data-defile="oui"] { box-shadow: 0 1px 18px rgba(36,32,27,.09); }
.entete__interieur {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 4.75rem;
}

.marque { display: flex; align-items: center; gap: .9rem; text-decoration: none; flex-shrink: 0; }
.marque__sceau { width: 2.6rem; height: 2.6rem; flex-shrink: 0; color: var(--terre); }
.marque__texte { display: flex; flex-direction: column; line-height: 1.05; }
.marque__nom {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 500;
  letter-spacing: .01em; color: var(--encre);
}
.marque__lieu {
  font-size: .6rem; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--terre); margin-top: .18rem;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav__liste { display: flex; align-items: center; gap: 1.3rem; list-style: none; }
.nav__lien {
  position: relative;
  font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  text-decoration: none; color: var(--encre-2);
  padding-block: .4rem; white-space: nowrap;
  transition: color .2s ease;
}
.nav__lien::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--terre); transition: right .25s ease;
}
.nav__lien:hover { color: var(--encre); }
.nav__lien:hover::after,
.nav__lien[aria-current="page"]::after { right: 0; }
.nav__lien[aria-current="page"] { color: var(--terre); }

.entete__tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .84rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; color: var(--encre);
  border: 1px solid var(--trait-fort); border-radius: 2px;
  padding: .6rem 1rem; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.entete__tel:hover { background: var(--encre); border-color: var(--encre); color: var(--creme); }

.bascule {
  display: none; width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--trait-fort); border-radius: 2px;
  cursor: pointer; color: var(--encre);
}
.bascule__barres { position: relative; display: block; width: 1.15rem; height: 1px; background: currentColor; }
.bascule__barres::before, .bascule__barres::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.bascule__barres::before { top: -.35rem; }
.bascule__barres::after { top: .35rem; }
.bascule[aria-expanded="true"] .bascule__barres { background: transparent; }
.bascule[aria-expanded="true"] .bascule__barres::before { transform: translateY(.35rem) rotate(45deg); }
.bascule[aria-expanded="true"] .bascule__barres::after { transform: translateY(-.35rem) rotate(-45deg); }

@media (max-width: 1120px) {
  .bascule { display: inline-flex; }
  .entete__tel { display: none; }
  .nav {
    position: fixed; inset: 4.75rem 0 auto 0;
    display: block; background: var(--creme);
    border-bottom: 1px solid var(--trait);
    padding: 1.25rem var(--pad-page) 2rem;
    max-height: calc(100dvh - 4.75rem); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav[data-ouvert="oui"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste li { border-bottom: 1px solid var(--trait); }
  .nav__lien { display: block; padding: .95rem 0; font-size: 1rem; }
  .nav__lien::after { display: none; }
  .nav__tel-mobile { display: flex; margin-top: 1.4rem; }
}
@media (min-width: 1121px) { .nav__tel-mobile { display: none; } }

/* --- 7. Héro ------------------------------------------------------------- */
.hero { position: relative; background: var(--encre); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,.72) 0%, rgba(20,17,14,.34) 45%, rgba(20,17,14,.86) 100%);
}
.hero__contenu {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(88svh, 46rem);
  padding-block: clamp(6rem, 14vh, 9rem) clamp(3rem, 7vh, 4.5rem);
  color: var(--creme);
}
.hero .oeil { color: var(--or); }
.hero__titre { max-width: 18ch; color: var(--creme); }
.hero__chapo { color: rgba(248,244,237,.86); max-width: 46ch; margin-top: 1.5rem; font-size: clamp(1.05rem,1.7vw,1.22rem); }
.hero__actions { margin-top: 2.4rem; }
.hero__infos {
  display: flex; flex-wrap: wrap; gap: .6rem 2.2rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(248,244,237,.22);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(248,244,237,.72); list-style: none;
}
.hero__infos strong { color: var(--creme); font-weight: 700; }

/* Héro secondaire (pages intérieures) */
.hero-page { position: relative; background: var(--encre); overflow: hidden; }
.hero-page__media { position: absolute; inset: 0; }
.hero-page__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-page__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,.68) 0%, rgba(20,17,14,.55) 100%);
}
.hero-page__contenu {
  position: relative; z-index: 1; color: var(--creme);
  padding-block: clamp(4.5rem, 12vh, 7.5rem) clamp(3.5rem, 9vh, 5.5rem);
  max-width: 44rem;
}
.hero-page__contenu h1 { max-width: 20ch; }
.hero-page .oeil { color: var(--or); }
.hero-page__chapo { color: rgba(248,244,237,.82); margin-top: 1.25rem; max-width: 52ch; }

/* Fil d'Ariane */
.ariane { position: relative; z-index: 1; padding-top: 1.5rem; }
.ariane ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.ariane li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.ariane a { color: rgba(248,244,237,.7); text-decoration: none; }
.ariane a:hover { color: var(--creme); }
.ariane [aria-current] { color: var(--or); }

/* --- 8. Grilles et cartes ------------------------------------------------ */
.grille { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grille--photos { grid-template-columns: 1fr 1fr; gap: .7rem; }

.duo {
  display: grid; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--inverse .duo__media { order: 2; }
  .duo--large-texte { grid-template-columns: 1.15fr 1fr; }
}

.arche { border-radius: var(--arche); overflow: hidden; background: var(--creme-3); }
.arche img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.cadre { border-radius: 3px; overflow: hidden; background: var(--creme-3); box-shadow: var(--ombre); }
.cadre img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.carte {
  display: flex; flex-direction: column;
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 3px;
  overflow: hidden; transition: transform .28s ease, box-shadow .28s ease;
}
.carte--lien:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.carte__media { background: var(--creme-3); overflow: hidden; }
.carte__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s ease; }
.carte--lien:hover .carte__media img { transform: scale(1.045); }
.carte__corps { padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.carte__titre { font-size: 1.3rem; }
.carte__texte { color: var(--encre-doux); font-size: .95rem; }
.carte__pied { margin-top: auto; padding-top: .5rem; }
.carte a { text-decoration: none; }

/* Chiffres clés */
.chiffres { display: grid; gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: 3px; overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.chiffres > div { background: var(--creme); padding: 1.75rem 1.4rem; text-align: center; }
.section--creme .chiffres > div { background: var(--creme-2); }
.chiffres dt { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--terre); line-height: 1; }
.chiffres dd { margin: .6rem 0 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); }

/* --- 9. Menus ------------------------------------------------------------ */
.menu-carte {
  background: var(--creme);
  border: 1px solid var(--trait);
  border-radius: 3px;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex; flex-direction: column;
  position: relative;
}
.section--creme .menu-carte { background: var(--blanc); }
.menu-carte--phare { border-color: var(--terre); box-shadow: var(--ombre); }
.menu-carte__ruban {
  position: absolute; top: -.7rem; left: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--terre); color: var(--creme);
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 2px;
}
.menu-carte__entete { border-bottom: 1px solid var(--trait); padding-bottom: 1.25rem; margin-bottom: 1.5rem; }
.menu-carte__saison { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terre); }
.menu-carte__titre { font-size: 1.75rem; margin-top: .5rem; }
.menu-carte__periode { font-size: .88rem; color: var(--encre-doux); margin-top: .4rem; }

.plats { list-style: none; display: flex; flex-direction: column; gap: 1.05rem; flex: 1; }
.plats li { display: flex; gap: .9rem; }
.plats li::before {
  content: ""; flex-shrink: 0; width: .4rem; height: .4rem; margin-top: .62rem;
  background: var(--or); transform: rotate(45deg);
}
.plats strong { display: block; font-weight: 700; font-size: .98rem; }
.plats span { display: block; color: var(--encre-doux); font-size: .9rem; line-height: 1.5; }

.tarifs { margin-top: 1.75rem; padding-top: 1.35rem; border-top: 1px solid var(--trait); list-style: none; }
.tarifs li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .42rem 0; font-size: .93rem; }
.tarifs li + li { border-top: 1px dotted var(--trait); }
.tarifs .prix { font-family: var(--serif); font-size: 1.22rem; color: var(--terre); font-weight: 500; white-space: nowrap; }
.tarifs .libelle { color: var(--encre-doux); }

.note-menu {
  margin-top: 1.25rem; padding: .9rem 1.05rem;
  background: var(--terre-pale); border-radius: 3px;
  font-size: .86rem; color: var(--encre-2);
}

/* --- 10. Listes de prestations ------------------------------------------- */
.liste-traits { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.liste-traits li { position: relative; padding-left: 1.95rem; font-size: .98rem; }
.liste-traits li::before {
  content: ""; position: absolute; left: 0; top: .32rem;
  width: 1.1rem; height: 1.1rem;
  background: var(--terre); opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--sombre .liste-traits li::before { background: var(--or); }

.puces-produits { list-style: none; display: grid; gap: .55rem; }
.puces-produits li { padding-left: 1.15rem; position: relative; font-size: .96rem; color: var(--encre-2); }
.puces-produits li::before { content: "—"; position: absolute; left: 0; color: var(--or); }

/* --- 11. Tableaux --------------------------------------------------------- */
.tableau-enveloppe { overflow-x: auto; border: 1px solid var(--trait); border-radius: 3px; background: var(--blanc); }
.section--creme .tableau-enveloppe { background: var(--blanc); }
table.tableau { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: .95rem; }
table.tableau caption { text-align: left; padding: 1.1rem 1.25rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); border-bottom: 1px solid var(--trait); }
table.tableau th, table.tableau td { padding: .95rem 1.25rem; text-align: left; border-bottom: 1px solid var(--trait); vertical-align: top; }
table.tableau thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-doux); font-weight: 700; background: var(--creme-2); }
table.tableau tbody th { font-weight: 700; color: var(--encre); background: var(--creme-2); }
table.tableau tbody tr:last-child th, table.tableau tbody tr:last-child td { border-bottom: 0; }
table.tableau .prix { font-family: var(--serif); color: var(--terre); font-size: 1.1rem; white-space: nowrap; }

/* --- 12. Galerie ---------------------------------------------------------- */
.galerie { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .galerie { grid-template-columns: repeat(3, 1fr); gap: .85rem; } }
.galerie__item { border: 0; padding: 0; background: var(--creme-3); border-radius: 3px; overflow: hidden; cursor: zoom-in; display: block; }
.galerie__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.galerie__item:hover img { transform: scale(1.05); opacity: .92; }
.galerie__item--large { grid-column: span 2; }
.galerie__item--large img { aspect-ratio: 2/1; }
@media (min-width: 780px) {
  .galerie__item--large { grid-column: span 2; grid-row: span 2; }
  .galerie__item--large img { aspect-ratio: 1; height: 100%; }
}

.visionneuse {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,17,14,.94);
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.visionneuse[data-ouvert="oui"] { display: flex; }
.visionneuse img { max-width: 100%; max-height: 84svh; object-fit: contain; border-radius: 3px; }
.visionneuse__fermer {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: rgba(248,244,237,.12); border: 1px solid rgba(248,244,237,.3);
  color: var(--creme); font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.visionneuse__fermer:hover { background: rgba(248,244,237,.24); }
.visionneuse__legende { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; color: rgba(248,244,237,.75); font-size: .85rem; }

/* --- 13. Formulaire ------------------------------------------------------ */
.formulaire { display: grid; gap: 1.15rem; }
.champ { display: flex; flex-direction: column; gap: .45rem; }
.champ label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--encre-doux); }
.champ .obligatoire { color: var(--terre); }
.champ input, .champ textarea, .champ select {
  font: inherit; font-size: 1rem;
  padding: .85rem 1rem;
  background: var(--blanc);
  border: 1px solid var(--trait-fort); border-radius: 2px;
  color: var(--encre); width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.champ input:focus, .champ textarea:focus, .champ select:focus {
  outline: none; border-color: var(--terre); box-shadow: 0 0 0 3px rgba(161,80,44,.14);
}
.champ textarea { resize: vertical; min-height: 9rem; }
.champ--duo { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .champ--duo { grid-template-columns: 1fr 1fr; } }
.case { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--encre-2); }
.case input { width: 1.15rem; height: 1.15rem; margin-top: .22rem; flex-shrink: 0; accent-color: var(--terre); }
.pot-de-miel { position: absolute; left: -9999px; }
.form-message { padding: 1rem 1.15rem; border-radius: 3px; font-size: .93rem; }
.form-message--ok { background: #E7EFE1; border: 1px solid var(--olive-clair); color: var(--olive); }
.form-message--ko { background: var(--terre-pale); border: 1px solid var(--terre); color: var(--terre); }

/* --- 14. Encart contact / infos pratiques -------------------------------- */
.encart {
  background: var(--creme-2); border: 1px solid var(--trait);
  border-radius: 3px; padding: clamp(1.6rem, 3vw, 2.25rem);
}
.section--creme .encart { background: var(--blanc); }
.encart__titre { font-size: 1.25rem; margin-bottom: 1.1rem; }
.infos-liste { list-style: none; display: flex; flex-direction: column; gap: 1.05rem; }
.infos-liste li { display: flex; flex-direction: column; gap: .18rem; }
.infos-liste dt, .infos-liste .etiq { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); }
.infos-liste .valeur { font-size: 1.02rem; color: var(--encre); }
.infos-liste a { color: var(--terre); text-decoration: none; border-bottom: 1px solid rgba(161,80,44,.35); }
.infos-liste a:hover { color: var(--encre); border-color: currentColor; }

.horaires { list-style: none; }
.horaires li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dotted var(--trait); font-size: .95rem; }
.horaires li:last-child { border-bottom: 0; }
.horaires .jour { color: var(--encre-2); }
.horaires .creneau { font-weight: 700; }
.horaires .ferme { color: var(--terre); font-weight: 700; }

.carte-plan { border: 1px solid var(--trait); border-radius: 3px; overflow: hidden; background: var(--creme-3); }
.carte-plan iframe { display: block; width: 100%; height: 24rem; border: 0; }

/* --- 15. Bandeau d'appel ------------------------------------------------- */
.appel {
  background: var(--encre); color: var(--creme);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}
.appel h2 { color: var(--creme); max-width: 20ch; margin-inline: auto; }
.appel p { color: rgba(248,244,237,.76); max-width: 52ch; margin: 1.15rem auto 0; }
.appel .groupe-btn { justify-content: center; margin-top: 2.2rem; }

/* --- 16. Pied de page ---------------------------------------------------- */
.pied { background: var(--encre); color: rgba(248,244,237,.72); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; border-top: 1px solid rgba(248,244,237,.1); }
.pied__grille { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.pied__marque { max-width: 26rem; }
.pied__marque .marque__nom { color: var(--creme); font-size: 1.25rem; }
.pied__marque p { margin-top: 1.1rem; font-size: .95rem; line-height: 1.7; }
.pied__titre { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--or); margin-bottom: 1.15rem; font-family: var(--sans); }
.pied__liste { list-style: none; display: flex; flex-direction: column; gap: .6rem; font-size: .93rem; }
.pied a { color: rgba(248,244,237,.72); text-decoration: none; transition: color .2s ease; }
.pied a:hover { color: var(--creme); }
.pied strong { color: var(--creme); font-weight: 600; }
.pied__bas {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(248,244,237,.14);
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; justify-content: space-between;
  font-size: .8rem;
}
.pied__bas ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --- 17. Pages secteur (SEO local) --------------------------------------- */
.secteurs { list-style: none; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.secteurs a {
  display: block; padding: .95rem 1.15rem;
  background: var(--creme); border: 1px solid var(--trait); border-radius: 3px;
  text-decoration: none; font-size: .95rem; color: var(--encre-2);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.section--creme .secteurs a { background: var(--blanc); }
.secteurs a:hover { border-color: var(--terre); color: var(--terre); }

/* --- 18. Animations d'apparition ----------------------------------------- */
.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.apparait[data-vu="oui"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; } }
/* Sans JavaScript, tout le contenu reste visible */
.sans-js .apparait { opacity: 1; transform: none; }

/* --- 19. Impression ------------------------------------------------------ */
@media print {
  .entete, .pied, .appel, .bascule, .visionneuse { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1.5rem; }
}
