/* ==========================================================================
   Au Cochon Grillé Adoré — Design system
   Feuille de style unique, partagée par toutes les pages.
   Sommaire : 1.Polices 2.Tokens 3.Reset 4.Typo 5.Layout 6.Boutons
              7.Header 8.Hero 9.Cartes 10.Sections 11.Galerie 12.Avis
              13.Formulaire 14.Footer 15.Utilitaires 16.Responsive
   ========================================================================== */

/* 1. POLICES ------------------------------------------------------------- */
/* Aucune webfont chargée : voir la pile de polices dans --font-body, §2.
   Gain : ~70 ko de moins qu'une webfont, et aucun décalage de texte
   au chargement (pas de FOUT). */

/* 2. TOKENS -------------------------------------------------------------- */
:root {
  /* Couleurs — braise, or et crème.
     L'écart crème/sable a été creusé pour que l'alternance des sections
     se lise vraiment, et le doré réchauffé (il tirait vers le moutarde). */
  --ember:        #a32b22;
  --ember-dark:   #6b1610;
  --ember-light:  #c2443398;
  --ember-solid:  #c24433;
  --gold:         #d9a441;
  --gold-bright:  #f0c874;
  --gold-deep:    #b07d22;
  --gold-pale:    #f6e6c4;
  --cream:        #fdfaf6;
  --sand:         #efe2d2;
  --charcoal:     #15100e;
  --charcoal-2:   #241c18;
  --ink:          #2a211c;
  --muted:        #6e5f55;
  --border:       #e0d0bd;
  --white:        #ffffff;

  /* Typographie — pile identique au site de référence : Inter si elle est
     installée, sinon la police système (Segoe UI sur Windows, San Francisco
     sur macOS). Titres et texte partagent la même famille : pas de serif.
     Aucune webfont chargée, donc aucun décalage de texte à l'affichage. */
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system,
                  BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  /* Échelle volontairement resserrée : des titres trop grands donnent
     un site qui crie, pas un site haut de gamme. */
  --step--1: 0.85rem;
  --step-0:  1rem;
  --step-1:  1.08rem;
  --step-2:  1.22rem;
  --step-3:  clamp(1.5rem, 2.6vw, 2.15rem);
  --step-4:  clamp(1.85rem, 3.2vw, 2.6rem);

  /* Espacements */
  --sp-1: 0.5rem;   --sp-2: 0.875rem; --sp-3: 1.25rem;
  --sp-4: 1.75rem;  --sp-5: 2.5rem;   --sp-6: 3.75rem;
  --sp-7: 5rem;

  /* Divers */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --radius: 0.65rem;
  --radius-lg: 1.1rem;
  --shadow-sm: 0 1px 3px rgba(26, 22, 20, .07), 0 4px 12px -4px rgba(26, 22, 20, .08);
  --shadow-md: 0 4px 10px rgba(26, 22, 20, .08), 0 18px 40px -16px rgba(26, 22, 20, .22);
  --shadow-lg: 0 10px 24px rgba(26, 22, 20, .1), 0 32px 70px -28px rgba(26, 22, 20, .34);
  --header-h: 4.75rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* 3. RESET --------------------------------------------------------------- */
*, *::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: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
/* L'attribut hidden doit toujours l'emporter : sans cette règle, un
   composant en display:flex (ex. .field) resterait visible une fois masqué. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--ember); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember-light); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ember); color: var(--white);
  padding: var(--sp-2) var(--sp-3); border-radius: 0 0 var(--radius) 0;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--white); }

/* 4. TYPOGRAPHIE --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal);
  margin: 0 0 var(--sp-3);
}
/* Réglages calés sur le site de référence : interlignage serré et léger
   resserrement des lettres, qui conviennent à une sans-serif en gras. */
h1 { font-size: var(--step-4); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: var(--step-3); font-weight: 800; line-height: 1.14; letter-spacing: -0.018em; }
h3 { font-size: var(--step-2); font-weight: 700; line-height: 1.3;  letter-spacing: -0.012em; }
h4 { font-size: var(--step-1); font-weight: 700; line-height: 1.35; letter-spacing: -0.008em; }
p { margin: 0 0 var(--sp-3); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--charcoal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--sp-2);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 1px;
  background: currentColor; opacity: .55; flex: none;
}
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); }
.section-head { max-width: 46rem; margin-bottom: var(--sp-5); }
.section-head.center { margin-inline: auto; text-align: center; }
/* Sur un titre centré, le filet est symétrique : "—— NOS PRESTATIONS ——" */
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after {
  content: ""; width: 1.75rem; height: 1px;
  background: currentColor; opacity: .55; flex: none;
}
/* Losange d'ornement sous le bloc de titre centré */
.section-head.center::after {
  content: ""; display: block;
  width: .38rem; height: .38rem;
  background: var(--gold); transform: rotate(45deg);
  margin: var(--sp-3) auto 0;
}

/* 5. LAYOUT -------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--sp-6); }
.section-lg { padding-block: var(--sp-7); }
.section-sand { background: var(--sand); }
/* Sections sombres : une lueur de braise en haut évite l'aplat noir mort. */
.section-dark {
  background:
    radial-gradient(120% 65% at 50% 0%, rgba(163, 43, 34, .30) 0%, transparent 62%),
    var(--charcoal);
  color: rgba(239, 226, 210, .82);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .lead, .section-dark .muted { color: rgba(239, 226, 210, .72); }
.section-dark .eyebrow { color: var(--gold-bright); }
.section-dark strong { color: var(--gold-bright); }
.section-dark .callout {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(255, 255, 255, .14);
  border-left-color: var(--gold);
  box-shadow: none;
}
.section-dark .callout p { color: rgba(239, 226, 210, .72); }

/* Section braise, pour les bandeaux qui doivent trancher */
.section-ember {
  background:
    radial-gradient(110% 80% at 15% 0%, rgba(232, 108, 62, .34) 0%, transparent 60%),
    linear-gradient(160deg, var(--ember) 0%, var(--ember-dark) 70%, #4a0f0b 100%);
  color: rgba(255, 244, 236, .88);
}
.section-ember h1, .section-ember h2, .section-ember h3 { color: var(--white); }
.section-ember .eyebrow { color: var(--gold-bright); }
.section-ember .lead { color: rgba(255, 244, 236, .84); }

/* Section « Notre histoire » (accueil) : pause claire entre le bandeau des
   chiffres et le carrousel, tous deux sombres. */
.section-histoire { background: var(--cream); }
.section-histoire h2 { margin-bottom: var(--sp-2); }
.section-histoire .ornament { margin-bottom: var(--sp-4); }
.section-histoire .lead { color: var(--ink); }

/* Filet doré de séparation entre deux sections claires */
.section-rule { border-top: 1px solid var(--border); }

.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.split { display: grid; gap: var(--sp-5); align-items: center; grid-template-columns: 1fr; }
/* Quand une colonne est nettement plus haute que l'autre (un formulaire face
   à du texte), le centrage laisse un grand vide : on aligne en haut. */
.split.top { align-items: start; }
@media (min-width: 62rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .split.wide-left { grid-template-columns: 1.15fr .85fr; }
  .split.wide-right { grid-template-columns: .85fr 1.15fr; }
}

/* 6. BOUTONS ------------------------------------------------------------- */
/* Boutons compacts et uniformes : une seule taille de référence, hauteur
   de 46px (confortable au doigt) plutôt que des pavés surdimensionnés. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px;
  padding: .75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ember); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--ember-light); color: var(--white); box-shadow: var(--shadow-md); }
.btn-gold {
  background: linear-gradient(170deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #2a1a06;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 22px -10px rgba(217,164,65,.8);
}
.btn-gold:hover {
  background: linear-gradient(170deg, #f7d48d 0%, var(--gold-bright) 55%, var(--gold) 100%);
  color: #2a1a06;
  box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 14px 30px -10px rgba(217,164,65,.95);
}
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--border); }
.btn-outline:hover { background: var(--white); color: var(--ember); border-color: var(--ember); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.btn-row.center { justify-content: center; }

/* 7. HEADER / NAVIGATION ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
}
/* Le fond flouté est porté par un calque et NON par l'en-tête lui-même :
   un backdrop-filter sur .site-header ferait de lui le repère des éléments
   en position fixe qu'il contient (panneau du menu mobile). Le panneau
   fermé, rangé hors écran, élargissait alors toute la page sur mobile. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 247, 241, .93);
  backdrop-filter: blur(10px);
  transition: background .35s var(--ease);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { width: 3rem; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display); font-size: 1.12rem;
  font-weight: 800; letter-spacing: -0.015em;
  color: var(--charcoal);
}
.brand-tag {
  font-size: .62rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold);
}

/* Navigation en capsule : un conteneur arrondi qui enveloppe les liens,
   chacun devenant une pastille au survol et sur la page courante. */
.nav {
  display: flex; align-items: center; gap: 4px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(21, 16, 14, .035);
  font-size: .88rem;
}
/* `:not(.btn)` : le bouton d'appel à l'action du panneau mobile ne doit pas
   hériter du style des pastilles, ni de leur display. */
.nav a:not(.btn),
.sub-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 34px; padding: 7px 12px;
  border: 0; border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: inherit; font-weight: 700; font-family: inherit;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease),
              box-shadow .15s var(--ease);
}
.nav a:not(.btn):hover,
.sub-toggle:hover,
.nav a[aria-current="page"],
.has-sub.is-current .sub-toggle {
  background: var(--white);
  color: var(--ember);
  box-shadow: 0 1px 2px rgba(21, 16, 14, .1);
}
.sub-toggle[aria-expanded="true"] { background: var(--white); color: var(--ember); }

.nav-cta { flex: none; margin-left: var(--sp-2); }
.nav-cta-mobile { display: none; }

/* Menus déroulants */
.has-sub { position: relative; }
.sub-toggle svg { transition: transform .2s var(--ease); opacity: .7; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + .45rem); left: 0;
  min-width: 15rem; padding: .4rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  list-style: none; margin: 0; display: none;
}
.submenu.open { display: block; }
.submenu a { display: block; padding: .55rem .7rem; font-size: .9rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 2.85rem; height: 2.85rem; flex: none;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
}

/* 8. HERO ---------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--charcoal); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* Le filigrane du photographe est incrusté en haut à gauche de la source.
   On ancre le cadrage en haut pour qu'il soit affiché ENTIER plutôt que
   coupé en deux par le bord — un crédit tronqué fait "cassé", un crédit
   complet fait intentionnel. */
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Voile directionnel plutôt qu'un aplat : le texte reste lisible à gauche,
   et le feu reste visible à droite. C'est lui qui donne envie. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,7,6,.93) 0%, rgba(10,7,6,.82) 28%,
                            rgba(21,16,14,.45) 55%, rgba(21,16,14,.12) 78%,
                            rgba(21,16,14,.28) 100%),
    linear-gradient(to top, rgba(10,7,6,.72) 0%, transparent 32%);
}
/* Le cadrage en "cover" rogne l'image verticalement : plus le bandeau est
   haut, plus on voit de photo. C'est le seul levier pour dézoomer sans
   déformer ni laisser de bandes noires. */
.hero { min-height: 680px; display: flex; align-items: center; }
.hero > .wrap { width: min(100% - 2.5rem, var(--wrap)); }
.hero-inner { padding-block: clamp(3.5rem, 8vw, 5.5rem); max-width: 43rem; }
.hero h1 { color: var(--white); text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.hero .lead {
  color: rgba(255,255,255,.9); margin-bottom: var(--sp-4); max-width: 35rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.5);
}
.hero .eyebrow { color: var(--gold-bright); }

/* Crédit photographe, discret mais présent */
.photo-credit {
  position: absolute; right: .9rem; bottom: .7rem; z-index: 1;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* Liens rapides sous le hero : orientent tout de suite le visiteur vers
   son type d'événement, et renforcent le maillage interne. */
.trust-list {
  list-style: none; margin: var(--sp-4) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.trust-list li a {
  display: inline-block;
  padding: .42rem .85rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, .92);
  font-size: .87rem; font-weight: 600; text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.trust-list li a:hover {
  background: var(--gold); border-color: var(--gold); color: #2a1a06;
}

/* Bandeau de chiffres clés, juste sous le hero */
.stats-band { background: var(--charcoal-2); color: var(--sand); }
.stats-band .wrap {
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
  padding-block: var(--sp-4);
}
@media (min-width: 48rem) { .stats-band .wrap { grid-template-columns: repeat(4, 1fr); } }
.stats-band div { padding-inline: var(--sp-3); border-left: 1px solid rgba(255,255,255,.14); }
.stats-band div:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 48rem) {
  .stats-band div:nth-child(odd) { border-left: 0; padding-left: 0; }
}
.stats-band .n {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; color: var(--gold-bright); line-height: 1.1;
}
.stats-band .l { font-size: .85rem; color: rgba(239,226,210,.7); }

/* Bandeau de page intérieure */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--charcoal); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Même logique que le hero : voile directionnel pour garder la photo lisible
   à droite, plutôt qu'un aplat qui la délave entièrement. */
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,7,6,.92) 0%, rgba(10,7,6,.78) 30%,
                            rgba(21,16,14,.52) 58%, rgba(21,16,14,.34) 100%),
    linear-gradient(to top, rgba(10,7,6,.55) 0%, transparent 38%);
}
.page-hero-inner { padding-block: clamp(3rem, 7vw, 5.5rem); max-width: 46rem; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,.85); }

/* Fil d'Ariane */
.breadcrumb { font-size: var(--step--1); padding-block: .9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: .45rem; opacity: .5; }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb a { color: inherit; opacity: .8; }
.page-hero .breadcrumb { color: rgba(255,255,255,.8); }

/* 9. CARTES -------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.06); }
.card-body { padding: var(--sp-3) var(--sp-3) var(--sp-3); flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .45rem; }
.card-sub {
  font-size: .7rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem;
}
.card-body p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.card-more {
  margin-top: auto; padding-top: var(--sp-2);
  font-weight: 700; font-size: .9rem; color: var(--ember);
  display: inline-flex; align-items: center; gap: .35rem;
}

/* Grilles de cartes à nombre de colonnes explicite.
   `auto-fit` laissait une 4e carte orpheline sur sa propre ligne. */
.cards { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; }
@media (min-width: 38rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) {
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card-link { text-decoration: none; color: inherit; }
.card-link .card-more::after { content: "→"; transition: transform .2s var(--ease); }
.card-link:hover .card-more::after { transform: translateX(4px); }

/* Cartes département (page Zones desservies) */
.dept-card { padding: var(--sp-3); gap: var(--sp-3); }
.dept-head { display: flex; align-items: center; gap: .85rem; }
.dept-head h3 { font-size: 1.08rem; margin: 0 0 .3rem; }
.dept-code {
  flex: none;
  display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem;
  border-radius: var(--radius);
  background: var(--sand); color: var(--ember-dark);
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.dept-main .dept-code { background: var(--ember); color: var(--white); }
.dept-main { border-color: rgba(163, 43, 34, .35); }

.tier {
  display: inline-block;
  padding: .18rem .55rem;
  border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap;
}
.tier-main { background: var(--ember); color: var(--white); }
.tier-near { background: var(--gold-pale); color: var(--ember-dark); }
.tier-far  { background: var(--sand); color: var(--muted); }

.city-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.city-chips li {
  padding: .28rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
  font-size: .82rem; line-height: 1.3; color: var(--ink);
}
.dept-card .card-more { margin-top: auto; padding-top: 0; }
/* Variante plus grande pour la liste des communes de la couronne rennaise */
.city-chips-lg { gap: .45rem; margin-top: var(--sp-2); }
.city-chips-lg li { padding: .38rem .8rem; font-size: .88rem; background: var(--white); }

.tier-legend {
  list-style: none; margin: 0 0 var(--sp-4); padding: 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  font-size: .86rem; color: var(--muted);
}
.tier-legend li { display: flex; align-items: center; gap: .5rem; }

/* Liste compacte des départements (accueil) */
.dept-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .55rem;
  grid-template-columns: 1fr;
}
@media (min-width: 30rem) { .dept-list { grid-template-columns: 1fr 1fr; } }
.dept-list li {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem .65rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem; line-height: 1.35;
}
.dept-list .muted { font-size: .78rem; }
.dept-list .dept-code { width: 2.4rem; height: 2.4rem; font-size: 1rem; }
.dept-list .dept-main { border-color: rgba(163, 43, 34, .35); }

/* Liste à puces dorées */
.ticks { list-style: none; margin: 0 0 var(--sp-3); padding: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: .97rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: -.05rem;
  color: var(--gold); font-weight: 700;
}
.section-dark .ticks li::before { color: var(--gold-bright); }

/* Bloc d'appui / encadré */
.callout {
  background: var(--white); border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.callout.ember { border-left-color: var(--ember); }

/* Étapes numérotées */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.steps li { counter-increment: s; position: relative; padding-left: 4rem; }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: -.35rem;
  font-family: var(--font-display); font-size: var(--step-2);
  color: var(--gold); line-height: 1;
}
.steps h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.steps p { color: var(--muted); font-size: .97rem; }

/* Figure avec cadre */
.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--sand); }
.figure img { width: 100%; }
.figure figcaption {
  font-size: var(--step--1); color: var(--muted);
  padding: .7rem var(--sp-3); background: var(--white);
}

/* Tableau */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%; border-collapse: collapse; min-width: 34rem;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.data th, table.data td {
  padding: .85rem var(--sp-3); text-align: left;
  border-bottom: 1px solid var(--border); font-size: .96rem;
}
table.data thead th {
  background: var(--charcoal); color: var(--white);
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: var(--cream); }

/* FAQ */
.faq { display: grid; gap: var(--sp-2); }
.faq details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  padding: var(--sp-3); cursor: pointer; font-weight: 600;
  color: var(--charcoal); list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.6rem;
  color: var(--gold); line-height: 1; flex: none; transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 var(--sp-3) var(--sp-3); color: var(--muted); }

/* 10. SECTIONS SPÉCIFIQUES ---------------------------------------------- */
.cta-band {
  background:
    radial-gradient(100% 90% at 50% 0%, rgba(232, 108, 62, .32) 0%, transparent 62%),
    linear-gradient(165deg, var(--ember) 0%, var(--ember-dark) 65%, #46100c 100%);
  color: var(--white); text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,244,236,.86); max-width: 40rem; margin-inline: auto; }

.zones-list { columns: 2; column-gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.zones-list li { padding: .3rem 0; break-inside: avoid; font-size: .96rem; }
.zones-list li::before { content: "•"; color: var(--gold); margin-right: .5rem; }
@media (min-width: 48rem) { .zones-list { columns: 3; } }

/* 11bis. CARROUSEL PHOTO ------------------------------------------------- */
/* Le fond de section vient de la classe posée sur la section (.section-sand). */
.slider-section { padding-block: var(--sp-6); }
.slider {
  position: relative; overflow: hidden;
  background: transparent;
  margin-top: var(--sp-4);
}
.slider-track {
  display: flex;
  transition: transform .62s var(--ease);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  position: relative; margin: 0; padding: 0 5px;
  height: 340px;
}
@media (min-width: 48rem)  { .slide { flex-basis: 50%; height: 380px; } }
@media (min-width: 68rem)  { .slide { flex-basis: 33.3333%; height: 420px; } }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
}
.slide figcaption {
  position: absolute; left: 5px; right: 5px; bottom: 0;
  padding: 2.2rem 1.1rem .9rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(transparent, rgba(8, 5, 4, .82));
  color: rgba(255, 255, 255, .92);
  font-size: .88rem; letter-spacing: .01em;
}

.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(10, 7, 6, .55);
  backdrop-filter: blur(6px);
  color: #fff; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.slider-nav:hover { background: var(--gold); border-color: var(--gold); color: #2a1a06; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-dots {
  display: flex; justify-content: center; gap: .45rem;
  margin-top: var(--sp-3);
}
.slider-dot {
  width: .5rem; height: .5rem; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(21, 16, 14, .22);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.slider-dot.is-active { background: var(--gold); width: 1.4rem; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
  .slider-track { transition: none; }
}

/* 11. GALERIE ------------------------------------------------------------ */
.gallery { display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.gallery figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--sand);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.6rem .9rem .75rem;
  background: linear-gradient(to top, rgba(26,22,20,.85), transparent);
  color: var(--white); font-size: .88rem;
}
.gallery .tall { aspect-ratio: 3 / 4; }
@media (min-width: 48rem) { .gallery .wide { grid-column: span 2; aspect-ratio: 16 / 9; } }

/* 12. AVIS --------------------------------------------------------------- */
.reviews { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.review {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.stars { color: var(--gold); letter-spacing: .12em; font-size: 1.02rem; margin-bottom: .6rem; }
.review blockquote { margin: 0 0 var(--sp-3); font-size: .98rem; color: var(--ink); }
.review blockquote::before { content: "« "; color: var(--gold); }
.review blockquote::after { content: " »"; color: var(--gold); }
.review-author { margin-top: auto; display: flex; align-items: center; gap: .7rem; }
.review-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; flex: none;
  background: var(--ember); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.15rem;
}
.review-name { font-weight: 600; font-size: .94rem; line-height: 1.2; }
.review-date { font-size: var(--step--1); color: var(--muted); }

.rating-summary {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-2) var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.rating-summary .score { font-family: var(--font-display); font-size: var(--step-2); line-height: 1; }

/* 13. FORMULAIRE --------------------------------------------------------- */
.form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--charcoal); }
.field .req { color: var(--ember); }
.field input, .field select, .field textarea {
  padding: .75rem .9rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 144, 44, .18);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field .hint { font-size: var(--step--1); color: var(--muted); }
.field .error-msg { font-size: var(--step--1); color: var(--ember); font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--ember); }
.field.has-error .error-msg { display: block; }

/* Pot de miel anti-spam — masqué aux humains, visible des robots */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-status { border-radius: var(--radius); padding: var(--sp-3); margin-bottom: var(--sp-3); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #ecf7ee; border: 1px solid #a8d5b1; color: #1e5b2c; }
.form-status.ko { background: #fdecec; border: 1px solid #e3a9a9; color: #8b1e1e; }
.form-status strong { display: block; margin-bottom: .2rem; color: inherit; }

/* 14. FOOTER ------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: rgba(243, 235, 225, .72); padding-block: var(--sp-6) var(--sp-4); }
.site-footer h4 { color: var(--white); font-size: var(--step-1); margin-bottom: var(--sp-2); }
.footer-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: rgba(243, 235, 225, .78); text-decoration: none; font-size: .94rem; }
.site-footer a:hover { color: var(--gold-bright); text-decoration: underline; }
.footer-brand img { width: 3.6rem; margin-bottom: var(--sp-2); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.footer-contact svg { flex: none; margin-top: .25rem; color: var(--gold); }
.footer-bottom {
  margin-top: var(--sp-5); padding-top: var(--sp-3);
  border-top: 1px solid rgba(243, 235, 225, .14);
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  justify-content: space-between; align-items: center;
  font-size: var(--step--1);
}
.footer-credit { display: inline-flex; align-items: center; gap: .45rem; }
.footer-credit img { width: 1.1rem; height: 1.1rem; }

/* 15. UTILITAIRES -------------------------------------------------------- */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--sp-4); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.badge {
  display: inline-block; padding: .3rem .7rem; border-radius: 999px;
  background: var(--gold-pale); color: var(--ember-dark);
  font-size: var(--step--1); font-weight: 600;
}
.tel-link { font-weight: 700; white-space: nowrap; }

/* Numéro de téléphone mis en avant (bloc coordonnées) */
.tel-big {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.tel-big:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Apparition au défilement — l'animation porte sur les enfants directs
   (voir §17.9) pour obtenir un effet de cascade. Le conteneur reste neutre :
   le faire disparaître aussi rendrait la cascade illisible. */
.reveal { opacity: 1; }

/* 16. RESPONSIVE --------------------------------------------------------- */
@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  /* En mobile, la capsule redevient un panneau coulissant plein format */
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto;
    width: min(21rem, 86vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: var(--sp-3) var(--sp-3) var(--sp-5);
    background: var(--cream);
    border: 0; border-left: 1px solid var(--border);
    border-radius: 0;
    box-shadow: var(--shadow-lg);
    font-size: 1rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn), .sub-toggle {
    padding: .7rem .8rem; font-size: 1rem; width: 100%;
    border-radius: var(--radius);
  }
  .sub-toggle { justify-content: space-between; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: var(--sp-3); }
  .submenu {
    position: static; display: none; min-width: 0; box-shadow: none;
    border: 0; border-left: 2px solid var(--border);
    border-radius: 0; margin: 0 0 .4rem .6rem; padding: 0 0 0 .4rem;
    background: transparent;
  }
  .submenu.open { display: block; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 30rem) {
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 2.5rem; }
  .zones-list { columns: 1; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 12rem; }
}

/* ==========================================================================
   17. RAFFINEMENT & ANIMATIONS
   Parti pris : des mouvements courts, amortis, jamais décoratifs pour
   eux-mêmes. Tout est en transform/opacity (composité par le GPU) et tout
   se coupe proprement sous prefers-reduced-motion, en fin de section.
   ========================================================================== */

/* --- 17.1 Sélection de texte ------------------------------------------- */
::selection { background: var(--gold-pale); color: var(--ember-dark); }

/* --- 17.2 Grain : micro-texture qui casse l'aplat numérique ------------- */
.section-dark, .section-ember, .cta-band, .hero, .page-hero, .site-footer {
  position: relative;
}
.section-dark::before, .section-ember::before, .cta-band::before,
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}
.section-dark > *, .section-ember > *, .cta-band > *, .site-footer > * {
  position: relative; z-index: 1;
}

/* --- 17.3 Filet d'ornement doré ----------------------------------------- */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  margin: 0 auto var(--sp-3); max-width: 13rem; color: var(--gold);
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(90deg, transparent, currentColor);
}
.ornament::after { background: linear-gradient(270deg, transparent, currentColor); }
.ornament span {
  width: .4rem; height: .4rem; flex: none;
  background: currentColor; transform: rotate(45deg);
}

/* --- 17.4 Barre de progression de lecture ------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  pointer-events: none;
}

/* --- 17.5 En-tête : se resserre au défilement --------------------------- */
.site-header {
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.site-header .header-inner {
  transition: min-height .35s var(--ease);
}
.site-header .brand img {
  transition: width .35s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 1px 0 var(--border), 0 10px 30px -18px rgba(21, 16, 14, .5);
}
.site-header.scrolled::before { background: rgba(253, 250, 246, .97); }
.site-header.scrolled .header-inner { min-height: 3.85rem; }
.site-header.scrolled .brand img { width: 2.5rem; }

/* --- 17.6 Navigation ----------------------------------------------------
   Le soulignement doré a été retiré : il faisait double emploi avec les
   pastilles de la navigation en capsule (§7). */

/* --- 17.7 Boutons : reflet qui balaie ----------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn-gold::before, .btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%,
              rgba(255, 255, 255, .42) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform .75s var(--ease);
}
.btn-gold:hover::before, .btn-primary:hover::before { transform: translateX(130%); }

/* --- 17.8 Hero : très lent panoramique sur l'image ---------------------- */
/* Amplitude réduite : le panoramique doit rester perceptible sans
   re-zoomer l'image qu'on vient volontairement d'élargir. */
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.04) translate3d(-.6%, -.5%, 0); }
}
.hero-media img {
  animation: kenburns 28s ease-out forwards;
  will-change: transform;
}

/* Entrée du contenu du hero, en cascade */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.hero-inner > * {
  opacity: 0;
  animation: rise .95s var(--ease) forwards;
}
.hero-inner > .eyebrow   { animation-delay: .10s; }
.hero-inner > h1         { animation-delay: .22s; }
.hero-inner > .lead      { animation-delay: .36s; }
.hero-inner > .btn-row   { animation-delay: .50s; }
.hero-inner > .hero-stats{ animation-delay: .64s; }

/* --- 17.9 Apparition au défilement, en cascade -------------------------- */
.reveal > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.reveal.in > * { opacity: 1; transform: none; }

/* --- 17.10 Cartes : élévation et liseré doré ---------------------------- */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease);
  z-index: 2;
}
.card-link:hover::after { transform: scaleX(1); }
.card-link:hover { transform: translateY(-6px); }
.card-link .card-body h3 { transition: color .25s var(--ease); }
.card-link:hover .card-body h3 { color: var(--ember); }

/* --- 17.11 Figures : cadre intérieur façon tirage encadré --------------- */
.figure { position: relative; }
.figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22),
              inset 0 0 0 2px rgba(21, 16, 14, .06);
  border-radius: inherit;
}

/* --- 17.12 Statistiques : séparateurs verticaux fins -------------------- */
.hero-stats { gap: 0; }
.hero-stats div {
  padding-inline: var(--sp-3);
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
/* Chiffres alignés et à chasse fixe là où un nombre doit être lu d'un coup
   d'œil (et pour que les colonnes de tableau restent d'aplomb). */
.stats-band .n,
.tel-big,
table.data td,
.rating-summary .score {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* --- 17.13 Encadrés et FAQ : réaction au survol ------------------------- */
.callout { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.grid .callout:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.faq details { transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary:hover { color: var(--ember); }

/* --- 17.14 Avis : liseré doré latéral ----------------------------------- */
.review { position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--gold-bright), var(--gold-deep));
  transform: scaleY(0); transform-origin: 50% 0;
  transition: transform .45s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review:hover::before { transform: scaleY(1); }

/* --- 17.15 Galerie : voile et légende qui montent ----------------------- */
.gallery figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21, 16, 14, .55), transparent 55%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery figure:hover::after { opacity: 1; }
.gallery figcaption {
  transform: translateY(.6rem); opacity: .85;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  z-index: 1;
}
.gallery figure:hover figcaption { transform: none; opacity: 1; }

/* --- 17.16 Sous-menus : ouverture amortie ------------------------------- */
.submenu {
  transform-origin: 50% 0;
  animation: submenu-in .22s var(--ease);
}
@keyframes submenu-in {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

/* --- 17.17 Respect des préférences d'accessibilité ---------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; }
  .hero-inner > * { opacity: 1; animation: none; }
  .reveal > * { opacity: 1; transform: none; transition: none; }
  .submenu { animation: none; }
  .scroll-progress { display: none; }
  .btn-gold::before, .btn-primary::before { display: none; }
  .card-link:hover, .review:hover, .grid .callout:hover { transform: none; }
}

/* ==========================================================================
   18. CARTE « NOUVEAUTÉ : MENU DES FÊTES » (accueil)
   Reprend le vert et l'or de la page du menu des fêtes, pour annoncer
   visuellement où mène le lien. Carte flottante, jamais en plein écran.
   ========================================================================== */
.promo-fetes {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 45;
  width: 19rem; max-width: calc(100vw - 2.5rem);
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(212, 184, 119, .55); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #24463a 0%, #1e3a2f 55%, #152a22 100%);
  color: #fbf8f3;
  box-shadow: 0 18px 44px -14px rgba(10, 20, 16, .7);
  overflow: hidden;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.promo-fetes.visible { opacity: 1; transform: none; }
/* Effacée pendant que le formulaire de devis est à l'écran (voir main.js) */
.promo-fetes.visible.masquee { opacity: 0; transform: translateY(14px); pointer-events: none; }
/* Reflet doré qui balaie la carte une fois arrivée */
.promo-fetes::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(212, 184, 119, .2) 50%, transparent 65%);
  transform: translateX(-120%);
}
.promo-fetes.visible::after { animation: promo-reflet 6s ease-in-out 1.2s infinite; }
@keyframes promo-reflet { 0% { transform: translateX(-120%); } 35%, 100% { transform: translateX(120%); } }

.promo-surtitre {
  display: flex; align-items: center; gap: .4rem; margin: 0 0 .35rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #d4b877;
}
.promo-etoile { display: inline-block; animation: promo-scintille 2.4s ease-in-out infinite; }
@keyframes promo-scintille { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8) rotate(25deg); } }
.promo-titre { margin: 0 0 .35rem; font-size: 1.12rem; font-weight: 800; line-height: 1.25; color: #fff; }
.promo-texte { margin: 0 0 .9rem; font-size: .84rem; line-height: 1.5; color: rgba(251, 248, 243, .82); }
.promo-lien {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem .95rem; border-radius: var(--radius);
  background: #b8944d; color: #1a1d1b;
  font-size: .86rem; font-weight: 700; text-decoration: none;
  transition: background .2s var(--ease);
}
.promo-lien:hover { background: #d4b877; color: #1a1d1b; }
.promo-lien span { transition: transform .2s var(--ease); }
.promo-lien:hover span { transform: translateX(3px); }
.promo-fermer {
  position: absolute; top: .45rem; right: .5rem; z-index: 1;
  width: 1.8rem; height: 1.8rem; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  color: rgba(251, 248, 243, .6); font-size: 1.2rem; line-height: 1;
}
.promo-fermer:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.promo-fleche { display: inline-block; transition: transform .2s var(--ease); }
.promo-lien:hover .promo-fleche { transform: translateX(3px); }

/* Mobile : petite pastille dans le coin (« ✦ Menu spécial fêtes → × »),
   de la largeur de son seul contenu. Toute la pastille est cliquable. */
@media (max-width: 40rem) {
  .promo-fetes {
    left: auto; right: .75rem; bottom: .75rem;
    width: auto; max-width: calc(100vw - 1.5rem);
    display: flex; align-items: center; gap: .45rem;
    padding: .35rem .3rem .35rem .85rem;
    border-radius: 999px;
  }
  .promo-surtitre, .promo-texte { display: none; }
  .promo-titre { margin: 0; font-size: .88rem; white-space: nowrap; }
  .promo-titre::before { content: "✦ "; color: #d4b877; }
  .promo-lien {
    width: 2.1rem; height: 2.1rem; padding: 0; flex: none;
    justify-content: center; border-radius: 50%;
  }
  /* Texte du lien masqué à l'œil mais lu par les lecteurs d'écran */
  .promo-lien-txt {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  /* Le lien s'étend à toute la pastille */
  .promo-lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .promo-fermer {
    position: relative; z-index: 2; top: auto; right: auto; flex: none;
    width: 1.9rem; height: 1.9rem; font-size: 1.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .promo-fetes { transition: opacity .2s; transform: none; }
  .promo-fetes.visible::after, .promo-etoile { animation: none; }
}

/* Impression */
@media print {
  .promo-fetes { display: none !important; }
  .site-header, .site-footer, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero::after, .page-hero::after { display: none; }
}

/* Points du carrousel sur fond sombre (la couleur par défaut est prévue pour un fond clair) */
.section-dark .slider-dot { background: rgba(255, 255, 255, .28); }
.section-dark .slider-dot.is-active { background: var(--gold); }
