/* DA « Haute Tension » : noir mat, jaune électrique, orange alerte, typo condensée très grasse. */
:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface-2: #1e1e1e;
  --border: #2c2c2c;
  --text: #f4f4ef;
  --text-muted: #b4b4ab;
  --yellow: #ffe600;
  --yellow-hot: #fff35c;
  --orange: #ff6a00;
  --on-yellow: #0d0d0d;
  --radius: 14px;
  --radius-sm: 8px;
  --glow: 0 0 0 1px rgba(255, 230, 0, .35), 0 0 28px rgba(255, 230, 0, .28);
  --font-display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--bg) 14px 28px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-body); overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--yellow); }
a:hover { color: var(--yellow-hot); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 3.2vw, 2.2rem); }
h3 { font-family: var(--font-cond); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--on-yellow); padding: 10px 16px; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.hazard-strip { height: 8px; background: var(--hazard); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); border: 2px solid transparent; font: 800 1.1rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--yellow); color: var(--on-yellow); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--yellow-hot); color: var(--on-yellow); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 230, 0, .6), 0 0 40px rgba(255, 230, 0, .45); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.25rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-arrow { display: inline-flex; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 13, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 400 1.15rem/1 var(--font-display); text-transform: uppercase; margin: 0; }
.brand em { font-style: normal; color: var(--yellow); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--yellow); color: var(--on-yellow); box-shadow: var(--glow); }
.brand-mark svg { width: 22px; height: 22px; fill: var(--on-yellow); }
.brand-text-short { display: none; }
.main-nav { display: flex; align-items: center; gap: 20px; flex: none; justify-content: flex-end; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--text-muted); text-decoration: none; font-size: .92rem; font-weight: 600; transition: color .15s; white-space: nowrap; }
.nav-links a { font: 700 1.05rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .04em; }
.main-nav a:hover { color: var(--yellow); }
.main-nav .btn-primary, .main-nav .btn-primary:hover { color: var(--on-yellow); }
.nav-toggle { display: none; }

/* Fil d'Ariane */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 16px 0 0; font-size: .88rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: var(--orange); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

/* Hero */
.hero { position: relative; padding: 48px 0 56px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: auto -20% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(255, 230, 0, .14), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero h1 { overflow-wrap: anywhere; }
.hero .hl, .hero h1 .hl { color: var(--yellow); text-shadow: 0 0 24px rgba(255, 230, 0, .35); }
.hero-city h1, .hero-area h1 { color: var(--text); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 800 1rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.eyebrow svg { width: 18px; height: 18px; color: var(--yellow); }
.lead { font-size: 1.15rem; color: var(--text); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--text-muted); font-weight: 600; }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks svg { width: 18px; height: 18px; color: var(--yellow); }
/* Photos */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero { z-index: 1; aspect-ratio: 4 / 5; border: 2px solid var(--yellow); box-shadow: var(--glow); }
.photo-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--hazard); }
.photo-side { aspect-ratio: 4 / 3; border: 2px solid var(--border); }
.photo-sticky { position: sticky; top: 96px; }
.photo-card { aspect-ratio: 3 / 2; margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 3px solid var(--yellow); }
.photo-inline { aspect-ratio: 16 / 9; margin: 28px 0; border: 2px solid var(--border); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.split-text { min-width: 0; }

/* Recherche ville */
.city-search { position: relative; margin: 24px 0 0; max-width: 520px; }
.city-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--yellow); pointer-events: none; }
.city-search input { width: 100%; min-height: 58px; padding: 14px 18px 14px 50px; background: var(--surface); color: var(--text); border: 2px solid var(--border); border-radius: var(--radius-sm); font: 600 1.1rem var(--font-body); }
.city-search input:focus { outline: none; border-color: var(--yellow); box-shadow: var(--glow); }
.city-search input::placeholder { color: var(--text-muted); }
.city-search-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); max-height: 320px; overflow-y: auto; }
.city-search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 6px; color: var(--text); text-decoration: none; }
.city-search-results a span { color: var(--text-muted); }
.city-search-results a:hover, .city-search-results a[aria-selected="true"] { background: var(--yellow); color: var(--on-yellow); }
.city-search-results a:hover span, .city-search-results a[aria-selected="true"] span { color: var(--on-yellow); }

/* Recherche de ville dans le header : sur sa propre ligne, sous la marque et le menu */
.header-inner { flex-wrap: wrap; row-gap: 0; }
.header-inner > .brand, .header-inner > .main-nav { min-height: 64px; }
.header-search { order: 3; flex: 1 1 100%; max-width: none; margin: 0 0 12px; }
.header-search .city-search-icon { left: 12px; width: 18px; height: 18px; }
.header-search input { min-height: 42px; padding: 8px 12px 8px 38px; font-size: .98rem; border-width: 1px; }
.header-search .city-search-results { min-width: 300px; }

/* Page devis */
.hero-devis { padding: 40px 0 56px; }
/* Ordre mobile : titre, formulaire, étapes. Sur ordinateur, le formulaire occupe la colonne de droite. */
.devis-grid { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-areas: "intro form" "more form"; gap: 0 40px; align-items: start; }
.devis-intro { grid-area: intro; }
.devis-more { grid-area: more; }
.devis-form-card { grid-area: form; }
.devis-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.devis-steps li { display: flex; gap: 14px; align-items: flex-start; }
.devis-steps strong { display: block; font-family: var(--font-cond); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; }
.devis-steps p { margin: 2px 0 0; color: var(--text-muted); }
.devis-steps .step-num { flex: none; margin: 0; width: 38px; height: 38px; font-size: 1.1rem; }
.devis-form-card { background: #fff; color: #1a1a1a; border: 3px solid var(--yellow); border-radius: var(--radius); box-shadow: var(--glow); padding: 20px; min-height: 420px; }
.devis-form-title { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 2px solid #eee; font: 800 1.3rem/1.2 var(--font-cond); text-transform: uppercase; color: #111; }
.devis-form-title span { color: #b34a00; }
.devis-loading { margin: 24px 0; text-align: center; color: #555; }
#v5d15e887fcd:not(:empty) + .devis-loading { display: none; }

/* Bandeau de confiance */
.trust-bar { background: var(--yellow); color: var(--on-yellow); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { text-align: center; }
.trust-value { margin: 0; font: 400 1.6rem/1.1 var(--font-display); }
.trust-label { margin: 4px 0 0; font: 700 .98rem/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .03em; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-intro { color: var(--text-muted); max-width: 70ch; margin-bottom: 28px; }
.grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.steps { list-style: none; padding: 0; margin: 28px 0 0; }
.step-card, .type-card, .info-card { position: relative; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s, transform .2s; }
.section-alt .type-card, .section-alt .info-card { background: var(--bg); }
.step-card:hover, .type-card:hover, .info-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.step-card p, .type-card p, .info-card p { color: var(--text-muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); font: 400 1.3rem/1 var(--font-display); box-shadow: var(--glow); }
.type-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; background: rgba(255, 230, 0, .1); color: var(--yellow); border: 1px solid rgba(255, 230, 0, .35); }
.type-icon svg { width: 26px; height: 26px; }
.type-tag { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: var(--on-yellow); font: 800 .85rem/1.4 var(--font-cond); text-transform: uppercase; letter-spacing: .05em; }
.type-grid { margin-bottom: 24px; }

/* Étapes d'installation */
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-left: 3px solid var(--yellow); }
.timeline li { display: flex; gap: 18px; padding: 0 0 22px 22px; position: relative; scroll-margin-top: 90px; }
.timeline-num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin-left: -42px; border-radius: 50%; background: var(--bg); border: 3px solid var(--yellow); color: var(--yellow); font: 400 1rem/1 var(--font-display); }
.timeline h3 { margin: 4px 0 4px; }
.timeline p { color: var(--text-muted); margin: 0; }

/* Listes à puces cochées */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--on-yellow); background: var(--yellow); border-radius: 50%; padding: 3px; }

/* Bloc CTA */
.cta-block { position: relative; padding: 56px 0; background: linear-gradient(135deg, #1a1700 0%, #0d0d0d 55%, #1f0d00 100%); border-top: 3px solid var(--yellow); border-bottom: 3px solid var(--orange); }
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta-copy h2 { color: var(--yellow); }
.cta-copy p { color: var(--text); margin: 0; font-size: 1.1rem; }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.cta-note { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--text-muted); font-size: .92rem; }
.cta-note svg { width: 16px; height: 16px; color: var(--yellow); }

/* Entreprises SIRENE */
.companies-how { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: none; }
.companies-how li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; }
.companies-how span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); font: 800 1rem/1 var(--font-cond); }
.companies-widget { margin: 0 0 20px; }
.companies-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.companies-toolbar p { margin: 0; font: 700 1.2rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .03em; }
.companies-toolbar strong { color: var(--yellow); font-size: 1.5rem; }
.companies-toolbar .companies-source { font: 500 .85rem var(--font-body); text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.companies-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.company-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface-2); border: 1px solid var(--border); border-top: 3px solid var(--yellow); border-radius: var(--radius); padding: 18px; transition: border-color .2s, transform .2s; }
.company-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.company-head { display: flex; align-items: center; gap: 12px; }
.company-avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--yellow), var(--orange)); color: var(--on-yellow); font: 800 1.15rem/1 var(--font-cond); }
.company-card h3 { font-size: 1.15rem; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.company-alias { margin: 2px 0 0; color: var(--text-muted); font-size: .88rem; }
.company-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.company-badge { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text); font: 700 .8rem/1.4 var(--font-cond); text-transform: uppercase; letter-spacing: .05em; }
.company-badge-rge { border-color: var(--yellow); color: var(--yellow); }
.company-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--text-muted); font-size: .92rem; }
.company-meta li { display: flex; gap: 8px; align-items: flex-start; }
.company-meta svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--yellow); }
.company-cta { margin-top: auto; }
.company-card-cta { justify-content: center; background: linear-gradient(160deg, #1a1700, #0d0d0d 60%, #1f0d00); border: 2px solid var(--yellow); box-shadow: var(--glow); }
.company-card-cta h3 { color: var(--yellow); font-size: 1.3rem; }
.company-card-cta p { margin: 0; color: var(--text); font-size: .95rem; }
.company-card-cta .company-cta-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font: 800 .9rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .08em; }
.company-card-cta .company-cta-eyebrow svg { width: 16px; height: 16px; color: var(--yellow); }
.company-card.is-skeleton { min-height: 220px; gap: 14px; }
.company-card.is-skeleton span { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, var(--surface) 0%, #2a2a2a 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.company-card.is-skeleton span:first-child { height: 46px; width: 46px; }
.company-card.is-skeleton span:nth-child(2) { width: 70%; }
.company-card.is-skeleton span:last-child { height: 40px; margin-top: auto; }
@keyframes shimmer { to { background-position: -200% 0; } }
.companies-status { color: var(--text-muted); }
.companies-empty { display: grid; gap: 14px; justify-items: start; padding: 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); }
.companies-empty p { margin: 0; }

/* Appels au devis intercalés */
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 28px 0 0; padding: 18px 20px; background: linear-gradient(135deg, #1a1700, var(--surface-2) 70%); border: 1px solid var(--yellow); border-left: 5px solid var(--yellow); border-radius: var(--radius-sm); }
.inline-cta p { display: flex; align-items: center; gap: 10px; margin: 0; flex: 1 1 280px; font-weight: 700; }
.inline-cta p svg { flex: none; width: 22px; height: 22px; color: var(--yellow); }
.type-card, .info-card { display: flex; flex-direction: column; }
.type-card > p:last-of-type, .info-card > p:last-of-type { margin-bottom: 16px; }
.type-card > .type-icon, .type-card > .type-tag { align-self: flex-start; }
.card-cta { margin-top: auto; width: 100%; white-space: nowrap; }

/* Carte */
.map-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--yellow); box-shadow: var(--glow); background: var(--surface-2); }
.map-frame iframe { border: 0; width: 100%; height: 320px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq details { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.section-alt .faq details { background: var(--bg); }
.faq details[open] { border-color: var(--yellow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative; font: 700 1.15rem/1.3 var(--font-cond); text-transform: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--font-display); color: var(--yellow); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--text-muted); }

/* Texte long */
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--yellow); }
.prose p { color: #dcdcd4; }
.prose .type-grid { margin: 24px 0; }

/* Liens / grilles de villes */
.link-grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.link-grid a { display: block; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; transition: border-color .15s, color .15s; }
.section-alt .link-grid a { background: var(--bg); }
.link-grid a:hover { border-color: var(--yellow); color: var(--yellow); }
.link-grid-compact { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.link-grid-compact a { padding: 9px 12px; font-size: .95rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 18px; }
.alpha-index { columns: 4 220px; column-gap: 28px; }
.alpha-group { break-inside: avoid; margin-bottom: 18px; }
.alpha-letter { margin: 0 0 6px; font: 400 1.4rem/1 var(--font-display); color: var(--yellow); }
.alpha-group ul { list-style: none; padding: 0; margin: 0; }
.alpha-group a { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: var(--text); text-decoration: none; font-size: .95rem; }
.alpha-group a span { color: var(--text-muted); font-size: .85rem; }
.alpha-group a:hover { color: var(--yellow); }

/* Cartes pays */
.country-cards { margin-top: 28px; }
.country-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.country-card:hover { border-color: var(--yellow); color: var(--text); }
.country-card strong { display: block; font: 400 1.1rem/1.2 var(--font-display); text-transform: uppercase; }
.country-card span:not(.country-flag) { flex: 1; color: var(--text-muted); font-size: .92rem; }
.country-card svg { width: 22px; height: 22px; color: var(--yellow); }
.country-flag { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--yellow); color: var(--on-yellow); font: 400 1rem/1 var(--font-display); }

/* Footer */
.site-footer { background: #080808; border-top: 1px solid var(--border); padding-bottom: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand p { color: var(--text-muted); }
.footer-brand .brand { margin-bottom: 14px; color: var(--text); }
.footer-title { font: 800 1.05rem/1 var(--font-cond); text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--text-muted); text-decoration: none; }
.site-footer ul a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; color: var(--text-muted); font-size: .88rem; }

/* Barre CTA collante */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(13, 13, 13, .96); backdrop-filter: blur(10px); border-top: 2px solid var(--yellow); box-shadow: 0 -10px 30px rgba(0, 0, 0, .5); transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.sticky-cta-text { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 1.1rem/1.2 var(--font-cond); text-transform: uppercase; letter-spacing: .03em; }
.sticky-cta-bolt svg { width: 22px; height: 22px; color: var(--yellow); }
.sticky-cta-actions { flex: none; }
.sticky-cta-arrow { display: inline-flex; animation: sticky-arrow-nudge 1.3s ease-in-out infinite; }
.sticky-cta-arrow svg { width: 15px; height: 15px; display: block; }
@keyframes sticky-arrow-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }

/* Modale exit-intent (injectée par main.js, desktop uniquement) */
.exit-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.exit-modal.is-open { opacity: 1; }
.exit-panel { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; width: min(820px, 100%); background: var(--surface); border: 2px solid var(--yellow); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 60px rgba(255, 230, 0, .25); }
.exit-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--hazard); }
.exit-main { padding: 40px 32px 32px; }
.exit-main h2 { color: var(--yellow); margin-bottom: .4em; }
.exit-main p { color: var(--text); }
.exit-main .eyebrow { color: var(--orange); }
.exit-side { padding: 40px 28px 28px; background: linear-gradient(160deg, #1a1700, #0d0d0d 60%, #1f0d00); border-left: 1px solid var(--border); }
.exit-big { margin: 0; font: 400 3rem/1 var(--font-display); color: var(--yellow); }
.exit-big-label { margin: 6px 0 18px; font: 700 1.05rem/1.2 var(--font-cond); text-transform: uppercase; }
.exit-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--text-muted); }
.exit-side li { display: flex; gap: 8px; }
.exit-side li::before { content: '⚡'; color: var(--yellow); }
.exit-close { position: absolute; right: 12px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.exit-close:hover { border-color: var(--yellow); color: var(--yellow); }
.exit-dismiss { display: inline-block; margin-top: 12px; background: none; border: 0; color: var(--text-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .92rem; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .95rem; letter-spacing: .02em; }
  .main-nav { gap: 12px; }
  .brand { font-size: 1rem; }
}
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .exit-panel { grid-template-columns: 1fr; }
  .exit-side { display: none; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .companies-list { grid-template-columns: repeat(2, 1fr); }
  .companies-how { grid-template-columns: 1fr; }
  .hero-grid, .cta-inner, .map-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .devis-grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "more"; gap: 24px; }
  .photo-hero { aspect-ratio: 16 / 9; }
  .photo-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Menu burger dès 1040px : marque, menu et bouton devis tiennent sur une ligne au-dessus de la recherche */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--yellow); position: relative; content: ''; }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 2px solid var(--yellow); padding: 8px 16px 16px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .main-nav { gap: 10px; order: 2; }
}
@media (max-width: 780px) {
  .nav-cta { display: none; }
  .brand-text-full { display: none; }
  .brand-text-short { display: inline; }
  .sticky-cta-text { font-size: .98rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .type-card { padding: 16px; }
  .type-card h3 { font-size: 1.1rem; }
  .type-card p { font-size: .92rem; }
  .section { padding: 48px 0; }
  .hero { padding: 32px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .companies-list, .companies-how { grid-template-columns: 1fr; }
  .inline-cta .btn { width: 100%; }
  .type-grid > .type-card { min-width: 0; }
  .type-card .card-cta { padding: 8px 6px; font-size: .88rem; white-space: normal; text-align: center; }
  .sticky-cta-bolt { display: none; }
  .sticky-cta-inner { gap: 10px; }
  .sticky-cta .btn { padding: 10px 14px; font-size: 1rem; }
  .sticky-cta-text { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-actions .btn { width: 100%; }
  .type-tag { font-size: .75rem; padding: 2px 8px; }
  .trust-value { font-size: 1.3rem; }
}
@media (max-width: 400px) {
  .sticky-cta-text { display: none; }
  .sticky-cta-actions, .sticky-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
