/* =================================================================
   NOVATRYX — Design System
   Inspiration : Loihde (sobre, éditorial, B2B premium)
   ================================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0a1628;
  --navy-900: #142037;
  --navy-800: #1e3a68;
  --navy-700: #2a4a7f;
  --navy-600: #3a5a9c;
  --gold-600: #a07a4b;
  --gold-500: #b8956f;
  --gold-400: #d4b894;
  --paper: #f8f7f4;
  --white: #ffffff;
  --text: #0a1628;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-dark: #2a3754;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem;
  --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem; --s-32: 8rem;

  --container: 1280px;

  --r-sm: 0.375rem; --r-md: 0.5rem; --r-lg: 0.75rem; --r-xl: 1rem; --r-2xl: 1.5rem; --r-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(10,22,40,0.05);
  --shadow-md: 0 4px 6px -1px rgba(10,22,40,0.08), 0 2px 4px -2px rgba(10,22,40,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(10,22,40,0.10), 0 4px 6px -4px rgba(10,22,40,0.05);
  --shadow-xl: 0 20px 40px -10px rgba(10,22,40,0.15);

  --t-fast: 150ms ease; --t-base: 250ms ease; --t-slow: 400ms ease;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--s-6); padding-right: var(--s-6); }
@media (min-width: 1024px) { .container { padding-left: var(--s-12); padding-right: var(--s-12); } }

.section { padding: var(--s-20) 0; }
.section-tight { padding: var(--s-12) 0; }
.section-loose { padding: var(--s-32) 0; }
@media (min-width: 1024px) { .section { padding: var(--s-24) 0; } }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: var(--text); }
.h-display { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.h-1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.h-2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.h-3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.h-4 { font-size: 1.125rem; }

.lead { font-size: 1.125rem; line-height: 1.6; color: var(--text-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-600); }
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--gold-500); }
.italic-accent { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; }
p { color: var(--text); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); padding: var(--s-3) var(--s-6); border-radius: var(--r-full); font-weight: 600; font-size: 0.9375rem; line-height: 1; transition: all var(--t-base); white-space: nowrap; border: 1px solid transparent; }
.btn-lg { padding: var(--s-4) var(--s-8); font-size: 1rem; }
.btn-sm { padding: var(--s-2) var(--s-4); font-size: 0.8125rem; }
.btn-primary { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }
.btn-primary:hover { background: var(--navy-800); border-color: var(--navy-800); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--navy-950); border-color: var(--navy-950); }
.btn-outline:hover { background: var(--navy-950); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-950); border-color: var(--white); }
.btn-light:hover { background: var(--gold-400); border-color: var(--gold-400); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--white); color: var(--navy-950); border-color: var(--white); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { color: var(--gold-600); }
.btn-arrow::after { content: "→"; transition: transform var(--t-base); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,0.7); font-size: 0.75rem; padding: var(--s-2) 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar-item svg { color: var(--gold-500); flex-shrink: 0; }
.topbar-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.15); }
.topbar-link { color: rgba(255,255,255,0.85); transition: color var(--t-fast); display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar-link:hover { color: var(--gold-400); }
.topbar-link svg { color: var(--gold-500); }
@media (max-width: 768px) { .topbar-left { display: none; } .topbar-inner { justify-content: center; } }

/* ---------- Header (pilule détachée) ---------- */
.header { background: transparent; position: sticky; top: 16px; z-index: 50; padding: 0; }
.header .container { padding-left: var(--s-4); padding-right: var(--s-4); }
@media (min-width: 1024px) { .header .container { padding-left: var(--s-6); padding-right: var(--s-6); } }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-2) var(--s-4) var(--s-2) var(--s-6);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -10px rgba(10,22,40,0.18), 0 2px 8px -2px rgba(10,22,40,0.06);
}
@media (min-width: 768px) {
  .header-inner { padding: var(--s-2) var(--s-3) var(--s-2) var(--s-8); }
}
.logo { display: inline-flex; align-items: center; gap: var(--s-3); font-weight: 800; letter-spacing: -0.02em; font-size: 1.375rem; color: var(--navy-950); }
.logo-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-wordmark { padding: 0; gap: 0; }
.logo-wordmark img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo-wordmark img { height: 88px; } }
@media (min-width: 1024px) { .logo-wordmark img { height: 96px; } }
.wordmark-text {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.625rem;
  letter-spacing: -0.06em;
  color: #1a2540;
  line-height: 1;
}
@media (min-width: 768px) {
  .wordmark-text { font-size: 1.75rem; }
}
.nav { display: flex; align-items: center; gap: var(--s-8); flex: 1; justify-content: center; }
.nav a { font-size: 0.9375rem; font-weight: 500; color: var(--text); transition: color var(--t-fast); position: relative; padding: var(--s-2) 0; }
.nav a:hover, .nav a.active { color: var(--gold-600); }
.nav a.active::after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--gold-500); }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.menu-toggle { display: none; padding: var(--s-2); }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1023px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: var(--s-6); gap: var(--s-4); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn:not(.btn-primary) { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-950); color: var(--white); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 50%, rgba(184,149,111,0.08), transparent 50%), radial-gradient(circle at 80% 80%, rgba(30,58,104,0.6), transparent 50%); }
.hero-inner { position: relative; z-index: 2; padding: var(--s-24) 0 var(--s-20); display: grid; grid-template-columns: 1fr; gap: var(--s-16); align-items: center; }
@media (min-width: 1024px) { .hero-inner { grid-template-columns: 1.2fr 1fr; padding: var(--s-32) 0; } }
.hero-content h1 { color: var(--white); margin: var(--s-6) 0; }
.hero-content .italic-accent { color: inherit; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-4); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--r-full); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); background: rgba(255,255,255,0.03); }
.hero-content .lead { color: rgba(255,255,255,0.75); max-width: 38ch; margin-top: var(--s-6); font-size: 1.1875rem; }
.hero-actions { display: flex; gap: var(--s-3); margin-top: var(--s-10); flex-wrap: wrap; }
.hero-chips { display: flex; gap: var(--s-3); margin-top: var(--s-12); flex-wrap: wrap; }
.hero-chip { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-4); border-radius: var(--r-full); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); font-size: 0.8125rem; color: rgba(255,255,255,0.8); }
.hero-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.hero-visual { position: relative; height: 480px; border-radius: var(--r-xl); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.35), rgba(10,22,40,0.65)), url('assets/photos/marketing/villa-moderne.jpg') center/cover; }
.hero-visual-overlay { position: absolute; inset: 0; padding: var(--s-8); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-3); }
.hero-visual-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-lg); padding: var(--s-4); display: flex; align-items: center; gap: var(--s-3); }
.hero-visual-card .indicator { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.2); flex-shrink: 0; }
.hero-visual-card-text { flex: 1; }
.hero-visual-card-text strong { display: block; color: var(--white); font-size: 0.875rem; }
.hero-visual-card-text span { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* ---------- Stats Banner ---------- */
.stats-banner {
  background: var(--navy-950);
  background-image: radial-gradient(circle at 15% 50%, rgba(59,130,246,0.08), transparent 60%),
                    radial-gradient(circle at 85% 50%, rgba(184,149,111,0.06), transparent 60%);
  color: var(--white);
  padding: var(--s-20) 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-10) var(--s-6);
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
}
.stat-item {
  padding: var(--s-2) var(--s-4);
  position: relative;
}
@media (min-width: 768px) {
  .stat-item + .stat-item::before {
    content: ""; position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px; background: rgba(255,255,255,0.08);
  }
}
.stat-num {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-num .italic-accent { color: inherit; }
.stat-suffix {
  font-size: 0.55em;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  margin-left: 0.1em;
  letter-spacing: 0;
}
.stat-label {
  margin-top: var(--s-3);
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ---------- Why Cards ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-12); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-8); transition: all var(--t-base); display: flex; flex-direction: column; gap: var(--s-4); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-400); }
.why-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--navy-950); color: var(--gold-400); display: inline-flex; align-items: center; justify-content: center; }
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.125rem; }
.why-card p { color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- Materiel grid (style Ajax) ---------- */
.materiel-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 768px) { .materiel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .materiel-grid { grid-template-columns: repeat(4, 1fr); } }
.materiel-card { position: relative; aspect-ratio: 4/5; border-radius: var(--r-xl); overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s-6); transition: transform var(--t-base); background: var(--navy-950); }
.materiel-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform var(--t-slow); z-index: 1; }
.materiel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.materiel-card:hover .materiel-card-img { transform: scale(1.05); }
.materiel-card-content { position: relative; z-index: 2; }
.materiel-brand { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.materiel-card h3 { color: var(--white); font-size: 1.3rem; margin: var(--s-2) 0 var(--s-3); line-height: 1.2; }
.materiel-card p { color: rgba(255,255,255,0.78); font-size: 0.875rem; line-height: 1.5; }

/* ---------- Section image (Alarme / Vidéo avec visuel) ---------- */
.intro-grid-img { display: grid; grid-template-columns: 1fr; gap: var(--s-10); align-items: center; }
@media (min-width: 1024px) { .intro-grid-img { grid-template-columns: 1fr 1fr; gap: var(--s-16); } }
.section-image { aspect-ratio: 4/3; border-radius: var(--r-xl); background-size: cover; background-position: center; box-shadow: var(--shadow-xl); }

/* ---------- Sectors ---------- */
.sectors-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-12); }
@media (min-width: 768px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(4, 1fr); } }
.sector-card { position: relative; aspect-ratio: 3/4; border-radius: var(--r-xl); overflow: hidden; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--s-6); transition: transform var(--t-base); }
.sector-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0.3) 70%, transparent 100%); z-index: 1; transition: opacity var(--t-base); }
.sector-card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform var(--t-slow); }
.sector-card:hover { transform: translateY(-4px); }
.sector-card:hover .sector-card-img { transform: scale(1.05); }
.sector-card-content { position: relative; z-index: 2; }
.sector-card .eyebrow { color: var(--gold-400); }
.sector-card .eyebrow::before { background: var(--gold-400); }
.sector-card h3 { color: var(--white); font-size: 1.5rem; margin: var(--s-3) 0; }
.sector-card p { color: rgba(255,255,255,0.85); font-size: 0.875rem; margin-bottom: var(--s-4); }
.sector-card-link { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--gold-400); font-weight: 600; font-size: 0.875rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-8); margin-top: var(--s-12); position: relative; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-12); } }
.process-step { position: relative; padding-top: var(--s-4); }
.process-step-num { font-family: var(--font-serif); font-style: italic; font-size: 4rem; line-height: 1; color: var(--gold-500); margin-bottom: var(--s-4); }
.process-step h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.process-step p { color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-12); }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-4); }
.testimonial-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.0625rem; line-height: 1.55; color: var(--text); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--border); }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.875rem; }
.testimonial-name { font-weight: 600; font-size: 0.9375rem; }
.testimonial-meta { font-size: 0.75rem; color: var(--text-muted); }
.logos-row { margin-top: var(--s-16); padding-top: var(--s-8); border-top: 1px solid var(--border); }
.logos-label { text-align: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-6); }
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-12); opacity: 0.5; }
.logos-grid span { font-weight: 700; font-size: 1.125rem; color: var(--text); letter-spacing: -0.02em; }

/* ---------- Career section ---------- */
.career { background: var(--navy-950); color: var(--white); }
.career-inner { display: grid; grid-template-columns: 1fr; gap: var(--s-12); align-items: center; }
@media (min-width: 1024px) { .career-inner { grid-template-columns: 1fr 1fr; gap: var(--s-20); } }
.career h2 { color: var(--white); }
.career p { color: rgba(255,255,255,0.75); }
.career .eyebrow { color: var(--gold-400); }
.career .eyebrow::before { background: var(--gold-400); }
.career-image { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)) center/cover; position: relative; }
.career-image::before { content: ""; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=900&auto=format&fit=crop') center/cover; opacity: 0.4; }

/* ---------- CTA Blocks ---------- */
.cta-blocks { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-12); }
@media (min-width: 768px) { .cta-blocks { grid-template-columns: repeat(3, 1fr); } }
.cta-block { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-8); transition: all var(--t-base); }
.cta-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cta-block-eyebrow { display: inline-block; padding: var(--s-1) var(--s-3); background: var(--paper); border-radius: var(--r-full); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: var(--s-4); }
.cta-block h3 { font-size: 1.25rem; margin-bottom: var(--s-3); }
.cta-block p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: var(--s-6); }
.cta-block .btn-arrow { padding: 0; color: var(--navy-950); font-weight: 600; }
.cta-block.dark { background: var(--navy-950); color: var(--white); border-color: var(--navy-900); }
.cta-block.dark h3 { color: var(--white); }
.cta-block.dark p { color: rgba(255,255,255,0.7); }
.cta-block.dark .cta-block-eyebrow { background: var(--navy-900); color: var(--gold-400); }
.cta-block.dark .btn-arrow { color: var(--gold-400); }
.cta-block.gold { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.cta-block.gold .cta-block-eyebrow { background: rgba(255,255,255,0.4); color: var(--navy-950); }
.cta-block.gold p { color: var(--navy-900); }
.cta-block.gold .btn-arrow { color: var(--navy-950); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: var(--s-20) 0 var(--s-8); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-10); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); gap: var(--s-12); } }
.footer-brand h4 { color: var(--white); margin: var(--s-4) 0 var(--s-3); font-size: 1.25rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.875rem; max-width: 32ch; }
.footer-col h5 { color: var(--white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9375rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom { margin-top: var(--s-16); padding-top: var(--s-6); border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s-4); font-size: 0.8125rem; color: rgba(255,255,255,0.5); }
.footer-socials { display: flex; gap: var(--s-3); }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-dark); display: inline-flex; align-items: center; justify-content: center; transition: all var(--t-fast); }
.footer-socials a:hover { border-color: var(--gold-500); color: var(--gold-400); }
.footer-socials svg { width: 16px; height: 16px; }

/* ---------- Page Hero ---------- */
.page-hero { background: var(--navy-950); color: var(--white); padding: var(--s-20) 0 var(--s-16); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 70% 20%, rgba(184,149,111,0.12), transparent 50%); }
.page-hero-content { position: relative; z-index: 2; max-width: 720px; }
.page-hero h1 { color: var(--white); margin: var(--s-4) 0; }
.page-hero .lead { color: rgba(255,255,255,0.75); }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero .eyebrow::before { background: var(--gold-400); }
.breadcrumb { display: flex; align-items: center; gap: var(--s-2); font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin-bottom: var(--s-6); }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ---------- Generic content ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-12); }
@media (min-width: 1024px) { .intro-grid { grid-template-columns: 1fr 1.5fr; gap: var(--s-20); } }
.intro-grid h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.feature-list { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-8); }
@media (min-width: 768px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-item { padding: var(--s-6); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); }
.feature-item h4 { font-size: 1rem; margin-bottom: var(--s-2); }
.feature-item p { font-size: 0.875rem; color: var(--text-muted); }
.feature-item-icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--paper); color: var(--gold-600); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-4); }
.feature-icon { width: 40px; height: 40px; margin-bottom: var(--s-3); opacity: 0.8; }

/* ---------- Formules tarifs ---------- */
.formules { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-12); }
@media (min-width: 768px) { .formules { grid-template-columns: repeat(3, 1fr); } }
.formule { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-4); transition: all var(--t-base); position: relative; }
.formule:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.formule.recommended { border-color: var(--navy-950); border-width: 2px; }
.formule-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--navy-950); color: var(--gold-400); padding: var(--s-1) var(--s-4); border-radius: var(--r-full); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.formule h3 { font-size: 1.5rem; }
.formule-tagline { color: var(--text-muted); font-size: 0.9375rem; }
.formule-price { padding: var(--s-4) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.formule-price-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-1); }
.formule-price-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.formule-price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); margin-left: var(--s-1); }
.formule-price-meta { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--s-2); }
.formule-features { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); padding: 0; }
.formule-features li { display: flex; align-items: flex-start; gap: var(--s-2); font-size: 0.9375rem; }
.formule-features li::before { content: "✓"; color: #10b981; font-weight: 700; flex-shrink: 0; }

/* Simulateur */
.simulator { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s-8); max-width: 720px; margin: var(--s-12) auto 0; box-shadow: var(--shadow-lg); }
.simulator h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.simulator-form { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-6); }
.form-group { display: flex; flex-direction: column; gap: var(--s-2); }
.form-group label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.form-group select, .form-group input { padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: var(--r-md); font-family: inherit; font-size: 0.9375rem; background: var(--white); transition: border-color var(--t-fast); }
.form-group select:focus, .form-group input:focus { outline: none; border-color: var(--navy-800); }
.toggle-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-1); background: var(--paper); padding: var(--s-1); border-radius: var(--r-md); border: 1px solid var(--border); }
.toggle-group button { padding: var(--s-3); border-radius: var(--r-sm); font-size: 0.875rem; font-weight: 600; color: var(--text-muted); transition: all var(--t-fast); }
.toggle-group button.active { background: var(--navy-950); color: var(--white); }
.simulator-result { background: var(--paper); border-radius: var(--r-lg); padding: var(--s-6); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.simulator-result-label { font-size: 0.875rem; color: var(--text-muted); }
.simulator-result-amount { font-size: 2.25rem; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.simulator-result-meta { font-size: 0.8125rem; color: var(--text-muted); }
.simulator-result-meta strong { color: var(--text); }

/* ---------- Lead form status ---------- */
.lead-status {
  display: none;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: var(--s-3);
}
.lead-status:not(:empty) { display: block; }
.lead-status-pending {
  background: rgba(184, 149, 111, 0.12);
  color: var(--gold-600);
  border: 1px solid rgba(184, 149, 111, 0.25);
}
.lead-status-success {
  background: rgba(16, 185, 129, 0.10);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 500;
}
.lead-status-error {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.20);
}
.lead-status-error a {
  color: #991b1b;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Header bouton 'Espace pro' (icône cadenas) ---------- */
.header-espace-pro svg { color: var(--navy-700); }

/* ---------- Forms ---------- */
.contact-form { display: flex; flex-direction: column; gap: var(--s-5); }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form textarea { padding: var(--s-3) var(--s-4); border: 1px solid var(--border); border-radius: var(--r-md); font-family: inherit; font-size: 0.9375rem; min-height: 120px; resize: vertical; }
.contact-form textarea:focus { outline: none; border-color: var(--navy-800); }

/* ---------- Zone d'intervention ---------- */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .zone-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-16); }
}
.zone-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.zone-departements {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: var(--s-8);
}
@media (min-width: 640px) { .zone-departements { grid-template-columns: repeat(3, 1fr); } }
.zone-dep-group h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--border);
}
.zone-dep-group ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.zone-dep-group li { font-size: 0.8125rem; color: var(--text); display: flex; align-items: baseline; gap: var(--s-2); line-height: 1.4; }
.dep-num {
  display: inline-block;
  min-width: 28px;
  padding: 2px 6px;
  background: var(--navy-950);
  color: var(--white);
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.zone-note {
  margin-top: var(--s-8);
  padding: var(--s-4) var(--s-5);
  background: var(--paper);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.zone-note-link {
  color: var(--navy-950);
  font-weight: 600;
  border-bottom: 2px solid var(--gold-400);
  padding-bottom: 1px;
}
.zone-note-link:hover { color: var(--gold-600); }
.zone-map-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
}
.zone-map { width: 100%; max-width: 460px; height: auto; }

/* Vraie carte de France SVG + overlay */
.france-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(10,22,40,0.08));
}
.france-bg {
  width: 100%;
  height: auto;
  display: block;
}
.france-cities {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.france-city {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.france-city i {
  width: 12px;
  height: 12px;
  background: var(--gold-500);
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(184,149,111,0.25), 0 2px 4px rgba(10,22,40,0.2);
  display: block;
}
.france-city span {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--navy-950);
  background: rgba(255,255,255,0.95);
  padding: 2px 7px;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 4px rgba(10,22,40,0.1);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
@media (min-width: 640px) {
  .france-city span { font-size: 0.75rem; }
  .france-city i { width: 14px; height: 14px; }
}

.france-legend {
  display: flex;
  gap: var(--s-6);
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}
.france-legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--text);
  font-weight: 500;
}
.france-legend-zone {
  width: 14px; height: 14px;
  background: var(--navy-800);
  opacity: 0.55;
  border-radius: 50% 30% 50% 50% / 50% 40% 60% 40%;
  display: inline-block;
}
.france-legend-city {
  width: 12px; height: 12px;
  background: var(--gold-500);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px rgba(184,149,111,0.3);
  display: inline-block;
}

/* ---------- Login splash ---------- */
.login-splash { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: var(--s-12) var(--s-6); background: var(--navy-950); color: var(--white); position: relative; overflow: hidden; }
.login-splash::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 30%, rgba(184,149,111,0.15), transparent 50%); }
.login-splash-card { position: relative; z-index: 2; background: rgba(255,255,255,0.04); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-2xl); padding: var(--s-12); max-width: 480px; text-align: center; }
.login-splash-icon { width: 64px; height: 64px; margin: 0 auto var(--s-6); border-radius: var(--r-xl); background: rgba(255,255,255,0.08); display: inline-flex; align-items: center; justify-content: center; padding: var(--s-3); }
.login-splash h1 { color: var(--white); font-size: 2rem; margin-bottom: var(--s-3); }
.login-splash .lead { color: rgba(255,255,255,0.7); }

/* ---------- Utils ---------- */
.text-center { text-align: center; }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy-950); color: var(--white); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); }
.mt-12 { margin-top: var(--s-12); }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
