/* ==========================================================================
   Les Tabliers Gourmands / Gourmandise médiévale
   Feuille de style commune : index.html, accueil.html, mentions-legales.html
   Réalisé par Agence Moove
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES (couleurs, typographies, espacements)
   Modifier ici pour changer l'identité visuelle sur tout le site.
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --creme: #fbf6ee;
  --beige: #f3eadb;
  --beige-fonce: #e6d6bc;
  --miel: #b9782f;          /* brun miel : accents, filets, icônes */
  --miel-fonce: #8a5420;    /* brun miel foncé : boutons secondaires, liens */
  --or: #c9a45c;            /* doré discret */
  --or-clair: #e8d3a3;
  --bordeaux: #7a2632;      /* couleur principale des boutons */
  --bordeaux-fonce: #5e1b25;
  --sauge: #8a9a7b;
  --sauge-fonce: #56664b;
  --sauge-clair: #e7ece0;
  --anthracite: #2f2c2a;
  --texte: #3b3532;
  --texte-doux: #6a5f57;
  --blanc: #ffffff;

  /* Typographies */
  --font-titre: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-texte: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Mise en page */
  --largeur-max: 1180px;
  --rayon: 14px;
  --rayon-lg: 22px;
  --ombre: 0 6px 24px rgba(47, 44, 42, 0.07);
  --ombre-hover: 0 14px 34px rgba(47, 44, 42, 0.12);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  overflow-x: hidden;
}

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

a {
  color: var(--bordeaux);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--bordeaux-fonce);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-titre);
  color: var(--anthracite);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.45rem; }

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* Les ancres ne passent pas sous le header collant */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--bordeaux);
  color: var(--blanc);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 3px;
}

/* Conteneur central */
.container {
  width: 100%;
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-texte);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Bouton principal : bordeaux */
.btn--primary {
  background: var(--bordeaux);
  color: var(--blanc);
}

.btn--primary:hover {
  background: var(--bordeaux-fonce);
  color: var(--blanc);
}

/* Bouton miel */
.btn--miel {
  background: var(--miel-fonce);
  color: var(--blanc);
}

.btn--miel:hover {
  background: #6f4318;
  color: var(--blanc);
}

/* Bouton sauge */
.btn--sauge {
  background: var(--sauge-fonce);
  color: var(--blanc);
}

.btn--sauge:hover {
  background: #45533c;
  color: var(--blanc);
}

/* Bouton contour (fond clair) */
.btn--outline {
  background: transparent;
  color: var(--bordeaux);
  border-color: var(--bordeaux);
}

.btn--outline:hover {
  background: var(--bordeaux);
  color: var(--blanc);
}

/* Bouton clair (sur fond sombre / photo) */
.btn--light {
  background: var(--creme);
  color: var(--bordeaux);
}

.btn--light:hover {
  background: var(--blanc);
  color: var(--bordeaux-fonce);
}

/* Bouton contour clair (sur fond sombre / photo) */
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn--ghost:hover {
  background: var(--blanc);
  color: var(--anthracite);
}

.btn--sm {
  min-height: 42px;
  padding: 0.55em 1.2em;
  font-size: 0.95rem;
}

/* Groupe de boutons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-group--center {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   4. HEADER + NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--beige);
  box-shadow: 0 2px 14px rgba(47, 44, 42, 0.04);
}

.header-inner {
  max-width: 1400px; /* header plus large que le contenu pour loger la navigation */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

/* Logo texte (en attente d'un logo graphique) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--anthracite);
  flex-shrink: 0;
}

/* Monogramme décoratif : remplaçable par le futur logo (balise img) */
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--or);
  background: var(--creme);
  color: var(--bordeaux);
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.4rem;
}

.brand__sub {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--miel-fonce);
  font-weight: 600;
}

/* Navigation desktop */
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-desktop a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--texte);
  text-decoration: none;
  white-space: nowrap;
}

.nav-desktop a:hover {
  color: var(--bordeaux);
  background: var(--creme);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  flex-shrink: 0;
}

/* Navigation mobile : menu dépliant sans JavaScript (élément details) */
.nav-mobile {
  display: none;
  position: relative;
}

.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--beige-fonce);
  border-radius: 999px;
  font-weight: 700;
  color: var(--anthracite);
  background: var(--blanc);
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

/* Icône "burger" en CSS */
.nav-mobile summary .burger,
.nav-mobile summary .burger::before,
.nav-mobile summary .burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bordeaux);
  border-radius: 2px;
}

.nav-mobile summary .burger {
  position: relative;
}

.nav-mobile summary .burger::before,
.nav-mobile summary .burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-mobile summary .burger::before { top: -6px; }
.nav-mobile summary .burger::after { top: 6px; }

.nav-mobile[open] summary {
  background: var(--creme);
}

.nav-mobile__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(86vw, 320px);
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-hover);
  padding: 10px;
}

.nav-mobile__panel ul {
  list-style: none;
}

.nav-mobile__panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--texte);
  font-weight: 600;
  text-decoration: none;
}

.nav-mobile__panel a:hover {
  background: var(--creme);
  color: var(--bordeaux);
}

.nav-mobile__panel .btn {
  width: 100%;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   5. HERO (grande image + overlay)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay brun miel / bordeaux / sombre pour la lisibilité du texte */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(38, 24, 18, 0.92) 0%, rgba(94, 27, 37, 0.78) 48%, rgba(138, 84, 32, 0.45) 100%);
}

.hero__content {
  padding: 96px 0;
  max-width: 820px;
}

.hero h1 {
  color: var(--blanc);
  margin-bottom: 0.4em;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2em;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.2em;
  padding: 6px 16px;
  border: 1px solid rgba(232, 211, 163, 0.6);
  border-radius: 999px;
  color: var(--or-clair);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Petite mention de réassurance sous les boutons */
.hero__proof {
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid rgba(232, 211, 163, 0.35);
  color: var(--or-clair);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   6. SECTIONS (fonds alternés + en-têtes)
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section--blanc { background: var(--blanc); }
.section--creme { background: var(--creme); }
.section--beige { background: var(--beige); }

.section--sombre {
  background: var(--anthracite);
  color: rgba(255, 255, 255, 0.88);
}

.section--sombre h2,
.section--sombre h3 {
  color: var(--blanc);
}

.section--bordeaux {
  background: linear-gradient(135deg, var(--bordeaux-fonce), var(--bordeaux));
  color: rgba(255, 255, 255, 0.9);
}

.section--bordeaux h2,
.section--bordeaux h3 {
  color: var(--blanc);
}

/* En-tête de section centré */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}

.section-head--left {
  text-align: left;
  margin-left: 0;
}

.section-head p {
  color: var(--texte-doux);
  font-size: 1.12rem;
}

.section--sombre .section-head p,
.section--bordeaux .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

/* Petit sur-titre avec ornement (inspiration patrimoine) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--miel-fonce);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--or);
}

.section-head--left .eyebrow::before {
  display: none;
}

.section--sombre .eyebrow,
.section--bordeaux .eyebrow {
  color: var(--or-clair);
}

/* Séparateur ornemental */
.ornament {
  display: block;
  margin: 18px auto 0;
  color: var(--or);
  font-size: 1.1rem;
  letter-spacing: 0.6em;
}

/* --------------------------------------------------------------------------
   7. GRILLES + CARTES
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 5 cartes : 6 colonnes virtuelles pour centrer la 2e ligne */
.grid--5 {
  grid-template-columns: repeat(6, 1fr);
}

.grid--5 > * { grid-column: span 2; }
.grid--5 > :nth-child(4) { grid-column: 2 / span 2; }
.grid--5 > :nth-child(5) { grid-column: 4 / span 2; }

.card {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  padding: 30px 26px;
  box-shadow: var(--ombre);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-hover);
}

.card h3 {
  margin-bottom: 0.4em;
}

.card p {
  margin: 0;
  color: var(--texte-doux);
}

/* Cartes sur fond crème / beige : fond blanc conservé */
.section--blanc .card {
  background: var(--creme);
  border-color: var(--beige);
}

/* Liseré doré en haut de carte (variante "mise en avant") */
.card--accent {
  border-top: 4px solid var(--miel);
}

.card--sauge {
  border-top: 4px solid var(--sauge);
}

.card--bordeaux {
  border-top: 4px solid var(--bordeaux);
}

/* Cartes sur fond sombre */
.section--sombre .card,
.section--bordeaux .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.section--sombre .card p,
.section--bordeaux .card p {
  color: rgba(255, 255, 255, 0.78);
}

/* Pictogramme CSS simple (cercle + symbole) */
.icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--bordeaux);
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid var(--or-clair);
}

.icon--sauge {
  background: var(--sauge-clair);
  color: var(--sauge-fonce);
  border-color: #cdd6c2;
}

.icon--miel {
  background: #f6e7cf;
  color: var(--miel-fonce);
}

.section--sombre .icon,
.section--bordeaux .icon {
  background: rgba(232, 211, 163, 0.12);
  color: var(--or-clair);
  border-color: rgba(232, 211, 163, 0.35);
}

/* Étiquette sur carte (ex : "Prioritaire", "Entreprises") */
.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--sauge-clair);
  color: var(--sauge-fonce);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag--miel {
  background: #f6e7cf;
  color: var(--miel-fonce);
}

.tag--bordeaux {
  background: #f4e1e3;
  color: var(--bordeaux);
}

/* Appel à l'action centré sous une grille */
.section-cta {
  margin-top: 44px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   8. BLOC TEXTE + IMAGE (deux colonnes)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--rayon-lg);
  box-shadow: var(--ombre-hover);
}

/* Cadre doré décalé derrière la photo */
.split__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--or-clair);
  border-radius: var(--rayon-lg);
  z-index: 0;
}

.split__media img {
  position: relative;
  z-index: 1;
}

/* Badge flottant sur l'image (ex : "16 ans d'expérience") */
.media-badge {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--blanc);
  text-align: center;
  border: 4px solid var(--creme);
  box-shadow: var(--ombre-hover);
}

.media-badge strong {
  font-family: var(--font-titre);
  font-size: 2.6rem;
  line-height: 1;
}

.media-badge span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0 12px;
}

.split__body h2 {
  margin-bottom: 0.5em;
}

.split__body > p {
  color: var(--texte-doux);
  font-size: 1.08rem;
}

/* Encart citation / mise en avant */
.callout {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--miel);
  background: var(--creme);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  font-family: var(--font-titre);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--anthracite);
  font-style: italic;
}

.section--creme .callout,
.section--beige .callout {
  background: var(--blanc);
}

/* Liste à puces décoratives */
.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 28px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  color: var(--texte);
}

.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--miel);
}

/* --------------------------------------------------------------------------
   9. BANDE CHIFFRES CLÉS
   -------------------------------------------------------------------------- */
.stats {
  background: var(--anthracite);
  color: var(--blanc);
  padding: 44px 0;
  border-top: 3px solid var(--or);
}

.stats__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.stats__item {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid rgba(232, 211, 163, 0.22);
}

.stats__item:last-child {
  border-right: 0;
}

.stats__value {
  display: block;
  font-family: var(--font-titre);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--or-clair);
}

/* Valeur textuelle (sans chiffre) : plus petite */
.stats__value--text {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  padding: 0.35em 0;
}

.stats__label {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   10. CERTIFICATIONS (badges)
   -------------------------------------------------------------------------- */
.badges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 20px;
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

/* Médaillon circulaire (remplaçable par le visuel officiel du label) */
.badge__seal {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px double var(--or);
  background: radial-gradient(circle, var(--creme) 55%, var(--beige) 100%);
  color: var(--bordeaux);
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
}

.badge__seal--sauge {
  color: var(--sauge-fonce);
  border-color: var(--sauge);
}

.badge strong {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  color: var(--anthracite);
  line-height: 1.2;
}

.badge span {
  font-size: 0.92rem;
  color: var(--texte-doux);
}

/* --------------------------------------------------------------------------
   11. CATALOGUE BOUTIQUE (vitrine, sans achat)
   -------------------------------------------------------------------------- */
.catalogue {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.catalogue__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 22px;
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.catalogue__item h3 {
  font-size: 1.3rem;
  margin: 0;
}

.catalogue__item p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--texte-doux);
}

/* Lien "Se renseigner" (mailto) */
.catalogue__link {
  font-weight: 700;
  color: var(--bordeaux);
  text-decoration: none;
  font-size: 0.95rem;
}

.catalogue__link::after {
  content: " →";
}

.catalogue__link:hover {
  text-decoration: underline;
}

/* Carte de mise en avant (fond bordeaux) dans le catalogue */
.catalogue__item--feature {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--blanc);
}

.catalogue__item--feature h3 {
  color: var(--blanc);
}

.catalogue__item--feature p {
  color: rgba(255, 255, 255, 0.85);
}

.catalogue__item--feature .catalogue__link {
  color: var(--or-clair);
}

/* Note d'information */
.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 820px;
  margin: 36px auto 0;
  padding: 18px 22px;
  background: var(--blanc);
  border: 1px dashed var(--or);
  border-radius: var(--rayon);
  font-size: 0.98rem;
  color: var(--texte-doux);
}

.note::before {
  content: "i";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--miel-fonce);
  color: var(--blanc);
  font-family: var(--font-titre);
  font-weight: 700;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   12. MÉTHODE DE TRAVAIL (timeline)
   -------------------------------------------------------------------------- */
.timeline {
  list-style: none;
  counter-reset: etape;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.timeline li {
  counter-increment: etape;
  position: relative;
  padding: 26px 22px 24px;
  background: var(--blanc);
  border-radius: var(--rayon);
  border: 1px solid var(--beige);
  box-shadow: var(--ombre);
  font-weight: 600;
  color: var(--anthracite);
}

.timeline li::before {
  content: counter(etape, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-titre);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--miel);
}

.timeline-text {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-family: var(--font-titre);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--anthracite);
}

/* --------------------------------------------------------------------------
   13. GALERIE PHOTO (4 images max)
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--rayon);
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery figure:last-child {
  grid-column: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(47, 44, 42, 0.78);
  color: var(--blanc);
  font-size: 0.88rem;
  font-weight: 600;
}

.gallery-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--texte-doux);
}

/* --------------------------------------------------------------------------
   14. AVIS CLIENTS (bloc sobre, sans faux avis)
   -------------------------------------------------------------------------- */
.reviews {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 52px);
  text-align: center;
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon-lg);
  box-shadow: var(--ombre);
}

.reviews__mark {
  display: block;
  font-family: var(--font-titre);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--or);
  margin-bottom: 16px;
}

.reviews p {
  font-family: var(--font-titre);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: var(--anthracite);
}

.reviews__themes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.reviews__themes li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--creme);
  border: 1px solid var(--beige-fonce);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--miel-fonce);
}

/* --------------------------------------------------------------------------
   15. ZONE D'INTERVENTION (sans carte)
   -------------------------------------------------------------------------- */
.zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.zone__box {
  padding: 30px 28px;
  border-radius: var(--rayon);
  background: var(--blanc);
  border: 1px solid var(--beige);
  box-shadow: var(--ombre);
}

.zone__box strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 2.3rem;
  line-height: 1.1;
  color: var(--bordeaux);
}

.zone__box--sauge strong {
  color: var(--sauge-fonce);
}

.zone__box p {
  margin: 8px 0 0;
  color: var(--texte-doux);
}

.cities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cities li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blanc);
  border: 1px solid var(--beige-fonce);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--anthracite);
}

/* Provins mis en avant */
.cities li.is-home {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--blanc);
}

.zones-list {
  margin-top: 22px;
  text-align: center;
  color: var(--texte-doux);
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   16. INFOS PRATIQUES / CONTACT (sans formulaire)
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact__card {
  padding: 34px 30px;
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon-lg);
  box-shadow: var(--ombre);
}

.contact__card h3 {
  font-size: 1.6rem;
}

.info-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.info-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.info-list .icon {
  width: 44px;
  height: 44px;
  margin: 0;
  font-size: 1.1rem;
}

.info-list small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--miel-fonce);
}

.info-list a {
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.info-list a:hover {
  text-decoration: underline;
}

.contact__mention {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: var(--texte-doux);
}

/* Grille des boutons mailto / tel */
.contact__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact__actions .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   17. BANDEAU CTA FINAL
   -------------------------------------------------------------------------- */
.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  max-width: 640px;
  margin: 0 auto 30px;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #24211f;
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 0;
  font-size: 0.97rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--or-clair);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer h3 {
  font-family: var(--font-texte);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--or-clair);
  margin-bottom: 18px;
}

.site-footer .brand {
  color: var(--blanc);
  margin-bottom: 18px;
}

.site-footer .brand__sub {
  color: var(--or-clair);
}

.site-footer .brand__mark {
  background: transparent;
  color: var(--or-clair);
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-address {
  font-style: normal;
  line-height: 1.75;
}

/* Réseaux sociaux (liens à compléter : href="#") */
.socials {
  display: grid;
  gap: 16px;
}

.socials p {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--blanc);
  font-size: 0.93rem;
}

.socials ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 14px;
  border: 1px solid rgba(232, 211, 163, 0.35);
  border-radius: 999px;
  font-size: 0.88rem;
}

.socials a:hover {
  border-color: var(--or-clair);
  background: rgba(232, 211, 163, 0.08);
  text-decoration: none;
}

.footer-labels {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.footer-labels li {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.84rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 26px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.credit strong {
  color: var(--or-clair);
}

/* Footer simplifié (pages construction et mentions légales) */
.site-footer--simple {
  padding: 0;
}

/* --------------------------------------------------------------------------
   19. BOUTON FIXE "Réserver / demander un devis"
   -------------------------------------------------------------------------- */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--bordeaux);
  color: var(--blanc);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(94, 27, 37, 0.38);
  border: 2px solid var(--or-clair);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-cta::before {
  content: "✉";
  font-size: 1.1rem;
  color: var(--or-clair);
}

.floating-cta:hover {
  background: var(--bordeaux-fonce);
  color: var(--blanc);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   20. PAGE "SITE EN CONSTRUCTION" (index.html)
   -------------------------------------------------------------------------- */
.construction {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.construction__bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.construction::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(38, 24, 18, 0.9), rgba(94, 27, 37, 0.82) 55%, rgba(138, 84, 32, 0.7));
}

.construction__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.construction__card {
  width: 100%;
  max-width: 760px;
  padding: clamp(30px, 6vw, 56px);
  background: var(--creme);
  border-radius: var(--rayon-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  border-top: 5px solid var(--or);
  text-align: center;
}

.construction__card .brand {
  justify-content: center;
  margin-bottom: 26px;
}

.construction__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sauge-clair);
  color: var(--sauge-fonce);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.construction__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sauge-fonce);
}

.construction h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
}

.construction__lead {
  color: var(--texte-doux);
  font-size: 1.08rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.construction__infos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0 0 30px;
  text-align: left;
}

.construction__infos li {
  padding: 16px 18px;
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
}

.construction__infos small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--miel-fonce);
}

.construction__infos a {
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}

.construction .site-footer {
  background: rgba(20, 15, 12, 0.6);
}

/* --------------------------------------------------------------------------
   21. PAGE MENTIONS LÉGALES
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--bordeaux-fonce), var(--bordeaux) 60%, var(--miel-fonce));
  color: var(--blanc);
  padding: clamp(56px, 8vw, 90px) 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--blanc);
  margin: 0;
}

.page-hero .eyebrow {
  color: var(--or-clair);
}

.legal {
  max-width: 860px;
  margin: 0 auto;
}

.legal__block {
  padding: 30px 32px;
  margin-bottom: 20px;
  background: var(--blanc);
  border: 1px solid var(--beige);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.legal__block h2 {
  font-size: 1.7rem;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--beige);
}

.legal__block p:last-child {
  margin-bottom: 0;
}

.legal__block address {
  font-style: normal;
  line-height: 1.8;
}

.legal__back {
  margin-top: 36px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE
   -------------------------------------------------------------------------- */

/* Écran intermédiaire : passage au menu dépliant (8 liens + bouton) */
@media (max-width: 1340px) {
  .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: block;
  }
}

/* Tablette paysage */
@media (max-width: 1100px) {
  .grid--4,
  .badges,
  .catalogue,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }

  .stats__item:nth-child(3) {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablette portrait */
@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--5 > *,
  .grid--5 > :nth-child(4),
  .grid--5 > :nth-child(5) {
    grid-column: auto;
  }

  .grid--5 > :last-child {
    grid-column: 1 / -1;
  }

  .split,
  .contact,
  .zone {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__media {
    max-width: 620px;
    margin: 0 18px 18px 0;
  }

  .media-badge {
    left: auto;
    right: -10px;
    bottom: -10px;
    width: 116px;
    height: 116px;
  }

  .media-badge strong {
    font-size: 2.1rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }

  .gallery figure:first-child {
    grid-row: auto;
    grid-column: span 2;
  }

  .gallery figure:last-child {
    grid-column: auto;
  }

  .header-cta {
    display: none;
  }
}

/* Mobile */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding: 0 16px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .brand__name {
    font-size: 1.12rem;
  }

  .brand__sub {
    font-size: 0.68rem;
  }

  .nav-mobile summary .label {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 64px 0 72px;
  }

  .hero .btn-group .btn,
  .cta-band .btn-group .btn {
    width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5,
  .badges,
  .catalogue,
  .timeline,
  .contact__actions,
  .construction__infos {
    grid-template-columns: 1fr;
  }

  .grid--5 > :last-child {
    grid-column: auto;
  }

  .card {
    padding: 24px 20px;
  }

  .stats__list {
    grid-template-columns: 1fr 1fr;
  }

  .stats__item {
    border-right: 0;
  }

  .stats__item:last-child {
    grid-column: 1 / -1;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 230px;
  }

  .gallery figure:first-child,
  .gallery figure:last-child {
    grid-column: auto;
  }

  .split__media::before {
    inset: 12px -12px -12px 12px;
  }

  .split__media {
    margin: 0 12px 12px 0;
  }

  .callout {
    font-size: 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
  }

  /* Bouton fixe plus discret sur mobile */
  .floating-cta {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .legal__block {
    padding: 24px 20px;
  }

  .construction__card .btn-group .btn {
    width: 100%;
  }

  /* Espace en bas pour ne pas masquer le footer par le bouton fixe */
  .has-floating-cta .footer-bottom {
    padding-bottom: 80px;
  }
}

/* Réduction des animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
