/* ==========================================================================
   SPSI RDC — Feuille de style principale
   Design épuré inspiré de svsg.co, adapté à la sécurité incendie.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --ink: #14171a;          /* texte principal / titres */
  --ink-soft: #3d434a;     /* texte secondaire fonce */
  --muted: #6b7280;        /* texte attenue */
  --line: #e7e9ec;         /* bordures fines */
  --bg: #ffffff;           /* fond principal */
  --bg-alt: #f6f7f9;       /* fond de section alterne */
  --bg-dark: #14171a;      /* fond sombre (CTA / footer) */

  --brand: #e02718;        /* rouge feu, accent principal */
  --brand-dark: #b51d10;   /* survol */
  --brand-soft: #fdecea;   /* fond rouge tres clair */
  --amber: #f5a623;        /* jaune/ambre, accent secondaire de la charte */
  --amber-dark: #d8881a;   /* ambre fonce (gradients, survol) */
  --amber-soft: #fff4e0;   /* fond jaune tres clair */

  /* Typographie */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rayons & ombres */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 26, .06), 0 1px 3px rgba(20, 23, 26, .08);
  --shadow-md: 0 10px 30px rgba(20, 23, 26, .08);
  --shadow-lg: 0 24px 60px rgba(20, 23, 26, .12);

  /* Layout */
  --container: 1160px;
  --gutter: 24px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul { list-style: none; padding: 0; }

button { font-family: inherit; cursor: pointer; }

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

/* --------------------------------------------------------------------------
   3. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 96px; }
.section--tight { padding-block: 64px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #c9ced6; }
.section--dark h2,
.section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--amber));
  border-radius: 2px;
  display: inline-block;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

h2.h-section { font-size: clamp(28px, 4vw, 42px); }
.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  margin-top: 16px;
}

.text-balance { text-wrap: balance; }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(224, 39, 24, .25);
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-alt); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: #f0f1f3; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* --------------------------------------------------------------------------
   5. En-tete / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand .mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a.active { color: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Menu deroulant "Services" */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-trigger { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-trigger svg { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-item:hover .nav-trigger svg,
.nav-item:focus-within .nav-trigger svg { transform: rotate(180deg); }
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger { color: var(--ink); background: var(--bg-alt); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 120;
}
/* pont invisible pour eviter la perte de survol entre le lien et le menu */
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.dropdown a svg { width: 18px; height: 18px; color: var(--brand); flex: 0 0 18px; }
.dropdown a:hover { background: var(--bg-alt); color: var(--brand); }
.dropdown a.active { background: var(--brand-soft); color: var(--brand); }
.dropdown .dd-sep { height: 1px; background: var(--line); margin: 6px 4px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 110px);
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(224, 39, 24, .10), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(245, 166, 35, .08), transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  letter-spacing: -.03em;
}
.hero h1 .accent {
  color: var(--brand);
  /* surlignage jaune subtil sous le mot accentue (rouge + jaune = feu) */
  background: linear-gradient(transparent 60%, rgba(245, 166, 35, .32) 60%);
  padding-inline: 2px;
}
.hero .lead { font-size: clamp(17px, 2.2vw, 21px); max-width: 33ch; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px 7px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 26px;
}
.hero-pill .dot {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--amber));
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-taglines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-taglines li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.hero-taglines svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 20px; }

/* Carte visuelle du hero */
.hero-visual {
  position: relative;
  background: linear-gradient(160deg, #1d2024, #14171a);
  border-radius: 26px;
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 80% 0%, rgba(224, 39, 24, .35), transparent 60%);
  pointer-events: none;
}
.hero-visual .hv-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--amber-dark));
  border-radius: 16px;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.hero-visual .hv-icon svg { width: 30px; height: 30px; color: #fff; }
.hero-visual h3 { color: #fff; font-size: 22px; margin-bottom: 8px; position: relative; z-index: 1; }
.hero-visual p { color: #aab1ba; font-size: 15px; position: relative; z-index: 1; }
.hv-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
  position: relative; z-index: 1;
}
.hv-stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.hv-stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  color: #fff;
  line-height: 1;
}
.hv-stat span { font-size: 13px; color: #9aa1ab; }

/* --------------------------------------------------------------------------
   7. Bandeau de confiance (secteurs / logos)
   -------------------------------------------------------------------------- */
.trustbar { padding-block: 40px; border-block: 1px solid var(--line); }
.trustbar p {
  text-align: center;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 24px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 40px;
}
.trust-logos li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  color: #9aa1ab;
  font-size: 16px;
  filter: grayscale(1);
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}
.trust-logos li:hover { opacity: 1; color: var(--ink-soft); }
.trust-logos svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   8. Cartes de benefices (3 colonnes)
   -------------------------------------------------------------------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 14px;
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   9. Section services (lignes alternees)
   -------------------------------------------------------------------------- */
.service-list { display: grid; gap: 18px; }
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service-row:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.service-row .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1.5px solid var(--brand-soft);
  background: var(--brand-soft);
  border-radius: 14px;
}
.service-row h3 { font-size: 21px; margin-bottom: 6px; }
.service-row p { font-size: 15.5px; color: var(--muted); margin: 0; }
.service-row .row-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ink); font-size: 14.5px;
  white-space: nowrap;
}
.service-row .row-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.service-row:hover .row-link { color: var(--brand); }
.service-row:hover .row-link svg { transform: translateX(4px); }

/* Cartes services detaillees (page services) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card .icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  margin-bottom: 22px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.service-card ul { display: grid; gap: 10px; }
.service-card li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; color: var(--ink-soft);
}
.service-card li svg { width: 19px; height: 19px; color: var(--brand); flex: 0 0 19px; margin-top: 3px; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--brand);
}
.card-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.card-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   10. Processus (4 etapes)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step { position: relative; padding-top: 18px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
}
.step .bar { height: 3px; background: var(--line); border-radius: 3px; margin: 14px 0 20px; position: relative; overflow: hidden; }
.step .bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, var(--brand), var(--amber)); border-radius: 3px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Chiffres cles
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat { text-align: center; padding: 14px; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 48px);
  color: #fff;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat span { color: #9aa1ab; font-size: 15px; margin-top: 8px; display: block; }
.section--dark .stat b .accent { color: var(--brand); }

/* --------------------------------------------------------------------------
   12. Section "split" (image + texte) / Pourquoi nous choisir
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.feature-list { display: grid; gap: 20px; margin-top: 28px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .fi-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
}
.feature-item .fi-icon svg { width: 22px; height: 22px; }
.feature-item h3 { font-size: 18px; margin-bottom: 4px; }
.feature-item p { font-size: 15px; color: var(--muted); }

.media-card {
  background: linear-gradient(160deg, #1d2024, #14171a);
  border-radius: 24px;
  padding: 38px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 220px at 100% 0%, rgba(224, 39, 24, .3), transparent 60%);
}
.media-card .mc-inner { position: relative; z-index: 1; }
.media-card .mc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: 6px 14px; font-size: 13px; color: #fff; font-weight: 600;
  margin-bottom: 24px;
}
.media-card h3 { color: #fff; font-size: 24px; margin-bottom: 14px; }
.media-card p { color: #aab1ba; }
.media-card .mc-list { margin-top: 22px; display: grid; gap: 12px; }
.media-card .mc-list li { display: flex; gap: 12px; align-items: center; color: #e7e9ec; font-size: 15px; }
.media-card .mc-list svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 20px; }

/* --------------------------------------------------------------------------
   13. Bande CTA
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(620px 320px at 12% 115%, rgba(245, 166, 35, .18), transparent 60%),
    radial-gradient(700px 360px at 85% 0%, rgba(224, 39, 24, .28), transparent 60%),
    var(--bg-dark);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: #aab1ba; max-width: 52ch; margin: 16px auto 0; font-size: 18px; }
.cta-band .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   14. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: #0f1113; color: #9aa1ab; padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand small { color: #7a818b; }
.footer-brand p { font-size: 15px; max-width: 34ch; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 12px; }
.footer-col a, .footer-col li { font-size: 15px; color: #9aa1ab; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 19px; height: 19px; color: var(--brand); flex: 0 0 19px; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #c9ced6;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.footer-bottom .socials a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   15. Sous-en-tete de page interne
   -------------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(56px, 7vw, 88px);
  background:
    radial-gradient(700px 360px at 90% -20%, rgba(224, 39, 24, .09), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs {
  font-size: 14px; color: var(--muted); margin-bottom: 16px;
}
.page-hero .crumbs a:hover { color: var(--brand); }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); max-width: 16ch; }
.page-hero p { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 16px; }

/* --------------------------------------------------------------------------
   16. Valeurs / a propos
   -------------------------------------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.value .icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border-radius: 12px; margin-bottom: 18px;
}
.value .icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { font-size: 15px; color: var(--muted); }

.founder {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.founder-photo .tag {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  background: rgba(20, 23, 26, .82);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  z-index: 2;
}
.founder-photo .tag b { display: block; color: #fff; font-family: var(--font-head); }
.founder-photo .tag span { font-size: 13px; color: #aab1ba; }

/* --------------------------------------------------------------------------
   17b. Emplacements photo (a remplacer par de vraies images)
   -------------------------------------------------------------------------- */
.photo-ph {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 8px;
  padding: 28px;
  border: 2px dashed #cdd2d8;
  border-radius: var(--radius);
  color: var(--muted);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(20,23,26,.015) 0, rgba(20,23,26,.015) 12px, transparent 12px, transparent 24px),
    var(--bg-alt);
}
.photo-ph .ph-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.photo-ph .ph-icon svg { width: 26px; height: 26px; }
.photo-ph b { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.photo-ph span { font-size: 13px; color: var(--muted); max-width: 32ch; line-height: 1.5; }
/* Quand vous ajoutez une vraie image : <img src="..." alt="..."> dans le .photo-ph */
.photo-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Quand une vraie image est presente, on retire le cadre d'espace reserve */
.photo-ph:has(img) { border-color: transparent; padding: 0; }
/* Ratios utilitaires */
.photo-ph.ratio-4-5  { aspect-ratio: 4 / 5; }
.photo-ph.ratio-3-2  { aspect-ratio: 3 / 2; }
.photo-ph.ratio-16-9 { aspect-ratio: 16 / 9; }
.photo-ph.ratio-1-1  { aspect-ratio: 1 / 1; }
.photo-ph.rounded { border-radius: 24px; }

/* Galerie de vignettes photo */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .photo-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   17c. Grille de produits (page Vente)
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 26px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.product-card .pc-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), var(--amber-soft));
  color: var(--brand);
  border-radius: 50%;
}
.product-card .pc-icon svg { width: 28px; height: 28px; }
.product-card b { font-family: var(--font-head); font-size: 15.5px; color: var(--ink); }
.product-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .product-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   17d. Clients (preuve sociale)
   -------------------------------------------------------------------------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.client-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.25;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.client-card:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.client-card .cl-badge {
  flex: 0 0 42px; width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--amber-dark));
  color: #fff;
  border-radius: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
}
@media (max-width: 860px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .client-grid { grid-template-columns: 1fr; } }

/* Slogan du pied de page */
.footer-slogan { margin-top: 12px; font-style: italic; color: var(--amber); font-size: 14.5px; font-weight: 500; }
.founder blockquote {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--ink);
  line-height: 1.35;
  font-weight: 600;
  margin: 18px 0;
}
.founder blockquote::before { content: "\201C"; color: var(--brand); }

/* --------------------------------------------------------------------------
   17. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.contact-card .ci-icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); border-radius: 12px;
}
.contact-card .ci-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 16px; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--muted); }
.contact-card a:hover { color: var(--brand); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* Message d'erreur du formulaire */
.form-error {
  display: none;
  align-items: center;
  gap: 12px;
  background: #fef3f2;
  border: 1px solid #fecdc9;
  color: #b42318;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}
.form-error.show { display: flex; }
.form-error svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* Spinner d'envoi + bouton desactive */
.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: .75; cursor: default; transform: none; }

/* Actions du formulaire : WhatsApp (principal) + Email (secondaire) */
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
@media (max-width: 520px) { .form-actions { grid-template-columns: 1fr; } }
.form-actions .btn { width: 100%; justify-content: center; }
.btn-whatsapp { background: #25d366; color: #073b21; }
.btn-whatsapp:hover { background: #1ebd5a; }
.btn-email { background: var(--ink); color: #fff; }
.btn-email:hover { background: #000; }

/* Validation des champs */
.field-error { display: none; color: var(--brand); font-size: 13px; margin-top: 6px; font-weight: 500; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-soft); }
.field.invalid .field-error { display: block; }

/* --------------------------------------------------------------------------
   18. FAQ (accordeon)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px;
  background: none; border: none;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink);
  text-align: left;
}
.faq-q .chev {
  flex: 0 0 24px; width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--brand);
  transition: transform .25s ease;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   19. Animations au defilement
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }

  /* Menu mobile deroulant */
  .mobile-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px var(--gutter) 24px;
    display: grid;
    gap: 6px;
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 99;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    padding: 14px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--ink);
    font-size: 16px;
  }
  .mobile-menu a:hover, .mobile-menu a.active { background: var(--bg-alt); color: var(--brand); }
  .mobile-menu .btn { margin-top: 10px; justify-content: center; }
  /* sous-liens services dans le menu mobile */
  .mobile-menu .sub {
    padding-left: 30px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    position: relative;
  }
  .mobile-menu .sub::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--amber));
    transform: translateY(-50%);
  }

  .section { padding-block: 64px; }
  .cards-3, .steps, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row .row-link { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Menu mobile cache par defaut hors viewport mobile */
.mobile-menu { display: none; }
@media (max-width: 720px) { .mobile-menu { display: grid; } }
