/* =====================================================================
   TABAC DE LA MAIRIE — Feuille de style principale
   Thème : luxe sombre & or champagne, typographie raffinée.
   ===================================================================== */

:root {
  --ink:        #14110c;   /* fond principal, presque noir chaud */
  --ink-2:      #1d1812;   /* panneaux sombres */
  --ink-3:      #2a231a;   /* bordures sombres */
  --paper:      #f7f2e8;   /* sections claires */
  --paper-2:    #efe7d6;   /* claires alternées */
  --gold:       #c6a25c;   /* or champagne */
  --gold-soft:  #ddc290;
  --gold-deep:  #9c7c3f;
  --cream:      #f3ead8;
  --text:       #ece4d4;   /* texte clair sur fond sombre */
  --text-dim:   #b3a892;   /* texte secondaire clair */
  --text-dark:  #2c2519;   /* texte sur fond clair */
  --text-dark-dim: #6e6452;
  --line-dark:  rgba(198, 162, 92, 0.22);
  --line-light: rgba(44, 37, 25, 0.14);
  --shadow:     0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --radius:     14px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --container:  1200px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ------------------------------ Base ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.4rem);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.eyebrow::before { content: "— "; opacity: 0.6; }

/* Liseré décoratif doré */
.rule {
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.2rem 0;
  border: none;
}
.rule.center { margin-left: auto; margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ------------------------------ Boutons ------------------------------ */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.92rem 1.9rem;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--b);
  border-radius: 50px;
  background: transparent; color: var(--b);
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--b); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::after { transform: scaleX(1); }
.btn.solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn.solid::after { background: var(--gold-soft); }
.btn.solid:hover { color: var(--ink); }
.btn.light { --b: var(--ink); }

/* ------------------------------ Bandeau supérieur ------------------------------ */
.topbar {
  background: #0e0c08;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}
.topbar-inner {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
  justify-content: center; align-items: center;
  padding: 0.55rem 1rem;
}
.topbar-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.topbar-item svg { color: var(--gold); flex: none; }

/* ------------------------------ En-tête ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 13, 9, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(14, 12, 8, 0.96);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-top: 0.9rem; padding-bottom: 0.9rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.85rem; }
.brand-mark { color: var(--gold); display: inline-flex; transition: transform 0.5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.brand-tag { font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 0.18rem; }

.main-nav { display: flex; align-items: center; gap: 0.3rem; }
.main-nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.25rem;
  height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }
.main-nav a.nav-cta {
  margin-left: 0.6rem; border: 1px solid var(--line-dark); border-radius: 50px;
  color: var(--gold);
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); transition: all 0.35s var(--ease); }

/* Voile sombre derrière le menu mobile (inerte sur PC : le menu ne s'y ouvre jamais) */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 44;
  background: rgba(8, 6, 4, 0.55); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; pointer-events: auto; }

/* ------------------------------ Vues / animations ------------------------------ */
.view { animation: fadeView 0.6s var(--ease); }
@keyframes fadeView { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

.loader { display: flex; align-items: center; justify-content: center; gap: 0.8rem; min-height: 60vh; color: var(--text-dim); letter-spacing: 0.1em; }
.spinner { width: 22px; height: 22px; border: 2px solid var(--line-dark); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------ HERO ------------------------------ */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(198,162,92,0.16), transparent 60%),
    radial-gradient(90% 80% at 10% 100%, rgba(120,90,40,0.18), transparent 55%),
    linear-gradient(160deg, #1a160f 0%, #0e0b07 60%, #120e09 100%);
}
.hero::before { /* texture subtile */
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.hero::after { /* cadre doré inset */
  content: ""; position: absolute; inset: 22px; border: 1px solid var(--line-dark); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 5rem 0; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.3rem;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 45%, var(--gold-soft) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-family: var(--font-serif); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--text-dim); max-width: 30em; margin: 0 0 2.2rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--gold); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0.8; }
.hero-scroll span { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ------------------------------ Sections génériques ------------------------------ */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); color: var(--text); }
.section-head p { color: var(--text-dim); font-size: 1.05rem; margin-top: 1rem; }

.section.light { background: var(--paper); color: var(--text-dark); }
.section.light .section-head h2 { color: var(--text-dark); }
.section.light .section-head p { color: var(--text-dark-dim); }
.section.paper-2 { background: var(--paper-2); color: var(--text-dark); }
.section.paper-2 .section-head h2 { color: var(--text-dark); }
.section.paper-2 .section-head p { color: var(--text-dark-dim); }

/* ------------------------------ À propos ------------------------------ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-text p { color: var(--text-dark-dim); font-size: 1.08rem; }
.about-figure {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #221c14, #100d09);
  border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
}
.about-figure .monogram { font-family: var(--font-display); font-size: 12rem; color: var(--gold); opacity: 0.18; }
.about-figure::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(198,162,92,0.3); border-radius: 6px; }
.stats { display: flex; gap: 2.5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.stat .n { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-deep); line-height: 1; }
.stat .l { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark-dim); margin-top: 0.4rem; }

/* ------------------------------ Grille des rubriques (accueil) ------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.2rem 1.9rem; min-height: 260px;
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease);
  background: radial-gradient(80% 60% at 80% 0%, rgba(198,162,92,0.16), transparent 70%);
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow); }
.cat-card:hover::before { opacity: 1; }
.cat-card .num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.2em; }
.cat-card .icon { color: var(--gold); margin: 0.4rem 0 1.4rem; }
.cat-card h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 0.6rem; }
.cat-card p { color: var(--text-dim); font-size: 0.94rem; flex: 1; }
.cat-card .go { margin-top: 1.4rem; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s var(--ease); }
.cat-card:hover .go { gap: 0.9rem; }
.cat-card .count { position: absolute; top: 1.6rem; right: 1.7rem; font-size: 0.74rem; color: var(--text-dim); }

/* ------------------------------ En-tête de rubrique ------------------------------ */
.cat-hero {
  position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem,5vw,3rem);
  background:
    radial-gradient(100% 120% at 85% 0%, rgba(198,162,92,0.14), transparent 60%),
    linear-gradient(160deg, #1a160f, #0e0b07);
  border-bottom: 1px solid var(--line-dark);
}
.crumbs { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1.1rem; }
.crumbs a:hover { color: var(--gold); }
.cat-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); color: var(--text); }
.cat-hero p { color: var(--text-dim); font-family: var(--font-serif); font-size: 1.3rem; max-width: 34em; margin-top: 1rem; }

/* ------------------------------ Galerie ------------------------------ */
.gallery { columns: 3 280px; column-gap: 1.3rem; }
.card {
  position: relative; break-inside: avoid; margin-bottom: 1.3rem;
  border-radius: var(--radius); overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line-dark);
  cursor: zoom-in; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-imgwrap { overflow: hidden; }
.card img { width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.card:hover img { transform: scale(1.06); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-body h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--text); margin-bottom: 0.35rem; }
.card-body p { font-size: 0.9rem; color: var(--text-dim); margin: 0; }
.card-price { display: inline-block; margin-top: 0.7rem; font-size: 0.82rem; letter-spacing: 0.05em; color: var(--gold); border: 1px solid var(--line-dark); padding: 0.2rem 0.7rem; border-radius: 50px; }
.card-zoom { position: absolute; top: 0.9rem; right: 0.9rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(14,12,8,0.7); color: var(--gold); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.8); transition: all 0.4s var(--ease); }
.card:hover .card-zoom { opacity: 1; transform: scale(1); }

/* État vide */
.empty {
  text-align: center; padding: 4rem 1.5rem; border: 1px dashed var(--line-dark);
  border-radius: var(--radius); color: var(--text-dim); background: rgba(255,255,255,0.015);
}
.empty .ic { color: var(--gold); opacity: 0.6; margin-bottom: 1rem; }
.empty h3 { color: var(--text); font-size: 1.4rem; margin-bottom: 0.5rem; }

/* ------------------------------ Contact ------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.55rem; }
.field label .req { color: var(--gold); }
.field input, .field textarea {
  width: 100%; padding: 0.95rem 1.1rem;
  background: rgba(255,255,255,0.025); color: var(--text);
  border: 1px solid var(--line-dark); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(198,162,92,0.05); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); opacity: 0.5; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.84rem; color: var(--text-dim); margin-top: 0.8rem; }

.info-card {
  background: linear-gradient(165deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 2rem; margin-bottom: 1.3rem;
}
.info-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; color: var(--gold); margin-bottom: 1.2rem; }
.info-row { display: flex; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line-dark); }
.info-row:last-child { border-bottom: none; }
.info-row .ic { color: var(--gold); flex: none; margin-top: 2px; }
.info-row a:hover { color: var(--gold); }
.info-row .lab { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.info-row .val { color: var(--text); }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px dotted var(--line-dark); }
.hours-row:last-child { border-bottom: none; }
.hours-row .d { color: var(--text-dim); }
.hours-row .h { color: var(--text); font-variant-numeric: tabular-nums; }
.notice { margin-top: 1.1rem; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(198,162,92,0.1); border: 1px solid var(--line-dark); color: var(--gold-soft); font-size: 0.9rem; }

#map { height: 340px; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); z-index: 1; background: var(--ink-2); }
.leaflet-container { font-family: var(--font-body); }
.map-fallback { height: 340px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem; }

/* ------------------------------ Pied de page ------------------------------ */
.site-footer { background: #0e0c08; border-top: 1px solid var(--line-dark); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .brand-name { font-size: 1.4rem; color: var(--text); font-family: var(--font-display); }
.footer-brand p { color: var(--text-dim); margin-top: 1rem; max-width: 30em; font-size: 0.95rem; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem; }
.footer-col a, .footer-col p { display: block; color: var(--text-dim); font-size: 0.92rem; padding: 0.28rem 0; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; border-top: 1px solid var(--line-dark); color: var(--text-dim); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--gold); }
.smoke-warn { font-size: 0.74rem; color: var(--text-dim); opacity: 0.7; letter-spacing: 0.05em; }

/* ------------------------------ Lightbox ------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,7,5,0.94); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; animation: fadeView 0.3s var(--ease); }
.lb-figure { margin: 0; max-width: 90vw; max-height: 86vh; text-align: center; }
.lb-figure img { max-width: 100%; max-height: 78vh; border-radius: 8px; box-shadow: var(--shadow); margin: 0 auto; }
.lb-figure figcaption { color: var(--text); margin-top: 1rem; font-family: var(--font-serif); font-size: 1.3rem; }
.lb-figure figcaption small { display: block; font-family: var(--font-body); font-size: 0.9rem; color: var(--text-dim); margin-top: 0.3rem; }
.lb-close { position: absolute; top: 1.4rem; right: 1.8rem; background: none; border: none; color: var(--text); font-size: 2.4rem; line-height: 1; opacity: 0.8; transition: all 0.3s; }
.lb-close:hover { opacity: 1; color: var(--gold); transform: rotate(90deg); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); color: var(--text); width: 52px; height: 52px; border-radius: 50%; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.lb-nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-prev { left: 2vw; } .lb-next { right: 2vw; }

/* ------------------------------ Toast ------------------------------ */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(140%); z-index: 120; background: var(--ink-2); color: var(--text); border: 1px solid var(--gold); border-radius: 50px; padding: 0.9rem 1.6rem; font-size: 0.92rem; box-shadow: var(--shadow); transition: transform 0.5s var(--ease); max-width: 90vw; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { border-color: #c0584f; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 980px) {
  .about { grid-template-columns: 1fr; }
  .about-figure { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  /* z-index 46 : le bouton (burger → croix) reste au-dessus du panneau (45) et cliquable */
  .nav-toggle { display: flex; position: relative; z-index: 46; }
  /* On retire le backdrop-filter en mobile : sinon l'en-tête devient le "bloc
     conteneur" du menu fixed (Chrome Android), qui se retrouve mal dimensionné
     et translucide. Le fond rgba de l'en-tête suffit visuellement. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; left: auto;
    width: min(82vw, 340px); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start; gap: 0.2rem;
    background: #100d09; border-left: 1px solid var(--line-dark);
    padding: 6rem 1.6rem 2rem; transform: translateX(100%);
    transition: transform 0.5s var(--ease); z-index: 45;
    overflow-y: auto;
  }
  .main-nav.open { transform: none; box-shadow: -24px 0 60px -24px rgba(0,0,0,0.75); }
  .main-nav a { width: 100%; padding: 1rem 0.4rem; font-size: 0.95rem; border-bottom: 1px solid var(--line-dark); }
  .main-nav a::after { display: none; }
  .main-nav a.nav-cta { margin: 1rem 0 0; text-align: center; justify-content: center; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  /* Cibles tactiles plus généreuses dans le pied de page */
  .footer-col a, .footer-col p { padding: 0.55rem 0; }
}

@media (max-width: 560px) {
  .gallery { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .hero::after { inset: 12px; }
  .topbar-inner { gap: 0.5rem 1.4rem; }

  /* Boutons d'action en pleine largeur (plus faciles à toucher) */
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }

  /* Champs de formulaire à 16px : évite le zoom automatique d'iOS au focus */
  .field input, .field textarea { font-size: 16px; }

  /* Visionneuse photo : flèches plus compactes et collées aux bords */
  .lb-nav { width: 44px; height: 44px; font-size: 1.4rem; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-close { top: 0.7rem; right: 1rem; }

  /* Bas de page centré et aéré sur petit écran */
  .footer-bottom { justify-content: center; text-align: center; gap: 0.6rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------- Page Mentions légales ---------------- */
.legal-content {
  max-width: 740px;
  color: var(--text-dark);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 2.2rem 0 0.55rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-light);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { line-height: 1.75; color: var(--text-dark-dim); margin: 0 0 0.4rem; }
.legal-content a { color: var(--gold-deep); }
.legal-date { margin-top: 2.5rem !important; font-size: 0.85rem; }
