/* =========================================================================
   ENTREPRISE HERRY — Aménagement intérieur professionnel
   Design system : "Trust & Authority" · Bordeaux #72101C · warm cream
   Fonts : Cinzel (marque/labels) · Playfair Display (titres) · Inter (corps)
   ========================================================================= */

/* ---------- Fonts ---------- */
/* Polices auto-hébergées : voir fonts.css (chargé avant cette feuille) */

/* ---------- Design tokens ---------- */
:root {
  /* Brand — bordeaux (sampled from real logo) */
  --bordeaux:        #72101C;
  --bordeaux-700:    #5c0d17;
  --bordeaux-900:    #430a11;
  --bordeaux-400:    #97303c;
  --bordeaux-tint:   #f4e9ea;

  /* Warm neutrals (to pair with wood / plants / cream photography) */
  --cream:           #faf6f0;
  --cream-2:         #f3ece1;
  --ivory:           #fffdf9;
  --sand:            #ece3d6;
  --line:            #e6ddd0;
  --line-strong:     #d8ccb9;

  /* Ink / text */
  --ink:             #1c1714;
  --ink-2:           #4a423c;
  --ink-3:           #6f665e;

  /* Dark surface (espresso) */
  --espresso:        #1a1512;
  --espresso-2:      #251d18;
  --espresso-line:   #3a2e26;

  /* Accents */
  --gold:            #c99a2e;   /* review stars */
  --forest:          #3f5e3a;   /* subtle biophilic echo */
  --forest-tint:     #eef2ea;
  --green-wa:        #25d366;   /* whatsapp */

  /* Semantic */
  --bg:              var(--cream);
  --surface:         var(--ivory);
  --text:            var(--ink);
  --muted:           var(--ink-3);
  --primary:         var(--bordeaux);

  /* Typography */
  --f-brand: 'Cinzel', Georgia, serif;
  --f-head:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows (soft, premium) */
  --sh-xs: 0 1px 2px rgba(28,23,20,.06);
  --sh-sm: 0 2px 10px rgba(28,23,20,.06);
  --sh:    0 10px 30px -12px rgba(28,23,20,.18);
  --sh-lg: 0 24px 60px -20px rgba(28,23,20,.28);
  --sh-bordeaux: 0 14px 30px -12px rgba(114,16,28,.45);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .28s;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 78px;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
body {
  font-family: var(--f-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg,video { display:block; max-width:100%; height:auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--bordeaux-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--f-brand);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bordeaux);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content:""; width: 26px; height: 1.5px; background: var(--bordeaux); opacity:.65;
}
.eyebrow.center { justify-content:center; }
.eyebrow.light { color: var(--bordeaux-400); }
.eyebrow.on-dark { color: #e8b9be; }
.eyebrow.on-dark::before { background:#e8b9be; }

h1,h2,h3,h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing:-.01em; }
.h-xxl { font-size: clamp(2.4rem, 5.4vw, 4.15rem); line-height:1.06; }
.h-xl  { font-size: clamp(2rem, 4vw, 3.1rem); }
.h-lg  { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.lead  { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--ink-2); line-height:1.6; }
.serif-em { font-style: italic; color: var(--bordeaux); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline:auto; padding-inline: var(--gutter); }
.container.wide { max-width: var(--container-wide); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline:auto; text-align:center; }
.section-head .lead { margin-top: 18px; }
.section-head h2 { margin-top: 16px; }

.bg-cream { background: var(--cream); }
.bg-ivory { background: var(--ivory); }
.bg-sand  { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.bg-dark  { background: var(--espresso); color: #efe7dd; }
.bg-dark h2,.bg-dark h3 { color:#fff; }
.bg-dark .lead { color: #cdbfb2; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items:center; justify-content:center; gap:.6em;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height:1;
  padding: 1.05em 1.6em; border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  will-change: transform; text-align:center; cursor:pointer;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--bordeaux); color:#fff; box-shadow: var(--sh-bordeaux); }
.btn-primary:hover { background: var(--bordeaux-700); transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(114,16,28,.55); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--bordeaux); color: var(--bordeaux); transform: translateY(-2px); }
.btn-light { background:#fff; color: var(--bordeaux); box-shadow: var(--sh-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn-outline-light { background: rgba(255,255,255,.06); color:#fff; border:1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color:#fff; transform: translateY(-2px); }
.btn-wa { background: var(--green-wa); color:#0b3d1e; }
.btn-wa:hover { filter:brightness(1.05); transform: translateY(-2px); }
.btn-lg { font-size: 1.06rem; padding: 1.15em 1.9em; }
.btn-block { width:100%; }

.link-arrow { display:inline-flex; align-items:center; gap:.5em; font-weight:600; color: var(--bordeaux); position:relative; }
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display:flex; align-items:center;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), height var(--dur) var(--ease);
}
.header::before {
  content:""; position:absolute; inset:0; background: rgba(250,246,240,.0);
  transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.header.scrolled { height: 66px; box-shadow: var(--sh-sm); }
.header.scrolled::before { background: rgba(250,246,240,.92); backdrop-filter: blur(10px); }
.header .container { display:flex; align-items:center; justify-content:space-between; gap: 24px; position:relative; z-index:1; }

.brand { display:flex; align-items:center; gap: 12px; }
.brand img { height: 46px; width:auto; transition: height var(--dur) var(--ease); }
.header.scrolled .brand img { height: 40px; }
.brand-txt { display:flex; flex-direction:column; line-height:1; }
.brand-txt b { font-family: var(--f-brand); font-weight:700; font-size: 1.18rem; letter-spacing:.06em; color: var(--bordeaux); }
.brand-txt span { font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-3); margin-top:4px; white-space:nowrap; }

/* header color states: transparent over hero = light text */
.header:not(.scrolled) .brand-txt b { color:#fff; }
.header:not(.scrolled) .brand-txt span { color: rgba(255,255,255,.8); }
.header:not(.scrolled) .nav a { color: rgba(255,255,255,.92); }
.header:not(.scrolled) .nav a:hover { color:#fff; }
.header:not(.scrolled) .header-phone { color:#fff; }
.header:not(.scrolled) .brand .logo-badge { background: rgba(255,255,255,.96); }

.logo-badge { background:#fff; border-radius: 12px; padding:5px; box-shadow: var(--sh-xs); display:grid; place-items:center; }

.nav { display:flex; align-items:center; gap: 26px; }
.nav a { font-weight:500; font-size:.96rem; color: var(--ink-2); position:relative; transition: color var(--dur) var(--ease); white-space:nowrap; }
.nav a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background: var(--bordeaux); transition: width var(--dur) var(--ease); }
.nav a:hover { color: var(--bordeaux); }
.nav a:hover::after { width:100%; }

.header-actions { display:flex; align-items:center; gap: 18px; }
.header-phone { display:inline-flex; align-items:center; gap:.5em; font-weight:600; font-size:.98rem; color: var(--ink); transition: color var(--dur) var(--ease); white-space:nowrap; }
.header-phone svg { width:1.05em;height:1.05em;color:var(--bordeaux); }
.header:not(.scrolled) .header-phone svg { color:#e8b9be; }

.burger { display:none; width:46px;height:46px; border-radius:12px; align-items:center; justify-content:center; }
.burger span { display:block; width:22px; height:2px; background: currentColor; position:relative; transition: all var(--dur) var(--ease); }
.burger span::before,.burger span::after { content:""; position:absolute; left:0; width:22px; height:2px; background: currentColor; transition: all var(--dur) var(--ease); }
.burger span::before { top:-7px; } .burger span::after { top:7px; }
.header:not(.scrolled) .burger { color:#fff; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top:0; transform: rotate(45deg); }
body.menu-open .burger span::after { top:0; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset:0; z-index: 99; background: var(--cream);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display:flex; flex-direction:column; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  overflow-y:auto;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a.m-link { font-family: var(--f-head); font-size: 1.6rem; padding: 16px 0; border-bottom:1px solid var(--line); color: var(--ink); }
.mobile-menu .m-cta { margin-top: 28px; display:flex; flex-direction:column; gap:12px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: min(94vh, 860px); display:flex; align-items:flex-end; color:#fff; overflow:hidden; }
.hero-media { position:absolute; inset:0; z-index:0; }
.hero-media img { width:100%; height:100%; object-fit:cover; animation: kenburns 24s var(--ease) both; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce){ .hero-media img { animation: none; } }
.hero-media::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(26,21,18,.55) 0%, rgba(26,21,18,.15) 32%, rgba(26,21,18,.35) 62%, rgba(26,21,18,.92) 100%),
    linear-gradient(90deg, rgba(67,10,17,.5) 0%, rgba(67,10,17,0) 60%);
}
.hero-inner { position:relative; z-index:1; width:100%; padding-block: clamp(120px, 16vh, 190px) clamp(40px, 6vw, 72px); }
.hero h1 { color:#fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lead { color: rgba(255,255,255,.92); max-width: 54ch; margin-top: 22px; }
.hero-cta { display:flex; flex-wrap:wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display:flex; flex-wrap:wrap; align-items:center; gap: 12px 26px; margin-top: 40px; padding-top: 26px; border-top:1px solid rgba(255,255,255,.18); }
.hero-trust .ht { display:flex; align-items:center; gap:.55em; font-size:.92rem; color: rgba(255,255,255,.9); font-weight:500; }
.hero-trust .ht svg { width:1.2em;height:1.2em; color:#e8b9be; flex:none; }
.hero-trust .stars { color: var(--gold); letter-spacing:.05em; }

.hero-badge {
  position:absolute; z-index:1; right: var(--gutter); top: calc(var(--header-h) + 20px);
  background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px);
  border-radius: var(--r); padding: 12px 18px; display:flex; align-items:center; gap:12px;
}
.hero-badge b { font-family: var(--f-head); font-size:1.5rem; color:#fff; line-height:1; }
.hero-badge .hb-txt { font-size:.72rem; color:rgba(255,255,255,.85); line-height:1.3; }
.hero-badge .stars { color: var(--gold); font-size:.8rem; }

/* ==========================================================================
   CLIENT LOGOS
   ========================================================================== */
.clients { padding-block: clamp(34px,4vw,52px); border-bottom:1px solid var(--line); background: var(--ivory); }
.clients-label { text-align:center; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-3); font-weight:600; margin-bottom: 26px; }
.clients-label b { color: var(--bordeaux); }
.marquee { position:relative; overflow:hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display:flex; align-items:center; gap: clamp(40px,6vw,80px); width:max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 40px; width:auto; object-fit:contain; filter: grayscale(1); opacity:.62; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.marquee-track img:hover { filter: grayscale(0); opacity:1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation:none; flex-wrap:wrap; justify-content:center; width:auto; } }

/* ==========================================================================
   VALUE / PROBLEM-SOLUTION
   ========================================================================== */
.split { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items:center; }
.split.reverse .split-media { order:2; }
.split-media { position:relative; border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--sh-lg); }
.split-media img { width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3.2; }
.split-media .tag {
  position:absolute; left:18px; bottom:18px; background: rgba(26,21,18,.72); backdrop-filter: blur(6px);
  color:#fff; padding:8px 14px; border-radius: var(--r-pill); font-size:.82rem; font-weight:500;
}
.pain-list { display:grid; gap: 14px; margin-top: 26px; }
.pain-list li { display:flex; gap: 14px; align-items:flex-start; font-size:1.02rem; color: var(--ink-2); }
.pain-list .ic { flex:none; width:30px;height:30px;border-radius:50%; display:grid;place-items:center; background: var(--bordeaux-tint); color: var(--bordeaux); margin-top:1px; }
.pain-list .ic svg { width:16px;height:16px; }
.solution-card {
  margin-top: 30px; background: var(--espresso); color:#f0e8de; border-radius: var(--r-lg); padding: 28px 30px;
  display:flex; gap:18px; align-items:center; box-shadow: var(--sh);
}
.solution-card .qmark { font-family: var(--f-head); font-size: 3rem; color: var(--bordeaux-400); line-height:.6; }
.solution-card p { font-size:1.08rem; }
.solution-card b { color:#fff; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.svc-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.svc-card {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position:relative; overflow:hidden;
}
.svc-card::before { content:""; position:absolute; inset:0 0 auto 0; height:3px; background: var(--bordeaux); transform: scaleX(0); transform-origin:left; transition: transform var(--dur) var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--line-strong); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ic { width: 62px; height:62px; border-radius: 16px; background: var(--forest-tint); display:grid; place-items:center; margin-bottom: 20px; border:1px solid var(--line); }
.svc-ic img { width: 34px; height:34px; object-fit:contain; }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svc-card p { color: var(--ink-2); font-size:.98rem; }
.svc-num { position:absolute; top:22px; right:26px; font-family: var(--f-head); font-size: 2.4rem; color: var(--sand); line-height:1; z-index:0; }

/* ==========================================================================
   REALISATIONS GALLERY
   ========================================================================== */
.gallery-filters { display:flex; flex-wrap:wrap; gap: 10px; justify-content:center; margin-bottom: 40px; }
.filter-btn { padding:.6em 1.15em; border-radius: var(--r-pill); border:1.5px solid var(--line-strong); font-size:.9rem; font-weight:500; color: var(--ink-2); transition: all var(--dur) var(--ease); }
.filter-btn:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.filter-btn.active { background: var(--bordeaux); border-color: var(--bordeaux); color:#fff; }

.gallery { display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gcard { position:relative; overflow:hidden; border-radius: var(--r); cursor:pointer; background:#211a16; box-shadow: var(--sh-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity .35s var(--ease); aspect-ratio: 4/3.05; }
.gcard.feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gcard.feature.feature-off { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3.05; }
.gcard.hide { display:none; }
.gcard img { width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease); }
.gcard::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(26,21,18,0) 40%, rgba(26,21,18,.86)); opacity:.85; transition: opacity var(--dur) var(--ease); }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.gcard:hover img { transform: scale(1.06); }
.gcard-cap { position:absolute; z-index:1; left:0; right:0; bottom:0; padding: 20px; color:#fff; transform: translateY(6px); transition: transform var(--dur) var(--ease); }
.gcard:hover .gcard-cap { transform: translateY(0); }
.gcard-cap .cat { font-family: var(--f-brand); font-size:.64rem; letter-spacing:.18em; text-transform:uppercase; color:#e8b9be; }
.gcard-cap h4 { font-family: var(--f-head); font-weight:600; font-size:1.02rem; color:#fff; margin-top:4px; line-height:1.25; }
.gcard .zoom { position:absolute; z-index:1; top:14px; right:14px; width:38px;height:38px;border-radius:50%; background: rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); display:grid; place-items:center; opacity:0; transform: scale(.8); transition: all var(--dur) var(--ease); }
.gcard:hover .zoom { opacity:1; transform: scale(1); }
.gcard .zoom svg { width:18px;height:18px;color:#fff; }

/* Lightbox */
.lightbox { position:fixed; inset:0; z-index:200; background: rgba(16,12,10,.92); backdrop-filter: blur(6px); display:none; align-items:center; justify-content:center; padding: 4vw; opacity:0; transition: opacity var(--dur) var(--ease); }
.lightbox.open { display:flex; opacity:1; }
.lightbox img { max-width:92vw; max-height:82vh; border-radius: var(--r); box-shadow: var(--sh-lg); }
.lb-cap { position:absolute; bottom: 3vh; left:0; right:0; text-align:center; color:#fff; font-family: var(--f-head); font-size:1.05rem; padding-inline: 20px; }
.lb-close,.lb-nav { position:absolute; background: rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3); color:#fff; width:52px;height:52px;border-radius:50%; display:grid;place-items:center; transition: background var(--dur) var(--ease); }
.lb-close:hover,.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 3vh; right: 3vw; } .lb-close svg,.lb-nav svg{width:22px;height:22px;}
.lb-prev { left: 2vw; top:50%; transform: translateY(-50%); }
.lb-next { right: 2vw; top:50%; transform: translateY(-50%); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.step { position:relative; padding-top: 34px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-head); font-weight:700; font-size: 3rem; color: var(--bordeaux); opacity:.16; position:absolute; top:-14px; left:0; }
.step .dot { width:16px;height:16px;border-radius:50%; background: var(--bordeaux); box-shadow: 0 0 0 6px var(--bordeaux-tint); margin-bottom:18px; position:relative; z-index:1; }
.step h3 { font-size:1.18rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size:.95rem; }
.bg-dark .step::before { color:#e8b9be; opacity:.22; }
.bg-dark .step .dot { background:#e8b9be; box-shadow: 0 0 0 6px rgba(232,185,190,.14); }
.bg-dark .step p { color:#cdbfb2; }
.process-line { position:absolute; top:calc(34px + 8px); left:8%; right:8%; height:1.5px; background: linear-gradient(90deg, transparent, var(--espresso-line), transparent); z-index:0; }

/* ==========================================================================
   WHY US / STATS
   ========================================================================== */
.why-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items:center; }
.why-media { position:relative; }
.why-media img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width:100%; aspect-ratio: 4/4.4; object-fit:cover; }
.why-media .float-stat {
  position:absolute; bottom: -22px; left: -22px; background:#fff; border-radius: var(--r); padding: 20px 24px; box-shadow: var(--sh);
  display:flex; align-items:center; gap:16px; border:1px solid var(--line);
}
.float-stat .big { font-family: var(--f-head); font-weight:700; font-size:2.4rem; color: var(--bordeaux); line-height:1; }
.float-stat .lbl { font-size:.82rem; color: var(--ink-3); line-height:1.3; }

.commit-list { display:grid; gap: 18px; margin-top: 28px; }
.commit-list li { display:flex; gap:14px; align-items:flex-start; }
.commit-list .ic { flex:none; width:34px;height:34px;border-radius:10px; background: var(--bordeaux); color:#fff; display:grid;place-items:center; }
.commit-list .ic svg { width:18px;height:18px; }
.commit-list b { display:block; font-family: var(--f-body); font-weight:600; color: var(--ink); font-size:1.03rem; }
.commit-list span { color: var(--ink-2); font-size:.95rem; }

.stats-band { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align:center; }
.stat { padding: 12px; }
.stat .num { font-family: var(--f-head); font-weight:700; font-size: clamp(2.2rem,4vw,3.2rem); color: var(--bordeaux); line-height:1; }
.bg-dark .stat .num { color:#e8b9be; }
.stat .num small { font-size:.5em; }
.stat .cap { margin-top:10px; font-size:.9rem; color: var(--ink-3); letter-spacing:.02em; }
.bg-dark .stat .cap { color:#cdbfb2; }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.reviews-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom: 44px; }
.google-badge { display:flex; align-items:center; gap:16px; background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 16px 22px; box-shadow: var(--sh-sm); }
.google-badge .gnum { font-family: var(--f-head); font-weight:700; font-size: 2.4rem; color: var(--ink); line-height:1; }
.google-badge .stars { color: var(--gold); font-size: 1.05rem; letter-spacing:.06em; }
.google-badge .sub { font-size:.82rem; color: var(--ink-3); }
.google-badge .glogo { font-weight:600; font-size:.9rem; }
.google-badge .g-b{color:#4285F4}.google-badge .g-r{color:#EA4335}.google-badge .g-y{color:#FBBC05}.google-badge .g-g{color:#34A853}

.reviews-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.review {
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 24px;
  display:flex; flex-direction:column; gap:14px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.review .stars { color: var(--gold); letter-spacing:.05em; font-size:1rem; }
.review p { color: var(--ink-2); font-size:.98rem; line-height:1.6; flex:1; }
.review .who { display:flex; align-items:center; gap:12px; padding-top:6px; border-top:1px solid var(--line); }
.review .av { width:42px;height:42px;border-radius:50%; background: var(--bordeaux); color:#fff; display:grid;place-items:center; font-family:var(--f-head); font-weight:700; font-size:1.05rem; }
.review .who b { font-size:.95rem; color: var(--ink); font-family:var(--f-body); }
.review .who span { font-size:.78rem; color: var(--ink-3); display:flex; align-items:center; gap:5px; }
.review .who span svg{width:13px;height:13px;color:#34A853;}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline:auto; }
.faq-item { border-bottom:1px solid var(--line); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; padding: 24px 4px; text-align:left; font-family: var(--f-head); font-weight:600; font-size: 1.18rem; color: var(--ink); }
.faq-q .pm { flex:none; width:32px;height:32px;border-radius:50%; border:1.5px solid var(--line-strong); display:grid;place-items:center; transition: all var(--dur) var(--ease); }
.faq-q .pm svg{width:16px;height:16px; transition: transform var(--dur) var(--ease);}
.faq-item.open .faq-q .pm { background: var(--bordeaux); border-color: var(--bordeaux); color:#fff; }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .38s var(--ease); }
.faq-a p { padding: 0 4px 26px; color: var(--ink-2); font-size:1.0rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,56px); align-items:stretch; }
.contact-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px,4vw,44px); box-shadow: var(--sh-sm); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field { margin-bottom:16px; }
.field label { display:block; font-size:.86rem; font-weight:600; color: var(--ink-2); margin-bottom:7px; }
.field label .req { color: var(--bordeaux); }
.field input,.field select,.field textarea {
  width:100%; font: inherit; font-size:.98rem; color: var(--ink); background: var(--cream);
  border:1.5px solid var(--line-strong); border-radius: var(--r-sm); padding: .85em 1em; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus,.field select:focus,.field textarea:focus { outline:none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px var(--bordeaux-tint); }
.field textarea { resize:vertical; min-height: 110px; }
.form-consent { display:flex; gap:10px; align-items:flex-start; font-size:.85rem; color: var(--ink-3); margin: 6px 0 18px; }
.form-consent input { margin-top:3px; accent-color: var(--bordeaux); flex:none; }
.form-note { text-align:center; font-size:.84rem; color: var(--ink-3); margin-top:14px; display:flex; align-items:center; justify-content:center; gap:.5em; }
.form-note svg { width:1.05em;height:1.05em; color: var(--forest); }
.form-success { display:none; text-align:center; padding: 20px; }
.form-success.show { display:block; }
.form-success .chk { width:64px;height:64px;border-radius:50%; background: var(--forest-tint); color: var(--forest); display:grid;place-items:center; margin:0 auto 18px; }
.form-success .chk svg{width:32px;height:32px;}

/* Multi-step form */
.form-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:16px; }
.form-step-label { font-size:.82rem; font-weight:600; color: var(--bordeaux); font-family: var(--f-brand); letter-spacing:.08em; white-space:nowrap; }
.progress { height:6px; background: var(--sand); border-radius: var(--r-pill); overflow:hidden; margin-bottom: 28px; }
.progress span { display:block; height:100%; background: linear-gradient(90deg, var(--bordeaux-400), var(--bordeaux)); border-radius: var(--r-pill); transition: width .45s var(--ease); }
.fstep { border:none; padding:0; margin:0; min-width:0; }
.fstep[hidden] { display:none; }
.fstep-q { font-family: var(--f-head); font-weight:600; font-size: 1.32rem; color: var(--ink); margin-bottom: 20px; padding:0; line-height:1.25; }
.choice-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  display:flex; flex-direction:column; align-items:flex-start; gap:12px; text-align:left;
  padding: 18px 16px; border:1.5px solid var(--line-strong); border-radius: var(--r); background: var(--cream);
  font-weight:600; font-size:.96rem; color: var(--ink); transition: all var(--dur) var(--ease); min-height: 96px;
}
.choice svg { width:26px; height:26px; color: var(--bordeaux); }
.choice:hover { border-color: var(--bordeaux); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.choice.selected { border-color: var(--bordeaux); background: var(--bordeaux-tint); box-shadow: 0 0 0 2px var(--bordeaux) inset; }
.form-nav { display:flex; gap:12px; margin-top: 24px; }
.form-nav .btn-ghost { flex:none; }

.contact-info { display:flex; flex-direction:column; gap: 14px; }
.info-item { display:flex; gap:16px; align-items:flex-start; background: var(--surface); border:1px solid var(--line); border-radius: var(--r); padding: 18px 20px; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.info-item:hover { border-color: var(--line-strong); transform: translateX(3px); }
.info-item .ic { flex:none; width:46px;height:46px;border-radius:12px; background: var(--bordeaux-tint); color: var(--bordeaux); display:grid;place-items:center; }
.info-item .ic svg{width:22px;height:22px;}
.info-item .lbl { font-size:.76rem; text-transform:uppercase; letter-spacing:.1em; color: var(--ink-3); font-weight:600; }
.info-item .val { font-size:1.05rem; font-weight:600; color: var(--ink); }
.info-item .val.sm { font-size:.95rem; font-weight:500; }
.info-socials { display:flex; gap:12px; margin-top:4px; }
.info-socials a { width:44px;height:44px;border-radius:12px; border:1px solid var(--line); display:grid;place-items:center; color: var(--ink-2); transition: all var(--dur) var(--ease); }
.info-socials a:hover { background: var(--bordeaux); border-color:var(--bordeaux); color:#fff; transform: translateY(-3px); }
.info-socials a svg{width:20px;height:20px;}
.map-wrap { border-radius: var(--r); overflow:hidden; border:1px solid var(--line); margin-top: 4px; box-shadow: var(--sh-sm); }
.map-wrap iframe { width:100%; height: 220px; border:0; display:block; filter: grayscale(.2); }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip { position:relative; overflow:hidden; background: var(--bordeaux); color:#fff; border-radius: var(--r-xl); padding: clamp(40px,6vw,72px); text-align:center; box-shadow: var(--sh-lg); }
.cta-strip::before,.cta-strip::after { content:""; position:absolute; border-radius:50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.cta-strip::before { width:420px;height:420px; top:-180px; right:-120px; }
.cta-strip::after { width:360px;height:360px; bottom:-200px; left:-100px; }
.cta-strip > * { position:relative; z-index:1; }
.cta-strip h2 { color:#fff; }
.cta-strip .lead { color: rgba(255,255,255,.9); margin: 16px auto 30px; max-width: 56ch; }
.cta-strip .hero-cta { justify-content:center; }

/* ==========================================================================
   EN IMMERSION (video)
   ========================================================================== */
/* ---------- Le film ---------- */
.film-cadre { max-width: 980px; margin: clamp(30px, 4vw, 52px) auto 0; border-radius: var(--r-lg); overflow:hidden; background:#000; box-shadow: var(--sh-lg); }
.film-video { display:block; width:100%; height:auto; }

/* Video modal */
.video-modal { position:fixed; inset:0; z-index:210; background:rgba(16,12,10,.94); backdrop-filter:blur(6px); display:none; align-items:center; justify-content:center; padding:5vw; opacity:0; transition:opacity var(--dur) var(--ease); }
.video-modal.open { display:flex; opacity:1; }
.video-modal .vframe { width:min(1000px,92vw); aspect-ratio:16/9; border-radius:var(--r); overflow:hidden; box-shadow:var(--sh-lg); background:#000; }
.video-modal iframe { width:100%; height:100%; border:0; }
.video-modal .lb-close { position:absolute; top:3vh; right:3vw; }

/* ==========================================================================
   RÉFÉRENCES — logo wall
   ========================================================================== */
.logo-wall { display:grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.lw { display:grid; place-items:center; background: var(--surface); border:1px solid var(--line); border-radius: var(--r); padding: 22px 16px; min-height: 96px; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.lw img { max-height: 46px; width:auto; max-width:100%; object-fit:contain; filter: grayscale(1); opacity:.6; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.lw:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.lw:hover img { filter: grayscale(0); opacity:1; }
.refs-note { text-align:center; margin-top: 26px; color: var(--ink-3); font-size:.95rem; font-style:italic; }

/* Signature */
.signature { margin: 22px 0 4px; }
.sig-name { display:block; font-family: var(--f-head); font-style:italic; font-weight:600; font-size: 1.9rem; color: var(--bordeaux); line-height:1; }
.sig-role { display:block; font-size:.82rem; letter-spacing:.04em; color: var(--ink-3); margin-top:8px; text-transform:uppercase; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--espresso); color:#c9bcae; padding-block: clamp(52px,6vw,80px) 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-txt b { color:#fff; }
.footer p { font-size:.94rem; line-height:1.7; margin-top:16px; color:#a89a8c; max-width: 34ch; }
.footer h4 { font-family: var(--f-body); font-weight:600; font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; color:#fff; margin-bottom: 18px; }
.footer-links { display:grid; gap:11px; }
.footer-links a { font-size:.95rem; color:#c9bcae; transition: color var(--dur) var(--ease); }
.footer-links a:hover { color:#fff; }
.footer-contact { display:grid; gap:12px; }
.footer-contact a { display:flex; gap:10px; align-items:flex-start; font-size:.95rem; color:#c9bcae; }
.footer-contact svg{width:18px;height:18px;color:#e8b9be;flex:none;margin-top:2px;}
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top:1px solid var(--espresso-line); display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; font-size:.85rem; color:#8a7c6e; }
.footer-bottom a { color:#8a7c6e; } .footer-bottom a:hover{color:#fff;}

/* ==========================================================================
   MOBILE STICKY CTA BAR
   ========================================================================== */
.mobile-bar { position:fixed; left:0; right:0; bottom:0; z-index:90; display:none; gap:10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(250,246,240,.96); backdrop-filter: blur(10px); border-top:1px solid var(--line); box-shadow: 0 -6px 24px -10px rgba(28,23,20,.2); }
.mobile-bar .btn { flex:1; padding: .95em 1em; font-size:.95rem; }
.mobile-bar .btn-call { flex:none; width:52px; padding:0; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-hero { padding: calc(var(--header-h) + 56px) 0 40px; background: var(--espresso); color:#efe7dd; }
.legal-hero h1 { color:#fff; font-size: clamp(2rem,4vw,3rem); }
.legal-hero p { color:#cdbfb2; margin-top:12px; max-width:60ch; }
.legal { max-width: 820px; margin-inline:auto; }
.legal h2 { font-size:1.4rem; margin: 38px 0 12px; color: var(--bordeaux); }
.legal h2:first-child { margin-top:0; }
.legal p, .legal li { color: var(--ink-2); font-size:1rem; line-height:1.75; margin-bottom: 12px; }
.legal ul { padding-left: 0; }
.legal li { padding-left: 22px; position:relative; }
.legal li::before { content:""; position:absolute; left:4px; top:12px; width:6px;height:6px;border-radius:50%; background: var(--bordeaux); }
.legal strong { color: var(--ink); }
.legal a { color: var(--bordeaux); font-weight:500; }
.legal .back { display:inline-flex; align-items:center; gap:.5em; margin-top: 40px; font-weight:600; color: var(--bordeaux); }
.legal-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; margin: 18px 0; }

/* ==========================================================================
   FLOATING WHATSAPP (desktop)
   ========================================================================== */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 88;
  display:flex; align-items:center; gap:0; background: var(--green-wa); color:#0b3d1e;
  border-radius: var(--r-pill); box-shadow: 0 10px 30px -8px rgba(37,211,102,.55); padding: 14px;
  font-weight:600; overflow:hidden; transition: gap var(--dur) var(--ease), padding var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.wa-float svg { width: 28px; height:28px; flex:none; }
.wa-float span { max-width:0; white-space:nowrap; overflow:hidden; transition: max-width .4s var(--ease); font-size:.95rem; }
.wa-float:hover { gap:10px; padding-right: 20px; transform: translateY(-2px); }
.wa-float:hover span { max-width: 200px; }
@media (max-width: 860px){ .wa-float { display:none; } }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}.reveal.d5{transition-delay:.4s}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;} }
/* Sans JavaScript (ou rendu par un robot), tout le contenu doit rester visible */
.no-js .reveal { opacity:1; transform:none; }
.no-js .faq-a { display:block; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px){
  .header-phone { display:none; }
  .nav { gap: 20px; }
  .logo-wall { grid-template-columns: repeat(4,1fr); }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: repeat(2,1fr); row-gap:36px; }
  .process-line { display:none; }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap:32px; }
}
@media (max-width: 860px){
  .nav, .header-phone, .header-actions > .btn-primary { display:none; }
  .burger { display:flex; }
  .split, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order:0; }
  .why-media { width:100%; max-width: 480px; margin-inline:auto; }
  .why-media .float-stat { left: 12px; right:auto; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .gcard.feature { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3.05; }
  .logo-wall { grid-template-columns: repeat(3,1fr); }
  .stats-band { grid-template-columns: repeat(2,1fr); row-gap:32px; }
  .reviews-head { justify-content:center; text-align:center; }
  .mobile-bar { display:flex; }
  body { padding-bottom: 74px; }
  .hero-badge { display:none; }
}
@media (max-width: 560px){
  .svc-grid, .reviews-grid { grid-template-columns: 1fr; }
  /* Cartes galerie compactes : on retire l'étiquette de catégorie (portée par les filtres) */
  .gcard-cap { padding:12px; }
  .gcard-cap .cat { display:none; }
  .gcard-cap h4 { font-size:.95rem; line-height:1.3; }
  .gcard.feature .gcard-cap { padding:16px; }
  .gcard.feature .gcard-cap .cat { display:inline-block; }
  .logo-wall { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction:column; align-items:stretch; }
  .hero-cta .btn { width:100%; }
  .cta-strip .hero-cta { align-items:stretch; }
  .solution-card { flex-direction:column; text-align:center; gap:10px; }
}

/* Carte Google chargée uniquement au clic (conformité traceurs tiers) */
.map-consent {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  width:100%; min-height:220px; padding:24px; cursor:pointer;
  background:#EFE9E0; border:1.5px dashed #C9BEB0; border-radius:var(--r, 12px);
  color:#5C534E; font:inherit; text-align:center; transition:background .2s ease;
}
.map-consent:hover { background:#EAE2D6; }
.map-consent svg { width:30px; height:30px; color:#72101C; }
.map-consent b { color:#241E1C; }
.map-consent small { max-width:36ch; line-height:1.45; color:#8A7F78; }
