/* =========================================================
   SPORTLOGIC — Design System
   Bâtir des Terrains, Connecter des passions
   ========================================================= */

:root {
  /* Palette — charte Sport Logic : orange · noir · blanc */
  --ink:        #161616;   /* logo black */
  --ink-2:      #1f1f1f;
  --ink-3:      #2c2c2c;
  --surface:    #ffffff;
  --surface-2:  #faf6ef;   /* warm off-white */
  --surface-3:  #f2ece1;
  --line:       #ece5d8;
  --line-dark:  rgba(255,255,255,.10);

  /* Brand */
  --orange:      #f0a23c;   /* logo orange */
  --orange-600:  #e58e22;
  --orange-700:  #c2750f;   /* darker — accent text on light */
  --gold:        #f8c97a;   /* soft gold tint */
  --orange-glow: rgba(240,162,60,.40);

  /* Text */
  --text:       #1a1a1a;
  --text-soft:  #5c574f;
  --text-mute:  #968f83;
  --text-inv:   #f7f4ef;
  --text-inv-soft: #cabfae;

  /* Effects */
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;
  --shadow-sm:  0 1px 3px rgba(24,18,8,.07), 0 1px 2px rgba(24,18,8,.05);
  --shadow:     0 18px 40px -18px rgba(24,18,8,.24);
  --shadow-lg:  0 40px 80px -30px rgba(24,18,8,.40);
  --ring:       0 0 0 4px rgba(240,162,60,.22);

  --ease:       cubic-bezier(.22,.61,.36,1);
  --container:  1200px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
}

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

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-soft); }
.muted { color: var(--text-soft); }

.grid { display: grid; gap: 24px; }
@media (min-width: 700px){ .grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 760px){ .grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 980px){ .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ---------- Eyebrow / Section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-700);
  background: rgba(240,162,60,.10);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(240,162,60,.18); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 18px 0 14px; }
.section-head p { font-size: 1.08rem; color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #1a1a1a; box-shadow: 0 12px 26px -10px var(--orange-glow); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 18px 34px -12px var(--orange-glow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.25); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   HEADER — luxe (barre utilitaire + navbar verre)
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 100; }

/* Top utility bar */
.topbar {
  background: var(--ink); color: var(--text-inv-soft);
  overflow: hidden; max-height: 46px; opacity: 1;
  transition: max-height .45s var(--ease), opacity .3s;
  border-bottom: 1px solid rgba(240,162,60,.18);
}
.site-header.scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 46px; font-size: .83rem; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 22px; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.tb-item svg { width: 15px; height: 15px; color: var(--orange); flex: none; }
.tb-item a:hover, .topbar a:hover { color: #fff; }
.tb-divider { width: 1px; height: 16px; background: rgba(255,255,255,.16); }
.tb-socials { display: flex; align-items: center; gap: 8px; }
.tb-socials a { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: background .25s, color .25s, transform .25s; }
.tb-socials a:hover { background: var(--orange); color: #1a1a1a; transform: translateY(-2px); }
.tb-socials svg { width: 15px; height: 15px; }
@media (max-width: 991px){ .topbar { display: none; } }

/* Main navbar */
.navbar {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled .navbar { background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: 0 14px 44px -26px rgba(24,18,8,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; transition: height .35s var(--ease); }
.site-header.scrolled .nav { height: 72px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { aspect-ratio: 542 / 124; }
.brand .brand-logo { height: 50px; width: auto; display: block; transition: height .35s var(--ease); }
.site-header.scrolled .brand .brand-logo { height: 42px; }

.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; font-family: var(--display); font-weight: 500; font-size: .96rem; color: var(--text-soft);
  padding: 11px 16px; transition: color .25s;
}
.nav-links a::after {
  content:""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-700)); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta { display: none; align-items: center; gap: 16px; }
.nav-cta .btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-700)); color: #1a1a1a;
  box-shadow: 0 12px 26px -10px var(--orange-glow); position: relative; overflow: hidden;
}
.nav-cta .btn-primary::after {
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.nav-cta .btn-primary:hover::after { left: 130%; }

/* Burger */
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; align-items: center; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .25s; }
.burger:hover { border-color: var(--orange); }
.burger span { width: 21px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .25s; }

/* Full-screen luxe mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 130;
  background: var(--ink); color: #fff; padding: 30px 28px 36px;
  transform: translateX(100%); transition: transform .42s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu::before { content:""; position:absolute; inset:0; background: radial-gradient(70% 50% at 100% 0, rgba(240,162,60,.16), transparent 60%); pointer-events:none; }
.mm-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; margin-bottom: 22px; }
.mm-top .brand-logo { height: 44px; }
.mm-close { width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; }
.mm-close:hover { border-color: var(--orange); color: var(--orange); }
.mm-close svg { width: 20px; height: 20px; }
.mm-links { position: relative; z-index: 2; display: flex; flex-direction: column; }
.mm-links a { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-weight: 600; font-size: 1.55rem; color: #fff; padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,.08); transition: color .25s, padding-left .25s; }
.mm-links a::after { content:"→"; color: var(--orange); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.mm-links a:hover, .mm-links a.active { color: var(--orange); padding-left: 12px; }
.mm-links a:hover::after, .mm-links a.active::after { opacity: 1; transform: none; }
.mm-foot { position: relative; z-index: 2; margin-top: auto; padding-top: 26px; }
.mm-foot .btn { width: 100%; justify-content: center; margin-bottom: 18px; }
.mm-contact { display: flex; flex-direction: column; gap: 10px; }
.mm-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--text-inv-soft); font-family: var(--display); font-weight: 600; }
.mm-contact a svg { width: 17px; height: 17px; color: var(--orange); }
.mm-socials { display: flex; gap: 10px; margin-top: 18px; }
.mm-socials a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.mm-socials a:hover { background: var(--orange); color: #1a1a1a; transform: translateY(-3px); }
.mm-socials svg { width: 19px; height: 19px; }

body.no-scroll { overflow: hidden; }

@media (min-width: 1000px){
  .nav-links, .nav-cta { display: flex; }
  .burger { display: none; }
}

/* =========================================================
   SIDE ACTIONS — sticky milieu-gauche (WhatsApp / Appel / Devis)
   ========================================================= */
.side-actions {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%);
  z-index: 95; display: flex; flex-direction: column; gap: 3px;
}
.side-actions a {
  display: flex; align-items: center; height: 54px; color: #fff;
  overflow: hidden; box-shadow: 0 8px 22px -10px rgba(24,18,8,.5);
  transition: transform .25s var(--ease);
}
.side-actions a:first-child { border-top-right-radius: 14px; }
.side-actions a:last-child { border-bottom-right-radius: 14px; }
.side-actions a .sa-ico { width: 54px; height: 54px; flex: none; display: grid; place-items: center; }
.side-actions a .sa-ico svg { width: 23px; height: 23px; }
.side-actions a .sa-label { max-width: 0; opacity: 0; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: .92rem; transition: max-width .3s var(--ease), opacity .25s, padding .3s; }
.side-actions a:hover { transform: translateX(2px); }
.side-actions a:hover .sa-label { max-width: 150px; opacity: 1; padding-right: 20px; }
.sa-wa { background: #25D366; }
.sa-call { background: var(--ink); }
.sa-devis { background: linear-gradient(135deg, var(--orange), var(--orange-700)); color: #1a1a1a; }
/* Mobile : barre d'action horizontale en bas (évite le chevauchement du contenu) */
@media (max-width: 640px){
  .side-actions {
    left: 0; right: 0; top: auto; bottom: 0; transform: none;
    flex-direction: row; gap: 0; box-shadow: 0 -8px 24px -12px rgba(24,18,8,.5);
  }
  .side-actions a { flex: 1; height: 58px; justify-content: center; border-radius: 0 !important; gap: 8px; }
  .side-actions a .sa-ico { width: auto; height: auto; }
  .side-actions a .sa-label { max-width: none; opacity: 1; padding: 0; }
  body { padding-bottom: 58px; }
  .to-top { bottom: 72px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
/* Video background */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(15,12,8,.94) 0%, rgba(15,12,8,.80) 42%, rgba(15,12,8,.55) 72%, rgba(15,12,8,.40) 100%),
    linear-gradient(0deg, rgba(15,12,8,.85) 0%, transparent 45%),
    radial-gradient(60% 80% at 82% 0%, rgba(240,162,60,.22), transparent 60%);
}
.hero::before {
  content:""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(50% 60% at 0% 100%, rgba(248,201,122,.10), transparent 55%);
}
.hero-grid-bg {
  position:absolute; inset:0; opacity:.5; z-index:1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 75%);
          mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { display: grid; gap: 48px; align-items: center; padding: 88px 0 96px; }
@media (min-width: 980px){ .hero-inner { grid-template-columns: 1.05fr .95fr; padding: 110px 0 120px; } }
/* Single-column variant used with the video background */
.hero-inner.solo { display: block; max-width: 760px; padding: 120px 0 124px; }
.hero-inner.solo p { max-width: 580px; }
@media (min-width: 980px){ .hero-inner.solo { padding: 132px 0 140px; } }

.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 700; line-height: 1.15; max-width: 780px; }
.hero h1 .accent { color: var(--orange); }
.hero p { color: var(--text-inv-soft); font-size: clamp(.9rem, 1.15vw, 1rem); line-height: 1.6; margin: 22px 0 34px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:10px; margin-bottom: 26px;
  font-family: var(--display); font-size:.82rem; font-weight:600; letter-spacing:.08em; text-transform: uppercase;
  color: var(--gold); background: rgba(248,201,122,.10); border:1px solid rgba(248,201,122,.25);
  padding: 8px 16px; border-radius: 999px;
}
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.hero-stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem,3vw,2.4rem); color: #fff; }
.hero-stat .num .plus { color: var(--orange); }
.hero-stat .label { font-size: .9rem; color: var(--text-inv-soft); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(24,18,8,.55)); }
.hero-float {
  position: absolute; left: -22px; bottom: 34px; z-index: 3;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  color: var(--ink); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.hero-float .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; color:#1a1a1a; }
.hero-float .ico svg { width: 22px; height: 22px; }
.hero-float .t { font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.1; }
.hero-float .s { font-size: .8rem; color: var(--text-soft); }
.hero-tag {
  position:absolute; top: 24px; right: -14px; z-index: 3;
  background: var(--gold); color: #1a1a1a; font-family: var(--display); font-weight: 700;
  font-size: .8rem; padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
@media (max-width: 600px){ .hero-float { left: 0; } .hero-tag{ right: 0; } }

/* ---------- Marquee / trust strip ---------- */
/* =========================================================
   CLIENTS — "Ils nous font confiance"
   ========================================================= */
.clients-section { padding: 72px 0; }
.clients-section .section-head { margin-bottom: 40px; }
.section-sub { font-size: 1.06rem; color: var(--text-soft); margin-top: 4px; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.client {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.client:hover {
  transform: translateY(-4px);
  border-color: var(--gold, #f8c97a);
  box-shadow: 0 22px 48px -28px rgba(24,18,8,.45);
}
.client img {
  max-width: 100%; max-height: 84px; width: auto; height: auto;
  object-fit: contain;
  opacity: .92;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.client:hover img { opacity: 1; transform: scale(1.05); }
.client-fallback {
  display: none; align-items: center; justify-content: center; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); letter-spacing: .01em;
}
@media (max-width: 900px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .client { min-height: 96px; padding: 16px 12px; }
  .client img { max-height: 58px; }
}

/* =========================================================
   PHOTO COLOR GRADE — homogénéise les photos avec la charte
   (ton chaud / doré, saturation & contraste cohérents)
   N'affecte PAS les logos (.brand-logo, .client img)
   ========================================================= */
.spec-card img,
.work img,
.chantier img,
.media-frame img,
.pimg img,
.ec-img img,
.em-media img,
.hero-video {
  filter: saturate(1.14) contrast(1.05) brightness(1.005) sepia(0.10) hue-rotate(-8deg);
}
/* au survol : on ravive légèrement */
.spec-card:hover img,
.work:hover img,
.chantier:hover img,
.pimg:hover img,
.equip-card:hover .ec-img img {
  filter: saturate(1.2) contrast(1.06) brightness(1.02) sepia(0.06) hue-rotate(-6deg);
}

/* =========================================================
   ÉQUIPEMENTS — catalogue interactif + modale
   ========================================================= */
.equip-section { padding: 70px 0; }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.equip-card {
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; padding: 0; font: inherit; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.equip-card:hover {
  transform: translateY(-5px); border-color: var(--gold, #f8c97a);
  box-shadow: 0 24px 50px -28px rgba(24,18,8,.5);
}
.ec-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink); }
.ec-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.equip-card:hover .ec-img img { transform: scale(1.06); }
.ec-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--display); font-weight: 600; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  background: var(--orange); padding: 5px 11px; border-radius: 999px;
}
.ec-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ec-body h3 { font-size: 1.18rem; }
.ec-body p { color: var(--text-soft); font-size: .96rem; line-height: 1.5; flex: 1; }
.ec-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--orange-700, #c2750f);
}
.ec-more svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.equip-card:hover .ec-more svg { transform: translateX(4px); }

/* Modale */
.equip-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; }
.equip-modal.open { display: flex; }
.em-overlay { position: absolute; inset: 0; background: rgba(16,14,10,.62); backdrop-filter: blur(4px); animation: emFade .25s ease; }
.em-panel {
  position: relative; z-index: 1; width: 100%; max-width: 880px; max-height: 90vh; overflow: auto;
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
  display: grid; grid-template-columns: 1.05fr 1fr; animation: emPop .3s var(--ease);
}
@keyframes emFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes emPop { from { opacity: 0; transform: translateY(18px) scale(.98) } to { opacity: 1; transform: none } }
.em-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.4); transition: transform .2s, background .2s;
}
.em-close:hover { transform: rotate(90deg); background: #fff; }
.em-close svg { width: 20px; height: 20px; }
.em-media { position: relative; min-height: 260px; background: var(--ink); }
.em-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-tag {
  position: absolute; top: 14px; left: 14px; font-family: var(--display); font-weight: 600;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
  background: var(--orange); padding: 5px 11px; border-radius: 999px;
}
.em-content { padding: 30px 30px 30px; }
.em-content h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 12px; }
.em-desc { color: var(--text-soft); line-height: 1.6; margin-bottom: 18px; }
.em-feat-title { font-family: var(--display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; }
.em-features { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.em-features li { position: relative; padding-left: 28px; line-height: 1.45; color: var(--text); }
.em-features li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.em-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.devis-prefill-note {
  display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 999px;
  background: rgba(240,162,60,.14); border: 1px solid rgba(240,162,60,.4); color: var(--ink); font-size: .92rem;
}
@media (max-width: 980px) { .equip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .em-panel { grid-template-columns: 1fr; } .em-media { min-height: 220px; aspect-ratio: 16/10; } }
@media (max-width: 560px) { .equip-grid { grid-template-columns: 1fr; } }

/* =========================================================
   CHANTIERS — real on-site photo gallery
   ========================================================= */
.chantiers-section { padding: 76px 0; }
.chantier-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.chantier {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  background: var(--ink);
  box-shadow: 0 18px 40px -28px rgba(24,18,8,.5);
  border: 1px solid var(--line);
}
.chantier img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.chantier:hover img { transform: scale(1.07); }
.chantier::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,14,10,.86) 0%, rgba(16,14,10,.32) 42%, rgba(16,14,10,0) 70%);
  pointer-events: none;
}
.chantier figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px 16px 18px;
  color: #fff;
}
.chantier .ch-step {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  color: #fff; background: rgba(0,0,0,.32); backdrop-filter: blur(4px);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4);
}
.chantier .ch-tag {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--orange);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 9px;
}
.chantier figcaption h4 {
  font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  line-height: 1.3; margin: 0; color: #fff;
}
@media (max-width: 1100px) { .chantier-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .chantier-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* =========================================================
   CARDS — services / specialties
   ========================================================= */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-700)); color: #1a1a1a; margin-bottom: 20px;
  box-shadow: 0 10px 22px -10px var(--orange-glow);
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .97rem; }
.card .more { display:inline-flex; align-items:center; gap:6px; margin-top:18px; font-family:var(--display); font-weight:600; font-size:.9rem; color: var(--orange-700); }
.card .more svg{ width:15px;height:15px; transition: transform .25s var(--ease); }
.card:hover .more svg{ transform: translateX(4px); }
.card .num-badge { position:absolute; top:24px; right:26px; font-family:var(--display); font-weight:700; font-size:2.4rem; color: var(--surface-3); line-height:1; }

/* spec card with image */
.spec-card { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 360px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm); }
.spec-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.spec-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(24,18,8,.05) 30%, rgba(24,18,8,.85)); }
.spec-card:hover img { transform: scale(1.06); }
.spec-card .body { position: relative; z-index: 2; padding: 28px; }
.spec-card .kicker { font-family:var(--display); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color: var(--gold); }
.spec-card h3 { font-size: 1.5rem; margin: 8px 0 8px; }
.spec-card p { color: rgba(255,255,255,.82); font-size: .95rem; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px){ .process { grid-template-columns: repeat(4,1fr); } }
.step { position: relative; padding-top: 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-weight: 700; font-size: 2.6rem; color: var(--orange); line-height: 1; display: block; margin-bottom: 14px; }
.step::after { content:""; position:absolute; top: 18px; left: 64px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .95rem; }
@media (max-width:759px){ .step::after{ display:none; } }

/* ---------- Démarche détaillée (cartes) ---------- */
.process-grid { display: grid; gap: 26px; }
@media (min-width: 860px){ .process-grid { grid-template-columns: repeat(2, 1fr); } }
.process-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px 32px 38px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.process-card::before { content:""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: linear-gradient(var(--orange), var(--orange-700)); }
.pc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.pc-num {
  flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: #1a1a1a;
  background: linear-gradient(135deg, var(--orange), var(--orange-700));
  box-shadow: 0 10px 22px -10px var(--orange-glow);
}
.pc-head h3 { font-size: 1.3rem; line-height: 1.15; }
.pc-intro { color: var(--text-soft); font-size: .98rem; margin-bottom: 18px; }
.pc-list { display: grid; gap: 11px; }
.pc-list li { position: relative; padding-left: 30px; color: var(--text); font-size: .97rem; line-height: 1.45; }
.pc-list li::before {
  content:""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(240,162,60,.16);
}
.pc-list li::after {
  content:""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px;
  border-left: 2px solid var(--orange-700); border-bottom: 2px solid var(--orange-700);
  transform: rotate(-45deg);
}

/* =========================================================
   PORTFOLIO / REALISATIONS
   ========================================================= */
.work-grid { display: grid; gap: 26px; }
@media (min-width: 720px){ .work-grid { grid-template-columns: repeat(2,1fr); } }
.work {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11;
  box-shadow: var(--shadow-sm); color:#fff;
}
.work img { width:100%; height:100%; object-fit: cover; transition: transform .7s var(--ease); }
.work::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(24,18,8,0) 35%, rgba(24,18,8,.88)); }
.work:hover img { transform: scale(1.07); }
.work .meta { position:absolute; z-index:2; left: 0; right: 0; bottom: 0; padding: 26px; }
.work .cat { display:inline-block; font-family:var(--display); font-size:.72rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:#1a1a1a; background: var(--gold); padding: 5px 12px; border-radius:999px; margin-bottom: 12px; }
.work h3 { font-size: 1.45rem; margin-bottom: 6px; }
.work p { color: rgba(255,255,255,.82); font-size: .94rem; }
.work.tall { aspect-ratio: 4/5; }

/* =========================================================
   STATS band
   ========================================================= */
.stats-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats-band::before{ content:""; position:absolute; inset:0; background: radial-gradient(50% 120% at 100% 0, rgba(240,162,60,.20), transparent 60%); }
.stats-band .container { position: relative; z-index: 2; }
.stats-row { display: grid; gap: 28px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 820px){ .stats-row { grid-template-columns: repeat(4,1fr); } }
.stat-b { text-align: center; }
.stat-b .num { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem,5vw,3.4rem); color:#fff; }
.stat-b .num .plus{ color: var(--orange); }
.stat-b .label { color: var(--text-inv-soft); margin-top: 4px; font-size: .98rem; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quote-grid { display: grid; gap: 26px; }
@media (min-width: 880px){ .quote-grid { grid-template-columns: repeat(3,1fr); } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%; }
.quote .stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 14px; }
.quote p { font-size: 1.02rem; color: var(--text); }
.quote .who { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--ink)); color:#fff; display:grid; place-items:center; font-family:var(--display); font-weight:700; }
.quote .who b { font-family: var(--display); display:block; font-size: .98rem; }
.quote .who span { font-size: .85rem; color: var(--text-soft); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--surface); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 22px 24px; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq-q .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; position: relative; transition: background .25s; }
.faq-item.open .faq-q .pm { background: var(--orange); }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), background .25s; }
.faq-q .pm::before { width: 12px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .pm::before, .faq-item.open .faq-q .pm::after { background: #1a1a1a; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a .inner { padding: 0 24px 24px; color: var(--text-soft); }
.faq-a .inner p { margin: 0 0 12px; }
.faq-a .inner ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.faq-a .inner ul li { position: relative; padding-left: 26px; line-height: 1.5; }
.faq-a .inner ul li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--orange);
}
.faq-a .inner .faq-hl {
  margin: 4px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--surface-2); border-left: 3px solid var(--orange);
  color: var(--ink); font-weight: 500;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--orange-700), var(--orange) 70%); color: #1a1a1a; padding: clamp(40px,6vw,72px); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 100% at 50% 0, rgba(255,255,255,.25), transparent 60%); }
.cta-band .container-inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.cta-band h2 { font-size: clamp(2rem,4.5vw,3.2rem); color: #1a1a1a; }
.cta-band p { font-size: 1.12rem; color: rgba(20,20,20,.82); margin: 16px 0 30px; }
.cta-actions { display:flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   PAGE HEADER (interior pages)
   ========================================================= */
.page-hero { background: var(--ink); color:#fff; position: relative; overflow: hidden; padding: 90px 0 80px; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 90% at 85% 0, rgba(240,162,60,.20), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display:flex; gap:8px; align-items:center; font-size:.86rem; color: var(--text-inv-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--orange); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 800px; }
.page-hero p { color: var(--text-inv-soft); font-size: 1.15rem; max-width: 620px; margin-top: 18px; }

/* =========================================================
   ABOUT
   ========================================================= */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px){ .split { grid-template-columns: 1fr 1fr; } }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.media-frame img { width:100%; height:100%; object-fit: cover; }
.value-list { display: grid; gap: 18px; margin-top: 26px; }
.value-list li { display:flex; gap: 14px; }
.value-list .vk { flex:none; width: 40px; height: 40px; border-radius: 11px; background: rgba(240,162,60,.12); color: var(--orange-700); display:grid; place-items:center; }
.value-list .vk svg{ width:20px; height:20px; }
.value-list b { font-family: var(--display); display:block; }
.value-list span { color: var(--text-soft); font-size:.95rem; }

/* =========================================================
   ESPACE VENTE — products
   ========================================================= */
.products { display: grid; gap: 26px; }
@media (min-width: 640px){ .products { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .products { grid-template-columns: repeat(3,1fr); } }
.product { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); display:flex; flex-direction: column; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product .pimg { aspect-ratio: 4/3; overflow:hidden; position: relative; background: var(--surface-2); }
.product .pimg img { width:100%; height:100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .pimg img { transform: scale(1.06); }
.product .ptag { position:absolute; top:14px; left:14px; background:#fff; color: var(--orange-700); font-family: var(--display); font-weight:600; font-size:.74rem; padding:5px 11px; border-radius:999px; box-shadow: var(--shadow-sm); }
.product .pbody { padding: 22px; display:flex; flex-direction: column; gap: 8px; flex: 1; }
.product h3 { font-size: 1.18rem; }
.product .pdesc { color: var(--text-soft); font-size:.93rem; flex:1; }
.product .pfoot { display:flex; align-items:center; justify-content: space-between; margin-top: 12px; }
.product .price { font-family: var(--display); font-weight:700; color: var(--ink); }
.product .price small { color: var(--text-mute); font-weight:500; font-size:.8rem; }

/* =========================================================
   FORMS
   ========================================================= */
.form-wrap { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,44px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display:block; font-family: var(--display); font-weight: 600; font-size:.92rem; margin-bottom: 8px; }
.field label .req { color: var(--orange-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface-2);
  color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background:#fff; box-shadow: var(--ring); }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px){ .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size:.86rem; color: var(--text-mute); margin-top: 6px; }
.chip-group { display:flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 9px 16px; border:1.5px solid var(--line); border-radius:999px; font-family:var(--display); font-weight:600; font-size:.9rem; color: var(--text-soft); transition: all .2s; cursor:pointer; }
.chip:hover { border-color: var(--orange); color: var(--orange-700); }
.chip.selected { background: var(--orange); border-color: var(--orange); color:#1a1a1a; }

.form-success { display:none; text-align:center; padding: 30px 0; }
.form-success.show { display:block; }
.form-success .ic { width: 72px; height:72px; margin: 0 auto 18px; border-radius:50%; background: rgba(240,162,60,.12); color: var(--orange-700); display:grid; place-items:center; }
.form-success .ic svg{ width: 36px; height:36px; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 8px; }

/* contact info cards */
.contact-card { display:flex; gap:16px; padding: 22px; border:1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .25s, transform .25s; }
.contact-card:hover { transform: translateY(-3px); border-color: var(--orange); }
.contact-card .ic { flex:none; width:48px; height:48px; border-radius:13px; background: rgba(240,162,60,.12); color: var(--orange-700); display:grid; place-items:center; }
.contact-card .ic svg{ width:22px;height:22px; }
.contact-card b { font-family: var(--display); display:block; }
.contact-card a, .contact-card span { color: var(--text-soft); font-size:.95rem; }
.contact-card a:hover { color: var(--orange-700); }

/* =========================================================
   FOOTER — premium
   ========================================================= */
.site-footer { position: relative; background: var(--ink); color: var(--text-inv-soft); padding: 0 0 30px; overflow: hidden; }
.site-footer::before { content:""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.site-footer::after { content:""; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(240,162,60,.10), transparent 65%); pointer-events: none; }

/* call-to-action band inside footer */
.footer-cta {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 0; border-bottom: 1px solid var(--line-dark);
}
.footer-cta h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.footer-cta p { color: var(--text-inv-soft); margin-top: 6px; }
.footer-cta .fc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer-top { position: relative; z-index: 2; display: grid; gap: 44px; padding: 60px 0 46px; }
@media (min-width: 900px){ .footer-top { grid-template-columns: 1.7fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { margin-bottom: 18px; display: inline-flex; }
.footer-brand .brand-logo { height: 52px; }
.footer-brand p { max-width: 310px; font-size: .95rem; line-height: 1.75; }
.footer-col h4 { color: #fff; font-family: var(--display); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content:""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--orange); }
.footer-col a { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: .94rem; color: var(--text-inv-soft); transition: color .22s, transform .22s; }
.footer-col a::before { content:"›"; color: var(--orange); font-weight: 700; opacity: .7; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 13px; padding: 8px 0; }
.footer-contact-item .fi { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(240,162,60,.12); color: var(--orange); display: grid; place-items: center; }
.footer-contact-item .fi svg { width: 18px; height: 18px; }
.footer-contact-item b { display: block; color: #fff; font-family: var(--display); font-size: .9rem; margin-bottom: 1px; }
.footer-contact-item a, .footer-contact-item span { font-size: .92rem; color: var(--text-inv-soft); }
.footer-contact-item a:hover { color: var(--orange); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--orange); color: #1a1a1a; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

.footer-bottom { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .85rem; }
.footer-bottom a { color: var(--orange); }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }
.reveal[data-delay="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }

/* =========================================================
   POLISH — focus, image placeholders, scrollbar, micro-UX
   ========================================================= */

/* Accessible focus rings */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .chip:focus-visible {
  outline: 3px solid rgba(240,162,60,.55);
  outline-offset: 3px;
  border-radius: 8px;
}
.btn:active { transform: translateY(0) scale(.98); }

/* Image placeholders — subtle shimmer behind images before they load */
.hero-photo, .spec-card, .work, .media-frame, .product .pimg {
  background: linear-gradient(110deg, var(--surface-3) 8%, #e7ecf5 18%, var(--surface-3) 33%);
  background-size: 220% 100%;
  animation: shimmer 1.6s linear infinite;
}
.spec-card, .work { background-color: var(--ink-3); }
img { animation: imgfade .6s var(--ease) both; }
@keyframes shimmer { to { background-position: -220% 0; } }
@keyframes imgfade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce){
  .hero-photo, .spec-card, .work, .media-frame, .product .pimg { animation: none; }
  img { animation: none; }
}

/* Custom scrollbar */
@media (pointer: fine){
  * { scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--surface-2); }
  ::-webkit-scrollbar-thumb { background: #c4cddd; border: 3px solid var(--surface-2); border-radius: 999px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--orange); }
}

/* Scroll progress bar (top) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  z-index: 200; transition: width .1s linear;
}

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); color: #1a1a1a; }
.to-top svg { width: 20px; height: 20px; }

/* Tighter rhythm on small screens */
@media (max-width: 600px){
  .section { padding: 64px 0; }
  .hero-stats { gap: 24px; }
}

/* =========================================================
   TABLEAU DE BORD (admin.html)
   ========================================================= */
.admin-gate[hidden], .admin-app[hidden], .admin-view[hidden] { display: none !important; }
.admin-gate { position: fixed; inset: 0; display: grid; place-items: center; background: var(--ink); padding: 24px; }
.admin-gate-card { width: 100%; max-width: 380px; background: var(--surface); border-radius: var(--radius-lg); padding: 38px 32px; text-align: center; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.agc-logo { font-family: var(--display); font-weight: 700; letter-spacing: 1px; color: var(--orange); margin-bottom: 18px; }
.agc-logo span { color: var(--ink); }
.admin-gate-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.admin-gate-card p { color: var(--text-soft); margin-bottom: 22px; }
.admin-gate-card input { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 14px; font: inherit; }
.admin-gate-card input:focus { outline: none; border-color: var(--orange); }
.gate-err { color: #c0392b; min-height: 18px; margin: 10px 0 0; font-size: .9rem; }

.admin-app { min-height: 100vh; background: var(--surface-2); }
.admin-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 14px 26px; background: var(--ink); color: #fff; }
.admin-brand { font-family: var(--display); font-weight: 700; letter-spacing: .5px; }
.admin-brand span { color: var(--orange); }
.admin-tabs { display: flex; gap: 8px; margin-left: 14px; flex: 1; }
.atab { padding: 9px 16px; border-radius: 999px; color: rgba(255,255,255,.7); font-family: var(--display); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.atab:hover { color: #fff; }
.atab.active { background: var(--orange); color: var(--ink); }
.atab-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: .72rem; }
.atab.active .atab-count { background: var(--ink); color: #fff; }
.admin-logout { color: #fff; border-color: rgba(255,255,255,.25); padding: 8px 16px; }
.admin-logout:hover { border-color: #fff; transform: none; }

.admin-main { max-width: 1240px; margin: 0 auto; padding: 30px 26px 60px; }
.admin-view-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-view-head h2 { font-size: 1.6rem; }
.avh-actions { display: flex; gap: 10px; }

/* Liste équipements */
.equip-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.ea-card { display: grid; grid-template-columns: 88px 1fr; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; align-items: center; }
.ea-thumb { width: 88px; height: 70px; border-radius: 10px; overflow: hidden; background: var(--ink); }
.ea-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ea-info { min-width: 0; }
.ea-tag { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--gold, #f8c97a); padding: 3px 9px; border-radius: 999px; margin-bottom: 5px; }
.ea-info h3 { font-size: 1rem; margin-bottom: 3px; }
.ea-info p { font-size: .85rem; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ea-actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.btn-mini { padding: 7px 14px; border-radius: 9px; font-family: var(--display); font-weight: 600; font-size: .82rem; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.btn-mini:hover { border-color: var(--ink); }
.btn-mini.del { color: #c0392b; border-color: rgba(192,57,43,.3); }
.btn-mini.del:hover { background: #c0392b; color: #fff; border-color: #c0392b; }

/* Modale admin (éditeur + détail) */
.admin-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-modal[hidden] { display: none; }
.am-overlay { position: absolute; inset: 0; background: rgba(16,14,10,.6); backdrop-filter: blur(3px); }
.am-panel { position: relative; z-index: 1; width: 100%; max-width: 620px; max-height: 92vh; overflow: auto; background: var(--surface); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.am-panel h2 { font-size: 1.35rem; margin-bottom: 20px; }
.am-close { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font-size: 1rem; }
.am-form { display: grid; gap: 14px; }
.am-form label { display: grid; gap: 6px; font-family: var(--display); font-weight: 600; font-size: .85rem; color: var(--ink); }
.am-form input, .am-form select, .am-form textarea { padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; }
.am-form input:focus, .am-form select:focus, .am-form textarea:focus { outline: none; border-color: var(--orange); }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.af-preview { width: 100%; height: 150px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.af-preview img { width: 100%; height: 100%; object-fit: cover; }
.am-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: start; }
.kcol { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-height: 120px; transition: background .2s, border-color .2s; }
.kcol.over { border-color: var(--orange); background: rgba(240,162,60,.07); }
.kcol-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 10px; font-family: var(--display); font-weight: 600; font-size: .9rem; border-bottom: 1px solid var(--line); }
.kcol-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--surface-2); font-size: .75rem; color: var(--text-soft); }
.kcol-body { padding: 12px; display: grid; gap: 10px; }
.kcard { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 11px; padding: 12px; cursor: grab; box-shadow: 0 6px 16px -12px rgba(24,18,8,.5); transition: box-shadow .2s, transform .2s; }
.kcard:hover { box-shadow: 0 14px 28px -16px rgba(24,18,8,.5); transform: translateY(-2px); }
.kcard.dragging { opacity: .4; }
.kc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kc-top strong { font-size: .95rem; }
.kc-src { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--gold, #f8c97a); padding: 2px 7px; border-radius: 999px; flex: none; }
.kc-type { font-size: .82rem; color: var(--orange-700, #c2750f); font-weight: 600; margin-top: 5px; }
.kc-meta { font-size: .82rem; color: var(--text-soft); margin-top: 4px; }
.kc-date { font-size: .72rem; color: var(--text-soft); margin-top: 6px; }
.kempty { text-align: center; color: var(--text-soft); font-size: .85rem; padding: 8px 0; }

/* Détail devis */
.dd-badge { font-size: .68rem; vertical-align: middle; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--gold, #f8c97a); padding: 3px 9px; border-radius: 999px; }
.dd-grid { display: grid; gap: 2px; margin-bottom: 22px; }
.dd-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.dd-row span { color: var(--text-soft); font-size: .85rem; text-transform: capitalize; }
.dd-row b { font-weight: 500; word-break: break-word; }
.dd-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dd-status { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: .85rem; }
.dd-status select { padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }

@media (max-width: 1000px) { .kanban { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .admin-top { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .admin-tabs { order: 3; width: 100%; margin-left: 0; }
  .af-row { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: 1fr; }
  .dd-row { grid-template-columns: 1fr; gap: 2px; }
}

/* =========================================================
   LANDING PADEL (padel.html)
   ========================================================= */
.padel-hero {
  position: relative; color: #fff; padding: 116px 0 96px;
  background: linear-gradient(rgba(16,14,10,.68), rgba(16,14,10,.86)), url("../images/terrain-padel-2.jpg") center/cover no-repeat;
}
.padel-hero .eyebrow { color: var(--gold, #f8c97a); }
.padel-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; max-width: 840px; margin: 14px 0 18px; }
.padel-hero h1 .accent { color: var(--orange); }
.padel-hero p { color: rgba(255,255,255,.86); max-width: 620px; font-size: 1.06rem; line-height: 1.6; margin-bottom: 30px; }
.padel-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.padel-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 46px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.padel-stats .num { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; }
.padel-stats .lbl { color: rgba(255,255,255,.7); font-size: .92rem; }
.padel-incl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; }
.padel-incl .pc-list { columns: 2; column-gap: 30px; }
@media (max-width: 640px){ .padel-hero { padding: 90px 0 70px; } .padel-incl .pc-list { columns: 1; } }
