/* ============================================================
   JN BÂTIMENT — Design System
   Aesthetic: Industrial-warm, beton + rouge, robuste et humain
   ============================================================ */

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/barlow-300.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/barlow-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/barlow-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/barlow-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-800.ttf') format('truetype');
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/fonts/barlow-condensed-900.ttf') format('truetype');
}

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #f5f3f0;
  --bg-white:     #ffffff;
  --bg-dark:      #1c1a17;
  --bg-darker:    #141210;
  --bg-card:      #ffffff;
  --border:       rgba(0,0,0,0.08);
  --border-h:     rgba(0,0,0,0.16);
  --text:         #1c1a17;
  --text-muted:   #6b6560;
  --text-light:   #a09890;
  --accent:       #e53935;
  --accent-dark:  #b71c1c;
  --accent-light: #ff5a57;
  --accent-glow:  rgba(229,57,53,0.2);
  --accent-bg:    rgba(229,57,53,0.08);
  --green:        #2d7d46;
  --green-bg:     rgba(45,125,70,0.08);
  --radius:       8px;
  --radius-lg:    16px;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --max-w:        1160px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow:       0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.13);
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:1rem;line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* ── Texture overlay ───────────────────────────────────────── */
body::before {
  content:'';
  position:fixed;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events:none;
  z-index:9999;
}

/* ── Site shell ────────────────────────────────────────────── */
.site-shell{display:flex;flex-direction:column;min-height:100vh}

/* ── Top bar urgence ───────────────────────────────────────── */
.urgence-bar {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.urgence-bar a {
  color: white;
  text-decoration: underline;
  font-weight: 700;
}

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(28,26,23,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.topbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 64px;
  width: auto;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-text small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.nav a:hover { color: white; background: rgba(255,255,255,0.07); }
.nav a.active { color: white; background: rgba(255,255,255,0.1); }

.nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--accent);
  color: white !important;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
}

.nav .nav-cta:hover { background: var(--accent-light); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ── Typography ────────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  font-weight: 900;
  color: var(--text);
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

/* ── Buttons ───────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.button-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(229,57,53,0.32);
}

.button-dark {
  background: var(--bg-dark);
  color: white;
}

.button-dark:hover {
  background: #333;
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.button-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.05);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 6rem 3rem 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(229,57,53,0.12) 0%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.015) 80px,
      rgba(255,255,255,0.015) 81px
    );
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 { color: white; }

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  display: block;
}

.hero-text {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1.5rem 0 2rem;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.hero-badge .badge-icon { font-size: 1rem; }

.rge-badge {
  border-color: rgba(45,125,70,0.4);
  background: rgba(45,125,70,0.12);
}

.rge-badge img {
  height: 28px;
  width: auto;
}

/* ── Hero Panel ────────────────────────────────────────────── */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.devis-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.devis-card h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.devis-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.devis-form { display: flex; flex-direction: column; gap: 0.875rem; }

.devis-form input,
.devis-form select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.devis-form input:focus,
.devis-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.devis-form input::placeholder { color: var(--text-light); }

.devis-form .button {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.875rem;
}

.devis-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.25rem;
}

/* ── Zones / Stats band ────────────────────────────────────── */
.stats-band {
  background: var(--accent);
  padding: 1.25rem 3rem;
}

.stats-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.25);
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 3rem;
}

.section-heading { margin-bottom: 3rem; }
.section-heading p { color: var(--text-muted); font-size: 1rem; margin-top: 0.75rem; max-width: 560px; line-height: 1.75; }

/* ── Grid ──────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.25rem; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.two-grid { grid-template-columns: 1fr 1fr; }

/* ── Service Cards ─────────────────────────────────────────── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.service-card-visual {
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.service-card-visual h3 {
  color: white;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.visual-renovation {
  background-image:
    linear-gradient(160deg, rgba(42,26,10,0.45) 0%, rgba(92,48,16,0.7) 60%, rgba(139,69,16,0.8) 100%),
    url("assets/images/empty-room-floor.jpg");
}

.visual-isolation {
  background-image:
    linear-gradient(160deg, rgba(10,26,42,0.5) 0%, rgba(15,58,90,0.7) 60%, rgba(26,92,138,0.78) 100%),
    url("assets/images/renovation-room.jpg");
}

.visual-peinture {
  background-image:
    linear-gradient(160deg, rgba(26,26,26,0.4) 0%, rgba(51,51,51,0.62) 60%, rgba(85,85,85,0.78) 100%),
    url("assets/images/painted-wall.jpg");
}

.visual-placo {
  background-image:
    linear-gradient(160deg, rgba(26,10,10,0.42) 0%, rgba(74,21,21,0.66) 60%, rgba(122,32,32,0.8) 100%),
    url("assets/images/renovation-room.jpg");
}

.visual-parquet {
  background-image:
    linear-gradient(160deg, rgba(26,16,5,0.32) 0%, rgba(74,48,16,0.52) 60%, rgba(122,80,32,0.72) 100%),
    url("assets/images/parquet-kitchen.jpg");
}

.visual-energie {
  background-image:
    linear-gradient(160deg, rgba(10,42,10,0.45) 0%, rgba(21,90,21,0.62) 60%, rgba(30,138,30,0.76) 100%),
    url("assets/images/painted-wall.jpg");
}

.service-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.service-emoji {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2rem;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.service-card-body .card-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.service-card-body .card-cta:hover { gap: 0.6rem; }

/* ── RGE Section ───────────────────────────────────────────── */
.rge-section {
  background: var(--bg-dark);
  padding: 4rem 0;
}

.rge-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.rge-logo-block {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

.rge-logo-block img {
  width: 160px;
  height: auto;
  margin: 0 auto;
}

.rge-logo-block p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rge-copy .eyebrow { color: var(--green); }
.rge-copy .eyebrow::before { background: var(--green); }
.rge-copy h2 { color: white; margin: 0.5rem 0 1.25rem; }
.rge-copy p { color: rgba(255,255,255,0.5); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }

.rge-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rge-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.benefit-dot {
  width: 20px;
  height: 20px;
  background: rgba(45,125,70,0.2);
  border: 1px solid rgba(45,125,70,0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.6rem;
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Zone d'intervention ───────────────────────────────────── */
.zone-section {
  padding: 5rem 0;
  background: var(--bg);
}

.zone-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.zone-copy > * + * { margin-top: 1.25rem; }
.zone-copy p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

.zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.city-tag {
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.city-tag:hover, .city-tag.main {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  height: 400px;
  background: #e8e4df;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-consent-required {
  width: 100%;
  height: 100%;
}

.map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.9rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(20,18,16,0.18)),
    linear-gradient(135deg, #d8d2cc 0%, #e8e4df 45%, #d5d0ca 100%);
  background-size: cover;
  background-position: center;
  color: var(--text);
}

.map-placeholder h3 {
  color: var(--text);
  font-size: 1.05rem;
}

.map-placeholder p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 26rem;
}

.map-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.map-placeholder .button-outline {
  color: var(--text);
  border-color: rgba(28,26,23,0.18);
  background: rgba(255,255,255,0.72);
}

.map-placeholder .button-outline:hover {
  border-color: rgba(28,26,23,0.28);
  background: white;
}

/* ── Pourquoi nous ─────────────────────────────────────────── */
.why-section {
  background: white;
  padding: 5rem 0;
}

.why-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-card {
  padding: 2rem 1.5rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.why-card:hover::before { transform: scaleX(1); }
.why-card:hover { box-shadow: var(--shadow-lg); }

.why-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--accent);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta-banner h2 { color: white; max-width: 560px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.cta-banner p { color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

/* ── Contact / Form ────────────────────────────────────────── */
.contact-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info > * + * { margin-top: 1.5rem; }
.contact-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

.contact-details { display: flex; flex-direction: column; gap: 0.875rem; margin-top: 2rem; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-bg);
  border: 1px solid rgba(229,57,53,0.15);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail a { transition: var(--transition); }
.contact-detail a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 1.125rem; }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-light); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .button { width: 100%; justify-content: center; }

.form-note { font-size: 0.78rem; color: var(--text-light); text-align: center; }

/* ── Content blocks ────────────────────────────────────────── */
.content-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content-stack p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.info-card h3 {
  margin-bottom: 0.75rem;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Page hero ─────────────────────────────────────────────── */
.page-hero {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 5rem 3rem 4rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(229,57,53,0.1) 0%, transparent 60%);
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-hero h1 { color: white; margin: 1rem 0; }
.page-hero p { color: rgba(255,255,255,0.5); font-size: 1.05rem; line-height: 1.8; }

/* ── Legal pages ───────────────────────────────────────────── */
.legal-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 3rem 5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.legal-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.legal-card + .legal-card {
  margin-top: 1.5rem;
}

.legal-card h2,
.legal-card h3 {
  margin-bottom: 1rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-list {
  display: grid;
  gap: 0.75rem;
}

.legal-list strong {
  color: var(--text);
}

/* ── Cookie banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(460px, calc(100vw - 2rem));
  background: rgba(20,18,16,0.96);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  padding: 1.25rem;
  z-index: 10000;
}

.cookie-banner h3 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.cookie-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}

.cookie-banner a {
  color: white;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn.primary {
  background: var(--accent);
  color: white;
}

.cookie-btn.secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ── Prestations page ──────────────────────────────────────── */
.service-detail-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-detail-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-detail-head {
  padding: 1.75rem 1.75rem 1.25rem;
  position: relative;
}

.service-detail-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: white;
  position: relative;
  z-index: 1;
}

.service-detail-head p {
  position: relative;
  z-index: 1;
  margin-top: 0.75rem;
  max-width: 34rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.service-detail-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
}

.service-detail-body {
  padding: 1.75rem;
  display: grid;
  gap: 1.5rem;
}

.service-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.service-meta-box {
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}

.service-meta-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.service-meta-box span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.process-step strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ── Realisations page ─────────────────────────────────────── */
.realisations-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.realisation-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.realisation-visual {
  min-height: 220px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.realisation-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.realisation-visual h2 {
  position: relative;
  z-index: 1;
  color: white;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.realisation-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.realisation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.realisation-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.realisation-points {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.realisation-points li {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  padding-left: 1.25rem;
  position: relative;
}

.realisation-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-darker);
  padding: 4rem 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand img {
  height: 56px;
  width: auto;
  padding: 0.45rem 0.7rem;
  background: rgba(255,255,255,0.96);
}
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.3); margin-top: 0.75rem; line-height: 1.7; }

.footer-rge { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.footer-rge img {
  height: 40px;
  width: auto;
  padding: 0.35rem;
  background: rgba(255,255,255,0.96);
}
.footer-rge span { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.625rem;
  transition: var(--transition);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Reveal ────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .realisations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .topbar { padding: 1rem 1.5rem; }
  .menu-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }

  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 1rem; }
  .nav .nav-cta { margin-left: 0; text-align: center; justify-content: center; }

  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-text { max-width: 100%; }

  .stats-band { padding: 1rem 1.5rem; }
  .stats-band-inner { justify-content: flex-start; gap: 1.5rem; }
  .stat-divider { display: none; }

  .section { padding: 3rem 1.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .two-grid { grid-template-columns: 1fr; }

  .rge-section { padding: 3rem 0; }
  .rge-inner { grid-template-columns: 1fr; padding: 0 1.5rem; gap: 2rem; }

  .zone-section { padding: 3rem 0; }
  .zone-inner { grid-template-columns: 1fr; padding: 0 1.5rem; gap: 2rem; }
  .map-container { height: 280px; }

  .why-section { padding: 3rem 0; }
  .why-inner { padding: 0 1.5rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }

  .cta-banner { padding: 3rem 1.5rem; }
  .cta-banner-inner { flex-direction: column; }

  .contact-layout { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .page-hero { padding: 4rem 1.5rem 3rem; }
  .service-detail-grid { grid-template-columns: 1fr; padding: 0 1.5rem 3rem; }
  .service-detail-meta { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .realisations-grid { grid-template-columns: 1fr; padding: 0 1.5rem 3rem; }
  .legal-grid { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; width: auto; }

  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }

  .urgence-bar { font-size: 0.75rem; flex-direction: column; gap: 0.25rem; padding: 0.625rem 1rem; }
}
