/* ==========================================================================
   AS ÉNERGIES — Design system
   ========================================================================== */

:root {
  /* Couleurs de marque */
  --navy-950: #0a1e33;
  --navy-900: #0d2740;
  --navy-800: #143454;
  --navy-700: #1d4568;
  --navy-600: #2c5a82;
  --navy-100: #e3eaf1;

  --sand-50: #faf8f4;
  --sand-100: #f3efe7;
  --paper: #fffdfa;

  --gray-050: #f4f5f6;
  --gray-100: #e9ebee;
  --gray-300: #c7ccd3;
  --gray-500: #8b94a0;
  --gray-700: #4e5560;
  --gray-800: #2f3540;

  --copper-400: #d99a5f;
  --copper-500: #c8793c;
  --copper-600: #ac6430;
  --copper-050: #fbeee0;

  /* Accent froid — duo chaud/froid (été/hiver), jamais utilisé comme second accent UI concurrent */
  --ice-300: #a8c9d6;
  --ice-400: #7ba7bd;
  --ice-500: #5c8aa0;
  --ice-050: #eaf3f6;

  --spectrum-gradient: linear-gradient(115deg, var(--copper-400) 0%, var(--sand-100) 48%, var(--ice-400) 100%);

  --success: #3f7a5c;

  /* Typographie */
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Rayons & ombres */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 39, 64, 0.06), 0 1px 1px rgba(13, 39, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 39, 64, 0.08), 0 2px 6px rgba(13, 39, 64, 0.05);
  --shadow-lg: 0 20px 48px rgba(13, 39, 64, 0.14), 0 6px 16px rgba(13, 39, 64, 0.08);

  --container: 1200px;
  --header-h: 84px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy-950);
  text-wrap: balance;
}
p, .lede, li { text-wrap: pretty; }
h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); font-weight: 650; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p { color: var(--gray-700); }
.lede { font-size: 1.15rem; color: var(--gray-700); line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- Layout helpers ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1460px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 860px) { section { padding: 56px 0; } }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--copper-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--copper-500); display: inline-block; border-radius: 2px; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.bg-sand {
  background:
    radial-gradient(circle at 8% 0%, rgba(200,121,60,0.05), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(123,167,189,0.05), transparent 45%),
    var(--sand-50);
}

/* ---- Spectrum bar — signature "été comme hiver" motif ---- */
.spectrum-bar { height: 3px; background: var(--spectrum-gradient); border: none; }
.site-header .spectrum-bar { position: absolute; left: 0; right: 0; bottom: -1px; }
.bg-navy { background: var(--navy-900); color: var(--sand-50); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.72); }
.bg-navy .eyebrow { color: var(--copper-400); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--copper-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--copper-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-900); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.bg-navy .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.bg-navy .btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.btn-sm { padding: 11px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--navy-900); font-family: var(--font-display); font-size: 0.95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   HEADER — single sticky row, big icon-only logo, fixed height (no resize
   on scroll: a height-changing sticky header fights CSS scroll-anchoring
   and flickers near the scroll threshold — only a shadow is added instead).
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 250, 0.96);
  border-bottom: 1px solid rgba(13, 39, 64, 0.07);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 39, 64, 0.08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-mark {
  width: 108px; height: 108px; flex-shrink: 0; object-fit: contain;
  margin: -11px 0; transition: transform 0.3s ease;
}
.logo:hover .logo-mark { transform: rotate(-4deg) scale(1.04); }
.site-footer .logo-mark { width: 110px; height: 110px; margin: -10px 0; }

.main-nav ul { display: flex; align-items: center; gap: 13px; flex-wrap: nowrap; }
.main-nav a {
  font-size: 0.86rem; font-weight: 500; color: var(--navy-800);
  position: relative; padding: 6px 0; white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--copper-500); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--copper-600); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-icon-link { display: flex; align-items: center; flex-shrink: 0; transition: transform 0.2s ease; }
.header-icon-link img { width: 26px; height: 26px; display: block; }
.header-icon-link:hover { transform: scale(1.08); }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.93rem; color: var(--navy-900); }
.header-phone svg { width: 18px; height: 18px; color: var(--copper-500); }
.header-phone .ph-num { white-space: nowrap; }

.nav-backdrop { display: none; }
.menu-toggle { display: none; position: relative; z-index: 210; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; align-items: center; flex-shrink: 0; }
.menu-toggle span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1400px) {
  .logo-mark { width: 76px; height: 76px; margin: -6px 0; }
  .header-phone .ph-num { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(85vw, 380px);
    background: var(--paper); z-index: 200;
    padding: 20px 24px 100px; overflow-y: auto;
    box-shadow: -12px 0 40px rgba(13,39,64,0.18);
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 190;
    background: rgba(13,39,64,0.4);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { display: block; padding: 15px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--gray-100); }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin-top: 18px; }
  .menu-toggle { display: flex; }
}
@media (min-width: 1401px) { .nav-cta-mobile { display: none; } }

/* ==========================================================================
   OPENING SEQUENCE — home page only: big logo moment before the site reveals
   ========================================================================== */
.opening {
  position: relative; height: 100vh; height: 100dvh; padding: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-950);
}
.opening-bg { position: absolute; inset: 0; overflow: hidden; background: var(--navy-950); }
.opening-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.opening-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,26,44,0.22) 0%, rgba(8,26,44,0.08) 35%, rgba(8,26,44,0.4) 100%);
}
.opening-content {
  position: relative; z-index: 2; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: 0 24px; will-change: transform, opacity;
}
.opening-logo { width: min(340px, 46vw); height: auto; filter: drop-shadow(0 6px 30px rgba(0,0,0,0.35)); }
.opening-tagline {
  font-family: var(--font-display); color: #fff; font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.01em; max-width: 480px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.75);
}
.opening-scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,0.7);
  will-change: opacity;
}
.opening-scroll-cue .cue-line { width: 1px; height: 38px; background: linear-gradient(180deg, rgba(255,255,255,0.85), transparent); overflow: hidden; }
.opening-scroll-cue .cue-line::after {
  content: ''; display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(200,121,60,0.9), transparent);
  animation: opening-cue 2s ease-in-out infinite;
}
.opening-scroll-cue small { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
@keyframes opening-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .opening-scroll-cue .cue-line::after { animation: none; } }
@media (max-width: 640px) { .opening-logo { width: min(220px, 58vw); } }

/* ==========================================================================
   INTRO ANIMATION — full-screen logo disintegration, homepage only
   ========================================================================== */
.intro-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.intro-backdrop {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 45%, var(--navy-800) 0%, var(--navy-950) 75%);
}
.intro-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.intro-logo {
  position: relative; z-index: 2; width: min(50vw, 456px); height: auto;
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.32s cubic-bezier(.19,1,.22,1), transform 0.32s cubic-bezier(.19,1,.22,1);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.35));
}
.intro-logo.is-visible { opacity: 1; transform: scale(1); }
.intro-logo.is-fading { opacity: 0; transition: opacity 0.15s ease; }
@media (max-width: 640px) { .intro-logo { width: min(70vw, 288px); } }
@media (prefers-reduced-motion: reduce) { .intro-logo { transition: opacity 0.3s ease; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; background: var(--navy-900); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(200,121,60,0.22), transparent 45%),
    radial-gradient(circle at 15% 90%, rgba(44,90,130,0.5), transparent 55%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } .hero { padding: 40px 0 64px; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill); font-size: 0.82rem; color: rgba(255,255,255,0.85);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 24px; height: 24px; border-radius: 50%; background: var(--copper-500); display: flex; align-items: center; justify-content: center; }
.hero-badge .dot svg { width: 13px; height: 13px; color: #fff; }

.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--copper-400); }
.hero .lede { color: rgba(255,255,255,0.75); margin-bottom: 34px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-reassurance { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.hero-reassurance svg { width: 16px; height: 16px; color: var(--copper-400); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-visual .placeholder-photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-stat-card {
  position: absolute; left: -20px; bottom: -24px; z-index: 2;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero-stat-card svg { width: 34px; height: 34px; color: var(--copper-500); flex-shrink: 0; }
.hero-stat-card strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--navy-950); }
.hero-stat-card span { font-size: 0.8rem; color: var(--gray-500); }
@media (max-width: 640px) { .hero-stat-card { left: 0; bottom: -18px; padding: 14px 16px; } }

/* Page (non-home) hero — shorter */
.page-hero { background: var(--navy-900); position: relative; padding: 56px 0 68px; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 0%, rgba(200,121,60,0.2), transparent 50%), linear-gradient(160deg, var(--navy-950), var(--navy-800));
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; max-width: 680px; }
.page-hero .lede { color: rgba(255,255,255,0.72); max-width: 620px; margin-top: 16px; }
.page-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip { padding: 40px 0; border-bottom: 1px solid var(--gray-100); }
.trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 10px; }
.trust-item svg { width: 30px; height: 30px; color: var(--copper-500); }
.trust-item span { font-size: 0.82rem; font-weight: 500; color: var(--navy-800); line-height: 1.3; }

/* ==========================================================================
   CARDS — services
   ========================================================================== */
.service-card {
  background: var(--paper); border: 1px solid var(--gray-100); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .card-media { aspect-ratio: 16/11; position: relative; }
.service-card .card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card .card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--copper-050);
  display: flex; align-items: center; justify-content: center; margin-bottom: 2px;
}
.service-card .card-icon svg { width: 24px; height: 24px; color: var(--copper-600); }
.service-card h3 { font-size: 1.22rem; }
.service-card .card-tagline { color: var(--gray-700); font-size: 0.95rem; flex: 1; }
.service-card .link-arrow { margin-top: 6px; }

/* ---- Feature list (Pourquoi AS Énergies) ---- */
.feature-row { display: flex; gap: 22px; padding: 30px 0; border-top: 1px solid var(--gray-100); }
.feature-row:last-child { border-bottom: 1px solid var(--gray-100); }
.feature-row .num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--copper-500); width: 34px; flex-shrink: 0; padding-top: 4px; }
.feature-row h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature-row p { font-size: 0.96rem; }

/* ---- Timeline / parcours ---- */
.timeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 980px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
.timeline-step { background: var(--sand-50); border-radius: var(--radius-md); padding: 22px 18px; position: relative; }
.timeline-step .step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  margin-bottom: 14px;
}
.timeline-step h4 { font-size: 0.95rem; margin-bottom: 6px; line-height: 1.3; }
.timeline-step p { font-size: 0.83rem; color: var(--gray-500); }

/* ---- Placeholder photo system ---- */
.placeholder-photo {
  position: relative; width: 100%; height: 100%; border-radius: inherit;
  background: linear-gradient(135deg, var(--navy-100) 0%, var(--sand-100) 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  min-height: 160px;
}
.placeholder-photo::before {
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, rgba(13,39,64,0.05) 0 2px, transparent 2px 14px);
}
.placeholder-photo .ph-content { position: relative; z-index: 1; text-align: center; padding: 18px; }
.placeholder-photo svg { width: 34px; height: 34px; color: var(--navy-600); margin: 0 auto 10px; opacity: 0.6; }
.placeholder-photo .ph-label {
  display: inline-block; font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--navy-700); background: rgba(255,255,255,0.75);
  padding: 5px 12px; border-radius: var(--radius-pill); border: 1px solid rgba(13,39,64,0.12);
}
.placeholder-photo .ph-desc { display: block; font-size: 0.72rem; color: var(--navy-600); opacity: 0.75; margin-top: 8px; max-width: 200px; margin-left: auto; margin-right: auto; }

/* ---- Illustrated placeholder variant — custom brand artwork instead of empty box ---- */
.placeholder-photo.is-illustrated::before { display: none; }
.placeholder-photo.is-illustrated { background: var(--navy-900); }
.placeholder-photo.is-illustrated img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.placeholder-photo.is-illustrated .ph-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--navy-700); background: rgba(255,255,255,0.88);
  padding: 5px 11px; border-radius: var(--radius-pill); border: 1px solid rgba(13,39,64,0.1);
}

/* ---- Réalisations gallery ---- */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn {
  padding: 10px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--gray-300);
  font-size: 0.88rem; font-weight: 500; color: var(--navy-800); transition: all 0.2s ease;
}
.filter-btn.is-active, .filter-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; display: none; }
.gallery-item.is-visible { display: block; }
.gallery-item .card-media { aspect-ratio: 4/3; }
.gallery-item .gallery-caption { padding: 16px 4px 4px; }
.gallery-item .gallery-caption .tag { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--copper-600); }
.gallery-item .gallery-caption h4 { margin-top: 6px; font-size: 1rem; }
.gallery-item .gallery-caption p { font-size: 0.85rem; margin-top: 3px; }

/* ---- Reviews ---- */
.reviews-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .reviews-strip { grid-template-columns: 1fr; } }
.review-card { background: var(--paper); border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 26px; }
.review-card .stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-card .stars svg { width: 16px; height: 16px; color: var(--gray-300); }
.review-card p { font-size: 0.95rem; font-style: italic; color: var(--navy-800); }
.review-card .review-placeholder-tag {
  display: inline-block; margin-top: 16px; font-size: 0.72rem; font-weight: 600;
  color: var(--gray-500); background: var(--gray-050); padding: 5px 12px; border-radius: var(--radius-pill);
}
.google-badge { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.google-badge .g-icon { width: 40px; height: 40px; }

/* ---- Zone intervention ---- */
.zone-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .zone-wrap { grid-template-columns: 1fr; } }
.city-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.city-pill { padding: 9px 16px; background: var(--sand-100); border-radius: var(--radius-pill); font-size: 0.87rem; font-weight: 500; color: var(--navy-800); border: 1px solid var(--gray-100); }
.map-placeholder {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); background: var(--navy-900); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.map-placeholder svg.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.map-placeholder .map-pin { position: relative; z-index: 1; text-align: center; color: #fff; }
.map-placeholder .map-pin svg { width: 38px; height: 38px; color: var(--copper-400); margin: 0 auto 12px; }
.map-placeholder .map-pin span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- CTA final band ---- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 72px 48px; text-align: center; background: var(--navy-900); }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(200,121,60,0.28), transparent 50%), radial-gradient(circle at 85% 85%, rgba(44,90,130,0.55), transparent 55%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 620px; margin: 0 auto 14px; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 500px; margin: 0 auto 34px; }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }
@media (max-width: 640px) { .cta-band { padding: 48px 24px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy-950);
}
.faq-q svg { width: 20px; height: 20px; color: var(--copper-500); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 4px 24px; max-width: 640px; }
.faq-a-inner p { font-size: 0.96rem; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
@media (max-width: 560px) { .form-card { padding: 26px 20px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy-800); margin-bottom: 8px; }
.field .req { color: var(--copper-500); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  background: var(--sand-50); font-size: 0.95rem; transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--copper-500); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field-file {
  position: relative; overflow: hidden;
  border: 1.5px dashed var(--gray-300); border-radius: var(--radius-sm); padding: 22px; text-align: center;
  background: var(--sand-50); cursor: pointer; transition: border-color 0.2s ease;
}
.field-file:hover { border-color: var(--copper-500); }
.field-file svg { width: 26px; height: 26px; color: var(--gray-500); margin: 0 auto 8px; }
.field-file span { display: block; font-size: 0.86rem; color: var(--gray-500); }
.field-hint { font-size: 0.78rem; color: var(--gray-500); margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 18px; text-align: center; }
.form-error-msg { display: none; font-size: 0.85rem; color: #b5563f; background: rgba(181, 86, 63, 0.08); border: 1px solid rgba(181, 86, 63, 0.25); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; text-align: center; }
.form-error-msg.is-visible { display: block; }
.form-error-msg a { color: inherit; font-weight: 600; text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.is-visible { display: block; }
.form-success svg { width: 52px; height: 52px; color: var(--success); margin: 0 auto 16px; }
.radio-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 480px) { .radio-cards { grid-template-columns: 1fr; } }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label {
  display: block; padding: 12px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: 0.87rem; font-weight: 500; cursor: pointer; transition: all 0.18s ease; margin: 0;
}
.radio-card input:checked + label { border-color: var(--copper-500); background: var(--copper-050); color: var(--copper-600); }
.field input:invalid:not(:placeholder-shown), .field textarea:invalid:not(:placeholder-shown) { border-color: #b5563f; }
.field-error { display: none; color: #b5563f; font-size: 0.8rem; margin-top: 6px; }
.field-error.is-visible { display: block; }
.btn-spinner {
  width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  border-radius: 50%; display: inline-block; animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   INFO CARDS (entretien/dépannage split, page cards, etc.)
   ========================================================================== */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 820px) { .split-cards { grid-template-columns: 1fr; } }
.split-card { border-radius: var(--radius-lg); padding: 40px 34px; position: relative; overflow: hidden; }
.split-card.tone-calm { background: var(--sand-100); }
.split-card.tone-urgent { background: var(--navy-900); }
.split-card.tone-urgent h3, .split-card.tone-urgent p { color: #fff; }
.split-card.tone-urgent p { color: rgba(255,255,255,0.72); }
.split-card .split-icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.split-card.tone-urgent .split-icon { background: rgba(255,255,255,0.1); }
.split-card .split-icon svg { width: 26px; height: 26px; color: var(--copper-600); }
.split-card.tone-urgent .split-icon svg { color: var(--copper-400); }
.split-card ul { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.split-card ul li { display: flex; gap: 10px; font-size: 0.93rem; align-items: flex-start; }
.split-card ul li svg { width: 17px; height: 17px; color: var(--copper-500); flex-shrink: 0; margin-top: 2px; }
.split-card.tone-urgent .big-phone { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.split-card.tone-urgent .big-phone svg { width: 26px; height: 26px; color: var(--copper-400); }

/* ---- Definition / spec list ---- */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
@media (max-width: 640px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-item { display: flex; gap: 16px; }
.spec-item svg { width: 22px; height: 22px; color: var(--copper-500); flex-shrink: 0; margin-top: 3px; }
.spec-item img { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; display: block; }
.spec-item h4 { margin-bottom: 5px; font-size: 1rem; }
.spec-item p { font-size: 0.92rem; }

/* ---- Content + media alternating rows ---- */
.content-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.content-row.reverse { direction: rtl; }
.content-row.reverse > * { direction: ltr; }
@media (max-width: 900px) { .content-row, .content-row.reverse { grid-template-columns: 1fr; direction: ltr; } }
.content-row .media-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; }
.content-row ul.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--navy-800); }
.check-list li svg { width: 18px; height: 18px; color: var(--copper-500); flex-shrink: 0; margin-top: 2px; }

/* ---- Stat callout ---- */
.callout {
  background: var(--sand-100); border-left: 3px solid var(--copper-500); border-radius: var(--radius-sm);
  padding: 20px 24px; font-size: 0.94rem; color: var(--navy-800); margin-top: 24px;
}
.callout strong { color: var(--navy-950); }

/* ---- Badges / reassurance placeholders ---- */
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .badge-grid { grid-template-columns: repeat(2, 1fr); } }
.badge-slot {
  border: 1.5px dashed var(--gray-300); border-radius: var(--radius-md); padding: 22px 14px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--gray-500);
}
.badge-slot svg { width: 28px; height: 28px; }
.badge-slot span { font-size: 0.78rem; font-weight: 500; line-height: 1.3; }

/* ---- Team / about ---- */
.about-hero { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }
.about-hero .media-frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.signature-line { margin-top: 28px; font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-950); }
.signature-line span { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }

/* ---- Steps (climatisation "ce qu'implique une bonne installation") ---- */
.consider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .consider-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .consider-grid { grid-template-columns: 1fr; } }
.consider-item { padding: 24px; border-radius: var(--radius-md); background: var(--paper); border: 1px solid var(--gray-100); }
.consider-item svg { width: 24px; height: 24px; color: var(--copper-500); margin-bottom: 12px; }
.consider-item h4 { font-size: 0.98rem; margin-bottom: 6px; }
.consider-item p { font-size: 0.87rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.09); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.footer-brand .logo-text strong { font-weight: 700; color: var(--copper-400); }
.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 280px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.footer-social a:hover { background: var(--copper-500); }
.footer-social svg { width: 16px; height: 16px; }
.footer-social img { width: 22px; height: 22px; display: block; }
.footer-social .is-disabled { opacity: 0.4; cursor: default; }
.footer-social .is-disabled:hover { background: rgba(255,255,255,0.08); }
.footer-col h5 { font-family: var(--font-display); color: #fff; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: #fff; }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-col .contact-line svg { width: 16px; height: 16px; color: var(--copper-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.8rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 10px; }
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   MISC PAGES (mentions légales, etc.)
   ========================================================================== */
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.3rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--gray-700); font-size: 0.96rem; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.placeholder-inline { color: var(--copper-600); font-weight: 600; background: var(--copper-050); padding: 1px 7px; border-radius: 5px; font-size: 0.92em; }

/* ---- Scroll reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---- Focus visibility (a11y) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--copper-500); outline-offset: 2px;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.center-col { max-width: 640px; margin-left: auto; margin-right: auto; }
.stack-lg > * + * { margin-top: 18px; }

/* ==========================================================================
   ICON CONSISTENCY — one stroke weight per context, overrides inline attrs
   ========================================================================== */
svg[stroke] { stroke-width: 1.6; }
.btn svg, .header-phone svg, .big-phone svg { stroke-width: 2; }
.hero-badge svg, .split-icon svg, .form-success svg { stroke-width: 1.8; }

/* ==========================================================================
   PRESSED / ACTIVE STATES — tactile feedback on tap and click
   ========================================================================== */
.btn:active { transform: scale(0.97); }
.filter-btn:active { transform: scale(0.96); }
.service-card:active { transform: translateY(-3px) scale(0.995); }
.faq-q:active { opacity: 0.65; }
.main-nav a:active { opacity: 0.6; }
.city-pill:active, .radio-card label:active, .footer-social a:active { transform: scale(0.95); }
.timeline-step, .consider-item { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.timeline-step:active, .consider-item:active { transform: scale(0.98); }

/* ==========================================================================
   SURFACE GRAIN — breaks flatness on dark/bold surfaces
   ========================================================================== */
.hero::after, .cta-band::after, .page-hero::after, .split-card.tone-urgent::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.split-card.tone-urgent { position: relative; overflow: hidden; }

/* ---- Ambient depth for flat, image-free sections ---- */
.section-ambient { position: relative; overflow: hidden; }
.section-ambient::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(200,121,60,0.06), transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(44,90,130,0.07), transparent 42%);
}
.section-ambient > .container { position: relative; z-index: 1; }

/* ==========================================================================
   SKIP LINK — keyboard accessibility
   ========================================================================== */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   FEATURED SERVICE CARD — breaks the 6-equal-cards grid rhythm
   ========================================================================== */
.service-card.is-featured { grid-column: span 2; }
.service-card.is-featured .card-media { aspect-ratio: 21/9; }
@media (max-width: 640px) { .service-card.is-featured { grid-column: span 1; } }
