/* ============================================
   Variante DYNAMIQUE — inspirée agences réno modernes
   Charcoal + couleur accent vive, split, géométrique, animé
   Fonts : Archivo (titres) + Inter
   ============================================ */

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

:root {
  --primary: #1d6fb8;
  --accent: #f59e0b;
  --ink: #16181d;
  --ink2: #20242c;
  --gray: #6b7280;
  --bg: #ffffff;
  --soft: #f4f5f7;
  --pad: clamp(20px, 5vw, 70px);   /* marge latérale serrée, pleine largeur */
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: "Inter", sans-serif; line-height: 1.6; }

h1, h2, .logo, .num, .cta-devis { font-family: "Archivo", sans-serif; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.02; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; margin-bottom: 38px; }
h2 span { color: var(--primary); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

.section { padding: clamp(60px, 8vw, 110px) var(--pad); }
.section-soft { background: var(--soft); }
.lbl { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.8rem; margin-bottom: 14px; }

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 26px;
  padding: 14px var(--pad); background: var(--ink); color: #fff;
  transition: padding .3s;
}
.topbar.solid { padding: 9px var(--pad); box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.logo { font-size: 1.4rem; font-weight: 800; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: -.01em; }
.quick { display: flex; gap: 8px; }
.qbtn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--primary); border-radius: 6px; text-decoration: none; font-size: 1rem; transition: transform .15s; }
.qbtn:hover { transform: translateY(-2px); }
.nav { display: flex; gap: 24px; margin-left: 8px; }
.nav a { color: #cbd0d8; text-decoration: none; font-weight: 600; font-size: .9rem; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-color: var(--primary); }
.cta-devis { margin-left: auto; display: flex; align-items: center; gap: 12px; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; padding: 12px 12px 12px 20px; }
.cta-devis span { background: var(--ink); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.cta-devis:hover span { background: #000; }

/* ===== Hero split ===== */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 82vh; }
.hero-left { background: var(--primary); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 90px) var(--pad); }
.hero-left .kicker { text-transform: uppercase; letter-spacing: .15em; font-weight: 700; font-size: .82rem; opacity: .9; margin-bottom: 20px; }
.hero-sub { font-size: 1.1rem; opacity: .92; max-width: 480px; margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { background-size: cover; background-position: center; min-height: 300px; }

/* ===== Boutons ===== */
.btn-dark, .btn-line, .btn-accent, .btn-line-light { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; font-weight: 700; text-decoration: none; font-size: .95rem; transition: all .2s; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark span { transition: transform .2s; } .btn-dark:hover span { transform: translateX(4px); }
.btn-line { border: 2px solid #fff; color: #fff; }
.btn-line:hover { background: #fff; color: var(--primary); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-line-light { border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-line-light:hover { border-color: #fff; }

/* ===== Intro ===== */
.intro { padding: clamp(50px, 7vw, 90px) var(--pad); max-width: 1000px; margin-left:auto; margin-right:auto; text-align:center; }
.intro p { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #374151; margin-bottom: 16px; }
.intro strong { color: var(--ink); }

/* ===== Stats ===== */
.stats { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 60px); flex-wrap: wrap; padding: 50px var(--pad); border-block: 1px solid #e5e7eb; }
.stat { display: flex; align-items: baseline; gap: 12px; }
.num { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; color: var(--primary); line-height: 1; }
.suffix { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; color: var(--primary); margin-left: -8px; }
.big-check { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--primary); font-weight: 900; }
.stat p { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); font-weight: 600; line-height: 1.25; }
.dash { flex: 1; min-width: 30px; max-width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 14px); position: relative; }
.dash::before, .dash::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; background: var(--primary); }
.dash::before { left: 0; } .dash::after { right: 0; }

/* ===== Services ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--bg); border: 1px solid #e5e7eb; padding: 30px 26px; transition: all .2s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 4px; background: var(--primary); transition: width .3s; }
.card:hover { box-shadow: 0 18px 40px rgba(0,0,0,.09); transform: translateY(-4px); }
.card:hover::before { width: 100%; }
.card-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { font-family: "Archivo", sans-serif; font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: .93rem; }

/* ===== Band arguments ===== */
.band { background: var(--ink); color: #fff; padding: clamp(60px, 8vw, 100px) var(--pad); }
.band h2 { color: #fff; } .band h2 span { color: var(--accent); }
.arguments { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.argument { display: flex; gap: 14px; align-items: flex-start; }
.argument-check { flex-shrink: 0; width: 34px; height: 34px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.argument h3 { font-family: "Archivo", sans-serif; font-size: 1.04rem; margin-bottom: 5px; }
.argument p { color: #9ca3af; font-size: .9rem; }

/* ===== Galerie ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s, filter .3s; filter: grayscale(.15); }
.gallery img:hover { transform: scale(1.03); filter: none; }
.gallery img:first-child { grid-column: span 2; aspect-ratio: 8/5; }
.gallery-empty { grid-column: 1/-1; text-align: center; color: var(--gray); padding: 40px; border: 2px dashed #e5e7eb; }

/* ===== Avis ===== */
.avis-cta { text-align: center; } .avis-cta .btn { display: inline-block; background: var(--primary); color: #fff; padding: 14px 28px; text-decoration: none; font-weight: 700; }
.section-sub { color: var(--gray); margin-bottom: 24px; }

/* ===== Zones ===== */
.zones { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.zones li { background: #fff; border: 1px solid #e5e7eb; padding: 9px 18px; font-weight: 600; font-size: .92rem; }
.section-soft .zones li { background: var(--soft); border-color: #dfe2e7; }

/* ===== Contact ===== */
.contact { background: var(--primary); color: #fff; padding: clamp(60px, 8vw, 100px) var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.contact h2 { color: #fff; margin-bottom: 12px; }
.contact p { opacity: .9; }
.contact-actions { display: flex; flex-direction: column; gap: 14px; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #9ca3af; padding: 24px var(--pad); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }
.footer a { color: #9ca3af; }

/* ===== FAB ===== */
.fab { display: none; position: fixed; bottom: 20px; right: 20px; width: 58px; height: 58px; background: var(--accent); color: var(--ink); border-radius: 50%; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 99; }

/* ===== Mentions ===== */
.header { background: var(--ink); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); }
.header-inner .logo { color: #fff; }
.legal { padding: 60px var(--pad); max-width: 760px; }
.legal h1 { margin-bottom: 24px; font-size: 2rem; } .legal h2 { font-size: 1.2rem; margin: 26px 0 8px; color: var(--ink); } .legal h2 span { color: inherit; }
.legal p { color: var(--gray); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav, .quick { display: none; }
  .cta-devis { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { order: -1; min-height: 240px; }
  .gallery img:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .fab { display: flex; }
}

/* ===== Secteur centré (section clairsemée, cohérence visuelle) ===== */
#zone { text-align: center; }
#zone .head, #zone .mag-head, #zone .section-sub, #zone p { margin-left: auto; margin-right: auto; }
#zone .zones { justify-content: center; margin-left: auto; margin-right: auto; }

/* Image métier en transparence derrière les cartes services (ni émoji ni numéro) */
.card { position: relative; overflow: hidden; }
.card-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .10; pointer-events: none; z-index: 0; }
.card > :not(.card-bg) { position: relative; z-index: 1; }
