/* =========================================================
   MAVIS CONSTRUCTION — Design System "BLASON"
   Maçonnerie · Gros œuvre · Déconstruction · Sciage · BRH — Lyon
   Palette héraldique : bleu royal · rouge brique · or · pierre
   v5 — refonte complète
   ========================================================= */

:root {
  /* ---- Bleu royal / navy (héraldique + structure) ---- */
  --royal-900: #0A1A33;   /* ink profond — sections sombres */
  --royal-800: #0E2547;
  --royal-700: #123059;
  --royal-600: #18407A;
  --royal: #1A47A8;       /* bleu du blason */
  --royal-bright: #2B63D6;
  --royal-tint: rgba(26, 71, 168, 0.10);

  /* ---- Rouge brique (champ du blason) ---- */
  --brick: #D02A20;
  --brick-bright: #E8392A;
  --brick-deep: #9E2017;
  --brick-tint: rgba(208, 42, 32, 0.10);
  --brick-line: rgba(208, 42, 32, 0.34);

  /* ---- Or (fleurs de lys) ---- */
  --gold: #E2B23C;
  --gold-deep: #C7912A;
  --gold-soft: rgba(226, 178, 60, 0.45);

  /* ---- Pierre / béton chaud (neutres clairs) ---- */
  --paper: #F5F2EB;
  --paper-2: #ECE7DC;
  --surface: #FFFFFF;
  --surface-raise: #FFFFFF;
  --stone-line: #DED7C8;
  --stone-line-2: #CCC2AF;

  /* ---- Texte ---- */
  --text: #131F2C;
  --text-soft: #4A5663;
  --text-mute: #5F6A76;
  --text-on-dark: #EAF0F8;
  --text-on-dark-soft: #9FB2C9;

  /* ---- Type ---- */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.5s var(--ease);

  /* ---- Élévation ---- */
  --shadow-sm: 0 2px 8px rgba(10, 26, 51, 0.06);
  --shadow-md: 0 18px 40px -16px rgba(10, 26, 51, 0.22);
  --shadow-lg: 0 40px 80px -28px rgba(8, 19, 32, 0.45);

  /* ---- Radii ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  /* ---- Layout ---- */
  --maxw: 1240px;

  /* ---- Alias hérités (pour ne jamais casser l'ancien markup/JS) ---- */
  --crimson: var(--brick);
  --crimson-hover: var(--brick-bright);
  --navy: var(--royal-600);
  --navy-dark: var(--royal-800);
  --navy-deep: var(--royal-900);
  --white: #ffffff;
  --off-white: var(--paper-2);
  --body-bg: var(--paper);
  --text-main: var(--text);
  --text-muted: var(--text-soft);
  --text-dark: var(--text);
  --border-light: var(--stone-line);
  --mineral: var(--text-on-dark-soft);
  --anthracite: var(--royal-700);
  --concrete: var(--royal-600);
  --primary-color: var(--brick);
  --transition-fast: var(--t-fast);
  --ink-800: var(--royal-800);
  --ink-900: var(--royal-900);
  --ink-700: var(--royal-700);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-offset, 110px); overflow-x: hidden; overscroll-behavior-x: none; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

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

::selection { background: var(--brick); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Film-grain subtil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.032;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem; }

/* ============ ACCESSIBILITÉ ============ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--surface); color: var(--text);
  padding: 0.75rem 1.25rem; text-decoration: underline;
  border-radius: 0 0 var(--r-sm) 0; box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 0; }

/* ============ BARRE DE PROGRESSION ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 1100;
  background: linear-gradient(90deg, var(--royal), var(--brick) 55%, var(--gold));
  box-shadow: 0 0 12px rgba(208, 42, 32, 0.5);
  transform: scaleX(0);
  transform-origin: left;
}

/* ============ TYPOGRAPHIE ============ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--royal);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brick);
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.on-dark::before { background: var(--gold); }

/* ============ BUTTONS ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 1rem 1.1rem 1rem 1.65rem; font-size: 1rem; }

.btn .btn-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform var(--t-fast), background var(--t-fast);
}
.btn:hover .btn-ic { transform: translate(3px, -3px); }

.btn-primary {
  background: var(--brick);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(208, 42, 32, 0.6);
}
.btn-primary .btn-ic { background: rgba(255, 255, 255, 0.16); }
.btn-primary:hover { background: var(--brick-bright); box-shadow: 0 18px 40px -12px rgba(208, 42, 32, 0.72); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--stone-line-2);
  color: var(--text);
  padding-left: 1.4rem;
}
.btn-outline .btn-ic { background: var(--brick-tint); color: var(--brick); }
.btn-outline:hover { border-color: var(--royal); background: var(--royal-tint); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.btn-sm { padding: 0.55rem 0.6rem 0.55rem 1.05rem; font-size: 0.85rem; }
.btn-sm .btn-ic { width: 24px; height: 24px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

.on-dark-zone .btn-outline { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.on-dark-zone .btn-outline .btn-ic { background: rgba(255, 255, 255, 0.12); color: #fff; }
.on-dark-zone .btn-outline:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); }

/* ============ HEADER — îlot flottant ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 1.6rem;
  transition: padding var(--t-med);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.5rem 0.6rem 0.5rem 0.7rem;
  background: rgba(245, 242, 235, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(222, 215, 200, 0.7);
  border-radius: 999px;
  box-shadow: 0 12px 34px -18px rgba(8, 19, 32, 0.4);
  transition: background var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.site-header.scrolled .header-inner {
  background: rgba(251, 249, 245, 0.94);
  box-shadow: 0 16px 42px -18px rgba(8, 19, 32, 0.5);
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-image-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  transition: transform var(--t-fast);
}
.logo-image-wrap:hover { transform: translateY(-1px); }
.logo-img { height: 46px; width: auto; filter: drop-shadow(0 4px 8px rgba(10, 26, 51, 0.18)); }
.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--royal-800);
}
.logo-word span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brick);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 0.2rem; }
.nav-links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: 999px;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem;
  bottom: 0.32rem;
  height: 1.5px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--royal-800);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: color var(--t-fast), background var(--t-fast);
}
.header-phone svg { color: var(--brick); }
.header-phone:hover { color: var(--brick); background: var(--brick-tint); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--stone-line-2);
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--royal-800);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 19, 32, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-fast), visibility var(--t-fast);
  z-index: 900;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed;
  top: 0.9rem; left: 0.9rem; right: 0.9rem;
  max-height: calc(100dvh - 1.8rem);
  background: var(--royal-800);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  padding: 1.2rem 1.3rem 1.6rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px) scale(0.98);
  opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
  z-index: 950;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; visibility: visible; }
.mobile-nav-header { display: flex; justify-content: flex-end; }
.mobile-nav-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer; transition: background var(--t-fast);
  display: grid; place-items: center;
}
.mobile-nav-close:hover { background: rgba(255, 255, 255, 0.14); }
.mobile-nav-content { display: flex; flex-direction: column; margin-top: 0.5rem; }
.mobile-nav-link {
  padding: 0.8rem 0;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-nav-link::after { content: "↗"; font-family: var(--font-body); font-size: 1rem; color: var(--text-on-dark-soft); }
.mobile-nav-link:hover { color: var(--brick-bright); padding-left: 0.4rem; }
.mobile-nav-link.is-active { color: var(--gold); padding-left: 0.4rem; }
.mobile-nav-link.is-active::after { content: "●"; color: var(--gold); font-size: 0.7rem; }
.mobile-nav-cta { margin-top: 1.3rem; }
/* compat ancien markup légal */
.mobile-nav-inner { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-nav-inner a { padding: 0.7rem 0; color: var(--text-on-dark); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; border-bottom: 1px solid rgba(255,255,255,0.07); }

body.mobile-nav-open, body.modal-open { overflow: hidden; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--royal-900);
  color: var(--text-on-dark);
  padding: 11rem 0 6rem;
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(45%) contrast(1.05) brightness(0.55);
  z-index: -3;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-bg-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(105deg, rgba(10, 26, 51, 0.94) 0%, rgba(10, 26, 51, 0.78) 42%, rgba(10, 26, 51, 0.55) 100%),
    linear-gradient(180deg, transparent 52%, var(--royal-900) 100%);
}
.hero-overlay-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 28% 38%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 28% 38%, #000 0%, transparent 72%);
}
.hero-spark {
  position: absolute;
  top: 18%; right: 14%;
  width: 460px; height: 460px;
  z-index: -1;
  background: radial-gradient(circle, rgba(43, 99, 214, 0.30), transparent 62%);
  filter: blur(10px);
  animation: sparkPulse 7s var(--ease-soft) infinite alternate;
}
@keyframes sparkPulse { from { opacity: 0.5; transform: scale(0.9); } to { opacity: 1; transform: scale(1.12); } }

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-soft);
  color: var(--text-on-dark);
  margin-bottom: 1.6rem;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 178, 60, 0.18);
  animation: dotPulse 2.4s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(226,178,60,0.18); } 50% { box-shadow: 0 0 0 8px rgba(226,178,60,0.04); } }

.hero-title {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.hero-line { display: block; overflow: hidden; }
.hero-line-accent {
  color: transparent;
  background: linear-gradient(100deg, var(--brick-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-rotator {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}
.rotator {
  position: relative;
  display: inline-grid;
  vertical-align: bottom;
}
.rotator-word {
  grid-area: 1 / 1;
  color: var(--gold);
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  white-space: nowrap;
}
.rotator-word.is-active { opacity: 1; transform: translateY(0); }

.hero-tagline {
  font-size: 1.02rem;
  color: var(--text-on-dark-soft);
  max-width: 36rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.2rem; }
.hero-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-soft);
}
.hero-note::before { content: "// "; color: var(--brick-bright); }

/* Emblème + metrics */
.hero-right { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.hero-emblem { position: relative; width: 240px; height: 280px; display: grid; place-items: center; }
.hero-emblem-img {
  width: 200px; height: auto;
  position: relative; z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
  animation: emblemFloat 6s var(--ease-soft) infinite alternate;
}
@keyframes emblemFloat { from { transform: translateY(-6px); } to { transform: translateY(10px); } }
.hero-emblem-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  z-index: 1;
  background: conic-gradient(from 0deg, transparent, rgba(226, 178, 60, 0.55), transparent 38%, rgba(43, 99, 214, 0.5), transparent 72%);
  filter: blur(2px);
  opacity: 0.7;
  animation: ringSpin 12s linear infinite;
  mask: radial-gradient(circle, transparent 60%, #000 61%, #000 72%, transparent 73%);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 72%, transparent 73%);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hero-metrics {
  width: 100%;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.hero-metric { padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.hero-metric:last-child { border-bottom: none; }
.hero-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.03em; color: #fff; line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-metric span { font-size: 0.84rem; color: var(--text-on-dark-soft); }

.hero-scroll {
  position: absolute;
  bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  display: flex; justify-content: center;
  padding-top: 7px;
  z-index: 2;
}
.hero-scroll-line { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: scrollDot 1.8s var(--ease-soft) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ============ KEYWORD MARQUEE ============ */
.kw-marquee {
  background: var(--royal-900);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0;
}
.kw-track {
  display: flex; align-items: center; gap: 1.6rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.kw-track span { white-space: nowrap; }
.kw-dot { color: var(--gold); font-size: 0.7rem; }

/* ============ SECTIONS ============ */
section { padding: 7rem 0; position: relative; }
#expertises { background: var(--paper); }
#methode { background: var(--paper-2); }
#realisations { background: var(--paper); }
#apropos { background: var(--paper-2); }
#avis { background: var(--paper); }
#faq { background: var(--paper-2); }

.section-header { max-width: 740px; margin: 0 auto 3.8rem; text-align: center; }
.section-header .eyebrow { margin-bottom: 1.1rem; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1rem; }
.section-description { max-width: 42rem; margin: 0 auto; color: var(--text-soft); font-size: 1.02rem; }

/* on-dark sections */
.on-dark-zone .section-title { color: #fff; }
.on-dark-zone .section-description { color: var(--text-on-dark-soft); }

/* ============ EXPERTISES — bento ============ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.expertise-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2.2rem;
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  transform-style: preserve-3d;
}
.expertise-card--featured {
  grid-row: span 2;
  background: linear-gradient(165deg, var(--royal-800), var(--royal-900));
  border-color: var(--royal-700);
  color: var(--text-on-dark);
  display: flex; flex-direction: column;
}
.expertise-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--stone-line-2); }
.expertise-card--featured:hover { border-color: var(--gold-soft); }
.card-glow {
  position: absolute; top: -40%; right: -30%;
  width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(43, 99, 214, 0.45), transparent 65%);
  pointer-events: none;
}
.expertise-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--brick), var(--gold));
  transition: width var(--t-med);
}
.expertise-card:hover::before { width: 100%; }

.card-index { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--text-mute); position: relative; }
.expertise-card--featured .card-index { color: var(--text-on-dark-soft); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--royal-tint);
  color: var(--royal);
  margin: 1.2rem 0 1.1rem;
  position: relative;
  transition: transform var(--t-med), background var(--t-med);
}
.card-icon svg { width: 28px; height: 28px; }
.expertise-card:hover .card-icon { transform: scale(1.08) rotate(-4deg); background: var(--brick-tint); color: var(--brick); }
.expertise-card--featured .card-icon { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.expertise-card--featured:hover .card-icon { background: rgba(226, 178, 60, 0.16); color: var(--gold); }

.card-tag { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-mute); margin-bottom: 0.7rem; position: relative; }
.expertise-card--featured .card-tag { color: var(--gold); }
.card-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.9rem; position: relative; }
.expertise-card--featured .card-title { font-size: 1.9rem; color: #fff; }
.card-lead { color: var(--text-on-dark-soft); margin-bottom: 1.2rem; position: relative; }
.expertise-card ul { font-size: 0.93rem; color: var(--text-soft); position: relative; }
.expertise-card--featured ul { color: var(--text-on-dark-soft); margin-bottom: 1.6rem; }
.expertise-card ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; }
.expertise-card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62rem;
  width: 8px; height: 8px;
  border: 1.5px solid var(--royal); border-radius: 2px;
  transform: rotate(45deg);
}
.expertise-card--featured ul li::before { border-color: var(--gold); }
.card-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 700; color: var(--gold);
  position: relative;
  transition: gap var(--t-fast);
}
.card-cta:hover { gap: 0.8rem; }

/* ============ SPÉCIALITÉS — showcase animé ============ */
#specialites { background: var(--royal-900); color: var(--text-on-dark); overflow: hidden; }
#specialites::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
#specialites .container { position: relative; z-index: 1; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.spec-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.spec-card:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: var(--shadow-lg); }
.spec-visual {
  position: relative;
  height: 190px;
  background:
    radial-gradient(circle at 50% 120%, rgba(43, 99, 214, 0.25), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 26px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid; place-items: center;
  overflow: hidden;
}
.spec-anim { width: 86%; height: auto; }

/* — Déconstruction (briques) — */
.deco-ground { fill: var(--gold); opacity: 0.6; }
.deco-wall .brick { fill: var(--brick); stroke: rgba(255,255,255,0.18); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.spec-card[data-spec="deco"].run .brick { animation: brickFall 2.6s var(--ease) infinite; }
.spec-card[data-spec="deco"].run .b1 { animation-delay: 0s; }
.spec-card[data-spec="deco"].run .b2 { animation-delay: 0.12s; }
.spec-card[data-spec="deco"].run .b3 { animation-delay: 0.24s; }
.spec-card[data-spec="deco"].run .b4 { animation-delay: 0.36s; }
.spec-card[data-spec="deco"].run .b5 { animation-delay: 0.48s; }
.spec-card[data-spec="deco"].run .b6 { animation-delay: 0.6s; }
.spec-card[data-spec="deco"].run .b7 { animation-delay: 0.72s; }
.spec-card[data-spec="deco"].run .b8 { animation-delay: 0.84s; }
@keyframes brickFall {
  0%, 18% { transform: translateY(0) rotate(0); opacity: 1; }
  46% { transform: translateY(30px) rotate(22deg); opacity: 0; }
  47%, 64% { transform: translateY(-14px) rotate(-8deg); opacity: 0; }
  82%, 100% { transform: translateY(0) rotate(0); opacity: 1; }
}

/* — Sciage (lame qui tourne) — */
.scie-slab { fill: rgba(255,255,255,0.14); stroke: rgba(255,255,255,0.2); stroke-width: 1; }
.scie-cut { stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; }
.spec-card[data-spec="scie"].run .scie-cut { animation: cutDraw 2.8s var(--ease) infinite; }
@keyframes cutDraw { 0% { stroke-dashoffset: 120; } 60%,100% { stroke-dashoffset: 0; } }
.scie-blade { fill: #cfd8e3; stroke: #fff; stroke-width: 1.5; }
.scie-teeth rect { fill: #aeb8c6; }
.scie-hub { fill: var(--brick); }
.scie-blade-group { transform-box: fill-box; transform-origin: center; }
.spec-card[data-spec="scie"].run .scie-blade-group { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scie-sparks circle { fill: var(--gold); opacity: 0; }
.spec-card[data-spec="scie"].run .scie-sparks circle { animation: spark 0.5s ease-in-out infinite; }
.spec-card[data-spec="scie"].run .scie-sparks circle:nth-child(2) { animation-delay: 0.16s; }
.spec-card[data-spec="scie"].run .scie-sparks circle:nth-child(3) { animation-delay: 0.32s; }
@keyframes spark { 0%,100% { opacity: 0; transform: translate(0,0); } 50% { opacity: 1; transform: translate(-6px, 5px); } }

/* — BRH (marteau) — */
.brh-rock { fill: var(--royal-600); stroke: rgba(255,255,255,0.18); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.brh-boom { fill: var(--gold); }
.brh-chisel { fill: #cfd8e3; }
.brh-arm { transform-box: fill-box; transform-origin: center top; }
.spec-card[data-spec="brh"].run .brh-arm { animation: hammer 0.7s var(--ease-soft) infinite; }
@keyframes hammer { 0%,100% { transform: translateY(0); } 45% { transform: translateY(10px); } 60% { transform: translateY(8px); } }
.spec-card[data-spec="brh"].run .brh-rock { animation: rockShake 0.7s var(--ease-soft) infinite; }
@keyframes rockShake { 0%,40%,100% { transform: translateX(0); } 50% { transform: translateX(-2px); } 55% { transform: translateX(2px); } }
.brh-impact line { stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: bottom; }
.spec-card[data-spec="brh"].run .brh-impact line { animation: impact 0.7s ease-out infinite; }
@keyframes impact { 0%,42% { opacity: 0; transform: scaleY(0.2); } 52% { opacity: 1; transform: scaleY(1); } 75%,100% { opacity: 0; transform: scaleY(1); } }
.brh-ground { fill: var(--gold); opacity: 0.5; }

.spec-body { padding: 1.8rem 1.7rem 2rem; display: flex; flex-direction: column; flex: 1; }
.spec-index { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.spec-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.spec-body p { font-size: 0.93rem; color: var(--text-on-dark-soft); margin-bottom: 1.2rem; flex: 1; }
.spec-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.spec-list li {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em;
  padding: 0.32rem 0.7rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
}

/* ============ NOTRE MÉTHODE — stepper interactif ============ */
@keyframes phaseTimer { from { width: 0; } to { width: 100%; } }
@keyframes icoDraw { from { stroke-dashoffset: var(--ico-len, 260); } to { stroke-dashoffset: 0; } }
@keyframes cursorPulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--brick-tint), 0 0 10px var(--gold-soft); }
  50% { box-shadow: 0 0 0 7px var(--brick-tint), 0 0 18px var(--gold-soft); }
}

.phase-stepper { position: relative; background: var(--surface); border: 1px solid var(--stone-line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); max-width: 980px; margin: 0 auto; }

/* RAIL DESKTOP */
.phase-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-bottom: 1.8rem; }
.phase-track { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--stone-line); border-radius: 999px; }
.phase-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--royal), var(--brick), var(--gold)); border-radius: 999px; transition: width .7s var(--ease), height .7s var(--ease); }
.phase-cursor { position: absolute; bottom: -5px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--brick-bright); box-shadow: 0 0 0 4px var(--brick-tint), 0 0 12px var(--gold-soft); transform: translateX(-50%); transition: left .7s var(--ease), top .7s var(--ease); animation: cursorPulse 2.4s var(--ease-soft) infinite; }

/* ONGLETS */
.phase-tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; background: transparent; border: 0; padding: 0 0 1rem; cursor: pointer; text-align: left; }
.phase-tab-dot { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--stone-line-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: .72rem; color: var(--text-mute); background: var(--surface); transition: all var(--t-fast); }
.phase-tab-label { font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: -.02em; color: var(--text-soft); transition: color var(--t-fast); }
.phase-tab:hover .phase-tab-dot { border-color: var(--royal); color: var(--royal); }
.phase-tab.is-active .phase-tab-dot { border-color: var(--brick); color: #fff; background: var(--brick); box-shadow: 0 0 0 4px var(--brick-tint); transform: scale(1.06); }
.phase-tab.is-active .phase-tab-label { color: var(--text); }
.phase-tab-timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); border-radius: 999px; }
.phase-tab.is-active.is-counting .phase-tab-timer { animation: phaseTimer var(--autoplay-dur, 5000ms) linear forwards; }

/* BOUTON LECTURE / PAUSE (hors tablist, positionné dans le stepper) */
.phase-playpause { position: absolute; top: calc(clamp(1.4rem, 3vw, 2.4rem) - 6px); right: clamp(1.4rem, 3vw, 2.4rem); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--stone-line-2); background: var(--surface); color: var(--text-mute); display: grid; place-items: center; cursor: pointer; transition: color var(--t-fast), border-color var(--t-fast); }
.phase-playpause:hover { color: var(--brick); border-color: var(--brick); }
.phase-playpause svg { width: 15px; height: 15px; fill: currentColor; }
.phase-playpause .icon-play { display: none; }
.phase-playpause[aria-pressed="false"] .icon-pause { display: none; }
.phase-playpause[aria-pressed="false"] .icon-play { display: block; }

/* PANNEAUX — empilés en grille : hauteur stable = celle du plus grand panneau */
.phase-panels { display: grid; margin-top: 2rem; }
.phase-panel { grid-area: 1 / 1; display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: start; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.phase-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.phase-panel-icon { width: 64px; height: 64px; border-radius: var(--r-md); background: var(--royal-tint); display: grid; place-items: center; flex-shrink: 0; }
.phase-panel-icon .ico-line { width: 38px; height: 38px; stroke: var(--royal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.phase-panel-icon .ico-line * { stroke-dasharray: var(--ico-len, 260); stroke-dashoffset: var(--ico-len, 260); }
.phase-panel.is-active .ico-line * { animation: icoDraw .9s var(--ease) both; }
.phase-panel .card-tag { color: var(--brick); margin-bottom: 0.3rem; }
.phase-panel-title { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; margin: .15rem 0 .55rem; }
.phase-panel p { color: var(--text-soft); font-size: .96rem; max-width: 52ch; }
.phase-panel-index { font-family: var(--font-mono); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--royal-tint); align-self: start; }

/* MOBILE ≤720px : rail vertical */
@media (max-width: 720px) {
  .phase-rail { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; padding-left: 1.7rem; }
  .phase-track { left: 7px; top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
  .phase-fill { width: 100%; }
  .phase-cursor { left: 7px; bottom: auto; transform: translate(-50%, -50%); }
  .phase-tab { flex-direction: row; align-items: center; gap: .8rem; padding: .6rem 0; }
  .phase-tab-timer { display: none; }
  .phase-playpause { position: relative; top: auto; bottom: auto; right: auto; width: 42px; height: 42px; margin: 0.6rem 0 0 auto; }
  .phase-panels { margin-top: 1.4rem; }
  .phase-panel { grid-template-columns: auto 1fr; gap: .9rem; }
  .phase-panel-index { display: none; }
}

/* ============ RÉALISATIONS ============ */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.projects-dots { display: none; }
.project-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--stone-line);
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--stone-line-2); }
.project-image-wrapper { position: relative; overflow: hidden; }
.project-image { width: 100%; height: 250px; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.7s var(--ease); }
/* N&B -> couleur au survol : uniquement sur les appareils qui ont un vrai hover */
@media (hover: hover) and (pointer: fine) {
  .project-image { filter: grayscale(100%) contrast(1.05); }
  .project-card:hover .project-image { transform: scale(1.07); filter: grayscale(0%); }
}
.project-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 1rem 1.2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to top, rgba(8, 19, 32, 0.85), transparent);
  color: #fff;
}
.project-category { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; letter-spacing: -0.01em; }
.project-chip { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(4px); }
.project-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.project-title { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 0.6rem; }
.project-meta { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1.2rem; flex: 1; }
.project-link { display: inline-flex; align-items: center; gap: 0.45rem; background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brick); font-weight: 700; transition: gap var(--t-fast); }
.project-card:hover .project-link { gap: 0.75rem; }
.realisations-cta {
  margin-top: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--royal-800), var(--royal-900));
  border: 1px solid var(--royal-700);
  border-radius: var(--r-lg);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-md);
}
.realisations-cta-text { max-width: 38rem; }
.realisations-cta-eyebrow { display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 0.4rem; }
.realisations-cta-text p { color: var(--text-on-dark); font-size: 1.02rem; }
.realisations-cta .btn-primary svg { margin-right: 0.1rem; }
.footer-social { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.3rem; color: var(--text-on-dark-soft); transition: color var(--t-fast); }
.footer-social:hover { color: var(--gold); }

/* ============ À PROPOS ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.mission-block { border-left: 3px solid var(--brick); padding-left: 1.3rem; margin: 0 0 1.4rem; }
.mission-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--royal); margin-bottom: 0.5rem; }
.mission-block p { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.about-lead { color: var(--text-soft); font-size: 0.98rem; margin-bottom: 1.6rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 1.8rem; }
.value-item { background: var(--surface); border: 1px solid var(--stone-line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; font-size: 0.88rem; color: var(--text-soft); transition: border-color var(--t-fast), transform var(--t-fast); }
.value-item:hover { border-color: var(--brick-line); transform: translateY(-2px); }
.value-label { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.3rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.05rem; border-radius: 999px; font-size: 0.78rem; font-weight: 500; border: 1px solid var(--stone-line-2); background: var(--surface); }
.badge.strong { background: var(--royal-800); border-color: var(--royal-800); color: #fff; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brick); }
.badge.strong .badge-dot { background: var(--gold); }
.about-visual { position: relative; }
.about-image-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--stone-line); box-shadow: var(--shadow-md); }
.about-image { width: 100%; height: 460px; object-fit: cover; filter: grayscale(15%); }
.about-deco { position: absolute; inset: auto -1.2rem -1.2rem auto; width: 55%; height: 45%; border: 2px solid var(--gold-soft); border-radius: var(--r-lg); z-index: -1; }
.about-stat { position: absolute; left: -1.2rem; bottom: 2rem; background: var(--royal-800); color: #fff; padding: 1.1rem 1.4rem; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.about-stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.about-stat span { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-on-dark-soft); }

/* ============ ZONES D'INTERVENTION ============ */
#zones { background: var(--royal-800); color: var(--text-on-dark); overflow: hidden; }
#zones::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px; pointer-events: none;
}
#zones .container { position: relative; z-index: 1; }
.zones-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.zones-list { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.zone-chip {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  padding: 0.65rem 1.15rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.zone-chip:hover { transform: translateY(-3px); background: var(--brick); border-color: var(--brick); }
.zones-aside { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-lg); padding: 2rem; }
.zones-pin {
  position: relative;
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--brick-tint); color: var(--gold);
  border: 1px solid var(--gold-soft);
  margin-bottom: 1.2rem;
}
.zones-pin-pulse { position: absolute; inset: 0; border-radius: var(--r-md); border: 1.5px solid var(--gold); animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
.zones-aside-title { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 0.7rem; }
.zones-aside p { color: var(--text-on-dark-soft); font-size: 0.95rem; margin-bottom: 1.4rem; }

/* ============ PARTENAIRES ============ */
.partners-section { padding: 5rem 0; background: var(--paper-2); overflow: hidden; }
.partners-section .section-header { margin-bottom: 2.8rem; }
.partners-marquee { position: relative; width: 100%; overflow: hidden; padding: 1rem 0; }
.partners-marquee::before, .partners-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.partners-marquee::before { left: 0; background: linear-gradient(90deg, var(--paper-2), transparent); }
.partners-marquee::after { right: 0; background: linear-gradient(-90deg, var(--paper-2), transparent); }
.partners-track { display: flex; gap: 2.5rem; animation: marquee 34s linear infinite; width: max-content; }
.partners-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner-logo { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 1rem 2rem; background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--stone-line); min-width: 210px; height: 96px; transition: border-color var(--t-fast), transform var(--t-fast); }
.partner-logo:hover { border-color: var(--brick-line); transform: translateY(-3px); }
.partner-logo img { max-width: 170px; max-height: 62px; width: auto; height: auto; object-fit: contain; transition: filter var(--t-fast), opacity var(--t-fast); }
@media (hover: hover) and (pointer: fine) {
  .partner-logo img { filter: grayscale(100%); opacity: 0.7; }
  .partner-logo:hover img { filter: grayscale(0%); opacity: 1; }
}

/* ============ TÉMOIGNAGES ============ */
.rating-summary { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 1.2rem; padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--stone-line); }
.rating-stars { color: var(--gold); letter-spacing: 0.08em; }
.rating-text { font-size: 0.85rem; color: var(--text-soft); }
.rating-text strong { color: var(--text); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--surface); border: 1px solid var(--stone-line); border-radius: var(--r-lg); padding: 1.9rem; display: flex; flex-direction: column; transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone-line-2); }
.testimonial-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial-text { color: var(--text); font-size: 0.95rem; margin-bottom: 1.4rem; flex: 1; }
.testimonial-author { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.testimonial-meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em; color: var(--text-mute); margin-top: 0.2rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--stone-line); border-radius: var(--r-md); background: var(--surface); margin-bottom: 0.8rem; overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.faq-item.open { border-color: var(--stone-line-2); box-shadow: var(--shadow-sm); }
.faq-question { width: 100%; text-align: left; background: none; border: 0; font: inherit; color: inherit; padding: 1.3rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; }
.faq-question-text { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--stone-line-2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--royal); transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--t-med); }
.faq-answer-inner { padding: 0 1.5rem 1.4rem; font-size: 0.95rem; color: var(--text-soft); }
.faq-item.open .faq-answer { max-height: 420px; }
.faq-item.open .faq-icon { background: var(--brick); color: #fff; border-color: var(--brick); transform: rotate(45deg); }

/* ============ CONTACT ============ */
#contact { background: var(--royal-900); color: var(--text-on-dark); overflow: hidden; }
#contact::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px; pointer-events: none;
}
#contact .container { position: relative; z-index: 1; }
#contact .section-header { text-align: left; margin-left: 0; }
#contact .section-description { margin-left: 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.contact-intro { color: var(--text-on-dark-soft); margin-bottom: 1.6rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; color: var(--text-on-dark-soft); }
/* font-size 1rem (16px) : évite le zoom automatique d'iOS Safari au focus */
.form-control, .form-select, .form-textarea { width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-sm); border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #fff; font-family: inherit; font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.form-control::placeholder, .form-textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-control:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--brick-bright); box-shadow: 0 0 0 3px rgba(208, 42, 32, 0.25); background: rgba(255, 255, 255, 0.07); }
.form-select option { color: #131F2C; }
.form-textarea { min-height: 130px; resize: vertical; }
.form-note { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-on-dark-soft); margin-top: 0.6rem; }
.form-consent { display: flex; align-items: flex-start; gap: 0.65rem; margin: 0.3rem 0 1.2rem; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brick); flex-shrink: 0; cursor: pointer; }
.form-consent label { font-size: 0.84rem; color: var(--text-on-dark-soft); line-height: 1.5; cursor: pointer; }
.form-consent a { color: #fff; text-decoration: underline; transition: color var(--t-fast); }
.form-consent a:hover { color: var(--brick-bright); }
.form-status { display: none; margin-top: 0.9rem; padding: 0.8rem 1.05rem; border-radius: var(--r-sm); font-size: 0.9rem; line-height: 1.5; }
.form-status.is-success { display: block; background: rgba(46, 160, 67, 0.16); border: 1px solid rgba(46, 160, 67, 0.5); color: #c7f0cf; }
.form-status.is-error { display: block; background: rgba(232, 57, 42, 0.16); border: 1px solid rgba(232, 57, 42, 0.5); color: #ffd5cf; }
#contact form .btn-primary { margin-top: 0.3rem; }
.contact-details { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.03); padding: 1.8rem; }
.contact-details-item { padding-bottom: 1.3rem; margin-bottom: 1.3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.contact-details-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-details-item strong { display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 0.55rem; font-weight: 400; }
.contact-details-item div { color: var(--text-on-dark); font-size: 0.95rem; }
.contact-details a { color: #fff; transition: color var(--t-fast); }
.contact-details a:hover { color: var(--brick-bright); }
.contact-map { margin-top: 1.3rem; border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.contact-map iframe { border: 0; display: block; filter: grayscale(1) invert(0.9) contrast(0.9); }

/* ============ FOOTER ============ */
.site-footer { background: #061121; color: var(--text-on-dark-soft); padding: 4rem 0 0; font-size: 0.88rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.footer-logo { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.footer-logo-image-wrap { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-logo-img { height: 46px; width: auto; }
.footer-logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1; }
.footer-logo-word span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.footer-logo-subtitle { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-on-dark-soft); }
.footer-about { font-size: 0.85rem; color: var(--text-on-dark-soft); max-width: 30rem; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; align-content: start; }
.footer-links a { color: var(--text-on-dark-soft); transition: color var(--t-fast); }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact strong { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); font-weight: 400; margin-bottom: 0.2rem; }
.footer-contact a, .footer-contact span { color: var(--text-on-dark-soft); transition: color var(--t-fast); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0; }
.footer-credits { color: var(--text-on-dark-soft); font-size: 0.82rem; }
.footer-legal-link { color: var(--text-on-dark-soft); margin-right: 1rem; transition: color var(--t-fast); }
.footer-legal-link:hover { color: #fff; }
.footer-credit { text-align: center; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.3); }
.footer-credit a { color: rgba(255, 255, 255, 0.5); transition: color var(--t-fast); }
.footer-credit a:hover { color: var(--brick-bright); }

/* ============ COOKIE BANNER ============ */
.cookie-banner { display: none; position: fixed; bottom: 1.5rem; right: 1.5rem; max-width: 400px; background: var(--royal-800); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-lg); padding: 1.6rem; z-index: 9999; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-lg); color: var(--text-on-dark); }
.cookie-banner-header { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.cookie-banner > div:nth-child(2) { font-size: 0.85rem; color: var(--text-on-dark-soft); }
.cookie-banner-actions { display: flex; gap: 0.5rem; margin-top: 0.3rem; }
.cookie-banner-actions .btn { flex: 1; justify-content: center; padding: 0.55rem 0.75rem; font-size: 0.8rem; }
.cookie-banner-actions .btn-outline { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.cookie-banner-actions .btn-ghost { border-color: rgba(255, 255, 255, 0.2); }

/* ============ COOKIE MODAL ============ */
.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(8, 19, 32, 0.6); backdrop-filter: blur(5px); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity var(--t-fast), visibility var(--t-fast); }
.cookie-modal-overlay.active { opacity: 1; visibility: visible; }
.cookie-modal-content { background: var(--surface-raise); width: 100%; max-width: 520px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-height: 90vh; overflow: hidden; }
.cookie-modal-header { padding: 1.5rem; border-bottom: 1px solid var(--stone-line); display: flex; justify-content: space-between; align-items: center; }
.cookie-modal-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
.cookie-modal-close { background: none; border: none; cursor: pointer; color: var(--text-mute); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: color var(--t-fast), background var(--t-fast); }
.cookie-modal-close:hover { color: var(--text); background: var(--paper-2); }
.cookie-modal-body { padding: 1.5rem; overflow-y: auto; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--stone-line); }
.cookie-option:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cookie-option-info h4 { font-family: var(--font-display); margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; }
.cookie-option-info p { margin: 0; font-size: 0.85rem; color: var(--text-soft); }
.toggle-switch { position: relative; display: inline-block; width: 50px; height: 28px; flex-shrink: 0; margin-left: 1rem; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: var(--stone-line-2); transition: 0.3s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background: #fff; transition: 0.3s; border-radius: 50%; }
input:checked + .slider { background: var(--brick); }
input:checked + .slider:before { transform: translateX(22px); }
input:disabled + .slider { background: var(--stone-line); cursor: not-allowed; }
.cookie-modal-footer { padding: 1.2rem 1.5rem; border-top: 1px solid var(--stone-line); display: flex; justify-content: flex-end; gap: 1rem; background: var(--paper); }

/* ============ PROJECT MODAL ============ */
.modal-overlay { position: fixed; inset: 0; background: rgba(8, 19, 32, 0.85); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity var(--t-fast), visibility var(--t-fast); overscroll-behavior: contain; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-content { background: var(--surface-raise); color: var(--text); border-radius: var(--r-xl); max-width: 960px; width: 100%; max-height: 90vh; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(0.96); transition: transform var(--t-med); position: relative; }
.modal-overlay.open .modal-content { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 0.9rem; right: 0.9rem; width: 42px; height: 42px; border-radius: 50%; background: rgba(8, 19, 32, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 30; display: grid; place-items: center; transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast); }
.modal-close:hover { background: var(--brick); border-color: var(--brick); transform: rotate(90deg); }
.modal-body { display: grid; grid-template-columns: 0.9fr 1.1fr; min-height: 440px; max-height: 90vh; }
.modal-image-wrapper { position: relative; overflow: hidden; background: var(--royal-900); min-height: 320px; grid-column: 2; grid-row: 1; }
.modal-info { padding: 2.4rem 2.2rem 2.2rem; display: flex; flex-direction: column; gap: 0.95rem; overflow-y: auto; grid-column: 1; grid-row: 1; }
.modal-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.modal-tag { display: inline-block; padding: 0.35rem 0.8rem; background: var(--brick-tint); color: var(--brick); border-radius: 999px; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid var(--brick-line); }
.modal-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.18; }
.modal-description { font-size: 0.95rem; color: var(--text-soft); line-height: 1.7; }
.modal-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--stone-line); }
.modal-detail { display: flex; flex-direction: column; gap: 0.25rem; }
.modal-detail-label { font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-mute); }
.modal-detail-value { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }

/* CAROUSEL */
.modal-carousel { position: absolute; inset: 0; overflow: hidden; background: var(--royal-900); }
.carousel-images { display: flex; height: 100%; transition: transform 0.5s var(--ease); }
.carousel-image { min-width: 100%; width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.modal-carousel::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(to top, rgba(8, 19, 32, 0.7), transparent); pointer-events: none; z-index: 1; }
.carousel-counter { position: absolute; top: 0.9rem; left: 0.9rem; z-index: 12; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: #fff; background: rgba(8, 19, 32, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.16); padding: 0.3rem 0.7rem; border-radius: 999px; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(251, 249, 245, 0.92); border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; z-index: 12; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: background var(--t-fast), transform var(--t-fast); }
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.carousel-prev { left: 0.9rem; }
.carousel-next { right: 0.9rem; }
.carousel-dots { position: absolute; bottom: 0.4rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0; z-index: 12; }
.carousel-dot { width: 24px; height: 24px; border: none; background: transparent; cursor: pointer; padding: 0; display: grid; place-items: center; }
.carousel-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background var(--t-fast), transform var(--t-fast); }
.carousel-dot.active::before { background: #fff; transform: scale(1.3); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ LEGAL CONTENT ============ */
.section { padding: 7rem 0; }
.legal-content { color: var(--text-soft); }
.legal-content h2 { font-family: var(--font-display); color: var(--text); font-size: 1.35rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content a { color: var(--brick); }
.legal-content ul { list-style: disc; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  * { scroll-behavior: auto !important; animation: none !important; }
  .partners-track, .kw-track { animation: none; }
  .hero-photo { animation: none; }
  .phase-fill, .phase-cursor, .phase-panel, .phase-tab-dot, .phase-tab-label { transition: none !important; }
  .phase-tab-timer { display: none !important; }
  .phase-panel { transform: none !important; }
  .phase-panel-icon .ico-line * { stroke-dashoffset: 0 !important; }
  .nav-links a::after { transition: none !important; }
}

/* ============ MOBILE BOTTOM NAV ============ */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0.7rem; left: 0.7rem; right: 0.7rem; background: rgba(10, 26, 51, 0.94); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.08); z-index: 1000; padding: 0.55rem 0.5rem; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.mobile-bottom-item { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; color: #fff; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.03em; padding: 0.4rem 1rem; border-radius: var(--r-sm); transition: background var(--t-fast), transform var(--t-fast); }
.mobile-bottom-item:active { background: rgba(255, 255, 255, 0.14); transform: scale(0.94); }
.mobile-bottom-item svg { width: 20px; height: 20px; }
.mobile-bottom-item span { text-transform: uppercase; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .expertise-card--featured { grid-row: auto; grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
  .hero { padding: 9rem 0 5rem; min-height: auto; }
  .hero-right { max-width: 460px; flex-direction: column; }
  .hero-emblem { width: 200px; height: 230px; }
  .hero-emblem-img { width: 160px; }
  .hero-emblem-ring { width: 230px; height: 230px; }
  .about-grid { gap: 2.5rem; }
  .zones-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 980px) {
  .nav-actions .header-phone { display: none; }
  .burger { display: flex; }
  .expertise-grid, .spec-grid { grid-template-columns: 1fr; }
  .projects-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 520px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-logo { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; justify-content: space-around; align-items: center; }
  body { padding-bottom: 72px; }
  .logo-word { display: none; }
  .cookie-banner { right: 0.7rem; left: 0.7rem; max-width: none; bottom: 5.5rem; }
}

@media (max-width: 640px) {
  section, .section { padding: 4.5rem 0; }
  .container { padding: 0 1.1rem; }
  .testimonials-grid, .values-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }

  /* Réalisations — carrousel glissable sur mobile */
  .projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.9rem;
    margin: 0 -1.1rem;
    padding: 0.25rem 1.1rem 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .projects-grid::-webkit-scrollbar { display: none; }
  .projects-grid .project-card {
    flex: 0 0 84%;
    max-width: 84%;
    scroll-snap-align: center;
  }
  .projects-grid .project-image { height: 200px; }
  .projects-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
  }
  .projects-dots .pdot {
    position: relative;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: none; padding: 0;
    background: transparent;
    cursor: pointer;
  }
  .projects-dots .pdot::before {
    content: "";
    position: absolute; inset: 50% auto auto 50%;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--stone-line-2);
    transform: translate(-50%, -50%);
    transition: background var(--t-fast), transform var(--t-fast);
  }
  .projects-dots .pdot.active::before { background: var(--brick); transform: translate(-50%, -50%) scale(1.3); }
  .realisations-cta { padding: 1.5rem 1.3rem; }
  .realisations-cta .btn-primary { width: 100%; justify-content: center; white-space: normal; text-align: center; border-radius: var(--r-md); }
  .btn-label-ext { display: none; }
  .hero-metric strong { font-size: 2rem; }
  .step-timeline { flex-direction: column; gap: 0.7rem; }
  .modal-content { max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; }
  .modal-body { display: flex; flex-direction: column; flex: 1; min-height: 0; max-height: none; }
  .modal-image-wrapper { height: 220px; min-height: 0; flex-shrink: 0; }
  .modal-info { padding: 1.9rem 1.4rem 1.4rem; flex: 1; min-height: 0; }
  .modal-details { margin-top: 1.4rem; }
  .modal-title { font-size: 1.35rem; }
  .about-stat { left: 0.6rem; bottom: 0.6rem; padding: 0.85rem 1.1rem; }
  .about-image { height: 360px; }
  .header-inner { padding: 0.5rem 0.5rem 0.5rem 0.7rem; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cookie-modal-footer { flex-direction: column; }
  .cookie-modal-footer button { width: 100%; }
  .hero-title { font-size: clamp(2rem, 10.8vw, 3.4rem); }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.3rem; }
}
