/* =========================================================================
   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%; overflow-x: clip; touch-action: manipulation; }
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: clip;
}
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: linear-gradient(135deg, #f5d98c 0%, #e0b24e 48%, #c8962f 100%); color: #16130b; box-shadow: 0 10px 30px -12px rgba(224,178,78,0.85); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(224,178,78,0.95); }
.btn-gold:active { transform: translateY(0) scale(0.985); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(243,240,234,0.42); }
.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; }
.nav-mobile-actions { display: none; }
.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: 1.5rem;
  letter-spacing: 0.04em; color: var(--text-soft); padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 1.5rem; }
.mobile-menu a.btn-gold { color: #16130b; }

/* =========================== 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; z-index: 2; 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; z-index: 2; background: linear-gradient(to top, rgba(10,11,12,0.6), transparent 38%); }
/* Diaporama cinématique du hero : fondu enchaîné + lent zoom (Ken Burns). Léger : 2 images, pas de vidéo. */
.hero-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; will-change: opacity, transform; animation: heroKB 18s linear infinite; }
.hero-slide:nth-child(2) { animation-delay: -9s; }
@keyframes heroKB {
  0%   { opacity: 1; transform: scale(1); }
  44%  { opacity: 1; transform: scale(1.12); }
  50%  { opacity: 0; transform: scale(1.13); }
  94%  { opacity: 0; transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; opacity: 0 !important; }
  .hero-slide:first-child { opacity: 1 !important; transform: none !important; }
}
.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, .zone ul li { overflow-wrap: break-word; }
.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; }

/* =========================== Estimateur de devis =========================== */
.devis-inner.est { grid-template-columns: 1.12fr 0.88fr; align-items: stretch; }
#estimator [hidden] { display: none !important; }
.est-controls, .est-result { min-width: 0; }
@media (max-width: 760px) {
  .devis .container { padding-inline: 0.7rem; }
  .devis-inner.est { padding: 1.2rem 0.9rem; gap: 1.6rem; }
  .est-result { padding: 1.2rem 1rem; }
}
/* Barre de prix collante (mobile) */
.est-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 0.55rem 0.9rem; background: rgba(10,11,12,0.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--gold); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.est-mobile-bar.show { transform: translateY(0); }
.emb-label { display: block; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-mute); }
.emb-range { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: 0.01em; white-space: nowrap; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.emb-cta { flex: none; background: var(--gold-grad); color: #16130b; border: 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.78rem; padding: 0.6rem 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; }
@media (max-width: 1024px) {
  .est-mobile-bar { display: flex; }
  .est-bar-on .wa-float { transform: translateY(-64px); }
}
.est p strong { color: var(--gold-hi); font-weight: 600; }
.est-block { margin-top: 1.5rem; }
.est-label { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); }
.est-step { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--gold-grad); color: #16130b; font-weight: 700; font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center; }
.est-val { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--text-mute); font-size: 0.85rem; }
.est-val b { font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; }
.est-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.7rem; }
#estType, .est-chips-zone { display: grid; grid-template-columns: 1fr 1fr; }
.est-chips.is-locked { pointer-events: none; }
.est-chips.is-locked .est-chip:not(.is-active) { opacity: 0.4; }
.est-lock { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--gold); font-size: 0.72rem; display: inline-flex; align-items: center; gap: 0.3rem; }
@media (min-width: 1025px) {
  .devis { overflow: visible; }
  .devis-inner.est { align-items: start; }
  .est-result { position: sticky; top: 100px; }
}
.est-leaf { color: var(--gold); font-size: 1.2rem; }
.est-energy { margin-top: 0.7rem; border: 1px solid var(--line); background: var(--bg-2); padding: 0.9rem 1rem; }
.est-energy-rows { display: flex; align-items: flex-end; gap: 0.7rem; }
.est-energy-field { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.76rem; color: var(--text-soft); }
.est-energy-arrow { color: var(--gold); font-size: 1.1rem; margin-bottom: 0.55rem; }
.est-select { background: var(--bg-1); border: 1px solid var(--line-strong); color: var(--text); padding: 0.5rem 0.6rem; font: inherit; font-size: 0.92rem; cursor: pointer; }
.est-select:disabled { opacity: 0.5; cursor: not-allowed; }
.est-re2020 { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.8rem; font-size: 0.83rem; color: var(--text-soft); cursor: pointer; }
.est-re2020 input { width: 18px; height: 18px; accent-color: #c9a24b; flex: none; cursor: pointer; }
.est-re2020 b { color: var(--gold-hi); }
.est-re2020 small { color: var(--text-mute); font-weight: 400; }
.est-surface-num { width: 64px; background: var(--bg-1); border: 1px solid var(--line-strong); color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; text-align: right; padding: 0.15rem 0.35rem; -moz-appearance: textfield; }
.est-surface-num::-webkit-outer-spin-button, .est-surface-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.est-opt { text-transform: none; letter-spacing: 0; color: var(--text-mute); font-weight: 400; }
.est-budget { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.7rem; }
.est-budget-input { flex: 1; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--text); padding: 0.7rem 0.85rem; font: inherit; font-size: 0.95rem; }
.est-budget-input:focus { outline: none; border-color: var(--gold); }
.est-budget-cur { color: var(--text-mute); font-family: var(--font-display); }
.est-meta { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; }
.est-delay { font-size: 0.82rem; color: var(--text-soft); display: flex; align-items: center; gap: 0.45rem; }
.est-delay i { color: var(--gold); }
.est-delay b { color: var(--text); font-family: var(--font-display); letter-spacing: 0.02em; }
.est-aides { font-size: 0.8rem; color: var(--gold-hi); display: flex; align-items: center; gap: 0.45rem; }
.est-budget-cmp { display: block; padding: 0.75rem 0.8rem; border: 1px solid var(--line); }
.est-budget-cmp.ok { border-color: rgba(201,162,75,0.4); }
.est-budget-cmp.low { border-color: rgba(232,143,106,0.4); }
.est-bcmp-scale { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--text-mute); margin-bottom: 0.3rem; }
.est-bcmp-bar { position: relative; height: 10px; background: var(--bg-3); border-radius: 999px; }
.est-bcmp-band { position: absolute; top: 0; bottom: 0; background: var(--gold-grad); border-radius: 999px; }
.est-bcmp-mark { position: absolute; top: -5px; width: 3px; height: 20px; background: #fff; border-radius: 2px; transform: translateX(-50%); box-shadow: 0 0 0 2px rgba(8,9,11,0.6); }
.est-budget-cmp.low .est-bcmp-mark { background: #e8a06a; }
.est-bcmp-msg { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.8rem; line-height: 1.45; margin-top: 0.6rem; }
.est-bcmp-msg i { margin-top: 0.1rem; }
.est-budget-cmp.ok .est-bcmp-msg { color: var(--gold-hi); }
.est-budget-cmp.mid .est-bcmp-msg { color: var(--text-soft); }
.est-budget-cmp.low .est-bcmp-msg { color: #e8a06a; }
.est-lot span small { display: block; color: var(--text-mute); font-size: 0.72rem; font-weight: 400; margin-top: 1px; }
.btn.is-disabled { opacity: 0.45; pointer-events: none; }
.est-chips-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.est-chip {
  flex: 1 1 auto; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.15rem;
  background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--text-soft);
  padding: 0.7rem 0.85rem; font-size: 0.9rem; font-weight: 500; cursor: pointer; text-align: left;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s var(--ease);
}
#estType .est-chip { flex-direction: row; align-items: center; gap: 0.55rem; }
.est-chip i { color: var(--gold); font-size: 1.2rem; transition: transform 0.25s var(--ease); }
.est-chip small { color: var(--text-mute); font-size: 0.72rem; font-weight: 400; }
.est-chip:hover { border-color: var(--line); transform: translateY(-2px); }
.est-chip:hover i { transform: scale(1.1); }
.est-chip.is-active { border-color: var(--gold); background: var(--gold-soft); color: var(--text); }
.est-chip.is-active small { color: var(--text-soft); }
.est-chip.is-active i { color: var(--gold-hi); }

.est-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 1rem; background: var(--bg-3); border-radius: 999px; outline: none; }
.est-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-grad); border: 3px solid var(--bg-1); cursor: pointer; box-shadow: 0 4px 14px -4px rgba(201,162,75,0.8); transition: transform 0.15s var(--ease); }
.est-range::-webkit-slider-thumb:active { transform: scale(1.15); }
.est-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #c9a24b; border: 3px solid var(--bg-1); cursor: pointer; }
.est-range-legend { display: flex; justify-content: space-between; margin-top: 0.5rem; color: var(--text-mute); font-size: 0.74rem; }

.est-result { border: 1px solid var(--line-strong); background: rgba(10,11,12,0.55); padding: clamp(1.4rem, 2.5vw, 1.9rem); display: flex; flex-direction: column; gap: 1.15rem; }
.est-precision-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.45rem; }
.est-precision-head b { color: var(--gold); font-family: var(--font-display); font-size: 0.95rem; }
.est-precision-bar { height: 5px; background: var(--bg-3); border-radius: 999px; overflow: hidden; }
.est-precision-bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); border-radius: 999px; transition: width 0.5s var(--ease); }
.est-amount-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.est-range-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.55rem; font-family: var(--font-display); font-weight: 600; line-height: 1.04; margin: 0.5rem 0 0.55rem; font-size: clamp(2.3rem, 9vw, 3.3rem); letter-spacing: 0.005em; }
.est-range-num span { white-space: nowrap; }
#estLow, #estHigh { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 3px 16px rgba(201,162,75,0.25)); }
.est-dash { -webkit-text-fill-color: var(--text-mute); color: var(--text-mute); font-size: 0.55em; align-self: center; }
.est-perm2 { display: flex; align-items: center; gap: 0.4rem; color: var(--text-soft); font-size: 0.84rem; }
.est-perm2 i { color: var(--gold); }
.est-breakdown { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.est-bd-title { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 0.6rem; }
.est-bd-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--bg-3); }
.est-bd-bar span { height: 100%; transition: width 0.5s var(--ease); }
.est-bd-title span { color: var(--text-mute); font-weight: 400; letter-spacing: 0; text-transform: none; }
.est-bd-bar span:not(:last-child) { border-right: 1px solid rgba(10,11,12,0.55); }
.est-coverage { margin-top: 0.55rem; font-size: 0.78rem; color: var(--text-mute); }
.est-coverage b { color: var(--gold); font-family: var(--font-display); letter-spacing: 0.02em; }
.est-lots { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.8rem; }
.est-lot { display: flex; align-items: center; gap: 0.6rem; width: 100%; text-align: left; background: transparent; border: 1px solid var(--line); color: var(--text-mute); padding: 0.55rem 0.7rem; font-size: 0.86rem; cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease); }
.est-lot i { font-size: 1.2rem; color: var(--text-mute); flex: none; }
.est-lot span { flex: 1; }
.est-lot b { font-family: var(--font-display); color: var(--text-mute); font-weight: 500; font-size: 0.85rem; }
.est-lot.is-on { border-color: var(--line-strong); background: var(--bg-2); color: var(--text); }
.est-lot.is-on b { color: var(--text-soft); }
.est-lot:hover { border-color: var(--gold); }
.est-result .btn-block { margin-top: 0.3rem; white-space: normal; line-height: 1.25; justify-content: center; text-align: center; }
.est-note { display: flex; gap: 0.45rem; color: var(--text-mute); font-size: 0.73rem; line-height: 1.5; }
.est-note i { color: var(--gold); margin-top: 0.05rem; }
@media (max-width: 480px) {
  #estType { grid-template-columns: 1fr; }
  .est-chips-3 { grid-template-columns: 1fr; }
}

/* =========================== 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 { min-width: 0; }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%;
  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; }
.contact-grid > *, .footer-top > * { min-width: 0; }
.contact-info, .info-card { min-width: 0; }
.info-card .val, .info-card .info-hours { overflow-wrap: anywhere; }
.footer-col a, .footer-col span { overflow-wrap: anywhere; }
/* --- Avis clients --- */
.avis { background: var(--bg-1); border-top: 1px solid var(--line); }
.avis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 460px)); justify-content: center; gap: clamp(1.2rem, 2.5vw, 1.8rem); margin-top: clamp(2.2rem, 4vw, 3rem); }
.avis-card { position: relative; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(1.8rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.avis-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.avis-mark { color: var(--gold); font-size: 2rem; opacity: 0.8; }
.avis-stars { color: var(--gold); letter-spacing: 4px; font-size: 1.05rem; }
.avis-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--text); }
.avis-author { display: flex; flex-direction: column; gap: 0.15rem; margin-top: auto; padding-top: 0.4rem; }
.avis-name { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; color: var(--text); }
.avis-meta { color: var(--text-mute); font-size: 0.86rem; }
.avis-source { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; color: var(--gold); margin-top: 0.35rem; }
.avis-foot { text-align: center; margin-top: clamp(1.8rem, 3vw, 2.4rem); font-size: 0.9rem; }

/* Garanties & assurances */
.guarantees { background: var(--bg-1); border-top: 1px solid var(--line); }
.guarantees .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.guarantees .lead { margin-left: auto; margin-right: auto; }
.guar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: clamp(2.2rem, 4vw, 3rem); }
.guar-card { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(1.6rem, 2.5vw, 2.2rem) 1.2rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.guar-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.guar-card i { color: var(--gold); font-size: 2.6rem; line-height: 1; height: 52px; display: flex; align-items: center; }
.guar-ffb { height: 52px; width: auto; opacity: 0.95; }
.guar-card h3 { font-size: 1.02rem; letter-spacing: 0.01em; }
.guar-card p { color: var(--text-mute); font-size: 0.85rem; line-height: 1.45; }
.guar-note { text-align: center; margin-top: clamp(1.6rem, 3vw, 2.2rem); font-size: 0.84rem; }

/* Avis dans un iPhone (façon capture WhatsApp) */
.avis-phone { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.iphone { position: relative; width: 320px; max-width: 84vw; background: #0a0a0c; border-radius: 46px; padding: 11px; box-shadow: 0 0 0 2px #303236, 0 28px 55px -18px rgba(0, 0, 0, 0.75); transition: transform 0.4s var(--ease); }
.avis-phone:hover .iphone { transform: translateY(-4px); }
.iphone-island { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 16px; z-index: 4; }
.iphone-screen { position: relative; border-radius: 36px; overflow: hidden; background: #0b141a; }
.wa-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 6px; background: #202c33; color: #e9edef; font-size: 0.78rem; font-weight: 700; min-height: 34px; }
.wa-status .wa-sigs { display: inline-flex; align-items: center; gap: 4px; font-size: 0.9rem; font-weight: 400; }
.wa-head { display: flex; align-items: center; gap: 0.55rem; padding: 0.45rem 0.85rem 0.65rem; background: #202c33; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.wa-back { color: #53bdeb; font-size: 1.2rem; flex: none; }
.wa-ava { width: 38px; height: 38px; border-radius: 50%; background: #00a884; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; flex: none; }
.wa-id { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.wa-id b { color: #e9edef; font-size: 0.9rem; font-weight: 600; }
.wa-id small { color: #8696a0; font-size: 0.72rem; }
.wa-logo { margin-left: auto; color: #25d366; font-size: 1.35rem; flex: none; }
.wa-body { padding: 1.3rem 0.85rem 1rem; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end;
  background-image: linear-gradient(180deg, rgba(8, 12, 16, 0.12) 0%, rgba(8, 12, 16, 0.28) 48%, rgba(8, 12, 16, 0.60) 100%), url("assets/img/thi-44.jpg");
  background-size: cover; background-position: center 16%; }
.wa-bubble { position: relative; max-width: 90%; background: #202c33; color: #e9edef; padding: 0.65rem 0.8rem 0.5rem; border-radius: 0 12px 12px 12px; font-size: 0.9rem; line-height: 1.5; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.wa-bubble p { margin: 0; }
.wa-time { display: block; text-align: right; margin-top: 0.2rem; }
.wa-time i { color: #53bdeb; font-size: 0.9rem; }
.wa-inputbar { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.9rem 0.5rem; background: #0b141a; }
.wa-input { flex: 1; background: #2a3942; color: #8696a0; border-radius: 18px; padding: 0.5rem 0.9rem; font-size: 0.82rem; }
.wa-inputbar > i { color: #8696a0; font-size: 1.25rem; flex: none; }
.iphone-home { display: block; width: 110px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); margin: 7px auto 9px; }
.wa-cap { margin: 0; font-size: 0.84rem; color: var(--text-mute); text-align: center; }

.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; }
.form-error { display: none; border: 1px solid #e0584a; background: rgba(224, 88, 74, 0.12); padding: 1.1rem 1.3rem; gap: 0.8rem; align-items: center; color: var(--text); margin-bottom: 1.4rem; }
.form-error.show { display: flex; }
.form-error i { color: #e0584a; font-size: 1.4rem; }
/* champ anti-spam (honeypot) : invisible pour les humains */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.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); }
.vcard-link { display: inline-flex; align-self: flex-start; align-items: center; gap: 0.5rem; margin-top: 0.2rem; color: var(--gold); font-size: 0.9rem; font-weight: 600; transition: gap 0.3s var(--ease); }
.vcard-link i { font-size: 1.2rem; }
.vcard-link:hover { gap: 0.78rem; }

/* Bouton WhatsApp flottant */
.wa-float {
  position: fixed; z-index: 80;
  right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem);
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float i { font-size: 1.9rem; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px -8px rgba(37,211,102,0.6); }
.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, .footer-col span { 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 p a { color: var(--text-soft); transition: color 0.2s var(--ease); }
.footer-bottom p a:hover { color: var(--gold); }
.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, .devis-inner.est { 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 { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { height: 82px; }
  .nav.scrolled { height: 68px; }
  .nav-logo img { height: 52px; }
  .nav.scrolled .nav-logo img { height: 44px; }

  /* Actions toujours visibles à côté du logo */
  .nav-mobile-actions { display: flex; align-items: center; gap: 0.38rem; margin-left: auto; }
  .m-phone {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-weight: 700; font-size: 0.82rem; letter-spacing: 0; color: #fff;
    background: #000; border: 1px solid var(--line-strong);
    padding: 0.42rem 0.55rem; white-space: nowrap;
    transition: border-color 0.3s var(--ease);
  }
  .m-phone i { color: var(--gold); font-size: 1rem; }
  .m-phone:active { border-color: var(--gold); }
  .m-estimate {
    display: inline-flex; align-items: center; gap: 0.32rem;
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em;
    font-weight: 600; font-size: 0.78rem; color: #16130b;
    background: linear-gradient(135deg, #f5d98c 0%, #e0b24e 48%, #c8962f 100%);
    border: 1px solid transparent; padding: 0.46rem 0.58rem; white-space: nowrap;
    box-shadow: 0 8px 20px -12px rgba(224, 178, 78, 0.9);
    transition: transform 0.2s var(--ease);
  }
  .m-estimate i { color: #16130b; font-size: 1rem; }
  .m-estimate:active { transform: scale(0.97); }
  .m-live {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-weight: 800; font-size: 0.72rem; letter-spacing: 0.05em; color: #fff;
    background: rgba(224, 16, 16, 0.18); border: 1px solid rgba(224, 16, 16, 0.6);
    padding: 0.42rem 0.5rem; white-space: nowrap;
  }
  .m-live .live-dot { width: 7px; height: 7px; }
  .nav-toggle { font-size: 1.5rem; }

  .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; }
  .guar-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual .badge { left: 0; }
}

/* Très petits écrans : le numéro passe en icône seule pour garder LIVE + menu visibles */
@media (max-width: 374px) {
  .m-phone .m-phone-num { display: none; }
  .m-phone { padding: 0.45rem 0.5rem; }
  .m-phone i { font-size: 1.15rem; }
}

/* =========================== 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; }
}

/* ============================ FAQ ============================ */
.faq { background: var(--bg-2); }
.faq-list { max-width: 840px; margin: clamp(2rem, 5vw, 3rem) auto 0; display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { border: 1px solid var(--line); background: var(--bg-1); transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.faq-item[open] { border-color: var(--gold-lo); background: var(--bg-3); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; letter-spacing: 0.01em; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-q { flex: 1; }
.faq-item summary .faq-ic { flex: none; width: 24px; height: 24px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold); font-size: 1rem; transition: transform 0.3s var(--ease), border-color 0.25s; }
.faq-item[open] summary .faq-ic { transform: rotate(45deg); border-color: var(--gold); }
.faq-item .faq-a { padding: 0 1.3rem 1.3rem; color: var(--text-soft); line-height: 1.75; font-size: 0.97rem; }
.faq-item .faq-a a { color: var(--gold); }
.faq-item .faq-a strong { color: var(--text); font-weight: 600; }
.faq-cta { text-align: center; margin-top: 2.2rem; color: var(--text-mute); font-size: 0.95rem; }
.faq-cta a { color: var(--gold); }
@media (max-width: 600px) {
  .faq-item summary { font-size: 1rem; padding: 1rem 1.05rem; gap: 0.7rem; }
  .faq-item .faq-a { padding: 0 1.05rem 1.1rem; }
}

/* ============================ Pages légales ============================ */
.legal-top { border-bottom: 1px solid var(--line); background: var(--bg-0); position: sticky; top: 0; z-index: 20; }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.legal-top .nav-logo img { height: 44px; width: auto; display: block; }
.legal-top .back { color: var(--text-soft); font-size: 0.9rem; display: inline-flex; gap: 0.45rem; align-items: center; transition: color 0.2s; }
.legal-top .back:hover { color: var(--gold); }
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.05; }
.legal .updated { color: var(--text-mute); font-size: 0.85rem; margin: 0.7rem 0 2.6rem; }
.legal h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.15rem; color: var(--gold); margin: 2.4rem 0 0.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal h3 { font-family: var(--font-display); font-size: 1rem; color: var(--text); margin: 1.4rem 0 0.4rem; }
.legal p, .legal li { color: var(--text-soft); line-height: 1.75; font-size: 0.96rem; }
.legal p { margin-bottom: 0.9rem; }
.legal ul { margin: 0.4rem 0 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.legal a { color: var(--gold); }
.legal strong { color: var(--text); font-weight: 600; }
.legal .todo { color: var(--gold-hi); background: var(--gold-soft); padding: 0.05em 0.4em; border: 1px dashed var(--gold-lo); font-size: 0.9em; }
.legal .legal-foot { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-mute); }
.legal .legal-foot a { color: var(--text-soft); }

/* ============================ Bouton "Estimer mon projet" ============================ */
/* État scrollé (défaut) : OR. En haut de page, sur le hero sombre : BLANC. */
.btn-estimate { background: transparent; color: var(--gold); border: 1px solid var(--gold); transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease); }
.btn-estimate i { color: var(--gold); transition: color 0.35s var(--ease); }
.btn-estimate:hover { background: var(--gold-soft); transform: translateY(-2px); }
.nav:not(.scrolled) .btn-estimate { color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.nav:not(.scrolled) .btn-estimate i { color: #fff; }
.nav:not(.scrolled) .btn-estimate:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Pavé "Estimer" dans le menu mobile : lien téléphone secondaire */
.mobile-menu .mm-phone { display: flex; align-items: center; gap: 0.6rem; color: var(--gold); font-weight: 700; }
.mobile-menu .mm-phone i { color: var(--gold); font-size: 1.2rem; }

/* Pavé "Estimer mon projet" : texte complet sur mobile.
   Sur écrans très étroits seulement (≤359px), on retombe sur "Estimer" pour éviter le débordement. */
@media (max-width: 359px) {
  .m-estimate .m-est-more { display: none; }
}
