/* ============================================================
   AIS CHAUFFAGE SANITAIRE — Design System
   DA reprise de la maquette Figma Make : blanc + orange-500 +
   bleu-600 + touches vertes/teal, cartes arrondies, dégradés
   pastel, glass-cards. Aucune dépendance externe.
   ============================================================ */

:root {
  /* ===== Palette de marque AIS — calée AU PIXEL sur le LOGO (échantillonné) =====
     Orange #e08810 (CHAUFFAGE) · Bleu #38a8c8 (SANITAIRE) · Vert #58a838 (VMC)
     · Sarcelle #50b078 (CLIMATISATION) · Anthracite #383830 (lettrage AIS).
     Teal/cyan/violet/ambre repliés sur le bleu/vert/orange du logo. */
  /* Orange = ACTION — orange EXACT du logo #e08810 (échelle complète) */
  --orange-50: #fdf5e8; --orange-100: #fbe7c7; --orange-200: #f5cd8f; --orange-300: #eeb058;
  --orange-400: #e89a2a; --orange-500: #e08810; --orange-600: #c4760e; --orange-700: #a05f0b;
  --orange-800: #7c4a09; --orange-900: #5e3807;
  /* Bleu = confiance / technique */
  --blue-50: #ecf7fb; --blue-100: #d6eef7; --blue-200: #a9dcec; --blue-300: #74c4dd;
  --blue-400: #4fb4d2; --blue-500: #38a9cf; --blue-600: #1f88ad; --blue-700: #166b8a;
  --blue-800: #124f66; --blue-900: #0d3d4f;
  /* Vert = aides / éligibilité — vert EXACT du logo #58a838 */
  --green-50: #eef7e7; --green-100: #d8edc4; --green-200: #b7dd94; --green-300: #92ca64;
  --green-400: #72b945; --green-500: #58a838; --green-600: #478a2c; --green-700: #386d23;
  --green-800: #2c551c; --green-900: #213f15;
  /* Teal / Cyan repliés sur le bleu du logo */
  --teal-50: #ecf7fb; --teal-100: #d6eef7; --teal-200: #a9dcec;
  --teal-500: #38a9cf; --teal-600: #1f88ad; --teal-700: #166b8a; --teal-800: #124f66;
  --cyan-50: #ecf7fb; --cyan-100: #d6eef7; --cyan-500: #38a9cf; --cyan-600: #1f88ad; --cyan-700: #166b8a;
  --red-50: #fef2f2; --red-100: #fee2e2; --red-200: #fecaca; --red-500: #ef4444; --red-600: #dc2626;
  /* Violet replié sur le vert du logo, Ambre replié sur l'orange du logo */
  --purple-50: #eef7e7; --purple-100: #d8edc4; --purple-500: #58a838; --purple-600: #478a2c; --purple-700: #386d23;
  --amber-50: #fdf5e8; --amber-500: #e08810; --amber-600: #c4760e;
  --yellow-50: #fefce8; --yellow-100: #fef9c3; --yellow-500: #f5b400;
  /* Neutres CHAUDS, assortis à l'anthracite du logo #383830 */
  --gray-50: #f7f8f9; --gray-100: #eef0f1; --gray-200: #e2e5e6; --gray-300: #c9cdd0;
  --gray-400: #9aa0a3; --gray-500: #6a7175; --gray-600: #4a5256; --gray-700: #353c40;
  --gray-800: #2a2f31; --gray-900: #262320; --gray-950: #1a1815;
  --white: #ffffff;
  --ink: #383830; --ink-deep: #2a2a24;   /* anthracite du logo (footer + CTA) */
  /* Fonds teintés très subtils (signal de sens, à peine perceptibles) */
  --tint-blue: #f4fafd; --tint-green: #f3faef; --tint-sand: #fdf8f0;
  --whatsapp: #25d366; --whatsapp-dark: #20ba5a;

  --radius-sm: .5rem; --radius: .75rem; --radius-lg: 1rem; --radius-xl: 1.5rem; --radius-2xl: 1.75rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.06);
  --shadow-2xl: 0 16px 36px -14px rgba(0,0,0,.14);

  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font: var(--font-body);
  --header-h: 5rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--gray-900);
  background: var(--white); line-height: 1.6; font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; color: var(--gray-900); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.018em; }
h1 { font-weight: 800; line-height: 1.08; }
h2 { line-height: 1.14; }
h4, h5 { font-family: var(--font-body); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Fond décoratif global très léger (filigrane DA Figma) */
html, body { overflow-x: clip; }

.bg-deco {
  position: fixed; inset: 0; z-index: -10; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 8%, rgba(56,169,207,.05), transparent 70%),
    radial-gradient(50% 40% at 88% 2%, rgba(224,136,16,.04), transparent 70%),
    #ffffff;
}
.bg-deco span { display: none; } /* filigrane retiré pour un rendu plus net */

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; }
.section-lg { padding: 5rem 0; }
.section-head { text-align: center; max-width: 48rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
.section-head p { font-size: 1.125rem; color: var(--gray-600); }
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-sm-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .lg-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.flex-center { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }

/* Accents de titre */
.accent-orange { color: var(--orange-600); }
.accent-orange-d { color: var(--orange-600); }
.accent-blue { color: var(--blue-700); }
.accent-green { color: var(--green-600); }
.accent-teal { color: var(--teal-600); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; border: none; border-radius: var(--radius);
  padding: .875rem 1.75rem; font-size: 1rem; transition: all .2s ease; text-align: center;
}
.btn svg { flex: none; width: 1.2rem; height: 1.2rem; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.125rem; }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--orange-600); box-shadow: var(--shadow-xl); transform: translateY(-1px); }
.btn-primary:active { background: var(--orange-600); }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn-blue:hover { background: var(--blue-700); }
.btn-orange { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-lg); }
.btn-orange:hover { background: var(--orange-600); }
.btn-green { background: var(--green-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn-green:hover { background: var(--green-700); }
.btn-teal { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn-teal:hover { background: var(--teal-700); }
.btn-purple { background: var(--purple-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn-purple:hover { background: var(--purple-700); }
.btn-cyan { background: var(--cyan-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn-cyan:hover { background: var(--cyan-700); }
.btn-amber { background: var(--amber-600); color: #fff; box-shadow: var(--shadow-lg); }
.btn-dark { background: var(--gray-900); color: #fff; }
.btn-dark:hover { background: var(--gray-800); }
.btn-white { background: #fff; color: var(--gray-900); border: 2px solid var(--gray-300); box-shadow: var(--shadow-lg); }
.btn-white:hover { background: var(--gray-50); }
.btn-outline-orange { background: #fff; color: var(--orange-600); border: 2px solid var(--orange-200); }
.btn-outline-orange:hover { background: var(--orange-50); border-color: var(--orange-500); }
.btn-outline-blue { background: #fff; color: var(--blue-700); border: 2px solid var(--blue-200); }
.btn-outline-blue:hover { background: var(--blue-50); border-color: var(--blue-500); }
.btn-outline-teal { background: #fff; color: var(--teal-600); border: 2px solid var(--teal-200); }
.btn-outline-teal:hover { background: var(--teal-50); }
.btn-outline-gray { background: #fff; color: var(--gray-700); border: 2px solid var(--gray-300); }
.btn-outline-gray:hover { background: var(--gray-50); }
.btn-outline-green { background: #fff; color: var(--green-600); border: 2px solid var(--green-200); }
.btn-outline-green:hover { background: var(--green-50); border-color: var(--green-500); }
.btn-grad-orange { background: linear-gradient(90deg, var(--orange-500), var(--orange-600)); color: #fff; box-shadow: var(--shadow-lg); }
.btn-grad-orange:hover { background: linear-gradient(90deg, var(--orange-500), var(--orange-600)); transform: scale(1.02); }
.btn-block { width: 100%; }

/* ---------- Badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600;
  font-size: .875rem; padding: .5rem 1rem; border-radius: 999px;
}
.badge svg { width: 1rem; height: 1rem; }
.badge-green { background: var(--green-100); color: var(--green-800); }
.badge-blue { background: var(--blue-100); color: var(--blue-700); }
.badge-orange { background: var(--orange-100); color: var(--orange-600); }
.badge-teal { background: var(--teal-100); color: var(--teal-800); }
.badge-red { background: var(--red-100); color: var(--red-600); }
.badge-yellow { background: var(--yellow-100); color: #854d0e; }
.badge-gray { background: var(--gray-100); color: var(--gray-700); }
.badge-purple { background: var(--purple-100); color: var(--purple-700); }
.badge-cyan { background: var(--cyan-100); color: var(--cyan-700); }
.badge-white { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.pill-sm { font-size: .75rem; padding: .25rem .75rem; }

/* ---------- Cartes ---------- */
.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow-xl); }
.card-hover-up:hover { transform: translateY(-6px); }
.card-hover-scale:hover { transform: scale(1.03); }
.card-img { padding: 0; overflow: hidden; }
.card-img img { width: 100%; object-fit: cover; }
.card-img .card-body { padding: 1.5rem; }
.card-borderless { border: none; box-shadow: var(--shadow-lg); }
.card-l { border-left: 4px solid var(--gray-300); }
.card-l-orange { border-left-color: var(--orange-500); }
.card-l-blue { border-left-color: var(--blue-500); }
.card-l-green { border-left-color: var(--green-500); }
.card-l-teal { border-left-color: var(--teal-500); }
.card-l-red { border-left-color: var(--red-500); }
.card-pastel-orange { background: var(--orange-50); border-color: var(--orange-200); }
.card-pastel-blue { background: var(--blue-50); border-color: var(--blue-200); }
.card-pastel-green { background: var(--green-50); border-color: var(--green-200); }
.card-pastel-teal { background: var(--teal-50); border-color: var(--teal-200); }
.card-pastel-cyan { background: var(--cyan-50); border-color: var(--cyan-100); }
.card-pastel-purple { background: var(--purple-50); border-color: var(--purple-100); }
.card-pastel-amber { background: var(--amber-50); border-color: #fde68a; }

/* Ronds & carrés d'icônes */
.icon-round, .icon-square {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 3.5rem; height: 3.5rem; color: #fff;
}
.icon-round { border-radius: 999px; }
.icon-square { border-radius: var(--radius-lg); }
.icon-sm { width: 2.5rem; height: 2.5rem; }
.icon-lg { width: 4rem; height: 4rem; }
.icon-round svg, .icon-square svg { width: 55%; height: 55%; }
.bg-orange { background: var(--orange-500); } .bg-blue { background: var(--blue-500); }
.bg-green { background: var(--green-500); } .bg-green-d { background: var(--green-600); }
.bg-teal { background: var(--teal-500); } .bg-cyan { background: var(--cyan-500); }
.bg-purple { background: var(--purple-500); } .bg-amber { background: var(--amber-500); }
.bg-red { background: var(--red-500); } .bg-gray-icon { background: var(--gray-500); }
.bg-grad-bg { background: linear-gradient(135deg, var(--blue-500), var(--green-500)); }
.icon-pastel-orange { background: var(--orange-100); color: var(--orange-600); }
.icon-pastel-blue { background: var(--blue-100); color: var(--blue-600); }
.icon-pastel-green { background: var(--green-100); color: var(--green-600); }
.icon-pastel-teal { background: var(--teal-100); color: var(--teal-600); }
.icon-pastel-red { background: var(--red-100); color: var(--red-600); }

/* Listes à coches */
.checklist li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .75rem; }
.checklist svg { width: 1.35rem; height: 1.35rem; flex: none; margin-top: .2rem; color: var(--green-600); }
.checklist.checks-blue svg { color: var(--blue-600); }
.checklist.checks-orange svg { color: var(--orange-500); }
.checklist.checks-teal svg { color: var(--teal-600); }

/* Fonds de section pastel (DA Figma) */
.bg-gray { background: var(--gray-50); }
.bg-white-soft { background: rgba(255,255,255,.8); backdrop-filter: blur(4px); }
.bg-hero { background: #fff; }
.bg-aides { background: linear-gradient(135deg, var(--green-50), #fff 50%, var(--blue-50)); }
.bg-zone { background: linear-gradient(135deg, var(--gray-50), var(--blue-50)); }
.bg-certifs { background: linear-gradient(135deg, var(--gray-50), #fff); }
.bg-soft-blue { background: linear-gradient(135deg, var(--blue-50), var(--green-50)); }
.bg-soft-teal { background: linear-gradient(135deg, var(--teal-50), var(--blue-50)); }
.bg-soft-orange { background: linear-gradient(135deg, var(--orange-50), var(--red-50)); }
.bg-soft-cyan { background: linear-gradient(135deg, var(--blue-50), var(--cyan-50), var(--blue-100)); }
.bg-blue-deep { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: #fff; }
.bg-blue-deep h1, .bg-blue-deep h2 { color: #fff; }
.bg-blue-deep p { color: var(--blue-100); }

/* Encadrés pastel */
.callout { border-radius: var(--radius-lg); padding: 1.5rem; }
.callout-l { border-left: 4px solid; }
.callout-orange { background: var(--orange-50); border-color: var(--orange-500); }
.callout-blue { background: var(--blue-50); border-color: var(--blue-500); }
.callout-green { background: var(--green-50); border-color: var(--green-500); }
.callout-teal { background: var(--teal-50); border-color: var(--teal-500); }
.callout-red { background: var(--red-50); border-color: var(--red-500); }
.callout-yellow { background: var(--yellow-50); border-color: var(--yellow-500); }
.callout-bordered-orange { background: var(--orange-50); border: 1px solid var(--orange-200); }
.callout-bordered-blue { background: var(--blue-50); border: 1px solid var(--blue-200); }
.callout-bordered-green { background: var(--green-50); border: 1px solid var(--green-200); }
.callout-bordered-red { background: var(--red-50); border: 1px solid var(--red-200); }

/* Glass-card (héros pages services) */
.glass-card {
  border-radius: var(--radius-2xl); padding: 2.5rem 1.5rem; position: relative; z-index: 1;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
@media (min-width: 1024px) { .glass-card { padding: 4rem; } }
.glass-orange { background: rgba(224,136,16,.12); border: 1px solid rgba(224,136,16,.25); }
.glass-blue { background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.25); }
.glass-teal { background: rgba(20,184,166,.12); border: 1px solid rgba(20,184,166,.25); }
.glass-green { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { background: rgba(255,255,255,.6); backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: 1rem; text-align: center; }
.hero-stat strong { display: block; font-size: 1.75rem; line-height: 1.1; }
.hero-stat span { font-size: .875rem; color: var(--gray-600); }
.stat-orange strong { color: var(--orange-600); } .stat-blue strong { color: var(--blue-600); }
.stat-green strong { color: var(--green-600); } .stat-teal strong { color: var(--teal-600); }
.stat-cyan strong { color: var(--cyan-600); } .stat-red strong { color: var(--red-500); }

/* Gros chiffres (bandeau accueil) */
.stat-big { text-align: center; }
.stat-big strong { display: block; font-size: clamp(2.25rem, 5vw, 3rem); color: var(--orange-500); line-height: 1.1; }
.stat-big em { display: block; font-style: normal; font-weight: 600; color: var(--gray-900); }
.stat-big span { font-size: .875rem; color: var(--gray-600); }

/* Barre décorative animée */
.deco-bar {
  width: 6rem; height: 4px; border-radius: 999px; margin: 0 auto 1.5rem;
  background: linear-gradient(270deg, #22c55e 0%, #86efac 25%, #3b82f6 50%, #f97316 75%, #22c55e 100%);
  background-size: 300% 100%; animation: gradientFlow 3s ease-in-out infinite;
}
@keyframes gradientFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.logo img { height: 3rem; width: auto; }
@media (max-width: 639px) { .logo img { height: 2.25rem; } .site-header { --header-h: 4rem; } }

.main-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav > a, .main-nav .nav-drop > button {
  display: inline-flex; align-items: center; gap: .25rem; padding: .55rem .9rem; white-space: nowrap;
  border-radius: var(--radius-sm); font-weight: 600; color: var(--gray-700);
  background: none; border: none; font-size: 1rem; transition: all .15s;
}
.main-nav > a:hover, .main-nav .nav-drop > button:hover { background: var(--gray-50); color: var(--orange-500); }
.main-nav > a.active, .main-nav .nav-drop > button.active { color: var(--orange-600); background: transparent; font-weight: 700; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 1rem; height: 1rem; transition: transform .2s; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + .5rem); left: 0; width: 17rem; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-2xl);
  padding: .5rem; display: none; z-index: 60;
}
.nav-drop.open .nav-menu, .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: block; }
.nav-menu a {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem;
  border-radius: var(--radius-sm); color: var(--gray-700); font-weight: 500;
}
.nav-menu a:hover { background: var(--orange-50); color: var(--orange-600); }
.nav-menu a.nav-devis { color: var(--green-700); font-weight: 600; border-top: 1px solid var(--gray-100); margin-top: .25rem; padding-top: .75rem; }
.nav-menu a.nav-devis:hover { background: var(--green-50); }

.header-actions { display: none; align-items: center; gap: .75rem; }
@media (min-width: 1024px) { .header-actions { display: flex; } }
.header-actions .btn { white-space: nowrap; }
.header-tel {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
  border: 1px solid var(--orange-200); color: var(--orange-600);
  padding: .55rem 1rem; border-radius: var(--radius); transition: background .15s; white-space: nowrap;
}
.header-tel:hover { background: var(--orange-50); }
.header-tel svg { width: 1.1rem; height: 1.1rem; }

/* Burger + drawer mobile */
.burger {
  display: inline-flex; background: none; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: .5rem; color: var(--gray-700);
}
.burger svg { width: 1.4rem; height: 1.4rem; }
@media (min-width: 1024px) { .burger, .mobile-tel { display: none; } }
.mobile-tel {
  display: inline-flex; border: 1px solid var(--orange-200); color: var(--orange-600);
  border-radius: var(--radius-sm); padding: .5rem; margin-right: .5rem;
}
.mobile-tel svg { width: 1.3rem; height: 1.3rem; }
.mobile-actions { display: flex; align-items: center; }
@media (min-width: 1024px) { .mobile-actions { display: none; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 20rem; max-width: 85vw; background: #fff;
  box-shadow: var(--shadow-2xl); z-index: 100; transform: translateX(100%);
  transition: transform .25s ease; display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-100); }
.drawer-head h2 { margin: 0; font-size: 1.1rem; }
.drawer-head button { background: none; border: none; color: var(--gray-500); }
.drawer-head button svg { width: 1.4rem; height: 1.4rem; }
.drawer-body { padding: 1rem 1.25rem; overflow-y: auto; flex: 1; }
.drawer-body .drawer-label { font-size: .75rem; letter-spacing: .05em; color: var(--gray-400); font-weight: 700; margin: 1.25rem 0 .5rem; }
.drawer-body a { display: flex; gap: .6rem; padding: .65rem .5rem; border-radius: var(--radius-sm); font-weight: 500; color: var(--gray-700); }
.drawer-body a:hover { background: var(--orange-50); color: var(--orange-600); }
.drawer-foot { background: var(--gray-50); padding: 1.25rem; border-top: 1px solid var(--gray-100); }
.drawer-foot .tel { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem; font-weight: 700; color: var(--gray-800); }
.drawer-foot .tel svg { width: 1.1rem; height: 1.1rem; color: var(--orange-500); }
.drawer-foot small { display: block; text-align: center; color: var(--gray-500); margin-top: .5rem; }

/* Barre sticky mobile bas (conversion) */
.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: flex;
  background: #fff; border-top: 1px solid var(--gray-200); box-shadow: 0 -4px 12px rgba(0,0,0,.08);
}
.mobile-cta-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem .5rem; font-weight: 700; font-size: .95rem;
}
.mobile-cta-bar a svg { width: 1.2rem; height: 1.2rem; }
.mobile-cta-bar .cta-tel { color: var(--orange-600); }
.mobile-cta-bar .cta-devis { background: var(--orange-500); color: #fff; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 3.4rem; } }

/* Bouton WhatsApp flottant — sobre, sans clignotement */
.whatsapp-fab {
  position: fixed; bottom: 4.5rem; right: 1.25rem; z-index: 55; width: 3.5rem; height: 3.5rem;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp);
  color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.16); transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.whatsapp-fab svg { width: 1.75rem; height: 1.75rem; }
@media (min-width: 1024px) { .whatsapp-fab { bottom: 1.5rem; right: 1.5rem; width: 3.75rem; height: 3.75rem; } }

/* Apparition douce au défilement (sobre, désactivée si l'utilisateur préfère moins d'animations) */
.reveal-init { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s cubic-bezier(.16,.84,.44,1); will-change: opacity, transform; }
.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-init { opacity: 1 !important; transform: none !important; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #121110; color: #d6d7d1; margin-top: 4rem; }
.site-footer p { color: #d6d7d1; }
.footer-main { padding: 3rem 0; display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-main { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.5rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-note {
  background: rgba(224,136,16,.2); border: 1px solid rgba(224,136,16,.3);
  border-radius: var(--radius); padding: 1rem; color: #ffedd5; font-size: .9rem; margin: 1rem 0;
}
.footer-contact li { display: flex; gap: .65rem; align-items: center; margin-bottom: .7rem; line-height: 1.45; }
.footer-contact svg { width: 1.15rem; height: 1.15rem; flex: none; }
.footer-contact li:first-child { align-items: flex-start; }
.footer-contact li:first-child svg { margin-top: .15rem; }
.footer-contact a:hover { color: var(--orange-500); }
.ic-orange { color: var(--orange-500); } .ic-blue { color: var(--blue-500); }
.ic-green { color: var(--green-500); } .ic-green-l { color: #86efac; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem; border-radius: 999px; display: flex;
  align-items: center; justify-content: center; color: #fff; transition: filter .15s;
}
.footer-social a:hover { filter: brightness(1.15); }
.footer-social svg { width: 1.2rem; height: 1.2rem; }
.fs-fb { background: var(--blue-600); } .fs-ig { background: #db2777; } .fs-wa { background: var(--whatsapp); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a:hover { color: var(--orange-500); }
.footer-badges {
  border-top: 1px solid var(--gray-800); padding: 1.5rem 0; display: flex; flex-wrap: wrap;
  gap: 1.25rem; align-items: center; justify-content: space-between; font-size: .9rem;
}
.footer-badges .fb-item { display: flex; align-items: center; gap: .6rem; }
.footer-badges .dot { width: 2rem; height: 2rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .75rem; flex: none; }
.footer-badges .siret { color: var(--gray-400); }
.footer-bottom { background: #000; border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; font-size: .9rem; }
.footer-bottom .row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-bottom a { color: var(--orange-500); font-weight: 600; margin-left: 1rem; }
.footer-bottom a:first-child { margin-left: 0; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   COMPOSANTS DE PAGE
   ============================================================ */

/* Hero accueil */
.hero { padding: 4.5rem 0; }
.hero-grid { display: grid; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin: 1rem 0; }
.hero .sub { font-size: 1.2rem; color: var(--gray-600); }
.hero-checklist { background: rgba(255,255,255,.55); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.hero-checklist li { display: flex; gap: .75rem; margin-bottom: .85rem; align-items: flex-start; }
.hero-checklist li:last-child { margin-bottom: 0; }
.hero-checklist .pt { width: 1.4rem; height: 1.4rem; border-radius: 999px; flex: none; margin-top: .15rem; display: flex; align-items: center; justify-content: center; color: #fff; }
.hero-checklist .pt svg { width: .85rem; height: .85rem; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.hero-cards a {
  border-radius: var(--radius-lg); padding: 1.25rem; transition: transform .2s, background .2s; display: block;
}
.hero-cards a:hover { transform: scale(1.04); }
.hero-cards .hc-title { display: flex; align-items: center; gap: .6rem; font-weight: 700; margin-bottom: .35rem; }
.hero-cards .hc-title .icon-round { width: 2.3rem; height: 2.3rem; }
.hero-cards p { font-size: .875rem; margin: 0; color: var(--gray-600); }
.hc-orange { background: var(--orange-100); } .hc-orange:hover { background: var(--orange-200); } .hc-orange .hc-title { color: #9a3412; }
.hc-blue { background: var(--blue-100); } .hc-blue:hover { background: var(--blue-200); } .hc-blue .hc-title { color: var(--blue-800); }
.hc-teal { background: var(--teal-100); } .hc-teal:hover { background: var(--teal-200); } .hc-teal .hc-title { color: var(--teal-800); }
.hc-green { background: var(--green-100); } .hc-green:hover { background: var(--green-200); } .hc-green .hc-title { color: var(--green-800); }

/* Cartes photos hero droite */
.hero-photos { display: flex; flex-direction: column; gap: 1rem; }
.hero-photos .photo-card { background: #fff; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-2xl); transition: transform .25s; }
.hero-photos .photo-card:hover { transform: scale(1.02); }
.hero-photos .photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-photos .photo-card .pc-body { padding: 1.25rem; }
.hero-photos .photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-photos .photo-row .photo-card img { aspect-ratio: 1/1; }
.hero-photos .photo-row .pc-body { padding: .9rem; }
.hero-photos .photo-row h5 { font-size: .95rem; margin-bottom: .15rem; }
.hero-photos .photo-row p { font-size: .8rem; color: var(--gray-600); margin: 0; }

/* Avis */
.review-card { background: #fff; border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--gray-100); display: flex; flex-direction: column; }
.stars { color: var(--yellow-500); display: inline-flex; gap: .15rem; }
.stars svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.review-card .rc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.review-card .rc-google { font-size: .75rem; color: var(--gray-400); font-weight: 600; }
.review-card blockquote { margin: 0 0 1rem; color: var(--gray-700); font-style: italic; flex: 1; }
.review-card .rc-meta strong { display: block; color: var(--gray-900); }
.review-card .rc-meta span { font-size: .85rem; color: var(--gray-500); }

/* Réalisations */
.realisation-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s; display: flex; flex-direction: column; }
.realisation-card:hover { box-shadow: var(--shadow-xl); }
.realisation-card .rc-img { position: relative; }
.realisation-card .rc-img > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.realisation-card .rc-tags { position: absolute; top: .75rem; left: .75rem; display: flex; gap: .4rem; flex-wrap: wrap; max-width: calc(100% - 8.5rem); }
.realisation-card .rc-loc {
  position: absolute; top: .75rem; right: .75rem; background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px); border-radius: 999px; padding: .3rem .75rem; font-size: .8rem;
  font-weight: 600; display: flex; align-items: center; gap: .3rem; color: var(--gray-800);
}
.realisation-card .rc-loc svg { width: .9rem; height: .9rem; color: var(--orange-500); }
.realisation-card .rc-thumbs { display: flex; gap: .5rem; padding: .75rem; background: var(--gray-50); flex-wrap: wrap; }
.realisation-card .rc-thumbs img {
  width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, border-color .15s;
}
.realisation-card .rc-thumbs img.active { border-color: var(--orange-500); transform: scale(1.05); }
.realisation-card .rc-body { padding: 1.25rem; flex: 1; }
.realisation-card .rc-body h3 { font-size: 1.05rem; }
.badge-avant { position: absolute; bottom: .75rem; left: .75rem; background: var(--gray-900); color: #fff; }
.badge-apres { position: absolute; bottom: .75rem; left: .75rem; background: var(--green-600); color: #fff; }

/* Carrousel générique */
.carousel { position: relative; }
.carousel-track { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .carousel-track { grid-template-columns: repeat(3, 1fr); } }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.carousel-nav button {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--gray-200);
  background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center;
  color: var(--gray-700); transition: all .15s;
}
.carousel-nav button svg { width: 1.2rem; height: 1.2rem; }
.carousel-nav button:hover { background: var(--orange-50); color: var(--orange-600); }
.carousel-nav button:disabled { opacity: .4; cursor: default; }
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dots button { width: .65rem; height: .65rem; border-radius: 999px; border: none; background: var(--gray-300); padding: 0; }
.carousel-dots button.active { background: var(--orange-500); }

/* Accordéon FAQ */
.accordion-item { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); margin-bottom: .75rem; overflow: hidden; }
.accordion-item > button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: none; text-align: left; padding: 1.1rem 1.25rem; font-weight: 600; font-size: 1rem; color: var(--gray-900);
}
.accordion-item > button svg { width: 1.2rem; height: 1.2rem; flex: none; transition: transform .2s; color: var(--gray-500); }
.accordion-item.open > button svg { transform: rotate(180deg); }
.accordion-body {
  display: none; color: var(--gray-700); border-left: 4px solid var(--blue-600);
  margin: 0 1.25rem 1.25rem; padding: .75rem 1rem; background: rgba(239,246,255,.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.accordion-item.open .accordion-body { display: block; }

/* Formulaires */
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-field label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(224,136,16,.15);
}
.form-rgpd { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 1rem; display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; color: var(--gray-600); }
.form-rgpd input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex: none; }

/* Tarifs */
.price-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; }
.price-card .price { font-size: 1.5rem; font-weight: 800; }
.price-blue .price { color: var(--blue-600); } .price-orange .price { color: var(--orange-600); } .price-green .price { color: var(--green-600); }
.price-card .detail { color: var(--gray-500); font-size: .9rem; }

/* Étapes numérotées */
.steps { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step .num {
  width: 3.5rem; height: 3.5rem; border-radius: var(--radius-lg); color: #fff; font-weight: 800;
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
}

/* Communes */
.communes { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 640px) { .communes { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .communes { grid-template-columns: repeat(4, 1fr); } }
.communes li { display: flex; }
.commune-link {
  flex: 1; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: .8rem 1rem; display: flex; align-items: center; gap: .55rem; font-weight: 600;
  color: var(--gray-800); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.communes svg { width: 1.05rem; height: 1.05rem; color: var(--orange-500); flex: none; transition: color .18s; }
.commune-go { margin-left: auto; color: var(--orange-500); font-weight: 700; opacity: 0; transform: translateX(-5px); transition: opacity .18s, transform .18s; }
.commune-link:hover { border-color: var(--orange-300); background: var(--orange-50); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.commune-link:hover svg { color: var(--orange-600); }
.commune-link:hover .commune-go { opacity: 1; transform: translateX(0); }
.commune-link:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 2px; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .55rem; font-size: .875rem; color: var(--gray-500); padding: 1.1rem 0 .4rem; }
.breadcrumb a { display: inline-flex; align-items: center; gap: .3rem; color: var(--gray-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-600); }
.breadcrumb .sep { margin: 0 .4rem; color: var(--gray-300); }
.breadcrumb .bc-home { width: .95rem; height: .95rem; flex: none; }
/* Bouton Retour (injecté par main.js dans le fil d'Ariane) */
.bc-back { display: inline-flex; align-items: center; gap: .3rem; background: #fff; border: 1px solid var(--gray-200); color: var(--gray-700); font-weight: 600; font-size: .85rem; font-family: var(--font-body); padding: .42rem .85rem; border-radius: 999px; cursor: pointer; margin-right: .9rem; transition: all .15s ease; }
.bc-back:hover { border-color: var(--orange-400); color: var(--orange-600); background: var(--orange-50); }
.bc-back svg { width: 1rem; height: 1rem; }

/* Tables */
table.simple { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0; }
table.simple th, table.simple td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--gray-200); }
table.simple th { background: var(--gray-50); }

/* Pages légales */
.legal-page h1 { font-size: 2.25rem; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal-page section { scroll-margin-top: 6rem; }
.legal-toc { background: linear-gradient(90deg, var(--orange-50), var(--blue-50)); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.legal-toc a { color: var(--blue-700); font-weight: 500; }
.legal-toc a:hover { text-decoration: underline; }
.legal-toc li { display: inline-block; margin: .25rem 1.25rem .25rem 0; }
.legal-update { border: 2px dashed var(--gray-300); border-radius: var(--radius-lg); padding: 1.25rem; color: var(--gray-500); font-size: .9rem; margin-top: 3rem; text-align: center; }

/* Animations utilitaires */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn .6s ease-out; }
.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Impression */
/* ---------- Polish mobile ---------- */
html { background: #fff; }
@media (max-width: 640px) {
  .hero .btn, .flex-center > .btn-lg { width: 100%; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .footer-badges { justify-content: flex-start; gap: .75rem 1.5rem; padding-left: .25rem; padding-right: .25rem; }
}

/* ---------- Tunnel de devis (wizard) ---------- */
.wizard-head { margin-bottom: 1.5rem; }
.wizard-label { margin: 0 0 .5rem; font-size: .9rem; color: var(--gray-500); }
.wizard-label strong { color: var(--orange-600); }
.wizard-track { height: 8px; background: var(--gray-200); border-radius: 99px; overflow: hidden; }
.wizard-bar { height: 100%; background: linear-gradient(90deg, var(--orange-500), var(--orange-600)); border-radius: 99px; transition: width .35s ease; }
.wizard-step { border: none; margin: 0; padding: 0; }
.wizard-q { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.1rem; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice-grid-2, .choice-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
.choice {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: 1.1rem .75rem; background: #fff; border: 2px solid var(--gray-200); border-radius: var(--radius-lg);
  font-family: inherit; font-size: .9rem; font-weight: 600; color: var(--gray-800); text-align: center;
  cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; line-height: 1.3;
}
.choice:hover { border-color: var(--orange-300, #fdba74); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.choice.selected { border-color: var(--orange-500); background: var(--orange-50); box-shadow: var(--shadow-lg); }
.choice-ic { width: 2.6rem; height: 2.6rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.choice-ic svg { width: 1.3rem; height: 1.3rem; }
.choice-ic.ic-orange { background: var(--orange-100, #ffedd5); color: var(--orange-600); }
.choice-ic.ic-blue { background: var(--blue-100, #dbeafe); color: var(--blue-600); }
.choice-ic.ic-teal { background: var(--teal-100, #ccfbf1); color: var(--teal-600); }
.choice-ic.ic-green { background: var(--green-100, #dcfce7); color: var(--green-600); }
.wizard-nav { display: flex; gap: .75rem; align-items: center; }
.wizard-nav .btn { flex-shrink: 0; }
.wizard-nav .btn[type="submit"], .wizard-nav [data-wizard-next] { flex: 1; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Bande logos marques ---------- */
.brand-band {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2.5rem 3.5rem; padding: 1.5rem 1rem;
}
.brand-band img {
  height: 2rem; width: auto; max-width: 9rem; object-fit: contain;
  filter: grayscale(1); opacity: .55; transition: filter .25s, opacity .25s;
}
.brand-band img:hover { filter: none; opacity: 1; }
@media (max-width: 640px) { .brand-band { gap: 1.5rem 2rem; } .brand-band img { height: 1.6rem; } }

/* Cartes marques (accueil) */
.brand-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.brand-card-head { padding: 1.25rem 1.5rem .75rem; }
.brand-card-head img { height: 1.75rem; width: auto; max-width: 11rem; object-fit: contain; }
.brand-card-photo { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.brand-card .card-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.brand-card .card-body ul { flex: 1; }

/* Blocs métiers (accueil) */
.svc-bloc { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc-photo { width: 100%; aspect-ratio: 16/6.5; object-fit: cover; }
.svc-body { padding: 1.5rem 1.75rem 1.75rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.svc-body .icon-round { margin-top: -2.9rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.svc-body h3 { font-size: 1.2rem; margin: .85rem 0 .25rem; }
.svc-intro { color: var(--gray-600); margin: 0 0 .5rem; }
.svc-body .checklist { flex: 1; }
.svc-body .svc-link { margin-top: 1rem; color: var(--orange-600); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.svc-body .svc-link svg { width: 1rem; height: 1rem; transition: transform .2s; }
.svc-bloc:hover .svc-link svg { transform: translateX(3px); }

/* Tuiles services (accueil) */
.service-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.service-tile h3 { font-size: 1.1rem; margin: .65rem 0 .15rem; }
.service-tile p { color: var(--gray-600); font-size: .925rem; margin: 0 0 .75rem; flex: 1; }
.service-tile .svc-link { color: var(--orange-600); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.service-tile .svc-link svg { width: 1rem; height: 1rem; transition: transform .2s; }
.service-tile:hover .svc-link svg { transform: translateX(3px); }

/* Teaser réalisations (accueil) */
.realisation-teaser { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.realisation-teaser img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.realisation-teaser:hover img { transform: scale(1.04); }
.realisation-teaser span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-weight: 600; font-size: .95rem;
}

/* Mini-formulaire devis (CTA final accueil) */
.mini-form { margin-top: 1.75rem; }
.mini-form .grid { margin-bottom: 1rem; }
@media (max-width: 767px) { .mini-form .grid-4 { grid-template-columns: 1fr; } }
.mini-form-rgpd { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.25rem; }
.mini-form-rgpd input { margin-top: .2rem; flex-shrink: 0; width: 1.05rem; height: 1.05rem; accent-color: var(--orange-500); }
.mini-form-rgpd label { font-size: .8rem; color: var(--gray-400); line-height: 1.5; cursor: pointer; }
.mini-form [data-form-msg] { color: #fff; }

@media print { .site-header, .mobile-cta-bar, .whatsapp-fab, .site-footer { display: none; } }


/* ============================================================
   NORME DE DESIGN v1 — cohérence globale (13/06/2026)
   1 accent (orange) · fonds blanc/gris clair · boutons pilule
   ============================================================ */

/* Boutons : forme pilule, hiérarchie unique */
.btn { border-radius: 999px; }
.btn-primary:hover, .btn-orange:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn-blue, .btn-teal, .btn-green, .btn-cyan, .btn-purple, .btn-amber, .btn-dark { background: var(--orange-500); color: #fff; }
.btn-blue:hover, .btn-teal:hover, .btn-green:hover, .btn-cyan:hover, .btn-purple:hover, .btn-amber:hover, .btn-dark:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn-outline-blue, .btn-outline-green, .btn-outline-teal, .btn-outline-gray { background: #fff; color: var(--gray-800); border: 1.5px solid var(--gray-300); }
.btn-outline-blue:hover, .btn-outline-green:hover, .btn-outline-teal:hover, .btn-outline-gray:hover { border-color: var(--orange-500); color: var(--orange-600); background: #fff; }
/* bouton Devis du header : orange de marque */
.header-actions .btn-primary { background: var(--orange-500); }
.header-actions .btn-primary:hover { background: var(--orange-600); }

/* Accent unique : orange */
.accent-blue, .accent-green, .accent-teal, .accent-orange-d, .accent-orange { color: var(--orange-600); }

/* Fonds de sections : neutres uniquement */
.bg-soft-orange, .bg-soft-blue, .bg-soft-teal, .bg-soft-cyan, .bg-soft-green,
.bg-gray, .bg-aides, .bg-zone, .bg-certifs, .bg-white-soft { background: var(--gray-50) !important; }

/* Étiquette de section : un seul style, sobre */
.section-head > .badge, section > .container > .badge {
  background: transparent !important; border: none !important; padding: 0 !important; box-shadow: none !important;
  color: var(--orange-600) !important; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; font-weight: 800;
}
.section-head > .badge svg, section > .container > .badge svg { display: none; }

/* Cartes : blanches, bord discret (fin des fonds pastel) */
.card-pastel-orange, .card-pastel-blue, .card-pastel-green, .card-pastel-teal, .card-pastel-purple {
  background: #fff; border: 1px solid var(--gray-200);
}

/* Cartes "glass" : blanches nettes — fin du bleu/teal « liquide glacé » */
.glass-card, .glass-orange, .glass-blue, .glass-teal, .glass-cyan {
  background: #fff !important; border: 1px solid var(--gray-200) !important; backdrop-filter: none !important;
  box-shadow: var(--shadow-md);
}
/* Callouts à dégradé inline (pages services) neutralisés en tint sobre */
.callout[style*="gradient"] { background: var(--gray-50) !important; border: 1px solid var(--gray-200); }

/* Footer collé à la dernière section + logo */
.site-footer { margin-top: 0; }
.footer-logo { height: 2.8rem; width: auto; margin-bottom: 1rem; }



/* ============================================================
   BOUTONS PREMIUM v1 (13/06/2026) — finition tactile
   ============================================================ */
.btn { font-weight: 700; letter-spacing: .01em; padding: .9rem 1.9rem; }
.btn-lg { padding: 1.15rem 2.4rem; }

/* Action principale : orange solide, ombre douce et NEUTRE (sobre, premium — pas de glow kitsch) */
.btn-primary, .btn-orange,
.btn-blue, .btn-teal, .btn-green, .btn-cyan, .btn-purple, .btn-amber, .btn-dark {
  background: var(--orange-500);
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.22);
  box-shadow: 0 1px 2px rgba(56,56,48,.10), 0 8px 18px -10px rgba(56,56,48,.30);
}
.btn-primary:hover, .btn-orange:hover,
.btn-blue:hover, .btn-teal:hover, .btn-green:hover, .btn-cyan:hover, .btn-purple:hover, .btn-amber:hover, .btn-dark:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(56,56,48,.12), 0 12px 24px -10px rgba(56,56,48,.34);
}
.btn-primary:active, .btn-orange:active {
  transform: translateY(0); box-shadow: 0 1px 2px rgba(56,56,48,.12);
}

/* Secondaire : blanc net, se remplit en orange au survol */
.btn-outline-orange, .btn-outline-blue, .btn-outline-green, .btn-outline-teal, .btn-outline-gray, .btn-white {
  background: #fff; color: var(--gray-800); border: 1.5px solid var(--gray-300);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.btn-outline-orange:hover, .btn-outline-blue:hover, .btn-outline-green:hover, .btn-outline-teal:hover, .btn-outline-gray:hover, .btn-white:hover {
  border-color: var(--orange-500); color: var(--orange-600); background: var(--orange-50);
  transform: translateY(-2px); box-shadow: 0 8px 16px -6px rgba(0,0,0,.12);
}

/* Boutons-icônes du header mobile : carrés arrondis cohérents */
.mobile-tel, .burger {
  width: 2.7rem; height: 2.7rem; align-items: center; justify-content: center; padding: 0;
  border-radius: .85rem; transition: all .15s ease;
}
.mobile-tel { border: 1.5px solid var(--orange-200); color: var(--orange-600); margin-right: .55rem; }
.mobile-tel:hover { background: var(--orange-50); border-color: var(--orange-500); }
.burger { border: 1.5px solid var(--gray-200); }
.burger:hover { background: var(--gray-50); border-color: var(--gray-300); }

/* Téléphone & devis du header desktop : mêmes coins doux que les boutons */
.header-tel { border-radius: .85rem; border-width: 1.5px; }
.header-actions .btn-primary {
  padding: .72rem 1.5rem;
  background: var(--orange-500);
  box-shadow: 0 1px 2px rgba(56,56,48,.10), 0 6px 14px -8px rgba(56,56,48,.28);
}
.header-actions .btn-primary:hover { background: var(--orange-600); }

/* ============================================================
   DIAGNO — estimateur PAC (page estimation)
   ============================================================ */
.eyebrow { font-family: var(--font-body); font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.diag-head { text-align: center; max-width: 44rem; margin: 1.25rem auto 2rem; }
.diag-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: .6rem 0 .75rem; }
.diag-head .sub { font-size: 1.1rem; color: var(--gray-600); }
.diag-card { max-width: 46rem; margin: 0 auto; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 2rem; }
@media (max-width: 600px) { .diag-card { padding: 1.4rem; } }
.diag-progress { height: 8px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.diag-bar { height: 100%; background: linear-gradient(90deg, var(--orange-500), var(--orange-600)); border-radius: 99px; transition: width .4s ease; }
.diag-stepnum { font-size: .85rem; color: var(--gray-500); margin: .6rem 0 1.4rem; }
.diag-stepnum strong { color: var(--orange-600); }
.diag-step { border: 0; padding: 0; margin: 0; }
.diag-q { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--gray-900); margin-bottom: 1.25rem; padding: 0; letter-spacing: -.01em; }
.diag-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
@media (min-width: 560px) { .diag-grid-3 { grid-template-columns: repeat(3, 1fr); } .diag-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.diag-choice {
  display: flex; flex-direction: column; align-items: center; gap: .7rem; text-align: center;
  padding: 1.3rem .8rem; background: #fff; border: 2px solid var(--gray-200); border-radius: var(--radius-lg);
  font-family: inherit; font-size: .95rem; font-weight: 600; color: var(--gray-800); cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s; line-height: 1.3;
}
.diag-choice small { font-weight: 400; color: var(--gray-500); font-size: .78rem; }
.diag-choice:hover { border-color: var(--orange-300); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.diag-choice.selected { border-color: var(--orange-500); background: var(--orange-50); }
.diag-ic { width: 3rem; height: 3rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.diag-ic svg { width: 1.5rem; height: 1.5rem; }
.diag-ic.ic-orange { background: var(--orange-100); color: var(--orange-600); }
.diag-ic.ic-blue { background: var(--blue-100); color: var(--blue-700); }
.diag-ic.ic-green { background: var(--green-100); color: var(--green-700); }
.diag-surface { text-align: center; padding: 1rem 0 1.5rem; }
.diag-surface-val { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--gray-900); margin-bottom: .9rem; }
.diag-surface-val strong { color: var(--orange-600); }
.diag-surface input[type=range] { width: 100%; accent-color: var(--orange-500); }
.diag-surface-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--gray-500); margin-top: .4rem; }
.diag-nav { display: flex; gap: .85rem; margin-top: 1.5rem; }
.diag-nav .btn { flex: 1; }
.diag-result { animation: none; }
.diag-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .85rem; margin: 1rem 0 1.25rem; }
@media (max-width: 560px) { .diag-metrics { grid-template-columns: 1fr; } }
.diag-metric { text-align: center; padding: 1.25rem .75rem; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: var(--gray-50); }
.diag-metric .dm-ic { width: 2.4rem; height: 2.4rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto .6rem; }
.diag-metric .dm-ic svg { width: 1.2rem; height: 1.2rem; }
.diag-metric strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--gray-900); line-height: 1.15; }
.diag-metric span { font-size: .82rem; color: var(--gray-600); }
.diag-metric-hl { background: var(--green-50); border-color: var(--green-200); }
.diag-metric-hl strong { color: var(--green-700); }
.diag-eco { text-align: center; font-size: 1.05rem; color: var(--gray-700); margin: 0 0 1rem; }
.diag-eco strong { color: var(--green-700); }
.diag-disclaimer { font-size: .82rem; color: var(--gray-500); text-align: center; max-width: 36rem; margin: 0 auto; line-height: 1.5; }
.diag-coords { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); }
.diag-rgpd { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--gray-600); line-height: 1.5; cursor: pointer; }
.diag-rgpd input { margin-top: .15rem; flex-shrink: 0; width: 1.05rem; height: 1.05rem; accent-color: var(--orange-500); }
.diag-restart { display: block; margin: 1rem auto 0; background: none; border: 0; color: var(--gray-500); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.diag-trust { text-align: center; font-size: .9rem; color: var(--gray-600); margin: 1.75rem auto 0; max-width: 40rem; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.diag-trust svg { width: 1.1rem; height: 1.1rem; color: var(--green-600); flex: none; }

/* Bouton "sur fond foncé" (CTA pétrole) — texte blanc lisible */
.btn-on-dark { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-on-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* Carte Google — zone d'intervention */
.zone-map { width: 100%; max-width: 980px; margin-left: auto; margin-right: auto; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); line-height: 0; }
.zone-map iframe { width: 100%; height: 440px; border: 0; display: block; }
@media (max-width: 600px) { .zone-map iframe { height: 300px; } }

/* ============================================================
   SECTION AIDES — jauge animée + liste compacte (mobile-first)
   ============================================================ */
.aides-layout { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: center; }
@media (max-width: 860px) { .aides-layout { grid-template-columns: 1fr; gap: 1.25rem; } }

.aides-gauge-card {
  background: #fff; border: 1px solid var(--green-200); border-radius: var(--radius-xl);
  padding: 2rem 1.5rem 1.75rem; text-align: center; box-shadow: var(--shadow-md);
}
.gauge { position: relative; width: 200px; height: 200px; max-width: 56vw; aspect-ratio: 1; margin: 0 auto .25rem; }
.gauge-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--green-100); stroke-width: 14; }
.gauge-fill {
  fill: none; stroke: var(--green-500); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 528; stroke-dashoffset: 158; /* rempli à ~70 % par défaut — robuste même sans JS */
}
@keyframes gaugeFill { from { stroke-dashoffset: 528; } to { stroke-dashoffset: 158; } }
.gauge.gauge-on .gauge-fill { animation: gaugeFill 1.6s cubic-bezier(.22, 1, .36, 1) both; }
@media (prefers-reduced-motion: reduce) { .gauge.gauge-on .gauge-fill { animation: none; } }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-num { font-family: var(--font-display); font-weight: 800; font-size: 2.9rem; line-height: 1; letter-spacing: -.02em; color: var(--green-700); }
.gauge-label { margin-top: .3rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); }
.gauge-note { color: var(--gray-600); font-size: .95rem; line-height: 1.5; margin: .65rem 0 1.25rem; }
.aides-gauge-card .btn { width: 100%; }

.aides-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.aide-row {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: .95rem 1.15rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.aide-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.aide-ic { flex: none; width: 2.85rem; height: 2.85rem; border-radius: .85rem; display: grid; place-items: center; color: #fff; }
.aide-ic svg { width: 1.4rem; height: 1.4rem; }
.aide-txt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.aide-txt strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--gray-900); }
.aide-txt span { color: var(--gray-600); font-size: .9rem; line-height: 1.4; }
.aide-txt b { color: var(--gray-900); font-weight: 700; }

/* ===== Typo boutons premium (Sora) + CTA hero ===== */
.btn { font-family: var(--font-display); letter-spacing: .005em; }
.btn-ghost { background: transparent; color: var(--gray-800); border: 1.5px solid var(--gray-300); box-shadow: none; }
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-400); color: var(--gray-900); }
.hero-cta-note { display: flex; align-items: center; gap: .5rem; margin: .9rem 0 0; font-size: .88rem; color: var(--gray-500); font-weight: 500; }
.hero-cta-note svg { width: 1.05rem; height: 1.05rem; color: var(--green-600); flex: none; }
.cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.5rem; color: var(--gray-600); font-size: .92rem; }
.cta-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.cta-trust svg { width: 1rem; height: 1rem; color: var(--green-400); flex: none; }
.drawer-label { display: block; margin: 1.1rem 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-400); }

/* ===== Illustration "Comment marche une PAC" (pages services) ===== */
.pac-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: stretch; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .pac-steps { grid-template-columns: 1fr; } .pac-arrow { transform: rotate(90deg); justify-self: center; } }
.pac-step { position: relative; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2rem 1.25rem 1.5rem; text-align: center; box-shadow: var(--shadow-md); }
.pac-step-ic { width: 3.2rem; height: 3.2rem; border-radius: 1rem; display: grid; place-items: center; color: #fff; margin: 0 auto .9rem; }
.pac-step-ic svg { width: 1.6rem; height: 1.6rem; }
.pac-step-n { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink, #383830); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.pac-step h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.pac-step p { color: var(--gray-600); font-size: .92rem; margin: 0; }
.pac-arrow { display: grid; place-items: center; color: var(--gray-300); }
.pac-arrow svg { width: 1.8rem; height: 1.8rem; }

/* Process "Comment ça se passe" — 4 étapes numérotées */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; max-width: 1040px; margin: .5rem auto 0; }
@media (max-width: 880px) { .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.1rem; } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== Simulateur d'économies vivant ===== */
.sim-card { max-width: 44rem; margin: 0 auto; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-md); }
.sim-card .form-field { margin-bottom: 1.2rem; }
.sim-card label { display: block; font-weight: 600; margin-bottom: .55rem; color: var(--gray-800); }
.sim-surface-out { color: var(--orange-600); font-size: 1.3rem; font-family: var(--font-display); font-weight: 800; }
.sim-card input[type="range"] { width: 100%; accent-color: var(--orange-500); }
.sim-card select { width: 100%; padding: .8rem .9rem; border: 1px solid var(--gray-300); border-radius: .6rem; font-size: 1rem; background: #fff; color: var(--gray-900); }
.sim-hint { text-align: center; color: var(--gray-500); font-size: .92rem; margin: .35rem 0 0; }
.sim-note { text-align: center; color: var(--gray-400); font-size: .78rem; font-style: italic; margin: .9rem 0 0; }
.sim-result { text-align: center; background: var(--tint-green, #f3faef); border: 1px solid var(--green-200); border-radius: var(--radius-lg); padding: 1.6rem 1.25rem; margin-top: .25rem; }
.sim-result-label { display: block; color: var(--gray-600); font-size: .95rem; max-width: 24rem; margin: 0 auto; }
.sim-result-val { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.7rem; line-height: 1.04; letter-spacing: -.02em; color: var(--green-700); margin: .35rem 0 .2rem; }
.sim-result-sub { display: block; color: var(--gray-600); font-size: .95rem; }
.sim-result-sub strong { color: var(--green-700); }

/* ===== Bande "Pourquoi AIS" — claire, cohérente avec le blanc ===== */
.trust-band { background: linear-gradient(180deg, #ffffff 0%, #f2f5f7 100%); border-top: 1px solid rgba(56,56,48,.06); }
.trust-head h2 { color: var(--ink, #383830); }
.trust-band .card { border: 1px solid rgba(56,56,48,.07); box-shadow: 0 1px 2px rgba(56,56,48,.05), 0 22px 46px -28px rgba(56,56,48,.22); }
