/* =========================================================
   Sécuriplus Protection Incendie — feuille de style v3
   Direction « Autorité & Confiance »
   Palette et réglages centralisés ci-dessous : modifier ici
   suffit à changer l'apparence de tout le site.
   Contrastes vérifiés WCAG AA (texte) et AAA (titres).
   ========================================================= */

:root {
  /* Couleurs */
  --fond: #f8fafc;           /* fond principal (gris-bleu très clair) */
  --fond-alt: #eef2f7;       /* fond des sections alternées */
  --surface: #ffffff;        /* fond des cartes */
  --encre: #0f172a;          /* texte principal (bleu nuit) — 17:1 sur fond */
  --encre-douce: #475569;    /* texte secondaire — 7.5:1 sur fond */
  --rouge: #c8302e;          /* rouge incendie : réservé aux CTA et accents */
  --rouge-fonce: #a32421;    /* survol des CTA */
  --navy: #0f172a;           /* barre supérieure, bandeaux, pied de page */
  --navy-2: #1e293b;         /* surfaces secondaires sur fond navy */
  --pastille: #e6edf5;       /* fond des pastilles d'icônes */
  --bordure: #e2e8f0;
  --bordure-forte: #94a3b8;

  /* Typographie */
  --font-titres: "Lexend", system-ui, sans-serif;
  --font-texte: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Mise en page */
  --largeur-max: 1160px;
  --rayon: 10px;
  --ombre-hover: 0 10px 28px rgba(15, 23, 42, 0.1);
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-padding-top: 110px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-texte);
  background: var(--fond);
  color: var(--encre);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; border-radius: var(--rayon); }

.container {
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-titres);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-weight: 700; }

h2 { font-size: clamp(1.5rem, 3.1vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.accent { color: var(--rouge); }

/* Accessibilité : focus clavier visible partout */
:focus-visible {
  outline: 3px solid var(--encre);
  outline-offset: 2px;
  border-radius: 4px;
}
.topbar :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: #ffffff;
}

/* Accessibilité : lien d'évitement (visible à la tabulation) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--encre);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Accessibilité : animations réduites si demandé par le système */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Petit intitulé au-dessus des titres de section */
.eyebrow {
  display: block;
  color: var(--rouge);
  font-family: var(--font-titres);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  margin-bottom: 0.7rem;
}

.section { padding: 84px 0; }
.section-alt { background: var(--fond-alt); }

.section-intro {
  max-width: 720px;
  color: var(--encre-douce);
  margin-bottom: 2.4rem;
  font-size: 1.05rem;
}

.section-cta { margin-top: 2.4rem; }

/* ---------- Icônes SVG ---------- */
.ico { width: 22px; height: 22px; flex-shrink: 0; }

.ico-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--pastille);
  color: var(--encre);
  margin-bottom: 16px;
}

/* ---------- Boutons (hauteur mini 44px = cible tactile) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 8px;
  font-family: var(--font-texte);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn .ico { width: 18px; height: 18px; }

.btn-primary { background: var(--rouge); color: #fff; }
.btn-primary:hover { background: var(--rouge-fonce); }

.btn-outline { background: transparent; color: var(--encre); border-color: var(--bordure-forte); }
.btn-outline:hover { border-color: var(--encre); background: var(--encre); color: #fff; }

.btn-light { background: #fff; color: var(--encre); }
.btn-light:hover { background: var(--fond-alt); }

.btn-block { width: 100%; border: none; }

/* ---------- Barre supérieure ---------- */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.topbar a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
}
.topbar a:hover { text-decoration: underline; }
.topbar .ico { width: 15px; height: 15px; }
.topbar-links { display: flex; gap: 26px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordure);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--encre);
}
.logo img {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 0;
  /* le PNG a un fond blanc : fondu sur l'en-tête blanc */
  mix-blend-mode: multiply;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--rouge);
  color: #fff;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-titres);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--rouge);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > a,
.has-sub > a {
  text-decoration: none;
  color: var(--encre);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 13px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.main-nav > a:hover,
.has-sub > a:hover { background: var(--fond-alt); }
.main-nav a.active { color: var(--rouge); }

.btn-nav { min-height: 44px; padding: 9px 20px; font-size: 0.92rem; margin-left: 8px; }
/* Bouton « Devis gratuit » : texte blanc bien lisible (priorité sur le bleu de la nav),
   et au survol il s'assombrit (rouge foncé) — l'effet magnétique est piloté en JS. */
.main-nav a.btn-nav { color: #fff; }
.main-nav a.btn-nav:hover { background: var(--rouge-fonce); color: #fff; }

/* Boutons magnétiques : la position est ajustée en JS, on adoucit le retour. */
.btn.magnetique { transition: transform 0.15s ease, background 0.18s, color 0.18s, border-color 0.18s; }

/* Menu déroulant Services */
.has-sub { position: relative; }
.has-sub .chevron { width: 13px; height: 13px; transition: transform 0.15s; }
.has-sub:hover .chevron, .has-sub:focus-within .chevron { transform: rotate(180deg); }
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 300px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-hover);
  padding: 8px;
  z-index: 60;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { display: block; }
.sub-menu a {
  display: block;
  text-decoration: none;
  color: var(--encre);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 14px;
  border-radius: 6px;
}
.sub-menu a:hover { background: var(--fond-alt); }
.sub-menu .sub-all {
  border-top: 1px solid var(--bordure);
  margin-top: 6px;
  padding-top: 13px;
  color: var(--rouge);
  font-weight: 700;
}

/* Bouton hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}
.nav-toggle span {
  width: 25px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--encre);
}

/* ---------- Héro (accueil) ---------- */
.hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(15, 23, 42, 0.045), transparent 55%),
    var(--fond);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  color: var(--rouge);
  font-family: var(--font-titres);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  margin-bottom: 1.2rem;
}
.hero-sub {
  color: var(--encre-douce);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 1.9rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

/* Héro avec photo de fond (accueil) : voile bleu nuit pour
   garantir la lisibilité du texte blanc (contraste AA vérifié) */
.hero-photo {
  background:
    linear-gradient(100deg, rgba(10, 16, 30, 0.93) 0%, rgba(10, 16, 30, 0.82) 55%, rgba(10, 16, 30, 0.62) 100%),
    url("images/extincteurs-securite-incendie-hyeres.jpg") center / cover no-repeat;
  color: #fff;
  padding: 108px 0;
}
.hero-photo .hero-text { max-width: 720px; }
.hero-photo h1 { color: #fff; }
.hero-photo .hero-kicker { color: #f2b3b1; }
.hero-photo .accent { color: #f2726f; }
.hero-photo .hero-sub { color: #d4dce8; }
.hero-photo .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.65); }
.hero-photo .btn-outline:hover { background: #fff; color: var(--encre); border-color: #fff; }

/* Bandeau de chiffres clés sous le héro */
.stats-strip {
  border-top: 1px solid var(--bordure);
  border-bottom: 1px solid var(--bordure);
  background: var(--surface);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 26px 0;
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat .ico-badge { margin: 0; width: 42px; height: 42px; }
.stat strong {
  display: block;
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 1rem;
}
.stat span { color: var(--encre-douce); font-size: 0.9rem; }

/* ---------- Emplacements photos ---------- */
.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 2px dashed var(--bordure-forte);
  border-radius: var(--rayon);
  background: var(--surface);
  color: var(--encre-douce);
  text-align: center;
  font-weight: 600;
  padding: 20px;
}
.photo-placeholder small { font-weight: 400; }
.photo-hero { min-height: 400px; }

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  padding: 28px;
}
.card p { color: var(--encre-douce); font-size: 0.95rem; }

a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
a.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre-hover);
  border-color: var(--bordure-forte);
}
.card-more {
  display: inline-block;
  margin-top: 12px;
  color: var(--rouge);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Étapes numérotées */
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

/* Pastilles métiers */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.4rem 0;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Note encadrée */
.reassure-note {
  margin-top: 2rem;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-left: 4px solid var(--rouge);
  border-radius: 0 var(--rayon) var(--rayon) 0;
  font-weight: 600;
  max-width: 800px;
}
.reassure-note a { color: var(--rouge); }

/* ---------- Zone d'intervention : villes ---------- */
.section-intro {
  color: var(--encre-douce);
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.villes-vedettes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.4rem;
}
.ville-vedette {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  text-decoration: none;
  color: var(--encre);
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 1.02rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.ville-vedette::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rouge);
  flex-shrink: 0;
}
.ville-vedette:hover {
  transform: translateY(-2px);
  box-shadow: var(--ombre-hover);
  border-color: var(--bordure-forte);
}

.villes-depliant {
  margin-bottom: 3.5rem;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  background: var(--surface);
  overflow: hidden;
}
.villes-depliant > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  cursor: pointer;
  font-family: var(--font-titres);
  font-weight: 600;
  color: var(--encre);
  list-style: none;
  user-select: none;
}
.villes-depliant > summary::-webkit-details-marker { display: none; }
.villes-depliant > summary:hover { color: var(--rouge); }
.villes-depliant > summary .chevron {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.villes-depliant[open] > summary .chevron { transform: rotate(180deg); }
.villes-depliant[open] > summary {
  border-bottom: 1px solid var(--bordure);
}
.villes-secteurs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 28px;
  padding: 24px 22px 26px;
}
.villes-secteur h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rouge);
  margin-bottom: 10px;
}
.villes-liste { list-style: none; }
.villes-liste li { margin-bottom: 2px; }
.villes-liste a {
  display: block;
  padding: 5px 8px;
  margin-left: -8px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--encre-douce);
  font-size: 0.95rem;
  transition: background 0.12s, color 0.12s;
}
.villes-liste a:hover {
  background: var(--fond-alt);
  color: var(--rouge);
}

/* ---------- Boutons téléphone : effet « appel entrant » ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* L'icône combiné se met à sonner par intermittence */
  a[href^="tel:"] .ico {
    transform-origin: 50% 55%;
    animation: sonnerie 5s ease-in-out infinite;
  }
  /* Les CTA téléphone ont en plus un halo qui pulse au rythme de l'appel */
  a[href^="tel:"].btn {
    animation: halo-appel 5s ease-in-out infinite;
  }
}

@keyframes sonnerie {
  0%, 62%, 100% { transform: rotate(0); }
  64% { transform: rotate(-14deg); }
  66% { transform: rotate(12deg); }
  68% { transform: rotate(-11deg); }
  70% { transform: rotate(9deg); }
  72% { transform: rotate(-7deg); }
  74% { transform: rotate(5deg); }
  76% { transform: rotate(-3deg); }
  78% { transform: rotate(0); }
}

@keyframes halo-appel {
  0%, 58%, 100% { box-shadow: 0 0 0 0 rgba(200, 48, 46, 0); }
  64% { box-shadow: 0 0 0 6px rgba(200, 48, 46, 0.22); }
  78% { box-shadow: 0 0 0 12px rgba(200, 48, 46, 0); }
}

/* ---------- Sections texte + photo ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-reverse .split-text { order: 1; }
.split-reverse .split-visual { order: 0; }
.split-visual img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.split-text p { color: var(--encre-douce); margin-bottom: 1rem; }
.split-text h2 { margin-bottom: 1rem; }
.split-text .btn { margin-top: 0.6rem; }

.check-list { list-style: none; margin: 0 0 1.2rem; }
.check-list li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 9px;
  font-weight: 600;
}
.check-list .ico {
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  color: var(--rouge);
}

/* ---------- Rassurance ---------- */
.trust-figure {
  display: block;
  font-family: var(--font-titres);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rouge);
  margin-bottom: 6px;
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.86rem;
  color: var(--encre-douce);
}
.breadcrumb a { color: var(--encre-douce); text-decoration: none; }
.breadcrumb a:hover { color: var(--rouge); text-decoration: underline; }
.breadcrumb .sep { margin: 0 7px; color: var(--bordure-forte); }
.breadcrumb [aria-current] { font-weight: 700; color: var(--encre); }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero {
  padding: 42px 0 60px;
  background:
    radial-gradient(ellipse at 88% 0%, rgba(15, 23, 42, 0.04), transparent 55%),
    var(--fond);
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin-bottom: 1rem;
  max-width: 840px;
}
.page-hero .hero-sub { margin-bottom: 1.7rem; max-width: 760px; }

/* ---------- Texte long ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; color: var(--encre-douce); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--encre); }
.prose a { color: var(--rouge); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--rouge-fonce); }

/* ---------- Points forts (remplace les listes à puces) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 1.3rem 0 1.8rem;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: 10px;
  padding: 15px 18px;
  font-weight: 600;
  color: var(--encre);
}
.feature .ico {
  color: var(--rouge);
  width: 19px;
  height: 19px;
  margin-top: 4px;
}
.feature a { color: var(--rouge); }

/* Mini-cartes (types d'extincteurs, formations…) */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 1.3rem 0 1.8rem;
}
.mini-cards .card { padding: 20px 22px; }
.mini-cards h3 { font-size: 0.98rem; }
.mini-cards p { font-size: 0.92rem; margin: 0; }

/* ---------- Carte Google Maps (contact) ---------- */
.map-embed {
  margin-top: 44px;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  overflow: hidden;
}
.map-embed iframe { display: block; width: 100%; border: 0; }

/* =========================================================
   Animations — uniquement si l'utilisateur n'a pas demandé
   la réduction des mouvements (prefers-reduced-motion)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* Apparition au défilement : la classe .reveal est ajoutée par
     script.js (sans JavaScript, tout reste visible normalement) */
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.45s ease-out,
      transform 0.45s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }

  /* Ouverture du menu déroulant Services */
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu {
    animation: menu-in 0.18s ease-out;
  }

  /* Ouverture du menu mobile */
  .main-nav.open {
    animation: menu-in 0.2s ease-out;
  }

  /* Zoom très léger sur la photo de la section maintenance */
  .split-visual img {
    transition: transform 0.4s ease-out;
  }
  .split-visual:hover img {
    transform: scale(1.02);
  }

  /* Ombre de l'en-tête au défilement (classe posée par script.js) */
  .site-header {
    transition: box-shadow 0.25s ease-out;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 68px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cbd5e1; max-width: 600px; margin: 0 auto 1.7rem; }
.cta-band-actions {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FAQ dépliante ---------- */
.faq-list { max-width: 820px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  margin-bottom: 11px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-titres);
  font-weight: 600;
  padding: 18px 52px 18px 24px;
  position: relative;
  list-style: none;
  border-radius: var(--rayon);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--fond-alt); }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rouge);
  font-size: 1.5rem;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 6px 24px 18px; color: var(--encre-douce); }

/* ---------- Services liés ---------- */
.related { margin-top: 3.5rem; }
.related h2 { font-size: 1.25rem; margin-bottom: 1.2rem; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 44px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 26px;
}
.contact-item .ico-badge { margin: 0; width: 44px; height: 44px; }
.contact-item h3 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-item p { color: var(--encre-douce); }
.contact-link {
  color: var(--encre);
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}
.contact-link:hover { color: var(--rouge); }
.contact-hint { font-size: 0.88rem; }

.contact-form { padding: 32px; }

.form-row { margin-bottom: 18px; }
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--bordure-forte);
  border-radius: 8px;
  background: var(--fond);
  font-family: inherit;
  font-size: 1rem;
  color: var(--encre);
}
textarea { min-height: 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--encre);
  outline-offset: 1px;
  border-color: var(--encre);
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--encre-douce);
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 24px 8px;
  color: var(--encre);
  line-height: 1.7;
}
.form-success strong { color: var(--rouge); font-size: 1.1rem; }
.form-success a { color: var(--rouge); font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--navy);
  color: #b6c2d4;
  padding: 60px 0 0;
  font-size: 0.92rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand {
  color: #fff;
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.footer-title {
  color: #fff;
  font-family: var(--font-titres);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  width: fit-content;
  color: #b6c2d4;
  text-decoration: none;
  margin-bottom: 8px;
  padding: 2px 0;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 18px 0 0;
  color: #fff;
  font-weight: 700;
}
.footer-contact .ico { width: 16px; height: 16px; color: #e5a3a2; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  padding-bottom: 20px;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: #b6c2d4; }

/* =========================================================
   Responsive
   ========================================================= */

/* Menu mobile / tablette : en dessous de 1120px le menu complet
   ne tient plus sur une ligne, on passe au bouton hamburger. */
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--bordure);
    padding: 10px 20px 20px;
    gap: 2px;
    box-shadow: var(--ombre-hover);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .has-sub > a { display: flex; padding: 13px 10px; }

  /* Le sous-menu Services s'affiche à plat, légèrement en retrait */
  .has-sub .chevron { display: none; }
  .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 4px 16px;
  }
  .sub-menu a { font-size: 0.9rem; color: var(--encre-douce); padding: 10px; }
  .sub-menu .sub-all { border-top: none; margin-top: 0; padding-top: 10px; }
  .btn-nav { margin: 10px 0 0; text-align: center; }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .villes-vedettes { grid-template-columns: repeat(3, 1fr); }
  .villes-secteurs { grid-template-columns: repeat(2, 1fr); }

  .hero-inner, .split { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-text { order: 0; }
  .split-reverse .split-visual { order: 1; }

  .stats-inner { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .villes-vedettes { grid-template-columns: repeat(2, 1fr); }
  .villes-secteurs { grid-template-columns: 1fr; gap: 18px; }
  .form-row-2col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .topbar-inner { justify-content: center; }
  .topbar-zone { display: none; }

  .photo-hero { min-height: 260px; }
  .hero-photo { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .cta-band-actions .btn { width: 100%; }
}
