/* ============================================================
   RÉNOVATION PARKING — Design System
   Direction : « Signalétique premium »
   ============================================================ */

:root {
  /* Couleurs de marque */
  --rp-navy: #101B2D;
  --rp-navy-light: #1A2C46;
  --rp-yellow: #F2C230;
  --rp-yellow-dark: #D9A91E;
  --rp-off-white: #F7F7F4;
  --rp-concrete: #E3E5E6;
  --rp-anthracite: #272B30;
  --rp-text-grey: #5A6068;
  --rp-success: #2D7A5E;

  /* Alias sémantiques */
  --rp-bg: var(--rp-off-white);
  --rp-bg-dark: var(--rp-navy);
  --rp-text: var(--rp-anthracite);
  --rp-text-muted: var(--rp-text-grey);
  --rp-text-on-dark: var(--rp-off-white);
  --rp-border: rgba(16, 27, 45, 0.12);
  --rp-border-on-dark: rgba(247, 247, 244, 0.16);

  /* Typo */
  --rp-font-display: 'Sora', 'Archivo', sans-serif;
  --rp-font-body: 'Inter', 'Manrope', sans-serif;

  /* Échelle */
  --rp-radius-s: 4px;
  --rp-radius-m: 8px;
  --rp-radius-l: 16px;
  --rp-shadow-s: 0 2px 8px rgba(16, 27, 45, 0.08);
  --rp-shadow-m: 0 8px 24px rgba(16, 27, 45, 0.12);
  --rp-shadow-l: 0 16px 48px rgba(16, 27, 45, 0.18);

  --rp-container: 1180px;
  --rp-header-h: 76px;
  --rp-header-h-mobile: 64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--rp-font-body);
  color: var(--rp-text);
  background: var(--rp-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--rp-font-display); margin: 0; color: var(--rp-navy); font-weight: 700; }
p { margin: 0; }

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

:focus-visible {
  outline: 3px solid var(--rp-yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Layout utilities ---------- */
.container {
  max-width: var(--rp-container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--rp-navy); color: var(--rp-off-white); }
.section--dark h2, .section--dark h3 { color: var(--rp-off-white); }
.section--concrete { background: var(--rp-concrete); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rp-font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rp-navy);
  margin-bottom: 16px;
}
.section--dark .eyebrow { color: var(--rp-yellow); }
.eyebrow::before {
  content: '';
  width: 18px;
  height: 3px;
  background: var(--rp-yellow);
  display: inline-block;
  border-radius: 2px;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; line-height: 1.3; }
.lede { font-size: 1.15rem; color: var(--rp-text-muted); line-height: 1.55; max-width: 640px; }
.section--dark .lede { color: rgba(247,247,244,0.78); }

.text-muted { color: var(--rp-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--rp-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--rp-radius-m);
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--rp-yellow);
  color: var(--rp-navy);
  box-shadow: var(--rp-shadow-s);
}
.btn-primary:hover { background: var(--rp-yellow-dark); box-shadow: var(--rp-shadow-m); }
.btn-secondary {
  background: transparent;
  border-color: var(--rp-navy);
  color: var(--rp-navy);
}
.btn-secondary:hover { background: var(--rp-navy); color: var(--rp-off-white); }
.section--dark .btn-secondary { border-color: rgba(247,247,244,0.5); color: var(--rp-off-white); }
.section--dark .btn-secondary:hover { background: var(--rp-off-white); color: var(--rp-navy); }
.btn-ghost {
  background: transparent;
  color: var(--rp-navy);
  padding: 14px 8px;
}
.btn-ghost::after { content: '→'; margin-left: 4px; transition: transform 0.15s ease; }
.btn-ghost:hover::after { transform: translateX(4px); }
.section--dark .btn-ghost { color: var(--rp-off-white); }
.btn-call {
  background: var(--rp-navy);
  color: var(--rp-off-white);
}
.btn-call:hover { background: var(--rp-navy-light); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 247, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rp-border);
  height: var(--rp-header-h);
  transition: transform 0.28s ease;
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rp-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--rp-navy);
  flex-shrink: 0;
}
.logo svg { height: 34px; width: auto; }
.logo small {
  display: block;
  font-family: var(--rp-font-body);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rp-text-muted);
}

.logo--badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo--badge__text small {
  display: block;
  font-family: var(--rp-font-body);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rp-text-muted);
}
.footer-brand .logo--badge__text { color: var(--rp-off-white); }
.footer-brand .logo--badge__text small { color: rgba(247,247,244,0.6); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rp-navy);
  border-radius: var(--rp-radius-s);
  white-space: nowrap;
}
.main-nav a.nav-link:hover { background: rgba(16,27,45,0.06); }
.nav-chevron { margin-left: 5px; flex-shrink: 0; transition: transform 0.15s ease; color: var(--rp-text-muted); }
.has-dropdown:hover .nav-chevron, .has-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
.main-nav a.nav-link.is-active { color: var(--rp-navy); position: relative; }
.main-nav a.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--rp-yellow);
  border-radius: 2px;
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: var(--rp-radius-m);
  box-shadow: var(--rp-shadow-l);
  border: 1px solid var(--rp-border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--rp-radius-s);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rp-anthracite);
}
.dropdown a:hover { background: var(--rp-concrete); color: var(--rp-navy); }
.dropdown a span {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--rp-text-muted);
  margin-top: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rp-navy);
  padding: 8px 12px;
}
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--rp-navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--rp-navy);
  border-top: 1px solid rgba(247,247,244,0.1);
}
.mobile-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rp-off-white);
}
.mobile-bar a.mobile-bar__devis { background: var(--rp-yellow); color: var(--rp-navy); }
.mobile-bar svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rp-navy); color: rgba(247,247,244,0.82); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,247,244,0.14);
}
.footer-brand .logo { color: var(--rp-off-white); }
.footer-brand .logo small { color: rgba(247,247,244,0.6); }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; line-height: 1.6; max-width: 280px; }
.footer-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rp-yellow);
  letter-spacing: 0.03em;
}
.footer-col h4 {
  color: var(--rp-off-white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: rgba(247,247,244,0.82); }
.footer-col a:hover { color: var(--rp-yellow); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(247,247,244,0.55);
}
.footer-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--rp-yellow); }
.footer-mentions { font-size: 0.78rem; line-height: 1.6; color: rgba(247,247,244,0.5); margin-top: 4px; }

.footer-tpr {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-tpr__label {
  font-size: 0.78rem;
  color: rgba(247,247,244,0.55);
  white-space: nowrap;
}
.footer-tpr__sep { color: rgba(247,247,244,0.3); }
.footer-tpr__logo {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 18px 0;
  font-size: 0.85rem;
  color: var(--rp-text-muted);
  border-bottom: 1px solid var(--rp-border);
}
.breadcrumb ol { display: flex; list-style: none; gap: 8px; flex-wrap: wrap; }
.breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--rp-concrete); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a:hover { color: var(--rp-navy); }
.breadcrumb li:last-child { color: var(--rp-navy); font-weight: 600; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--rp-radius-l);
  border: 1px solid var(--rp-border);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--rp-shadow-m); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--rp-radius-m);
  background: var(--rp-concrete);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--rp-navy); }
.card-icon--filled {
  width: 56px; height: 56px;
  background: transparent;
}
.card-icon--filled svg { width: 56px; height: 56px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--rp-text-muted); font-size: 0.95rem; }
.card ul.tick-list { margin-top: 16px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Split grids (texte + média 2 colonnes), responsive ---------- */
.split-grid { display: grid; align-items: center; }
.split-grid--11-09 { grid-template-columns: 1.1fr 0.9fr; }
.split-grid--09-11 { grid-template-columns: 0.9fr 1.1fr; }
.split-grid--equal { grid-template-columns: 1fr 1fr; }
.split-grid--10-12 { grid-template-columns: 1fr 1.2fr; }
.split-grid--start { align-items: start; }

.tick-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tick-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; }
.tick-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--rp-success); }
.section--dark .tick-list svg { color: var(--rp-yellow); }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: left; }
.stat strong {
  display: block;
  font-family: var(--rp-font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--rp-yellow);
  line-height: 1;
}
.stat span { display: block; font-size: 0.85rem; color: rgba(247,247,244,0.7); margin-top: 8px; }

/* ---------- Marking motifs (signature element) ---------- */
.lane-divider {
  height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--rp-yellow) 0 28px, transparent 28px 46px);
  border-radius: 4px;
  opacity: 0.9;
}
.lane-divider--thin { height: 4px; }

.parking-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--rp-font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border: 2px solid var(--rp-navy);
  border-radius: var(--rp-radius-s);
  color: var(--rp-navy);
}
.section--dark .parking-tag { border-color: var(--rp-yellow); color: var(--rp-yellow); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--rp-navy); }
.field .hint { font-size: 0.8rem; color: var(--rp-text-muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--rp-border);
  border-radius: var(--rp-radius-m);
  background: #fff;
  color: var(--rp-text);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--rp-navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242,194,48,0.35);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C24545; }
.field-error { font-size: 0.8rem; color: #C24545; display: none; }
.field.has-error .field-error { display: block; }

.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--rp-border);
  border-radius: var(--rp-radius-m);
  font-size: 0.9rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.check-tile:hover { border-color: var(--rp-navy); }
.check-tile input { width: 16px; height: 16px; accent-color: var(--rp-navy); flex-shrink: 0; }
.check-tile input:checked + span { font-weight: 700; color: var(--rp-navy); }

.radio-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.radio-card {
  border: 1.5px solid var(--rp-border);
  border-radius: var(--rp-radius-m);
  padding: 16px;
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
  background: #fff;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card:hover { border-color: var(--rp-navy); }
.radio-card.is-selected { border-color: var(--rp-navy); background: var(--rp-concrete); }

/* ---------- Multi-step form ---------- */
.stepper { display: flex; align-items: center; gap: 0; margin-bottom: 40px; flex-wrap: wrap; }
.stepper__step {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 700; color: var(--rp-text-muted);
}
.stepper__step .num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--rp-border); font-size: 0.8rem; flex-shrink: 0;
}
.stepper__step.is-active { color: var(--rp-navy); }
.stepper__step.is-active .num { border-color: var(--rp-navy); background: var(--rp-navy); color: #fff; }
.stepper__step.is-done .num { border-color: var(--rp-success); background: var(--rp-success); color: #fff; }
.stepper__line { width: 32px; height: 2px; background: var(--rp-border); margin: 0 8px; flex-shrink: 0; }

.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.form-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 16px; }

.dropzone {
  border: 2px dashed var(--rp-border);
  border-radius: var(--rp-radius-m);
  padding: 28px;
  text-align: center;
  color: var(--rp-text-muted);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone.is-dragover { border-color: var(--rp-navy); background: var(--rp-concrete); }
.dropzone strong { color: var(--rp-navy); }
.file-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.file-list li { font-size: 0.85rem; display: flex; justify-content: space-between; background: var(--rp-concrete); padding: 8px 12px; border-radius: var(--rp-radius-s); }
.file-list button { background: none; border: none; color: #C24545; font-weight: 700; }

.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.is-active { display: block; }
.form-success .icon-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--rp-success); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.form-success .icon-circle svg { width: 36px; height: 36px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--rp-border); }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--rp-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--rp-navy);
}
.faq-item .plus { width: 20px; height: 20px; flex-shrink: 0; position: relative; }
.faq-item .plus::before, .faq-item .plus::after {
  content: ''; position: absolute; background: var(--rp-navy); transition: transform 0.2s ease;
}
.faq-item .plus::before { width: 20px; height: 2px; top: 9px; left: 0; }
.faq-item .plus::after { width: 2px; height: 20px; top: 0; left: 9px; }
.faq-item[aria-expanded="true"] .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 0.95rem;
  color: var(--rp-text-muted);
  line-height: 1.65;
}
.faq-item .faq-answer-inner { padding-bottom: 22px; }
.faq-item[aria-expanded="true"] .faq-answer { max-height: 600px; }

/* ---------- Gallery / filters ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--rp-border);
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  color: var(--rp-text);
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--rp-navy); }
.filter-chip.is-active { background: var(--rp-navy); color: #fff; border-color: var(--rp-navy); }

.project-card { border-radius: var(--rp-radius-l); overflow: hidden; background: #fff; border: 1px solid var(--rp-border); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.project-card:hover { box-shadow: var(--rp-shadow-m); transform: translateY(-3px); }
.project-card__media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--rp-navy), var(--rp-navy-light));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: rgba(247,247,244,0.4);
  overflow: hidden;
}
.project-card__media svg { width: 40px; height: 40px; }
.project-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--rp-yellow); color: var(--rp-navy);
  font-size: 0.72rem; font-weight: 800; padding: 5px 10px; border-radius: var(--rp-radius-s);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.project-card__body { padding: 20px; }
.project-card__body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.project-card__meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--rp-text-muted); margin-top: 10px; flex-wrap: wrap; }
.project-card__meta span { display: flex; align-items: center; gap: 5px; }

.placeholder-media {
  background: repeating-linear-gradient(135deg, var(--rp-concrete) 0 16px, #fff 16px 32px);
  display: flex; align-items: center; justify-content: center;
  color: var(--rp-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--rp-radius-m);
}

/* ---------- Before / after slider ---------- */
.ba-slider {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--rp-radius-l);
  overflow: hidden;
  user-select: none;
  box-shadow: var(--rp-shadow-l);
}
.ba-slider__layer {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--rp-font-display); font-weight: 700; font-size: 1.1rem; color: rgba(247,247,244,0.55);
}
.ba-slider__before { background: linear-gradient(135deg, #3a3f44, var(--rp-anthracite)); }
.ba-slider__after { background: linear-gradient(135deg, var(--rp-navy), var(--rp-navy-light)); clip-path: inset(0 0 0 50%); }
.ba-slider__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 4px; background: var(--rp-yellow);
  transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-slider__handle::after {
  content: '⇆';
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px;
  background: var(--rp-yellow); color: var(--rp-navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -50%);
  font-size: 1.1rem; font-weight: 700;
  box-shadow: var(--rp-shadow-m);
}
.ba-slider__label { position: absolute; padding: 6px 12px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; border-radius: var(--rp-radius-s); }
.ba-slider__label--before { top: 16px; left: 16px; background: var(--rp-anthracite); color: #fff; }
.ba-slider__label--after { top: 16px; right: 16px; background: var(--rp-yellow); color: var(--rp-navy); }

/* ---------- Process / method ---------- */
.process-list { list-style: none; display: flex; flex-direction: column; }
.process-item { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rp-border); }
.process-item:last-child { border-bottom: none; }
.process-item__num {
  font-family: var(--rp-font-display); font-weight: 800; font-size: 1.6rem;
  color: var(--rp-yellow); width: 56px; flex-shrink: 0;
  -webkit-text-stroke: 1.5px var(--rp-navy);
  color: transparent;
}
.section:not(.section--dark) .process-item__num { -webkit-text-stroke: 1.5px var(--rp-navy); }
.process-item__body h3 { margin-bottom: 6px; }
.process-item__body p { color: var(--rp-text-muted); font-size: 0.95rem; }

/* ---------- Audience tabs ---------- */
.audience-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
.audience-tab {
  flex: 1;
  padding: 18px;
  border-radius: var(--rp-radius-m);
  border: 1.5px solid rgba(247,247,244,0.25);
  background: transparent;
  text-align: left;
  font-family: var(--rp-font-display);
  font-weight: 700;
  color: rgba(247,247,244,0.65);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.audience-tab:hover { border-color: rgba(247,247,244,0.5); color: var(--rp-off-white); }
.audience-tab.is-active { border-color: var(--rp-yellow); background: var(--rp-yellow); color: var(--rp-navy); }
.audience-panel { display: none; }
.audience-panel.is-active { display: block; animation: fadeIn 0.25s ease; }

/* ---------- Table ---------- */
.rp-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; table-layout: fixed; }
.rp-table th, .rp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rp-border); word-break: break-word; overflow-wrap: break-word; }
.rp-table th { font-family: var(--rp-font-display); color: var(--rp-navy); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; width: 38%; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-family: var(--rp-font-display); font-weight: 800; font-size: 5rem; color: var(--rp-yellow); -webkit-text-stroke: 2px var(--rp-navy); color: transparent; line-height: 1; }

/* ---------- Misc helpers ---------- */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.text-center { text-align: center; }
.max-w-prose { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--rp-navy); color: #fff; padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .mobile-bar { display: block; }
  body { padding-bottom: 58px; padding-top: var(--rp-header-h-mobile); }
  .site-header { position: fixed; left: 0; right: 0; }
  .site-header.is-hidden { transform: translateY(-100%); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split-grid--11-09,
  .split-grid--09-11,
  .split-grid--equal,
  .split-grid--10-12 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .radio-card-grid { grid-template-columns: 1fr; }
  .audience-tabs { flex-direction: column; }
  .process-item { gap: 16px; }

  .site-header.is-mobile-open .main-nav {
    display: block;
    position: fixed;
    top: var(--rp-header-h-mobile);
    left: 0; right: 0; bottom: 58px;
    background: var(--rp-off-white);
    overflow-y: auto;
    padding: 8px 16px 24px;
  }
  .site-header.is-mobile-open .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-header.is-mobile-open .nav-link { padding: 14px 12px; font-size: 1rem; }
  .site-header.is-mobile-open .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding-left: 12px; display: none;
  }
  .site-header.is-mobile-open .has-dropdown.is-open .dropdown { display: block; }
  .site-header { height: var(--rp-header-h-mobile); }
  /* backdrop-filter crée un containing block qui casse position:fixed sur .main-nav : on le désactive quand le menu est ouvert */
  .site-header.is-mobile-open { backdrop-filter: none; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
  .stepper__step span.label { display: none; }
  .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
}

/* ---------- Lightbox ---------- */
.rp-lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(16,27,45,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.rp-lightbox.is-open { opacity: 1; visibility: visible; }
.rp-lightbox img {
  max-width: 100%; max-height: 90vh;
  border-radius: var(--rp-radius-m);
  box-shadow: var(--rp-shadow-l);
  cursor: zoom-out;
}
.rp-lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(247,247,244,0.12);
  border: none; border-radius: 50%;
  color: #fff; font-size: 1.8rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rp-lightbox__close:hover { background: rgba(247,247,244,0.22); }
