/* ═══════════════════════════════════════════
   LUMIX RESTAURATION - style.css
   Version finale responsive
   ═══════════════════════════════════════════ */

:root {
  --ivory: #F5EFE6;
  --caramel: #B08968;
  --chocolate: #5C3A21;
  --near-black: #1C1815;
  --accent: #c1862f;
  --hero-bg: #2a1a0e;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ivory);
  color: var(--near-black);
  font-family: 'Inter', 'Inter Fallback', Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* Fallbacks à métriques ajustées : évitent le reflow (CLS) au swap des
   Google Fonts chargées en non-bloquant. N'agissent que pendant la fenêtre
   de chargement — une fois la vraie police arrivée, le rendu est identique. */
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia'); ascent-override: 110%; descent-override: 35%; line-gap-override: 0%; size-adjust: 105%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; size-adjust: 107%; }

/* Accessibilité : titre de structure réservé aux lecteurs d'écran. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 0 2.5rem;
  background: rgba(42,26,14,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(201,166,107,.1);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.header-brand { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.header-logo {
  display: inline-flex; align-items: center; min-height: 24px;
  font-size: 15px; font-weight: 400;
  color: rgb(226,220,212); letter-spacing: .06em;
}
.header-contact {
  display: flex; align-items: center; gap: .5rem;
  font-size: 12px; letter-spacing: .05em;
  color: rgba(226,220,212,.72); white-space: nowrap;
}
.header-contact a { display: inline-flex; align-items: center; min-height: 24px; color: inherit; transition: color .3s; }
.header-contact a:hover { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a {
  color: rgba(245,239,230,.8);
  font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; transition: color .3s;
}
.header-nav a:hover { color: var(--accent); }
.btn-nav {
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  padding: .5rem 1.3rem; border-radius: 2px;
}
.btn-nav:hover { background: var(--accent); color: var(--near-black) !important; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ivory); margin: 5px 0;
  transition: all .3s;
}

.mobile-menu { display: none; background: rgba(42,26,14,.98); padding: 1.5rem 2rem; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; color: rgba(245,239,230,.85);
  padding: .75rem 0; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(201,166,107,.15);
}
.mobile-menu .btn-mobile {
  display: block; margin-top: 1rem;
  background: var(--accent); color: var(--near-black);
  padding: .75rem 1.5rem; text-align: center;
  font-size: .8rem; letter-spacing: .1em;
  text-transform: uppercase; border-bottom: none;
}

@media (max-width: 1024px) {
  .header { padding: 0 1.25rem; }
  .header-logo { font-size: 12px; }
  .header-contact { font-size: 11px; gap: .4rem; }
  .header-nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 480px) {
  .header-logo { font-size: 11px; letter-spacing: .04em; }
  .header-contact { font-size: 10px; letter-spacing: .03em; gap: .35rem; }
}

/* ═══════════════════════════════════════════
   HERO (HOMEPAGE)
   - Desktop : hero plein écran 100vh, bandeau réassurance en absolute bottom
   - Mobile : hero auto, bandeau passe en flux normal après
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden; background: var(--hero-bg);
}
.hero-img { position: absolute; inset: 0; }
.hero-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 30%;
  opacity: .35; mix-blend-mode: screen;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(42,26,14,.88) 0%,
    rgba(42,26,14,.60) 35%,
    rgba(42,26,14,.20) 70%,
    transparent 100%);
}
.hero-content {
  position: absolute; z-index: 2; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: var(--header-h) 3rem 200px;
}
.hero-text {
  max-width: 600px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-label {
  color: var(--accent); font-size: .68rem;
  letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 1.5rem; opacity: .9;
}
.hero h1 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300; color: var(--ivory);
  line-height: 1.1; margin-bottom: 2rem; opacity: .85;
}
.hero-description {
  font-size: clamp(.85rem, 1.5vw, .92rem);
  color: rgba(245,239,230,.65); margin-bottom: 2.5rem;
  font-weight: 300; line-height: 1.8; max-width: 520px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: rgb(109,71,14); color: var(--ivory);
  padding: .9rem 2rem; border-radius: 2px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .3s, transform .2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--ivory);
  border: 1px solid rgba(245,239,230,.35);
  padding: .9rem 2rem; border-radius: 2px;
  font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase;
  transition: border-color .3s, color .3s, transform .2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   BANDEAU RÉASSURANCE (footer homepage)
   ═══════════════════════════════════════════ */
.reassurance {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(36,22,10,.92); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(201,166,107,.15);
}
.reassurance-grid { display: flex; width: 100%; }
.reassurance-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1.4rem 2.5rem;
  border-right: 1px solid rgba(201,166,107,.15);
  text-align: center;
}
.reassurance-item:last-child { border-right: none; }
.reassurance-item h2 {
  color: var(--accent); font-size: .62rem;
  font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
}
.reassurance-item p {
  color: rgba(245,239,230,.5); font-size: .76rem;
  font-weight: 300; line-height: 1.6;
}
.reassurance-icon { width: 78px; height: 78px; object-fit: contain; }

/* Tablet — bandeau en 2x2 */
@media (max-width: 1000px) {
  .hero-content { padding: var(--header-h) 2rem 320px; }
  .reassurance-grid { flex-wrap: wrap; }
  .reassurance-item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid rgba(201,166,107,.15);
    padding: .75rem 1.25rem;
    gap: .35rem;
  }
  .reassurance-item:nth-child(odd) { border-right: 1px solid rgba(201,166,107,.15); }
  .reassurance-item:nth-last-child(-n+2) { border-bottom: none; }
  .reassurance-icon { width: 52px; height: 52px; }
  .reassurance-item h2 { font-size: .58rem; }
  .reassurance-item p { font-size: .72rem; line-height: 1.4; }
}

/* Mobile — hero passe en flux normal, bandeau visible en dessous */
@media (max-width: 680px) {
  .hero {
    height: auto;
    min-height: unset;
  }
  .hero-content {
    position: relative;
    padding: calc(var(--header-h) + 2rem) 1.5rem 2.5rem;
  }
  .hero-gradient {
    background: linear-gradient(to bottom,
      rgba(42,26,14,.92) 0%,
      rgba(42,26,14,.80) 100%);
  }
  .hero-img { display: none; }
  .hero h1 { margin-bottom: 1.5rem; }
  .hero-description { margin-bottom: 2rem; }
  .hero-buttons { width: 100%; flex-direction: column; }
  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: .72rem;
  }

  /* Bandeau passe en flux normal, sous le hero */
  .reassurance {
    position: relative;
    backdrop-filter: none;
    background: rgba(36,22,10,.95);
  }
  .reassurance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(201,166,107,.15);
  }
  .reassurance-item {
    background: rgba(36,22,10,.95);
    border: none;
    padding: 1rem .75rem;
    gap: .3rem;
  }
  .reassurance-icon { width: 44px; height: 44px; }
  .reassurance-item h2 { font-size: .55rem; }
  .reassurance-item p { font-size: .68rem; }
}

/* ═══════════════════════════════════════════
   QUIZ
   ═══════════════════════════════════════════ */
.quiz-hero {
  position: relative; background: var(--hero-bg);
  padding: 7rem 2rem 3rem; overflow: hidden;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.quiz-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .12; mix-blend-mode: screen;
}
.quiz-hero-content { position: relative; z-index: 2; max-width: 700px; }
.quiz-hero-content p.label {
  color: var(--accent); font-size: .68rem;
  letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1rem;
}
.quiz-hero-content h1 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300;
  color: var(--ivory); line-height: 1.15; margin-bottom: 1rem;
}
.quiz-hero-content p.sub {
  color: rgba(245,239,230,.65);
  font-size: clamp(.85rem, 1.5vw, .92rem);
  font-weight: 300; line-height: 1.8;
}

.quiz-layout {
  max-width: 1100px; margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 3rem; align-items: start;
}

.progress-bar-wrap { margin-bottom: 2.5rem; }
.progress-bar-labels { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.progress-bar-labels span {
  font-size: .72rem; color: var(--caramel);
  letter-spacing: .15em; text-transform: uppercase;
}
.progress-bar-labels span:last-child { color: rgba(28,24,21,.4); letter-spacing: 0; }
.progress-bar-track { height: 2px; background: rgba(92,58,33,.1); border-radius: 2px; }
.progress-bar-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width .4s ease; }

.step { display: none; }
.step.active { display: block; }
.step-title-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: white;
  font-size: .75rem; font-weight: 600; margin-bottom: .75rem;
}
.step h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 300; color: var(--chocolate); margin-bottom: .4rem;
}
.step p.sub { font-size: .82rem; color: rgba(28,24,21,.5); margin-bottom: 2rem; }

.cards-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.cards-grid-3-1 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.cards-grid-3-1 .select-card:nth-child(4) { grid-column: 2 / 3; }
/* 3 cartes en haut, 2 centrées en dessous */
.cards-grid-3-2 { display: grid; grid-template-columns: repeat(6,1fr); gap: 1rem; }
.cards-grid-3-2 .select-card { grid-column: span 2; }
.cards-grid-3-2 .select-card:nth-child(4) { grid-column: 2 / span 2; }
.cards-grid-3-2 .select-card:nth-child(5) { grid-column: 4 / span 2; }
.cards-list { display: flex; flex-direction: column; gap: .75rem; }

.select-card {
  position: relative;
  background: white; border: 1.5px solid rgba(92,58,33,.15);
  border-radius: 14px; padding: 1.25rem 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; cursor: pointer; transition: all .2s;
  text-align: center; width: 100%; min-width: 0; overflow: hidden;
  aspect-ratio: 1 / 1;
}
.select-card.row { flex-direction: row; align-items: flex-start; text-align: left; padding: 1rem 1.2rem; aspect-ratio: auto; }
.select-card:hover { border-color: rgba(193,134,47,.5); background: rgba(193,134,47,.05); }
.select-card.selected { border-color: var(--accent); background: rgba(193,134,47,.1); color: var(--chocolate); }
.select-card svg { color: var(--caramel); transition: color .2s; }
.select-card .card-icon { width: 94px; height: 94px; object-fit: contain; }
@media (max-width: 680px) {
  .select-card .card-icon { width: 74px; height: 74px; }
}
.select-card.selected svg { color: var(--accent); }
.select-card .card-label { font-size: .85rem; font-weight: 500; color: var(--near-black); line-height: 1.3; }
.select-card .card-desc { font-size: .72rem; color: rgba(28,24,21,.5); line-height: 1.4; display: block; }
.select-card .check {
  position: absolute; top: .55rem; right: .65rem;
  color: var(--accent); display: none; font-size: .85rem;
}
.select-card.selected .check { display: block; }
.select-card.row .check { position: static; margin-left: auto; }

/* Sections "problème par luminaire" (étape 2 dynamique) */
.probleme-section { margin-bottom: 1.75rem; }
.probleme-section:last-child { margin-bottom: 0; }
.probleme-section-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 1.2rem; font-weight: 400;
  color: var(--chocolate);
  margin-bottom: .85rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(92,58,33,.1);
}

/* Stepper quantité (étape 1) — positionné en absolu pour ne pas pousser le contenu */
.qty-stepper {
  position: absolute;
  bottom: .55rem;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center; gap: .35rem;
  background: white;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: .15rem .35rem;
}
.select-card.selected .qty-stepper { display: inline-flex; }
.qty-btn {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  color: var(--chocolate); font-weight: 600; font-size: .95rem;
  user-select: none; transition: background .15s;
}
.qty-btn:hover { background: rgba(193,134,47,.18); }
.qty-value {
  min-width: 16px; text-align: center;
  font-weight: 600; color: var(--chocolate); font-size: .82rem;
}

.upload-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 3rem 2rem;
  border: 1.5px dashed rgba(193,134,47,.4); border-radius: 4px;
  background: rgba(193,134,47,.03); cursor: pointer;
  margin-bottom: 1.5rem; transition: all .2s;
}
.upload-zone:hover { background: rgba(193,134,47,.07); border-color: var(--accent); }
.upload-zone p { text-align: center; font-size: .88rem; color: var(--chocolate); font-weight: 500; }
.upload-zone small { font-size: .72rem; color: rgba(28,24,21,.4); }
.photo-previews { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.photo-limit-msg { margin: -.75rem 0 1.25rem; font-size: .85rem; color: #b4452f; }
.photo-limit-msg[hidden] { display: none; }
.photo-preview { position: relative; width: 80px; height: 80px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.photo-preview button {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--chocolate); color: white; border: none;
  font-size: 10px; cursor: pointer;
}
.upload-tips { background: rgba(193,134,47,.06); border: 1px solid rgba(193,134,47,.2); border-radius: 4px; padding: 1rem 1.2rem; text-align: center; }
.upload-tips h3 { font-size: .75rem; color: var(--accent); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; text-align: center; }
.upload-tips p { font-size: .78rem; color: rgba(28,24,21,.6); line-height: 1.6; text-align: center; }

.form-fields { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
/* INDISPENSABLE : « display: grid » ci-dessus écrase l'attribut hidden du HTML
   (une règle d'auteur bat la règle par défaut du navigateur). Sans cette ligne,
   la rangée « Précisez le pays » resterait visible en permanence. Même parade
   que .photo-limit-msg[hidden] et .real-coming-soon[hidden] plus bas. */
.form-row[hidden] { display: none; }
/* La précision du pays occupe toute la largeur : seule sur sa rangée, elle
   serait sinon comprimée au tiers par la grille à 3 colonnes. */
#pays-autre-row { grid-template-columns: 1fr; }
.form-fields input, .form-fields select, .form-fields textarea {
  padding: .85rem 1rem;
  border: 1.5px solid rgba(92,58,33,.15); border-radius: 4px;
  font-size: .85rem; color: var(--near-black); background: white;
  outline: none; width: 100%; font-family: inherit;
  transition: border-color .2s;
}
/* Le menu déroulant n'hérite pas de la hauteur des champs texte : sans cette
   ligne, « Pays » serait visiblement plus court que « Code postal » à côté. */
.form-fields select { height: 100%; }
.form-fields input:focus, .form-fields select:focus, .form-fields textarea:focus { border-color: var(--accent); }
.form-fields textarea { resize: vertical; }

.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(92,58,33,.1);
  gap: 1rem; flex-wrap: wrap;
}
.btn-back, .btn-next, .btn-submit {
  border: none; cursor: pointer; border-radius: 2px;
  letter-spacing: .12em; text-transform: uppercase;
  transition: all .2s;
}
.btn-back {
  background: transparent; border: 1.5px solid rgba(92,58,33,.2);
  color: var(--chocolate); padding: .8rem 1.8rem;
  font-size: .78rem; font-weight: 500;
}
.btn-back:hover { border-color: var(--chocolate); }
.btn-next {
  background: var(--chocolate); color: var(--ivory);
  padding: .8rem 2rem; font-size: .78rem; font-weight: 600;
}
.btn-next:hover { background: var(--accent); }
.btn-next:disabled { background: rgba(92,58,33,.2); color: rgba(92,58,33,.4); cursor: not-allowed; }
.btn-submit {
  background: var(--accent); color: var(--near-black);
  padding: .9rem 2.5rem; font-size: .82rem; font-weight: 700;
}
.btn-submit:hover { background: var(--chocolate); color: var(--ivory); }
.btn-submit:disabled { background: rgba(193,134,47,.3); color: rgba(28,24,21,.3); cursor: not-allowed; }

.quiz-sidebar {
  display: flex; flex-direction: column; gap: 2rem; padding: 2rem;
  background: #FAF6F0; border: 1px solid rgba(92,58,33,.08);
  border-radius: 4px; position: sticky; top: 90px;
}
.sidebar-item {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(92,58,33,.08);
  text-align: center;
}
.sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-item h3 { font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif; font-size: .9rem; color: var(--chocolate); line-height: 1.3; }
.sidebar-item p { font-size: .78rem; color: rgba(28,24,21,.6); line-height: 1.6; }
.sidebar-item a { font-size: 1rem; font-weight: 600; color: var(--accent); }

/* ── Quiz — responsive unifié ────────────────────────────────
   Pour éviter les zones d'affichage cassées, les TROIS grilles de
   cartes (étapes 1, 2, 3) basculent en 2 colonnes au MÊME point :
   ≤1024px (seuil tablette, aligné sur le menu burger). En dessous
   de 380px elles passent en 1 colonne. Plus aucun breakpoint
   spécifique par grille.
   ──────────────────────────────────────────────────────────── */

/* Tablette : toutes les grilles de cartes en 2 colonnes */
@media (max-width: 1024px) {
  .cards-grid-3,
  .cards-grid-3-1,
  .cards-grid-3-2 { grid-template-columns: repeat(2,1fr); gap: .75rem; }
  .cards-grid-3-1 .select-card:nth-child(4),
  .cards-grid-3-2 .select-card,
  .cards-grid-3-2 .select-card:nth-child(4),
  .cards-grid-3-2 .select-card:nth-child(5) { grid-column: auto; }
  .cards-grid-3-2 .select-card { aspect-ratio: auto; padding: .75rem .5rem; }
  .cards-grid-3-2 .card-desc { font-size: .65rem; }
}

/* Sidebar masquée + layout une colonne */
@media (max-width: 900px) {
  .quiz-layout { grid-template-columns: 1fr; gap: 2rem; }
  .quiz-sidebar { display: none; }
}

/* Mobile : ajustements hero, boutons, icônes */
@media (max-width: 680px) {
  .quiz-hero { padding: 6rem 1.25rem 2.5rem; min-height: 260px; }
  .quiz-layout { padding: 2rem 1.25rem; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-2 .select-card { aspect-ratio: auto; min-height: 110px; }
  .cards-grid-3-2 .card-icon { width: 52px; height: 52px; }
  .form-row { grid-template-columns: 1fr; }
  .quiz-nav { flex-direction: row; gap: .5rem; }
  .btn-back, .btn-next, .btn-submit {
    padding: .8rem 1rem; font-size: .7rem;
    flex: 1; text-align: center;
  }
  .upload-zone { padding: 2rem 1rem; }
  .select-card { padding: 1.1rem .75rem; }
  .select-card.row { padding: .85rem 1rem; }
}

/* Petit mobile : cartes en 1 colonne */
@media (max-width: 380px) {
  .cards-grid-3,
  .cards-grid-3-1,
  .cards-grid-3-2 { grid-template-columns: 1fr; }
  .cards-grid-3 .select-card,
  .cards-grid-3-1 .select-card,
  .cards-grid-3-2 .select-card { aspect-ratio: auto; min-height: 110px; }
}

/* Alerte erreur */
.alert-error {
  background: rgba(200,50,50,.08); border: 1px solid rgba(200,50,50,.2);
  color: #8b2020; padding: 1rem 1.2rem; border-radius: 4px;
  font-size: .85rem; margin-bottom: 1rem; display: none;
}
.alert-error.visible { display: block; }

.nav-active { color: var(--accent) !important; }

/* ═══════════════════════════════════════════
   CONFIRMATION
   ═══════════════════════════════════════════ */
.confirmation {
  min-height: 100vh;
  background: var(--ivory); display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.confirmation-box { max-width: 500px; text-align: center; }
.confirmation-spam-note { font-size: .8rem; color: rgba(28,24,21,.45); font-style: italic; margin-top: 1rem; }
.confirmation-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(193,134,47,.15);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
}
.confirmation h1 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2rem); font-weight: 300;
  color: var(--chocolate); margin-bottom: 1rem;
}
.confirmation p { font-size: .95rem; color: rgba(28,24,21,.65); line-height: 1.8; margin-bottom: .5rem; }
.btn-home {
  display: inline-block; margin-top: 2rem;
  background: var(--chocolate); color: var(--ivory);
  padding: .85rem 2rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; border-radius: 2px;
}
.btn-home:hover { background: var(--accent); }

/* ═══════════════════════════════════════════
   RÉALISATIONS - LAYOUT TOUJOURS 1 COLONNE
   La fiche détail est TOUJOURS une modale plein écran
   ═══════════════════════════════════════════ */
.real-section {
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: 4rem 2.5rem 4rem;
  flex: 1;
}

.real-layout {
  display: block;
}

/* Onglets Avant/Après vs Autre */
.real-tabs {
  display: flex; gap: .5rem; justify-content: center;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.real-tab {
  background: transparent; border: 1.5px solid rgba(92,58,33,.18);
  color: var(--chocolate); font-family: inherit;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .65rem 1.4rem; border-radius: 999px; cursor: pointer;
  transition: all .2s;
}
.real-tab:hover { border-color: var(--accent); color: var(--accent); }
.real-tab.active {
  background: var(--chocolate); border-color: var(--chocolate); color: var(--ivory);
}

/* Grille de cartes : 2 colonnes desktop (photos plus grandes, on
   accepte plus de scroll), 1 colonne tablette/mobile */
.real-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem; align-content: start;
}

/* Carte simple (onglet Autre) — une seule photo, même cadre 3:2 */
.card-single {
  position: relative; aspect-ratio: 3 / 2;
  overflow: hidden; background: rgba(92,58,33,.05);
}
.card-single img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.real-card:hover .card-single img { transform: scale(1.04); }

/* Modale : variante photo unique */
.detail-photos.single { grid-template-columns: 1fr; }
.detail-photos.single .detail-photo-wrap { aspect-ratio: 4 / 3; }

/* Barre d'actions de la modale : flèche précédent · X fermer · flèche suivant */
.real-detail-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; margin: 1.5rem auto 1.75rem; flex-shrink: 0;
}
.detail-nav-btn {
  display: flex; align-items: center; justify-content: center;
  background: rgba(92,58,33,.06); border: 1px solid rgba(92,58,33,.15);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  color: var(--chocolate); transition: all .2s;
}
.detail-nav-btn:hover:not(:disabled) { background: rgba(92,58,33,.15); border-color: var(--chocolate); }
.detail-nav-btn:disabled { opacity: .3; cursor: not-allowed; }

.real-card {
  background: white; border: 1.5px solid rgba(92,58,33,.12);
  border-radius: 4px; overflow: hidden; cursor: pointer;
  text-align: left; font-family: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.real-card:hover { border-color: rgba(193,134,47,.5); box-shadow: 0 6px 24px rgba(92,58,33,.1); transform: translateY(-2px); }
.real-card.active { border-color: var(--accent); box-shadow: 0 6px 24px rgba(193,134,47,.2); }

.card-split {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden; background: rgba(92,58,33,.05);
}
/* Chaque moitié (avant/après) est dans un cadre carré (1:1) : un bon
   compromis qui donne plus de hauteur qu'avant tout en restant correct
   pour les photos verticales ET horizontales,
   indépendamment de la largeur totale de la carte. */
.card-split-half {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1;
  background: rgba(92,58,33,.05);
  display: flex; align-items: center; justify-content: center;
}
.card-split-half img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  transition: transform .4s ease;
}
.real-card:hover .card-split-half img { transform: scale(1.04); }
.split-label {
  position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%);
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: white; background: rgba(0,0,0,.45);
  padding: .15rem .55rem; border-radius: 2px; white-space: nowrap;
}
.split-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: rgba(255,255,255,.8); transform: translateX(-50%); pointer-events: none;
}

.real-card-footer {
  padding: .85rem 1.1rem;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .5rem; border-top: 1px solid rgba(92,58,33,.07);
}
.real-card-footer h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 1rem; font-weight: 400; color: var(--near-black); line-height: 1.3;
}
.real-card-footer span { font-size: .72rem; color: rgba(28,24,21,.4); white-space: nowrap; }

/* ═══ PANNEAU DÉTAIL = MODALE CENTRÉE PARTOUT ═══ */
.real-detail {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(28,24,21,.65);
  display: none; opacity: 0;
  transition: opacity .3s ease;
  padding: 2rem;
  align-items: center; justify-content: center;
}
.real-detail.open {
  display: flex;
  opacity: 1;
}
body.panel-open { overflow: hidden; }

.real-detail-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  background: white;
  border-radius: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* Photos en grand en haut */
.detail-photos {
  display: grid; grid-template-columns: 1fr auto 1fr;
  flex-shrink: 0;
}
.detail-photo-wrap {
  position: relative; overflow: hidden; aspect-ratio: 1 / 1;
  background: rgba(92,58,33,.05);
  display: flex; align-items: center; justify-content: center;
}
.detail-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.detail-photo-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  text-align: center; font-size: .65rem; letter-spacing: .18em;
  text-transform: uppercase; color: white; font-weight: 500;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  padding: 1.8rem .5rem .6rem;
}

/* Séparation entre les photos avant/après dans la modale */
.detail-photo-divider { width: 3px; background: rgba(255,255,255,.7); }
.detail-photos.single .detail-photo-divider { display: none; }

/* Loupe semi-transparente sur chaque photo : ouvre l'image en taille
   réelle dans un nouvel onglet. Discrète au repos, plus visible au survol. */
.photo-zoom {
  position: absolute; top: .6rem; right: .6rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,24,21,.4); color: rgba(255,255,255,.95);
  opacity: .7; transition: opacity .2s, background .2s;
}
.photo-zoom:hover { opacity: 1; background: rgba(28,24,21,.6); }

.real-detail-body { padding: 1.75rem 2rem 1rem; }
.detail-style-tag {
  display: inline-block; font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(193,134,47,.4);
  padding: .25rem .75rem; border-radius: 2px; margin-bottom: 1rem;
}
.detail-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 1.7rem; font-weight: 300;
  color: var(--chocolate); line-height: 1.2; margin-bottom: .35rem;
}
.detail-annee { font-size: .8rem; color: rgba(28,24,21,.45); letter-spacing: .08em; margin-bottom: 1.25rem; }
.detail-desc {
  font-size: .88rem; color: rgba(28,24,21,.7); line-height: 1.75;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(92,58,33,.08);
}
.detail-specs { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0; }
.detail-specs li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; padding: .75rem 0;
  border-bottom: 1px solid rgba(92,58,33,.07); font-size: .85rem;
}
.detail-specs li:last-child { border-bottom: none; }
.spec-label { color: rgba(28,24,21,.45); letter-spacing: .06em; flex-shrink: 0; }
.spec-val { color: var(--near-black); font-weight: 500; text-align: right; }

/* Interventions réalisées (fiche technique) */
.detail-interventions { display: none; margin-bottom: 1.5rem; padding-top: .5rem; border-top: 1px solid rgba(92,58,33,.08); }
.detail-interventions .iv-title {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 1.05rem; font-weight: 400;
  color: var(--chocolate);
  margin: 1rem 0 .75rem;
}
.detail-interventions .iv-list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 .85rem; }
.detail-interventions .iv-list li {
  font-size: .72rem; letter-spacing: .04em;
  color: var(--chocolate);
  background: rgba(193,134,47,.08);
  border: 1px solid rgba(193,134,47,.25);
  padding: .35rem .7rem; border-radius: 99px;
  line-height: 1.2;
}
.detail-interventions .iv-libre {
  font-size: .8rem; color: rgba(28,24,21,.7); line-height: 1.65;
  font-style: italic;
  padding: .6rem .85rem;
  background: rgba(92,58,33,.04);
  border-left: 2px solid rgba(193,134,47,.4);
  border-radius: 0 4px 4px 0;
}
.detail-cta {
  display: block; text-align: center; font-size: .78rem;
  margin: 0 2rem 1.75rem; padding: 1rem 2rem;
  justify-content: center;
}

/* Bouton fermer = au centre de la barre d'actions (sous le CTA) */
.real-detail-close {
  display: flex; align-items: center; justify-content: center;
  background: rgba(92,58,33,.06); border: 1px solid rgba(92,58,33,.15);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  color: var(--chocolate); transition: all .2s;
  flex-shrink: 0;
}
.real-detail-close:hover { background: rgba(92,58,33,.15); border-color: var(--chocolate); }

/* Pagination */
.real-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; padding-top: 2.5rem;
}
.real-page-btn {
  background: white; border: 1.5px solid rgba(92,58,33,.15);
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--chocolate); transition: all .2s;
}
.real-page-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.real-page-btn:disabled { opacity: .3; cursor: not-allowed; }
.real-page-info { font-size: .8rem; color: rgba(28,24,21,.5); letter-spacing: .12em; min-width: 60px; text-align: center; }

/* Onglets et pagination rendus en vrais liens <a> (crawlables par Google).
   On neutralise le soulignement des liens et on gère l'état "désactivé" via
   une classe (les <a>/<span> n'ont pas de :disabled). */
.real-tab { text-decoration: none; display: inline-block; }
.real-pagination { gap: .5rem; flex-wrap: wrap; }
.real-page-btn { text-decoration: none; }
.real-page-btn.is-disabled { opacity: .3; cursor: not-allowed; pointer-events: none; }
.real-page-num {
  min-width: 44px; height: 44px; padding: 0 .55rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(92,58,33,.15); border-radius: 22px;
  background: white; color: var(--chocolate); text-decoration: none;
  font-size: .85rem; letter-spacing: .04em; transition: all .2s;
}
.real-page-num:hover { border-color: var(--accent); color: var(--accent); }
.real-page-num.active {
  background: var(--chocolate); border-color: var(--chocolate);
  color: var(--ivory); cursor: default; pointer-events: none;
}

/* ═══════════════════════════════════════════
   CTA BAS DE PAGE (footer realisations)
   ═══════════════════════════════════════════ */
.real-cta-section {
  background: var(--hero-bg);
  padding: 5rem 2rem 2.5rem;
  text-align: center;
  width: 100%;
}
.real-cta-inner {
  max-width: 600px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.real-cta-inner h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 300; color: var(--ivory);
}
.real-cta-inner p { font-size: .9rem; color: rgba(245,239,230,.6); font-weight: 300; }
.real-cta-inner .hero-label { margin-bottom: 0; }
.real-cta-inner .btn-primary { margin-top: .5rem; }

/* ═══ RESPONSIVE GRILLE ═══ */
@media (max-width: 1000px) {
  /* Une seule colonne en dessous de 1000px : les photos restent
     grandes plutôt que de réduire en 2 colonnes serrées. */
  .real-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 680px) {
  .real-section { padding: 2.5rem 1.25rem 3rem; }
  .real-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .split-label { font-size: .5rem; padding: .1rem .4rem; }
  .real-card-footer { padding: .65rem .8rem; flex-direction: column; align-items: flex-start; gap: .15rem; }
  .real-card-footer h3 { font-size: .85rem; }
  .real-card-footer span { font-size: .65rem; }

  /* Modale sur mobile : on enlève le padding */
  .real-detail { padding: 0; align-items: stretch; }
  .real-detail-inner { max-width: 100%; max-height: 100vh; border-radius: 0; }
  .real-detail-body { padding: 1.5rem 1.5rem .75rem; }
  .detail-cta {
    margin: 0 auto 1.5rem; max-width: 280px;
    padding: .9rem 1.5rem;
  }
  .detail-title { font-size: 1.4rem; }

  .real-cta-section { padding: 3rem 1.5rem; }
}

@media (max-width: 380px) {
  .real-section { padding: 2rem 1rem 2rem; }
  .real-grid { gap: .6rem; }
}

/* ═══════════════════════════════════════════
   PAGE ATELIER
   ═══════════════════════════════════════════ */
.atelier-intro {
  background: var(--ivory);
  padding: 3.5rem 2rem 1rem;
}
.atelier-container {
  max-width: 880px; margin: 0 auto;
}
.atelier-intro .lead {
  font-size: 1.05rem; color: rgba(28,24,21,.78);
  line-height: 1.75; text-align: center;
  font-weight: 300;
}
.atelier-intro .lead strong { color: var(--chocolate); font-weight: 500; }

.atelier-section {
  padding: 3rem 2rem;
}
.atelier-section-alt { background: rgba(193,134,47,.04); }
.atelier-section h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300; color: var(--chocolate);
  margin-bottom: 1rem; line-height: 1.2;
}
.atelier-section h2.atelier-h2-centered { text-align: center; }
.atelier-section .atelier-subtitle {
  text-align: center; color: rgba(28,24,21,.55);
  font-size: .92rem; margin-bottom: 2.5rem;
  font-weight: 300;
}
.atelier-section p {
  color: rgba(28,24,21,.7); font-size: .92rem;
  line-height: 1.75; margin-bottom: 1rem;
}
.atelier-emphasis {
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: rgba(193,134,47,.06);
  font-size: .92rem;
}
.atelier-emphasis strong { color: var(--chocolate); }
.atelier-note {
  margin-top: 1.25rem; font-style: italic;
  color: rgba(28,24,21,.55);
}

.atelier-list {
  list-style: none; padding: 0; margin: 1.25rem 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 2rem;
}
.atelier-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding-left: 3rem;
  font-size: .88rem; color: var(--near-black); line-height: 1.5;
}
.atelier-list li::before {
  content: ""; flex-shrink: 0; margin-top: .5rem;
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}

/* Page Atelier : tout le texte centré (scoped à .page-atelier pour ne
   pas affecter les pages légales qui réutilisent les mêmes classes) */
.page-atelier .atelier-section h2,
.page-atelier .atelier-section > .atelier-container > p,
.page-atelier .atelier-emphasis,
.page-atelier .atelier-note {
  text-align: center;
}
.page-atelier .atelier-container { text-align: center; }
.page-atelier .atelier-list {
  display: inline-grid; grid-template-columns: repeat(2, max-content);
  text-align: left; margin: 1.25rem 0;
}
.page-atelier .atelier-pills {
  justify-content: center; margin: 1.25rem auto;
}
.page-atelier .process-card {
  text-align: center; align-items: center;
}
.page-atelier .process-card .process-num {
  position: static; margin-bottom: .25rem;
}
.page-atelier .atelier-photo figcaption {
  text-align: center;
}

/* Photos contextuelles dans les sections atelier */
.atelier-photo {
  margin: 2rem 0 0; padding: 0;
  border-radius: 6px; overflow: hidden;
  background: rgba(92,58,33,.04);
  border: 1px solid rgba(92,58,33,.08);
}
.atelier-photo img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  display: block;
}
.atelier-photo figcaption {
  font-size: .78rem; color: rgba(28,24,21,.55);
  padding: .75rem 1rem; text-align: center;
  font-style: italic;
  background: rgba(92,58,33,.02);
}

.atelier-pills {
  list-style: none; padding: 0; margin: 1.25rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.atelier-pills li {
  font-size: .78rem; letter-spacing: .04em;
  color: var(--chocolate);
  background: rgba(193,134,47,.08);
  border: 1px solid rgba(193,134,47,.25);
  padding: .45rem .9rem; border-radius: 99px;
  line-height: 1.2;
}

/* Processus 4 étapes */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; margin-top: 1rem;
}
.process-card {
  position: relative; background: white;
  border: 1px solid rgba(92,58,33,.1); border-radius: 6px;
  padding: 2rem 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: .65rem;
}
.process-card .process-num {
  position: absolute; top: -16px; left: 1.25rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--chocolate); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 1.15rem; font-weight: 500;
}
.process-card h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: 1.15rem; font-weight: 400; color: var(--chocolate);
  margin-top: .35rem;
}
.process-card p {
  font-size: .82rem; color: rgba(28,24,21,.65);
  line-height: 1.55; margin: 0;
}

/* Section CTA "Avant / Après" (lien vers réalisations) */
.atelier-cta-section {
  padding: 1.5rem 2rem 4rem;
  background: var(--ivory);
  text-align: center;
}
.atelier-cta-section .hero-label {
  color: var(--accent); font-size: .62rem;
  letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.atelier-cta-section h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 300;
  color: var(--chocolate); margin-bottom: .75rem;
}
.atelier-cta-section > .atelier-container > p {
  color: rgba(28,24,21,.6); font-size: .92rem; margin-bottom: 1.75rem;
}
.atelier-cta-section .btn-primary {
  display: inline-flex;
}

/* Responsive page atelier */
@media (max-width: 768px) {
  .atelier-list,
  .page-atelier .atelier-list {
    grid-template-columns: 1fr; width: 100%;
  }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .atelier-section { padding: 2.5rem 1.25rem; }
  .atelier-intro { padding: 2.5rem 1.25rem .5rem; }
  .process-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   FOOTER — discret, liens légaux en nouvel onglet
   Même fond sombre que les sections CTA juste au-dessus
   (pas de nouveau bandeau visible, juste une continuité).
   ═══════════════════════════════════════════ */
.site-footer {
  padding: 1.5rem 2rem; text-align: center;
  background: var(--hero-bg);
}
.site-footer p { margin: 0; }
.site-footer .footer-copy {
  font-size: .72rem; color: rgba(245,239,230,.55); margin-bottom: .4rem;
}
.site-footer .footer-legal-links {
  font-size: .7rem; color: rgba(245,239,230,.5);
}
.site-footer .footer-legal-links a {
  color: rgba(245,239,230,.85); text-decoration: none;
  transition: color .2s;
}
.site-footer .footer-legal-links a:hover { color: var(--accent); }
.site-footer .footer-legal-links .sep { margin: 0 .5rem; opacity: .5; }
.site-footer .footer-siret {
  font-size: .65rem; color: rgba(245,239,230,.5); margin-top: .25rem;
}

/* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════ */
.localisation-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; align-items: start;
  margin-top: 1.5rem;
}
.localisation-infos { display: flex; flex-direction: column; gap: .6rem; }
.localisation-infos p { margin: 0; font-size: .92rem; line-height: 1.6; }
.localisation-infos a[href^="tel"] { color: var(--accent); font-weight: 500; text-decoration: none; }
.btn-outline-small {
  display: inline-block; padding: .45rem 1rem; border: 1px solid var(--accent);
  color: var(--accent); text-decoration: none; font-size: .8rem; border-radius: 3px;
  transition: background .2s, color .2s; width: fit-content;
}
.btn-outline-small:hover { background: var(--accent); color: #fff; }
.localisation-map iframe { display: block; width: 100%; }
@media (max-width: 768px) {
  .localisation-grid { grid-template-columns: 1fr; }
}

.real-grid-empty {
  grid-column: 1 / -1; padding: 4rem 2rem; text-align: center;
}
.real-grid-empty p {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  font-weight: 300; color: var(--caramel); line-height: 1.8;
}
.real-coming-soon {
  text-align: center; margin: 2rem 0 0;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
  font-weight: 300; color: var(--caramel); font-style: italic;
}
.real-coming-soon[hidden] { display: none; }

.quiz-rgpd-note {
  font-size: .72rem; color: #666; margin-top: .75rem;
  text-align: center;
}
.quiz-rgpd-note a { color: inherit; text-decoration: underline; }

#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--chocolate); color: var(--ivory);
  padding: 1rem 2rem; display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,.25);
}
#cookie-banner p { margin: 0; font-size: .82rem; flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-actions button {
  padding: .45rem 1.1rem; border-radius: 3px; border: none;
  font-size: .78rem; cursor: pointer; font-family: inherit;
}
#cookie-accept { background: var(--accent); color: var(--near-black); }
#cookie-accept:hover { background: #a06a20; }
#cookie-refuse {
  background: transparent; color: rgba(245,239,230,.85);
  border: 1px solid rgba(245,239,230,.6);
}
#cookie-refuse:hover { color: var(--ivory); border-color: rgba(245,239,230,.7); }
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* Façade carte Google Maps : n'affiche qu'un bouton léger ; l'iframe (et ses
   ~400 Kio de JS tiers + cookies) n'est chargée qu'au clic. Repli <noscript>. */
.map-facade {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; width: 100%; min-height: 300px;
  border: 1px solid rgba(92,58,33,.15); border-radius: 4px;
  background: rgba(193,134,47,.06); cursor: pointer;
  font-family: inherit; color: var(--chocolate);
}
.map-facade:hover { background: rgba(193,134,47,.12); border-color: rgba(193,134,47,.4); }
.map-facade-pin { font-size: 2rem; line-height: 1; }
.map-facade-label { font-size: .85rem; letter-spacing: .02em; }
.localisation-map { min-height: 300px; }
