/* ═══════════════════════════════════════════════════════════════
   SITE ARTISAN PRO / PREMIUM · design "éditorial"
   Référence validée par Nicolas le 2026-09-14 : tomasina-paris.com
   (une seule police, noir et blanc, titres sobres et plus petits, beaucoup d'air,
   en-tête blanc, bande contact noire pleine largeur, pied de page blanc).
   La palette du client, injectée par le générateur, ne colore que "l'encre" :
   boutons, barres de titre, puces, icônes. Tout le reste reste neutre.
   Essentiel : les pages compagnon utilisent css/style-classique.css (raccord
   avec la page d'accueil CMS), pas ce fichier.
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* palette du client (écrasée par le <style> injecté dans chaque page) */
  --navy:        #1a1a1a;
  --navy-dark:   #0d0d0d;
  --navy-light:  #333333;
  --blue:        #1a1a1a;
  --blue-soft:   #f4f4f4;
  --accent-soft: #bdbdbd;
  --accent-soft-rgb: 189,189,189;
  --dark-rgb:    13,13,13;
  --navy-rgb:    26,26,26;

  --ink:         var(--navy);
  --black:       #0d0d0d;
  --white:       #ffffff;
  --off-white:   #fafafa;
  --text:        #1a1a1a;
  --muted:       #555555;
  --muted-2:     #8a8a8a;
  --line:        #ececec;
  --border:      rgba(0,0,0,0.09);
  --surface:     rgba(0,0,0,0.04);
  --shadow-sm:   0 1px 0 rgba(0,0,0,0.06);
  --shadow-md:   0 14px 40px rgba(0,0,0,0.08);
  --shadow-lg:   0 24px 60px rgba(0,0,0,0.14);
  --r-sm:        4px;
  --r-md:        8px;
  --r-lg:        10px;
  --r-btn:       5px;
  --topbar-h:    34px;
  --nav-h:       86px;
  --wrap:        min(1330px, 92%);
  --font:        'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: pageIn .6s var(--ease) forwards;
  overflow-x: hidden;
}
@keyframes pageIn { to { opacity: 1; } }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; color: var(--text); }
h1 em, h2 em, h3 em { font-style: normal; }
h1, h2 { text-wrap: balance; }
.nw { white-space: nowrap; }
a { color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; }

.container { width: var(--wrap); margin: 0 auto; }

section { padding: 112px 0; position: relative; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--black); color: rgba(255,255,255,0.88); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ─── SURTITRES & TITRES ───────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); margin-bottom: 0.7rem;
}
.section-dark .eyebrow { color: rgba(255,255,255,0.7); }

.section-head { max-width: 720px; margin-bottom: 3.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head::after { content: ''; display: block; width: 120px; height: 3px; background: var(--ink); margin-top: 1.9rem; }
.section-head.center::after { margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.75rem, 2.7vw, 2.45rem); line-height: 1.2; margin-bottom: 0.9rem; }
.section-title em { color: var(--muted-2); }
.section-desc { color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.section-dark .section-desc { color: rgba(255,255,255,0.72); }

/* ─── APPARITIONS AU SCROLL (Effet Vitrine) ────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* ─── BANDEAU DU HAUT ──────────────────────────────── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--topbar-h);
  background: var(--black); color: rgba(255,255,255,0.78);
  display: flex; align-items: center; justify-content: center;
  gap: 0.8rem; padding: 0 1rem;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.topbar::-webkit-scrollbar { display: none; }
.topbar span.dot { opacity: 0.4; }
.topbar strong { color: #fff; font-weight: 700; }

/* ─── EN-TÊTE (toujours blanc) ─────────────────────── */
header.site-header {
  position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 290;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease);
}
header.site-header.scrolled { box-shadow: 0 8px 28px rgba(0,0,0,0.06); }
.nav-inner { width: var(--wrap); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark { display: none; }
.brand-text { display: block; font-weight: 400; font-size: 1.55rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); line-height: 1; }
.brand-sub { display: block; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-top: 0.4rem; }

.nav-links { display: flex; align-items: center; gap: 0.1rem; height: 100%; }
.nav-links a {
  position: relative; display: flex; align-items: center; height: 100%;
  text-decoration: none; font-size: 0.98rem; font-weight: 500; color: var(--text);
  padding: 0 0.8rem; transition: opacity .2s;
}
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); }

.nav-links a.nav-cta, .nav-cta {
  height: auto; display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--ink); color: #fff !important; text-decoration: none;
  padding: 0.9rem 1.6rem !important; border-radius: var(--r-btn);
  font-weight: 600 !important; font-size: 1rem !important;
  margin-left: 1.4rem; transition: opacity .2s;
}
.nav-links a.nav-cta:hover { opacity: 0.85; }
.nav-links a.nav-cta::after { display: none; }

.hamburger {
  display: none; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hamburger span { width: 28px; height: 2px; background: var(--text); border-radius: 2px; }

/* ─── MENU MOBILE ──────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 400;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.3rem; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  color: var(--text); text-decoration: none;
  font-size: 1.6rem; font-weight: 600; padding: 0.5rem 0;
  opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu a.active { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.mobile-menu .mobile-cta {
  margin-top: 1.6rem; background: var(--ink); color: #fff; padding: 0.95rem 2rem; border-radius: var(--r-btn);
  font-size: 1rem; font-weight: 600;
}
.mobile-close {
  position: absolute; top: calc(var(--topbar-h) + 18px); right: 4%;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: none; color: var(--text); font-size: 1.2rem; cursor: pointer;
}

/* ─── BOUTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.8rem; border-radius: var(--r-btn); border: 1.5px solid transparent;
  font-family: var(--font); font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { opacity: 0.86; }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: #e9e9e9; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-outline-navy { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-navy:hover { background: var(--ink); color: #fff; }
.btn-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.15rem 0; color: var(--ink); font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid currentColor; transition: opacity .2s;
}
.btn-link:hover { opacity: 0.6; }

/* ─── HERO (accueil) ───────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--black);
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.62) 45%, rgba(0,0,0,0.4) 100%);
}
.hero-inner { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; padding: calc(var(--topbar-h) + var(--nav-h) + 3rem) 0 6rem; }
.hero-badge {
  display: block; background: none; border: none; padding: 0;
  color: rgba(255,255,255,0.62); font-size: 1.1rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase;
  margin-bottom: 0.7rem;
  opacity: 0; animation: fadeUp .8s var(--ease) .15s forwards;
}
.hero-badge .pulse { display: none; }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 3.5vw, 3.15rem); font-weight: 700; line-height: 1.18;
  max-width: 760px; margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp .9s var(--ease) .3s forwards;
}
.hero h1 em { color: rgba(255,255,255,0.62); }
.hero p.lead {
  color: rgba(255,255,255,0.82); font-size: clamp(1.05rem, 1.3vw, 1.3rem); line-height: 1.5; max-width: 600px; margin-bottom: 2.4rem;
  opacity: 0; animation: fadeUp .9s var(--ease) .45s forwards;
}
.hero-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards; }
.hero .btn-primary { background: #fff; color: var(--black); }
.hero .btn-primary:hover { background: #e9e9e9; opacity: 1; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.hero-scroll {
  position: absolute; bottom: 2rem; left: calc((100% - var(--wrap)) / 2); z-index: 2;
  display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.55);
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; animation: fadeUp .9s var(--ease) .9s forwards;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-scroll .line::after { content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background:#fff; animation: scrollLine 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%{top:-100%} 60%{top:100%} 100%{top:100%} }

/* ─── CHIFFRES ─────────────────────────────────────── */
.stats-strip { background: var(--black); padding: 3.4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-size: clamp(2.2rem, 3.4vw, 3rem); color: #fff; font-weight: 700; line-height: 1; }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 0.6rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

/* ─── ENGAGEMENTS ──────────────────────────────────── */
.engagements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.engagement-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 2.5rem 2.1rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.section-alt .engagement-card { border-color: transparent; }
.engagement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.engagement-icon {
  width: 48px; height: 48px; border-radius: var(--r-btn);
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.engagement-icon svg { width: 22px; height: 22px; }
.engagement-card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.engagement-card p { color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* ─── SERVICES (cartes image + texte dessous) ──────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3.2rem 2rem; }
.service-card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.service-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--r-md); transition: filter .5s var(--ease); }
.service-card:hover img { filter: brightness(0.88); }
.service-arrow {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s, transform .3s;
}
.service-card:hover .service-arrow { background: var(--ink); color: #fff; transform: rotate(45deg); }
.service-card-body { padding: 1.4rem 0 0; }
.service-num { display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 0.4rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.45rem; }
.service-card p { color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 540px; }
.service-card-body::after { content: 'En savoir plus…'; display: inline-block; margin-top: 0.9rem; font-weight: 600; font-size: 0.98rem; color: var(--text); }

/* Bloc service détaillé (services.html) */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail + .service-detail { margin-top: 6rem; padding-top: 6rem; border-top: 1px solid var(--line); }
.service-detail-media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3.2; }
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-detail-media:hover img { transform: scale(1.04); }
.service-detail-num { display: block; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em; color: var(--muted-2); margin-bottom: 0.8rem; }
.service-detail-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.6rem 0 2.1rem; }
.service-detail-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 1rem; color: var(--text); }
.service-detail-list svg { color: var(--ink); flex-shrink: 0; }

/* ─── MÉTHODE (à propos) ───────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 1px; background: var(--line); }
.process-step { position: relative; text-align: center; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink);
  color: var(--ink); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.3rem; position: relative; z-index: 1;
  transition: background .3s, color .3s;
}
.section-alt .process-num { background: var(--off-white); }
.process-step:hover .process-num { background: var(--ink); color: #fff; }
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* ─── À PROPOS ─────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--r-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-media-badge {
  position: absolute; bottom: 1.4rem; left: 1.4rem; background: var(--ink); color: #fff;
  border-radius: var(--r-md); padding: 1.2rem 1.5rem; text-align: center;
}
.about-media-badge .n { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.about-media-badge .l { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 0.35rem; }
.about-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.6rem 0 2.1rem; }
.about-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--off-white); border: 1px solid var(--line); color: var(--text); font-size: 0.9rem; font-weight: 500; padding: 0.45rem 1rem; border-radius: var(--r-btn); }

/* ─── AVIS ─────────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 2.2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.section-alt .review-card { border-color: transparent; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--ink); font-size: 1rem; letter-spacing: 3px; margin-bottom: 1rem; }
.review-text { color: var(--text); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.4rem; }
.review-who { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.review-name { font-size: 0.95rem; font-weight: 700; }
.review-loc { font-size: 0.82rem; color: var(--muted-2); }
.google-badge { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; }
.google-badge .stars { color: var(--ink); letter-spacing: 2px; }
.google-badge .score { font-weight: 700; color: var(--text); }
.google-badge .cnt { color: var(--muted); font-size: 0.92rem; }
.review-card.review-more { display: none; }
.reviews-grid.expanded .review-card.review-more { display: block; }

/* ─── AVANT / APRÈS (slider) ──────────────────────── */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.compare { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); background: #111; cursor: ew-resize; box-shadow: var(--shadow-md); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-select: none; user-select: none; pointer-events: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.compare-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; width: 100%; height: 100%; }
.compare-range::-moz-range-thumb { width: 100%; height: 100%; background: transparent; border: none; }
.compare-label { position: absolute; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; pointer-events: none; }
.compare-label-avant { left: 12px; }
.compare-label-apres { right: 12px; }
.compare-caption { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12.5px; font-weight: 600; pointer-events: none; }

/* ─── GALERIE ──────────────────────────────────────── */
.gallery-masonry { columns: 3 240px; column-gap: 1.1rem; }
.gallery-masonry .g-item {
  break-inside: avoid; margin-bottom: 1.1rem; border-radius: var(--r-md); overflow: hidden;
  cursor: zoom-in; position: relative;
}
.gallery-masonry .g-item img { width: 100%; display: block; transition: transform .6s var(--ease); }
.gallery-masonry .g-item:hover img { transform: scale(1.04); }
.g-item-zoom {
  position: absolute; bottom: 0.8rem; right: 0.8rem; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--text); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s;
}
.gallery-masonry .g-item:hover .g-item-zoom { opacity: 1; transform: scale(1); }

.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(8,8,8,0.95); z-index: 500;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 82vh; border-radius: 6px; object-fit: contain; }
.lb-close { position: absolute; top: 1.4rem; right: 1.8rem; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12); border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }
.lb-prev { left: 1.4rem; } .lb-next { right: 1.4rem; }

/* ─── ZONE D'INTERVENTION ──────────────────────────── */
.zone-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.zone-block h3 { font-size: 1.2rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.6rem; }
.zone-chip-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.zone-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.05rem; border-radius: var(--r-btn); font-size: 0.95rem; font-weight: 500;
  background: #fff; color: var(--text); border: 1px solid var(--line);
}
.zone-chip.expand { border: 1px dashed var(--muted-2); }
.zone-chip.expand .tag { background: var(--ink); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.12rem 0.45rem; border-radius: 3px; text-transform: uppercase; }
.zone-note { margin-top: 1.4rem; padding: 1.1rem 1.3rem; background: var(--off-white); border-left: 3px solid var(--ink); border-radius: 0 var(--r-md) var(--r-md) 0; font-size: 0.95rem; color: var(--text); line-height: 1.65; }
#zoneMap { border-radius: var(--r-md); overflow: hidden; height: 440px; border: 1px solid var(--line); }

/* ─── FAQ ──────────────────────────────────────────── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.5rem 0; font-family: var(--font); font-size: 1.12rem; font-weight: 600; color: var(--text); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-btn .icon { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .3s, border-color .3s; }
.faq-item.open .faq-btn .icon { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; padding-bottom: 1.5rem; max-width: 700px; }

/* ─── FORMULAIRE DE DEVIS ──────────────────────────── */
.devis-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
.devis-side-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.devis-side-item:first-of-type { border-top: none; }
.devis-side-item svg { color: var(--ink); flex-shrink: 0; margin-top: 0.2rem; }
.devis-side-item strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 0.2rem; }
.devis-side-item span, .devis-side-item span a { font-size: 0.95rem; color: var(--muted); }

.devis-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.6rem; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid #dcdcdc; border-radius: var(--r-btn);
  font-size: 1rem; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer;
}
.form-urgence-row { display: flex; gap: 0.7rem; }
.urgence-option {
  flex: 1; display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; border-radius: var(--r-btn);
  border: 1px solid #dcdcdc; cursor: pointer; font-size: 0.92rem; font-weight: 500; color: var(--muted);
  transition: border-color .2s, color .2s, background .2s; user-select: none;
}
.form-group .urgence-option { text-transform: none; letter-spacing: 0; }
.urgence-option input { display: none; }
.urgence-option.selected, .urgence-option:has(input:checked) { border-color: var(--ink); color: var(--text); background: var(--surface); font-weight: 600; }
.urgence-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; flex-shrink: 0; }
.urgence-option.selected .urgence-dot, .urgence-option:has(input:checked) .urgence-dot { background: currentColor; }
.form-submit-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: var(--ink); color: #fff; padding: 1.05rem 2rem; border-radius: var(--r-btn);
  font-family: var(--font); font-size: 1.02rem; font-weight: 600; border: none; cursor: pointer; margin-top: 0.6rem;
  transition: opacity .2s;
}
.form-submit-btn:hover { opacity: 0.86; }
.form-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-mention { text-align: center; font-size: 0.85rem; color: var(--muted-2); margin-top: 0.9rem; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success .icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; margin-bottom: 1rem; }
.whatsapp-block { display: flex; align-items: center; gap: 1rem; background: #f3fbf5; border: 1px solid #cdeed6; border-radius: var(--r-md); padding: 1rem 1.2rem; margin-bottom: 1.1rem; }
.whatsapp-block-text { flex: 1; } .whatsapp-block-text strong { display: block; color: #15803d; font-size: 0.92rem; }
.whatsapp-block-text span { color: var(--muted); font-size: 0.85rem; }
.whatsapp-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: #25d366; color: #fff; padding: 0.65rem 1.15rem; border-radius: var(--r-btn); font-size: 0.9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ─── BANDE CONTACT (noire, pleine largeur) ────────── */
.cta-section { background: var(--black); padding: 104px 0; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-section .eyebrow { color: rgba(255,255,255,0.7); }
.cta-section h2 { color: #fff; font-size: clamp(1.75rem, 2.7vw, 2.45rem); max-width: 680px; line-height: 1.2; }
.cta-text p { color: rgba(255,255,255,0.75); font-size: 1.1rem; line-height: 1.6; max-width: 580px; margin-top: 0.9rem; }
.cta-text::after { content: ''; display: block; width: 120px; height: 3px; background: rgba(255,255,255,0.35); margin-top: 1.7rem; }
.cta-band-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
/* ancienne bande encadrée (au cas où une page l'utiliserait encore) */
.cta-band { background: var(--black); border-radius: var(--r-lg); padding: 4rem 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); max-width: 560px; }

/* ─── PIED DE PAGE (blanc) ─────────────────────────── */
footer.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 5rem 0 2rem; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; text-decoration: none; }
.footer-brand .brand-text { color: var(--text); }
.footer-desc { font-size: 0.98rem; line-height: 1.7; max-width: 330px; }
.footer-col-label { display: block; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.98rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-contact { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.98rem; margin-bottom: 0.8rem; text-decoration: none; color: var(--muted); }
.footer-contact svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--text); }
.footer-contact:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.88rem; color: var(--muted-2); }
.footer-bottom a { color: inherit; }
.footer-communes { border-top: 1px solid var(--line); padding: 1.3rem 0; margin-top: -1.5rem; margin-bottom: 1.5rem; font-size: 0.88rem; color: var(--muted-2); line-height: 1.9; }
.footer-communes a { color: var(--muted); text-decoration: none; }
.footer-communes a:hover { color: var(--text); }

/* ─── EN-TÊTE DES SOUS-PAGES ───────────────────────── */
.page-hero {
  position: relative; padding: calc(var(--topbar-h) + var(--nav-h) + 5rem) 0 5rem;
  background: var(--black); overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(255,255,255,0.08), transparent 60%);
}
.page-hero .eyebrow { color: rgba(255,255,255,0.62); position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.7rem); max-width: 760px; line-height: 1.18; position: relative; }
.page-hero h1 em { color: rgba(255,255,255,0.62); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.5); margin-bottom: 1.4rem; position: relative; }
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ─── LOGO IMAGE (si le client en fournit un) ──────── */
.brand-logo { height: 50px; width: auto; display: block; }

/* ─── PAGES TEXTE (mentions légales) ───────────────── */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.35rem; margin: 2.4rem 0 0.8rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.legal .todo { background: #fff8e6; border: 1px solid #f0d98c; border-radius: var(--r-md); padding: 0.9rem 1.1rem; font-size: 0.9rem; color: #8a6d1a; margin: 0.8rem 0 1.2rem; }

/* ─── PAGES COMMUNES ET PAGES PRESTATION ───────────── */
.local-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: start; }
.local-text p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.local-text p + p { margin-top: 1rem; }
.local-text h2 { margin-bottom: 1.1rem; }
.local-card { background: var(--off-white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem; position: sticky; top: calc(var(--topbar-h) + var(--nav-h) + 20px); }
.local-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.local-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.local-card .btn { width: 100%; justify-content: center; margin-top: 0.8rem; }
.local-services { display: flex; flex-direction: column; gap: 0.55rem; margin: 1.6rem 0 0.4rem; }
.local-services a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-btn); background: #fff; text-decoration: none; font-weight: 600; font-size: 0.98rem; transition: border-color .2s, transform .2s; }
.local-services a:hover { border-color: var(--ink); transform: translateX(3px); }
.local-services svg { color: var(--ink); flex-shrink: 0; }
.mini-map { height: 260px; border-radius: var(--r-md); overflow: hidden; margin-top: 1.4rem; }
.communes-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.communes-links a { text-decoration: none; }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-links a { padding: 0 0.55rem; font-size: 0.92rem; }
  .nav-links a.nav-cta { margin-left: 0.6rem; padding: 0.8rem 1.2rem !important; }
}
@media (max-width: 1080px) {
  .about-grid, .zone-layout, .devis-layout, .local-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .service-detail { grid-template-columns: 1fr; gap: 2rem; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .local-card { position: static; }
}
@media (max-width: 960px) {
  :root { --nav-h: 72px; }
  .nav-links, header .nav-cta { display: none; }
  .hamburger { display: flex; }
  .brand-text { font-size: 1.3rem; }
  .engagements-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 2.4rem; }
  .process-grid::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery-masonry { columns: 2 200px; }
}
@media (max-width: 760px) {
  .topbar { justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  section { padding: 76px 0; }
  .cta-section { padding: 76px 0; }
  .section-head { margin-bottom: 2.6rem; }
  .form-row, .form-urgence-row { grid-template-columns: 1fr; flex-direction: column; }
  .devis-form-card { padding: 1.6rem 1.3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; }
  .gallery-masonry { columns: 1 100%; }
  .about-media-badge { position: static; margin-top: 1rem; display: inline-block; }
  .brand-logo { height: 40px; }
}

/* ─── EFFET VITRINE + (formule Premium, body.vitrine-plus) ─── */
.vitrine-plus .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.vitrine-plus .split .w > span { display: inline-block; transform: translateY(105%); transition: transform .85s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.vitrine-plus .split.in .w > span { transform: none; }
.vitrine-plus .hero-media { will-change: transform; }
.vitrine-plus .engagement-card, .vitrine-plus .review-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }

/* ─── MOUVEMENT RÉDUIT : on respecte le réglage du téléphone ─── */
@media (prefers-reduced-motion: reduce) {
  body { animation: none; opacity: 1; }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { animation: none; }
  .hero-badge, .hero h1, .hero p.lead, .hero-btns, .hero-scroll { animation: none; opacity: 1; }
  .vitrine-plus .split .w > span { transform: none; transition: none; }
}
