/* =========================================================================
   CHAML KVM CONSTRUCTION - Feuille de style
   Identité : noir + or métallique (tirée du logo réel)
   Thème verrouillé : sombre. Accent unique : or. Coins : nets (architectural).
   ========================================================================= */

:root {
  /* --- Surfaces sombres (jamais de noir pur) --- */
  --bg-0: #0a0b0c;          /* le plus sombre (footer, hero) */
  --bg-1: #0e0f11;          /* base */
  --bg-2: #121417;          /* section alternée */
  --bg-3: #181b1f;          /* cartes / champs */
  --line: #262a2f;          /* hairlines */
  --line-strong: #343a41;

  /* --- Texte (off-white chaud, jamais blanc pur) --- */
  --text: #f3f0ea;
  --text-soft: #cbc6bd;
  --text-mute: #9a958c;     /* >= 4.5:1 sur bg sombre */

  /* --- Or (accent unique, verrouillé) --- */
  --gold: #c9a24b;
  --gold-hi: #ecd398;
  --gold-lo: #9e7a31;
  --gold-grad: linear-gradient(135deg, #ecd398 0%, #c9a24b 46%, #9e7a31 100%);
  --gold-soft: rgba(201, 162, 75, 0.14);

  /* --- Échelle d'espace (densité 3 : aéré) --- */
  --pad-section: clamp(5rem, 11vh, 9rem);
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  /* --- Type --- */
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* --- Motion (intensité 4 : CSS fluide) --- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.55s;

  --radius: 0px;            /* verrouillage : coins nets partout */
  --radius-input: 2px;
}

/* =========================== Reset =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: #14140f; }

/* =========================== Typographie =========================== */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--text);
}
h1.display { font-size: clamp(2.7rem, 6.4vw, 5.4rem); }
h2.display { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3.display { font-size: clamp(1.3rem, 2.3vw, 1.85rem); letter-spacing: 0.02em; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead { color: var(--text-soft); font-size: clamp(1rem, 1.3vw, 1.18rem); max-width: 58ch; }
.muted { color: var(--text-mute); }

/* =========================== Layout =========================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: var(--pad-section); position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }

/* Motif chevron / diagonale (signature de la marque) */
.chevrons {
  background-image: repeating-linear-gradient(
    135deg,
    var(--gold) 0, var(--gold) 1.5px,
    transparent 1.5px, transparent 13px
  );
  opacity: 0.16;
}

/* =========================== Boutons =========================== */
.btn {
  --pad-x: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem var(--pad-x);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn i { font-size: 1.1em; }
.btn-gold { background: var(--gold-grad); color: #16130b; box-shadow: 0 10px 30px -14px rgba(201,162,75,0.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(201,162,75,0.8); }
.btn-gold:active { transform: translateY(0) scale(0.985); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.985); }
.btn-block { width: 100%; }

/* =========================== Navigation =========================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 108px;
  display: flex; align-items: center;
  background: rgba(10, 11, 12, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
}
.nav.scrolled {
  height: 80px;
  background: rgba(10, 11, 12, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { flex: none; }
.nav-logo img { height: 90px; width: auto; transition: height 0.4s var(--ease); }
.nav.scrolled .nav-logo img { height: 62px; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; flex: none; margin-left: clamp(1.5rem, 5vw, 4.5rem); }
.nav-cta { flex: none; margin-left: auto; padding-left: 1rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--text-soft); position: relative; padding: 0.3rem 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Lien "Suivi en direct" (LIVE) */
.nav-live { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text) !important; font-weight: 600; white-space: nowrap; }
.nav-links a.nav-live::after { display: none; }
/* En haut de page (non scrollé) : chip rouge plus visible sur le hero */
.nav:not(.scrolled) .nav-links .nav-live {
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 42, 42, 0.55);
  background: rgba(224, 16, 16, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nav:not(.scrolled) .nav-links .nav-live:hover { border-color: rgba(255, 42, 42, 0.9); background: rgba(224, 16, 16, 0.22); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff2a2a; flex: none; box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.75); animation: livePulse 1.6s ease-out infinite; }
.live-tag { font-family: var(--font-display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; color: #fff; background: #e01010; padding: 0.14rem 0.42rem; line-height: 1; animation: liveBlink 2s ease-in-out infinite; }
.nav-live:hover .live-tag { background: #ff2a2a; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(255, 42, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 42, 0); }
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot, .live-tag { animation: none; }
}
.nav-cta { display: flex; align-items: center; gap: 0.7rem; }
.nav-cta .btn { padding: 0.7rem 1rem; font-size: 0.8rem; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.12rem; font-weight: 700; letter-spacing: 0.02em; color: #fff; background: #000; border: 1px solid var(--line-strong); padding: 0.55rem 0.9rem; white-space: nowrap; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.nav-phone i { color: var(--gold); font-size: 1.25rem; }
.nav-phone:hover { border-color: var(--gold); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--text); font-size: 1.6rem; line-height: 1; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10,11,12,0.97);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.5rem;
  padding: var(--gutter);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); text-transform: uppercase; font-size: 2rem;
  letter-spacing: 0.04em; color: var(--text-soft); padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 1.5rem; }

/* =========================== Hero (split asymétrique) =========================== */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: 150px; padding-bottom: 4rem; background: var(--bg-0); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,11,12,0.93) 0%, rgba(10,11,12,0.64) 30%, rgba(10,11,12,0.24) 56%, transparent 80%); }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,12,0.6), transparent 38%); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr; width: 100%; }
.hero-copy { max-width: 600px; text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.55); }
.hero h1 .gold-text { background: none; -webkit-text-fill-color: var(--gold-hi); color: var(--gold-hi); filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6)); }
.hero .lead { max-width: 46ch; }
.hero-copy { position: relative; z-index: 2; }
.hero h1.display { font-size: clamp(2.2rem, 4vw, 3.15rem); line-height: 1.04; margin: 1.5rem 0 1.4rem; }
.hero h1 .gold-text { display: block; }
.hero .lead { margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-meta { margin-top: 2.6rem; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-meta .item { display: flex; align-items: center; gap: 0.6rem; color: var(--text-mute); font-size: 0.86rem; }
.hero-meta .item i { color: var(--gold); font-size: 1.15rem; }

.hero-visual { position: relative; }
@media (max-width: 760px) {
  .hero-bg::after { background: linear-gradient(to bottom, rgba(10,11,12,0.5) 0%, rgba(10,11,12,0.72) 48%, rgba(10,11,12,0.92) 100%); }
}
.hero-visual .chevrons { position: absolute; top: -28px; right: -28px; width: 150px; height: 150px; z-index: -1; }
.hero-visual .badge {
  position: absolute; left: -22px; bottom: 34px; z-index: 3;
  background: var(--bg-1); border: 1px solid var(--line-strong);
  padding: 1rem 1.3rem; display: flex; align-items: center; gap: 0.9rem;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.8);
}
.hero-visual .badge .n { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.hero-visual .badge .t { font-size: 0.74rem; color: var(--text-mute); line-height: 1.3; letter-spacing: 0.02em; }

/* Ken-burns lent (ambiance premium, motivé) */
@media (prefers-reduced-motion: no-preference) {
  .kenburns { animation: kenburns 22s ease-in-out infinite alternate; }
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

/* =========================== Piliers (bande divisée) =========================== */
.pillars { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 0.5rem clamp(1rem, 2.5vw, 2rem) 0.5rem 0; position: relative; }
.pillar + .pillar { padding-left: clamp(1.25rem, 2.5vw, 2.25rem); border-left: 1px solid var(--line); }
.pillar .ico { color: var(--gold); font-size: 1.7rem; margin-bottom: 1.1rem; display: block; }
.pillar h3 { font-size: 1.12rem; margin-bottom: 0.5rem; letter-spacing: 0.01em; }
.pillar p { font-size: 0.9rem; color: var(--text-mute); }

/* =========================== Services (bento) =========================== */
.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 1.25rem;
}
.svc { position: relative; overflow: hidden; border: 1px solid var(--line); min-height: 240px; display: flex; }
.svc-lg { grid-row: span 2; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.6s var(--ease); filter: saturate(0.96) brightness(0.66); }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,10,0.92) 8%, rgba(8,9,10,0.25) 60%, rgba(8,9,10,0.12)); }
.svc:hover img { transform: scale(1.06); filter: saturate(1.05) brightness(0.72); }
.svc-body { position: relative; z-index: 2; margin-top: auto; padding: clamp(1.4rem, 2.5vw, 2.2rem); }
.svc-num { font-family: var(--font-display); color: var(--gold); font-size: 0.85rem; letter-spacing: 0.18em; }
.svc h3 { margin: 0.5rem 0 0.7rem; }
.svc p { color: var(--text-soft); font-size: 0.95rem; max-width: 46ch; }
.svc .arrow { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: gap 0.35s var(--ease); }
.svc:hover .arrow { gap: 0.95rem; }

/* =========================== Réalisations (galerie) =========================== */
.real-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin-top: 3rem; }
.tile { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.95s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,10,0.9), rgba(8,9,10,0) 55%); opacity: 0.75; transition: opacity 0.5s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { opacity: 0.95; }
.tile-cap { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 1.3rem; transform: translateY(8px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); }
.tile:hover .tile-cap { transform: translateY(0); opacity: 1; }
.tile-cap .loc { color: var(--gold); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.tile-cap h4 { font-family: var(--font-display); text-transform: uppercase; font-weight: 500; font-size: 1.25rem; letter-spacing: 0.02em; margin-top: 0.3rem; }
/* rythme de la grille : rangées équilibrées, aucun trou (6 tuiles) */
.tile.r3-32 { grid-column: span 3; aspect-ratio: 3 / 2; }
.tile.r3-43 { grid-column: span 3; aspect-ratio: 4 / 3; }
.tile.r3-11 { grid-column: span 3; aspect-ratio: 1 / 1; }
.tile.r2-34 { grid-column: span 2; aspect-ratio: 3 / 4; }
.tile.r6 { grid-column: span 6; aspect-ratio: 24 / 7; }

/* =========================== Transformation (slider avant / après) =========================== */
.transfo { background: var(--bg-1); border-top: 1px solid var(--line); }
.slider-row { --g: clamp(1rem, 2vw, 1.5rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.slider-row > * { flex: 0 0 calc((100% - 2 * var(--g)) / 3); }
.ba-room { margin-top: 0.85rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; color: var(--text-soft); }
.ba-static { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.ba-static img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.ba-static:hover img { transform: scale(1.04); }
.ba-slider { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); cursor: ew-resize; user-select: none; touch-action: pan-y; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.ba-slider .ba-after { z-index: 1; }
.ba-slider .ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--gold); transform: translateX(-50%); z-index: 3; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,0.25); }
.ba-divider .knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--gold-grad); color: #16130b; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px -6px rgba(0,0,0,0.8); }
.ba-divider .knob i { font-size: 1.25rem; }
.ba-tag2 { position: absolute; top: 12px; z-index: 4; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; padding: 0.32rem 0.6rem; background: rgba(10,11,12,0.66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; transition: opacity 0.3s var(--ease); }
.ba-tag2.av { left: 12px; color: var(--text); }
.ba-tag2.ap { right: 12px; color: var(--gold); }
.ba-hint { margin-top: clamp(1.6rem, 3vw, 2.4rem); text-align: center; color: var(--text-mute); font-size: 0.84rem; display: flex; align-items: center; justify-content: center; gap: 0.55rem; }
.ba-hint i { color: var(--gold); font-size: 1.1rem; }
@media (max-width: 900px) { .slider-row > * { flex-basis: calc((100% - var(--g)) / 2); } }
@media (max-width: 560px) { .slider-row { max-width: 420px; margin-inline: auto; } .slider-row > * { flex-basis: 100%; } }
@media (prefers-reduced-transparency: reduce) { .ba-tag2 { background: var(--bg-0); backdrop-filter: none; } }

/* =========================== Zones (tuiles géo) =========================== */
.zones { background: var(--bg-2); border-top: 1px solid var(--line); }
.zones-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: end; }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3.2rem; }
.zone { border: 1px solid var(--line); background: var(--bg-1); padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; overflow: hidden; transition: border-color 0.45s var(--ease), transform 0.45s var(--ease); }
.zone:hover { border-color: var(--gold); transform: translateY(-4px); }
.zone .dept { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--gold); }
.zone h3 { margin: 0.9rem 0 0.9rem; font-size: 1.35rem; }
.zone ul li { color: var(--text-mute); font-size: 0.9rem; padding: 0.28rem 0; border-bottom: 1px solid var(--line); }
.zone ul li:last-child { border-bottom: 0; }
.zone .chev { position: absolute; right: -20px; top: -20px; width: 90px; height: 90px; }

/* =========================== À propos (split) =========================== */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-visual { position: relative; }
.about-visual .frame { aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.02); }
.about-visual .chev { position: absolute; left: -26px; bottom: -26px; width: 130px; height: 130px; z-index: -1; }
.about-copy h2 { margin-bottom: 1.6rem; }
.about-copy p + p { margin-top: 1.1rem; }
.about-values { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.about-values li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-soft); font-size: 0.94rem; }
.about-values i { color: var(--gold); margin-top: 0.15rem; }
.about-sign { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.2rem; }
.about-sign .ffb { height: 58px; width: auto; background: #fff; padding: 6px; }
.about-sign .ffb-txt { font-size: 0.82rem; color: var(--text-mute); max-width: 28ch; }

/* =========================== Devis (bande CTA) =========================== */
.devis { background: var(--bg-0); overflow: hidden; }
.devis-inner { position: relative; border: 1px solid var(--line-strong); padding: clamp(2.4rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; background:
   radial-gradient(120% 140% at 100% 0%, rgba(201,162,75,0.10), transparent 55%), var(--bg-1); }
.devis .tag { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.35rem 0.8rem; }
.devis h2 { margin: 1.3rem 0 1.2rem; font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
.devis p { color: var(--text-soft); max-width: 50ch; }
.devis-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.devis-preview { border: 1px solid var(--line); background: rgba(10,11,12,0.55); padding: 1.5rem; }
.devis-preview .row { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.devis-preview .row:last-child { border-bottom: 0; }
.devis-preview .k { color: var(--text-mute); font-size: 0.86rem; }
.devis-preview .v { font-family: var(--font-display); letter-spacing: 0.04em; color: var(--text-soft); font-size: 0.95rem; }
.devis-preview .bar { height: 6px; background: var(--bg-3); margin-top: 1.2rem; position: relative; overflow: hidden; }
.devis-preview .bar span { position: absolute; inset: 0 38% 0 0; background: var(--gold-grad); }
.devis-preview .est { margin-top: 1rem; display: flex; align-items: baseline; justify-content: space-between; }
.devis-preview .est b { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); letter-spacing: 0.02em; }

/* =========================== Réseaux sociaux (posts) =========================== */
.social { background: var(--bg-2); border-top: 1px solid var(--line); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); max-width: 880px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; }
.post { display: block; background: var(--bg-1); border: 1px solid var(--line); color: var(--text); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.post:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(0,0,0,0.8); }
.post-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; }
.post-ava { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--bg-0); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.post-ava img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.post-id { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.post-id b { font-size: 0.92rem; font-weight: 700; }
.post-id small { font-size: 0.74rem; color: var(--text-mute); }
.post-net { font-size: 1.5rem; color: var(--gold); flex-shrink: 0; }
.post-img { aspect-ratio: 1 / 1; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-actions { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1rem 0.2rem; font-size: 1.45rem; color: var(--text); }
.post-actions .right { margin-left: auto; }
.post-actions.fb { font-size: 0.84rem; gap: 1.4rem; color: var(--text-mute); padding-top: 0.85rem; padding-bottom: 0.5rem; }
.post-actions.fb span { display: inline-flex; align-items: center; gap: 0.4rem; }
.post-actions.fb i { font-size: 1.05rem; }
.post-likes { padding: 0.1rem 1rem; font-size: 0.84rem; font-weight: 600; color: var(--text); }
.post-cap { padding: 0.25rem 1rem 0.7rem; font-size: 0.88rem; color: var(--text-soft); }
.post-cap b { color: var(--text); font-weight: 600; }
.post-cta { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem 1rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--gold); }
.post:hover .post-cta { gap: 0.85rem; }
@media (max-width: 680px) { .social-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* --- Stories à la une --- */
.stories-row { display: flex; gap: clamp(1rem, 2.5vw, 1.8rem); justify-content: center; flex-wrap: wrap; margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.story-cover { background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.65rem; padding: 0; }
.story-cover .ring { width: clamp(108px, 12vw, 144px); aspect-ratio: 1 / 1; border-radius: 50%; padding: 4px; background: var(--gold-grad); transition: filter 0.3s var(--ease), transform 0.3s var(--ease); }
.story-cover .ring img { width: 100%; height: 100%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg-2); display: block; }
.story-cover .lbl { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.92rem; color: var(--text-soft); transition: color 0.3s var(--ease); }
.story-cover:hover .ring { filter: brightness(1.12); transform: translateY(-2px); }
.story-cover:hover .lbl { color: var(--gold); }

.story-viewer { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; }
.story-viewer.open { display: flex; }
.sv-backdrop { position: absolute; inset: 0; background: rgba(5,6,7,0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sv-stage { position: relative; width: min(430px, 92vw); aspect-ratio: 9 / 16; max-height: 88vh; background: #000; overflow: hidden; z-index: 2; border: 1px solid var(--line-strong); user-select: none; }
.sv-progress { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 6; display: flex; gap: 4px; }
.sv-progress .bar { flex: 1; height: 3px; background: rgba(255,255,255,0.28); border-radius: 2px; overflow: hidden; }
.sv-progress .bar > i { display: block; height: 100%; width: 0; background: #fff; }
.sv-progress .bar.done > i { width: 100%; }
.sv-progress .bar.active > i { animation: svfill 3.5s linear forwards; }
@keyframes svfill { from { width: 0; } to { width: 100%; } }
.sv-header { position: absolute; top: 22px; left: 12px; right: 12px; z-index: 6; display: flex; align-items: center; gap: 0.6rem; }
.sv-ava { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--bg-0); border: 1px solid var(--gold); flex-shrink: 0; }
.sv-ava img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.sv-title { color: #fff; font-weight: 600; font-size: 0.88rem; flex: 1; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.sv-close { background: none; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 0.3rem; }
.sv-slide { position: absolute; inset: 0; }
.sv-slide .blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(34px) brightness(0.45); transform: scale(1.25); }
.sv-slide .pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.sv-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 2.4rem 1.1rem 1.3rem; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); color: #fff; font-size: 0.9rem; }
.sv-nav { position: absolute; top: 0; bottom: 0; width: 38%; z-index: 5; background: none; border: 0; cursor: pointer; }
.sv-nav.prev { left: 0; } .sv-nav.next { right: 0; }
@media (prefers-reduced-transparency: reduce) { .sv-backdrop { background: #050607; backdrop-filter: none; } }

/* =========================== Contact =========================== */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.2rem; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-soft); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  background: var(--bg-1); border: 1px solid var(--line-strong); border-radius: var(--radius-input);
  padding: 0.85rem 0.95rem; color: var(--text); font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6b63; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .err { font-size: 0.78rem; color: #e88f6a; min-height: 0; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c7613c; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-note { font-size: 0.82rem; color: var(--text-mute); margin-top: 0.5rem; }
.form-success { display: none; border: 1px solid var(--gold); background: var(--gold-soft); padding: 1.1rem 1.3rem; gap: 0.8rem; align-items: center; color: var(--text); margin-bottom: 1.4rem; }
.form-success.show { display: flex; }
.form-success i { color: var(--gold); font-size: 1.4rem; }

.contact-info { display: flex; flex-direction: column; gap: 1.3rem; }
.info-card { border: 1px solid var(--line); background: var(--bg-1); padding: 1.4rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; transition: border-color 0.4s var(--ease); }
.info-card:hover { border-color: var(--line-strong); }
.info-card i { color: var(--gold); font-size: 1.5rem; margin-top: 0.1rem; }
.info-card .lbl { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.info-card .val { font-size: 1.05rem; color: var(--text); margin-top: 0.2rem; font-weight: 500; }
.info-card .val:hover { color: var(--gold); }
.info-hours { font-size: 0.86rem; color: var(--text-mute); }

/* =========================== Footer =========================== */
.footer { background: var(--bg-0); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 46px; margin-bottom: 1.3rem; }
.footer-brand p { color: var(--text-mute); font-size: 0.9rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1.1rem; }
.footer-col a, .footer-col li { display: block; color: var(--text-mute); font-size: 0.9rem; padding: 0.32rem 0; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.6rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { color: var(--text-mute); font-size: 0.8rem; }
.footer-bottom .socials { display: flex; gap: 0.6rem; }
.footer-bottom .socials a { width: 38px; height: 38px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--text-soft); transition: all 0.35s var(--ease); }
.footer-bottom .socials a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* =========================== Reveal au scroll =========================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* =========================== Responsive =========================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 460px; }
  .services-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .svc-lg { grid-row: auto; grid-column: span 2; min-height: 320px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .tile.r3-32 { grid-column: span 2; aspect-ratio: 3 / 2; }
  .tile.r3-43 { grid-column: span 2; aspect-ratio: 4 / 3; }
  .tile.r3-11 { grid-column: span 2; aspect-ratio: 1 / 1; }
  .tile.r2-34 { grid-column: span 2; aspect-ratio: 3 / 4; }
  .tile.r6 { grid-column: span 4; aspect-ratio: 21 / 7; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 440px; }
  .devis-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --pad-section: clamp(3.5rem, 9vh, 5.5rem); }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { height: 90px; }
  .nav.scrolled { height: 72px; }
  .nav-logo img { height: 66px; }
  .nav.scrolled .nav-logo img { height: 52px; }
  .hero { padding-top: 112px; }
  .hero-meta { gap: 1.2rem; }
  .pillars-grid { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .pillar { padding: 0 1rem; }
  .pillar:nth-child(odd) { padding-left: 0; }
  .pillar + .pillar { border-left: 0; }
  .pillar:nth-child(2), .pillar:nth-child(4) { border-left: 1px solid var(--line); padding-left: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-lg, .svc { grid-column: auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tile.r3-32, .tile.r3-43, .tile.r3-11, .tile.r2-34, .tile.r6 { grid-column: span 2; aspect-ratio: 4 / 3; }
  /* tactile : pas de survol, on montre les légendes en permanence */
  .tile .tile-cap { opacity: 1; transform: none; }
  .tile::after { opacity: 0.92; }
  .zones-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .zones-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual .badge { left: 0; }
}

/* =========================== Accessibilité motion / transparence =========================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.scrolled { background: var(--bg-0); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mobile-menu { background: var(--bg-0); backdrop-filter: none; }
}
