/* ================================================================
   MOTRAVA — styles.css
   Palette : noir carbone / rouge Motrava / blanc
   ================================================================ */

:root {
  --noir: #171a20;
  --anthracite: #232830;
  --rouge: #d6291e;
  --rouge-vif: #e8382c;
  --rouge-fonce: #a31b12;
  --blanc: #ffffff;
  --gris-fond: #f5f6f8;
  --gris-ligne: #e3e6ea;
  --gris-texte: #5a6270;
  --bleu-plaque: #003399;
  --radius: 14px;
  --ombre: 0 12px 40px rgba(23, 26, 32, 0.12);
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1140px, 92%); margin: 0 auto; }

h1, h2, h3, .display {
  font-family: "Archivo", "Inter", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-ligne);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}

.logo-link img { height: 46px; width: auto; }

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

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--noir);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover, .main-nav a.active { border-bottom-color: var(--rouge); color: var(--rouge-fonce); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--noir);
  color: var(--blanc);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.header-cta:hover { background: var(--rouge); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: var(--noir);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(214, 41, 30, 0.07), transparent 60%),
    linear-gradient(180deg, var(--gris-fond), var(--blanc));
  padding: 4rem 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rouge-fonce);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rouge-fonce), var(--rouge-vif));
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--gris-texte);
  max-width: 34rem;
  margin-bottom: 1.6rem;
}

.hero-points { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 1.8rem; }

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.98rem;
}

.hero-points svg { flex: none; margin-top: 0.22rem; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.93rem;
  color: var(--gris-texte);
}

.stars { color: #f5a623; letter-spacing: 0.1em; font-size: 1rem; }

.hero-proof strong { color: var(--noir); }

/* ---------- Carte devis ---------- */
.devis-card {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-top: 4px solid var(--rouge);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 1.8rem 1.7rem 1.6rem;
}

.devis-card h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.35rem; }

.devis-card .devis-note { font-size: 0.9rem; color: var(--gris-texte); margin-bottom: 1.2rem; }

.devis-form { display: grid; gap: 0.85rem; }

.devis-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.devis-form label .optionnel { font-weight: 500; color: var(--gris-texte); }

.devis-form input, .devis-form select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1.5px solid var(--gris-ligne);
  border-radius: 9px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--blanc);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.devis-form input:focus, .devis-form select:focus {
  outline: none;
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(214, 41, 30, 0.13);
}

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

/* Champ plaque d'immatriculation — signature Motrava */
.plaque {
  display: flex;
  border: 2px solid var(--noir);
  border-radius: 8px;
  overflow: hidden;
  background: var(--blanc);
}

.plaque .bande {
  flex: none;
  width: 34px;
  background: var(--bleu-plaque);
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 800;
}

.plaque .bande .etoiles { font-size: 0.5rem; letter-spacing: 0.5px; color: #ffd617; }

.plaque input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-transform: uppercase;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.15rem !important;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 0.65rem 0.5rem !important;
}

.btn-devis {
  margin-top: 0.3rem;
  width: 100%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc);
  font: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-devis:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(214, 41, 30, 0.32);
  filter: brightness(1.05);
}

.devis-footnote {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--gris-texte);
  text-align: center;
}

.devis-footnote a { color: var(--rouge-fonce); font-weight: 700; text-decoration: none; }
.devis-footnote a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 4.2rem 0; }

.section-head { max-width: 44rem; margin-bottom: 2.4rem; }

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 0.7rem; }

.section-head p { color: var(--gris-texte); font-size: 1.04rem; }

.swoosh { display: block; margin-top: 0.9rem; }

/* Cartes pièces */
.pieces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
}

.piece-card {
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.piece-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre);
  border-color: rgba(214, 41, 30, 0.35);
}

.piece-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  color: var(--rouge);
}

.piece-card h3 { font-size: 1.05rem; font-weight: 750; margin-bottom: 0.35rem; }

.piece-card p { font-size: 0.9rem; color: var(--gris-texte); }

/* Bande échange standard (sombre) */
.es-band {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(214, 41, 30, 0.18), transparent 55%),
    linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc);
  padding: 4.5rem 0;
}

.es-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.es-band .eyebrow { color: var(--rouge-vif); }

.es-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }

.es-band h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--rouge-vif), #ff6b5e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.es-band p { color: rgba(255, 255, 255, 0.78); margin-bottom: 1rem; }

.es-list { list-style: none; display: grid; gap: 0.9rem; }

.es-list li {
  display: flex;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
}

.es-list .num {
  flex: none;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: italic;
  color: var(--rouge-vif);
  font-size: 1.15rem;
}

.es-list strong { display: block; font-size: 0.98rem; }

.es-list span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

/* Étapes */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.step-card {
  position: relative;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover { transform: translateY(-4px); box-shadow: var(--ombre); }

.step-card .step-num {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.7rem;
}

.step-card h3 { font-size: 1.08rem; font-weight: 750; margin-bottom: 0.4rem; }

.step-card p { font-size: 0.92rem; color: var(--gris-texte); }

/* Garanties / confiance */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }

.trust-card {
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: var(--radius);
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
}

.trust-card .ico { color: var(--rouge); margin-bottom: 0.7rem; display: inline-block; }

.trust-card h3 { font-size: 0.98rem; font-weight: 750; margin-bottom: 0.25rem; }

.trust-card p { font-size: 0.85rem; color: var(--gris-texte); }

/* CTA final */
.cta-final {
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc);
  border-radius: 18px;
  padding: 2.8rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-final h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }

.cta-final p { color: rgba(255, 255, 255, 0.85); margin-top: 0.3rem; }

.cta-buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn-blanc, .btn-contour {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-blanc { background: var(--blanc); color: var(--rouge-fonce); }

.btn-contour { border: 2px solid rgba(255, 255, 255, 0.8); color: var(--blanc); }

.btn-blanc:hover, .btn-contour:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }

/* ---------- Pages internes ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--gris-fond), var(--blanc));
  padding: 3.2rem 0 2.6rem;
}

.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 0.6rem; }

.page-hero p { color: var(--gris-texte); font-size: 1.08rem; max-width: 42rem; }

.prose { max-width: 46rem; }

.prose h2 { font-size: 1.45rem; font-weight: 800; margin: 2.2rem 0 0.7rem; }

.prose p { margin-bottom: 1rem; color: #333944; }

.valeurs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: start; }

.contact-card {
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: grid;
  gap: 1.3rem;
}

.contact-item { display: flex; gap: 0.9rem; align-items: flex-start; }

.contact-item .ico { color: var(--rouge); flex: none; margin-top: 0.15rem; }

.contact-item strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris-texte); }

.contact-item a, .contact-item span.val {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--noir);
  text-decoration: none;
}

.contact-item a:hover { color: var(--rouge-fonce); }

/* Page merci */
.merci-wrap { min-height: 55vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }

.merci-wrap .ico { color: var(--rouge); margin-bottom: 1rem; }

.merci-wrap h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 0.7rem; }

.merci-wrap p { color: var(--gris-texte); max-width: 32rem; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 4rem;
  background: var(--noir);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer img { height: 42px; width: auto; margin-bottom: 0.9rem; }

.site-footer h4 { color: var(--blanc); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }

.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }

.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: color var(--transition); }

.site-footer a:hover { color: var(--rouge-vif); }

.footer-bottom { padding-top: 1.3rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .es-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .trust-grid, .valeurs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-ligne);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 4%;
    gap: 0.9rem;
  }

  .main-nav.open { display: flex; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .trust-grid, .valeurs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-final { padding: 2rem 1.4rem; }
  .header-cta span.txt { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ================================================================
   V2 — Vie, photos, mouvement
   ================================================================ */

/* Hero photo sombre */
.hero--photo {
  position: relative;
  background:
    linear-gradient(100deg, rgba(15, 17, 22, 0.94) 30%, rgba(15, 17, 22, 0.72) 65%, rgba(163, 27, 18, 0.45)),
    url("https://images.unsplash.com/photo-1612066151982-130ba72c35b6?auto=format&fit=crop&w=1800&q=70") center 40% / cover no-repeat;
  color: var(--blanc);
}

.hero--photo h1 { color: var(--blanc); }
.hero--photo .hero-sub { color: rgba(255, 255, 255, 0.82); }
.hero--photo .hero-points li { color: rgba(255, 255, 255, 0.92); }
.hero--photo .hero-proof { color: rgba(255, 255, 255, 0.75); }
.hero--photo .hero-proof strong { color: var(--blanc); }
.hero--photo .eyebrow { color: #ff8a80; }

/* Mot rotatif dans le titre */
.rotor {
  display: inline-block;
  position: relative;
  font-style: italic;
  background: linear-gradient(100deg, var(--rouge-vif), #ff8a80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 5.2em;
  text-align: left;
}

.rotor.swap { animation: rotorIn 0.45s ease; }

@keyframes rotorIn {
  0% { opacity: 0; transform: translateY(0.6em); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Bande défilante (marquee) */
.marquee {
  overflow: hidden;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc);
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: defile 28s linear infinite;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track .sep { color: rgba(255, 255, 255, 0.55); font-style: normal; }

@keyframes defile {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track { animation-play-state: paused; }

/* Apparition au scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* Photos encadrées */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-frame .legende {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(15, 17, 22, 0.85));
  color: var(--blanc);
  font-weight: 700;
  font-size: 0.92rem;
}

.media-frame .legende .accent { color: #ff8a80; }

/* Bande réseau — 3 photos */
.reseau-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }

.reseau-grid .media-frame { aspect-ratio: 4 / 3; transition: transform var(--transition), box-shadow var(--transition); }

.reseau-grid .media-frame:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 18px 44px rgba(23, 26, 32, 0.2); }

/* Photo dans la bande échange standard */
.es-photo { margin-top: 1.6rem; aspect-ratio: 16 / 9; }

/* Fond alterné pour rythmer la page */
.section--gris { background: linear-gradient(180deg, var(--blanc), var(--gris-fond) 20%, var(--gris-fond) 80%, var(--blanc)); }

@media (max-width: 900px) {
  .reseau-grid { grid-template-columns: 1fr; }
  .rotor { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   V3 — Carte devis v2, FAQ, stats, contact tuiles
   ================================================================ */

/* ---- Carte devis v2 ---- */
.devis-card.v2 { padding: 0; overflow: hidden; }

.devis-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background:
    radial-gradient(400px 120px at 100% 0%, rgba(214, 41, 30, 0.25), transparent 60%),
    linear-gradient(135deg, var(--noir), var(--anthracite));
  color: var(--blanc);
}

.devis-head h2 { font-size: 1.28rem; font-weight: 800; margin: 0.3rem 0 0; color: var(--blanc); }

.devis-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb4ad;
  background: rgba(214, 41, 30, 0.22);
  border: 1px solid rgba(232, 56, 44, 0.45);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.devis-google {
  flex: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  line-height: 1.25;
}

.devis-google .stars { display: block; font-size: 0.72rem; }
.devis-google strong { font-size: 1rem; }
.devis-google .src { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }

.devis-body { padding: 1.4rem 1.5rem 1.3rem; }

/* Toggle particulier / pro */
.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--gris-fond);
  border: 1.5px solid var(--gris-ligne);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.segment input { position: absolute; opacity: 0; pointer-events: none; }

.segment label {
  text-align: center;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0.5rem 0.4rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--gris-texte);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.segment input:checked + label {
  background: var(--noir);
  color: var(--blanc);
  box-shadow: 0 3px 10px rgba(23, 26, 32, 0.25);
}

.segment input:focus-visible + label { outline: 2px solid var(--rouge); outline-offset: 2px; }

/* Champ entreprise conditionnel */
.champ-entreprise { display: none; }
.champ-entreprise.show { display: block; animation: apparait 0.25s ease; }

@keyframes apparait {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.champ-aide { font-size: 0.76rem; color: var(--gris-texte); margin-top: 0.35rem; }

/* Select : chevron custom */
.devis-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23171a20' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.4rem;
}

/* Réassurance sous le bouton */
.devis-reassure {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.1rem;
  margin-top: 0.9rem;
}

.devis-reassure li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gris-texte);
}

.devis-reassure svg { color: var(--rouge); }

/* ---- FAQ ---- */
.faq-section { background: var(--gris-fond); border-top: 1px solid var(--gris-ligne); border-bottom: 1px solid var(--gris-ligne); }

.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }

.faq-list { display: grid; gap: 0.7rem; }

.faq-item {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] { border-color: rgba(214, 41, 30, 0.4); box-shadow: var(--ombre); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: 0.98rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .chev {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gris-fond);
  color: var(--rouge);
  font-weight: 800;
  font-size: 1.1rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.faq-item[open] .chev { transform: rotate(45deg); background: var(--rouge); color: var(--blanc); }

.faq-item p { padding: 0 1.2rem 1.1rem; font-size: 0.93rem; color: var(--gris-texte); }

/* ---- Bande de chiffres (À propos) ---- */
.stats-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(214, 41, 30, 0.16), transparent 55%),
    linear-gradient(150deg, var(--noir), var(--anthracite));
  color: var(--blanc);
  padding: 2.6rem 0;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }

.stat-num {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  background: linear-gradient(100deg, #ff8a80, var(--rouge-vif));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num em { font-size: 0.6em; }

.stat-label { display: block; margin-top: 0.4rem; font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); }

/* ---- Engagements (À propos) ---- */
.engagements { margin-top: 3rem; }

.engagements h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 1.2rem; }

.engage-list { list-style: none; display: grid; gap: 0.9rem; max-width: 52rem; }

.engage-list li {
  position: relative;
  padding: 1rem 1.2rem 1rem 1.5rem;
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge);
  border-radius: 0 12px 12px 0;
  font-size: 0.95rem;
  color: var(--gris-texte);
}

.engage-list strong { color: var(--noir); }

/* ---- Contact : tuiles ---- */
.contact-side { display: grid; gap: 1rem; align-content: start; }

.contact-tile {
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  display: grid;
  gap: 0.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--ombre); }

.contact-tile .ico { color: var(--rouge); margin-bottom: 0.3rem; }

.contact-tile strong { font-size: 0.95rem; }

.contact-tile a, .contact-tile .val { font-weight: 700; color: var(--noir); text-decoration: none; }

.contact-tile a:hover { color: var(--rouge-fonce); }

.contact-tile .tile-note { font-size: 0.82rem; color: var(--gris-texte); }

.contact-tile.appel {
  background:
    radial-gradient(300px 140px at 100% 0%, rgba(214, 41, 30, 0.22), transparent 60%),
    linear-gradient(135deg, var(--noir), var(--anthracite));
  border: 0;
  color: rgba(255, 255, 255, 0.75);
}

.contact-tile.appel strong { color: var(--blanc); }

.contact-tile.appel .gros-numero {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--blanc);
  letter-spacing: 0.02em;
}

.contact-tile.appel .gros-numero:hover { color: #ff8a80; }

.contact-tile.appel .tile-note { color: rgba(255, 255, 255, 0.6); }

.contact-tile.pro { border-left: 4px solid var(--rouge); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .devis-head { flex-direction: row; }
}

@media (max-width: 560px) {
  .devis-head { padding: 1rem 1.2rem; }
  .devis-body { padding: 1.2rem 1.2rem 1.1rem; }
  .devis-google { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}


/* ================================================================
   V3 — formulaire guidé, barre mobile, finitions
   ================================================================ */

/* Indicateur d'étapes */
.fsteps {
  display: none;
  list-style: none;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.devis-card.jsok .fsteps { display: flex; }

.fsteps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gris-texte);
  padding-bottom: 0.55rem;
  border-bottom: 3px solid var(--gris-ligne);
  transition: color var(--transition), border-color var(--transition);
}

.fsteps li.on { color: var(--noir); border-bottom-color: var(--rouge); }

.fsteps .fnum {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.68rem;
  background: var(--gris-ligne);
  color: var(--gris-texte);
  transition: background var(--transition), color var(--transition);
}

.fsteps li.on .fnum { background: var(--rouge); color: var(--blanc); }

/* Fieldsets / étapes */
.fstep { border: 0; padding: 0; margin: 0; display: grid; gap: 0.85rem; }

.devis-form.wizard .fstep { display: none; }
.devis-form.wizard .fstep.on { display: grid; animation: apparait 0.25s ease; }

.btn-suivant, .btn-retour { display: none; }
.devis-form.wizard .btn-suivant { display: block; }
.devis-form.wizard .btn-retour { display: inline-flex; }

.fstep-nav { display: flex; gap: 0.7rem; align-items: stretch; margin-top: 0.2rem; }

.fstep-nav .btn-devis { flex: 1; margin-top: 0; }

.btn-retour {
  align-items: center;
  border: 1.5px solid var(--gris-ligne);
  background: var(--blanc);
  color: var(--gris-texte);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-retour:hover { border-color: var(--noir); color: var(--noir); }

/* Champs : fond légèrement teinté, focus blanc */
.devis-form input, .devis-form select {
  background: #fafbfc;
  padding: 0.8rem 0.9rem;
}

.devis-form input:focus, .devis-form select:focus { background: var(--blanc); }

/* Select : vraie flèche custom */
.devis-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a6270' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

/* Barre d'action mobile (sticky bas) */
.barre-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--blanc);
  border-top: 1px solid var(--gris-ligne);
  box-shadow: 0 -6px 24px rgba(23, 26, 32, 0.12);
  padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
}

.barre-mobile a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
}

.barre-mobile .bm-appel { border: 2px solid var(--noir); color: var(--noir); }

.barre-mobile .bm-devis { background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif)); color: var(--blanc); }

@media (max-width: 720px) {
  .barre-mobile { display: flex; }
  body.a-barre { padding-bottom: 68px; }
}

/* Header : ombre au scroll */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23, 26, 32, 0.10); }

/* Mot du fondateur (À propos) */
.mot-fondateur {
  margin: 2.6rem 0 0;
  max-width: 46rem;
  background: var(--gris-fond);
  border-left: 4px solid var(--rouge);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.8rem 2rem 1.5rem;
  position: relative;
}

.mot-fondateur blockquote {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--noir);
}

.mot-fondateur figcaption {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gris-texte);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.mot-fondateur figcaption::before {
  content: "";
  display: inline-block;
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--rouge);
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* Pays de sourcing (chips) */
.pays-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.2rem 0 0.4rem; padding: 0; list-style: none; }

.pays-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--blanc);
  border: 1.5px solid var(--gris-ligne);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.pays-chips .drapeau { font-size: 1rem; }

/* Horaires (Contact) */
.horaires { list-style: none; margin-top: 0.4rem; display: grid; gap: 0.3rem; width: 100%; }

.horaires li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--gris-ligne);
}

.horaires li:last-child { border-bottom: 0; }

.horaires .jour { color: var(--gris-texte); font-weight: 600; }

.horaires .heure { font-weight: 800; }

.horaires .ferme { color: var(--gris-texte); font-weight: 700; }

/* Et après ? (Contact) */
.apres {
  margin-top: 1.2rem;
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
}

.apres h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.9rem; }

.apres ol { list-style: none; display: grid; gap: 0.75rem; counter-reset: ap; }

.apres li {
  counter-increment: ap;
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.apres li::before {
  content: "0" counter(ap);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: italic;
  color: var(--rouge-vif);
  flex: none;
}

.apres strong { color: var(--blanc); }

/* ================================================================
   V4 — Avis, stats, footer légal, retour haut, polish alignement
   ================================================================ */

/* Bande de chiffres */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
  margin-bottom: 2rem;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num em { font-style: italic; font-size: 0.6em; }

.stat-lib { display: block; margin-top: 0.3rem; font-size: 0.9rem; color: var(--gris-texte); font-weight: 600; }

/* Bande avis Google */
.avis-band {
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(214, 41, 30, 0.14), transparent 60%),
    linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc);
  padding: 3.6rem 0;
}

.avis-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.avis-note { text-align: center; padding-right: 3rem; border-right: 1px solid rgba(255,255,255,0.15); }

.avis-chiffre {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 4.2rem;
  line-height: 1;
}

.avis-chiffre .sur { font-size: 0.4em; color: rgba(255,255,255,0.6); }

.stars.grand { font-size: 1.35rem; display: block; margin: 0.4rem 0 0.5rem; }

.avis-src { font-size: 0.85rem; color: rgba(255,255,255,0.65); max-width: 12rem; display: inline-block; }

.avis-texte h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; margin-bottom: 0.7rem; }

.avis-texte p { color: rgba(255,255,255,0.78); max-width: 36rem; margin-bottom: 1.3rem; }

.btn-avis {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--blanc);
  color: var(--noir);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-avis:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.3); }

.avis-cartes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2rem; }

.avis-carte {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.2rem 1.3rem;
  margin: 0;
}

.avis-carte p { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 0.7rem; }

.avis-carte footer { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 600; }

/* Note paiement sous le formulaire */
.devis-paiement {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--gris-texte);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.footer-paiement { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* Footer légal */
.footer-legal {
  padding: 1.2rem 0 0.4rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal a { color: rgba(255, 255, 255, 0.6); text-decoration: underline; }
.footer-legal a:hover { color: var(--rouge-vif); }

/* Bouton retour en haut */
.btn-haut {
  position: fixed;
  right: 1.2rem;
  bottom: 4.6rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  box-shadow: 0 8px 20px rgba(23, 26, 32, 0.3);
}

.btn-haut.on { opacity: 1; pointer-events: auto; transform: none; }
.btn-haut:hover { background: var(--rouge); }

@media (min-width: 901px) { .btn-haut { bottom: 1.4rem; } }

/* CGV : lecture longue */
.cgv .prose h2 { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--gris-ligne); }
.cgv .prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.cgv .prose h3 { font-size: 1.12rem; font-weight: 750; margin: 1.4rem 0 0.5rem; }
.cgv .prose p { font-size: 0.95rem; }

/* Polish alignement */
.section-head p { max-width: 40rem; }
.trust-grid .trust-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.steps-grid .step-card p { margin-bottom: 0; }
.es-photo { margin-top: 1.6rem; }

@media (max-width: 900px) {
  .stats-band { grid-template-columns: repeat(3, 1fr); padding: 1.2rem 0.8rem; }
  .avis-inner { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
  .avis-note { padding-right: 0; border-right: 0; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .avis-texte p { margin-left: auto; margin-right: auto; }
  .avis-cartes { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stats-band { grid-template-columns: 1fr; gap: 1.3rem; }
}


/* ================================================================
   V4 — Champ type mine, consentement, page CGV
   ================================================================ */

/* Champ type mine : style "carte grise" */
.typemine {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--gris-ligne);
  border-radius: 9px;
  overflow: hidden;
  background: var(--blanc);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.typemine:focus-within {
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(214, 41, 30, 0.13);
}

.typemine .rubrique {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  background: var(--gris-fond);
  border-right: 1.5px solid var(--gris-ligne);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--gris-texte);
  letter-spacing: 0.04em;
}

.typemine input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Note de consentement RGPD sous le formulaire */
.devis-consent {
  margin-top: 0.7rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--gris-texte);
  text-align: center;
}

.devis-consent a { color: inherit; text-decoration: underline; }
.devis-consent a:hover { color: var(--rouge-fonce); }

/* ---- Page CGV ---- */
.prose h3 { font-size: 1.08rem; font-weight: 800; margin: 1.6rem 0 0.5rem; }

.prose ul, .prose ol { margin: 0 0 1rem 1.2rem; color: #333944; }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--rouge); font-weight: 700; }

.cgv-meta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris-texte);
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.4rem;
}

.cgv-sommaire {
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.5rem 0 2.5rem;
}

.cgv-sommaire h2 { font-size: 1rem; font-weight: 800; margin: 0 0 0.7rem; }

.cgv-sommaire ol {
  columns: 2;
  column-gap: 2rem;
  margin: 0 0 0 1.2rem;
  font-size: 0.88rem;
}

.cgv-sommaire li { margin-bottom: 0.3rem; break-inside: avoid; }

.cgv-sommaire a { color: #333944; text-decoration: none; }
.cgv-sommaire a:hover { color: var(--rouge-fonce); text-decoration: underline; }

.prose .cgv-article { scroll-margin-top: 90px; }

.retour-haut {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rouge-fonce);
  text-decoration: none;
}

.retour-haut:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .cgv-sommaire ol { columns: 1; }
}

@media print {
  .site-header, .site-footer, .barre-mobile, .retour-haut, .cgv-sommaire { display: none !important; }
  body { font-size: 11pt; }
  .prose { max-width: none; }
}

/* Repli élégant si une image externe est indisponible */
.media-frame.img-off { background: radial-gradient(600px 300px at 20% 0%, rgba(214,41,30,0.25), transparent 60%), linear-gradient(160deg, var(--noir), var(--anthracite)); min-height: 220px; }
.media-frame.img-off img { display: none; }


/* ================================================================
   V6 — WhatsApp, chips marques, barre de progression, dispo live
   ================================================================ */

/* Bouton WhatsApp flottant */
.btn-wa {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-wa:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55); }

/* Bande marques (chips) */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips li {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--anthracite);
  transition: border-color var(--transition), transform var(--transition), color var(--transition);
}

.chips li:hover { border-color: rgba(214, 41, 30, 0.45); color: var(--rouge-fonce); transform: translateY(-2px); }

.chips li.plus { background: var(--noir); color: var(--blanc); border-color: var(--noir); font-style: italic; }

/* Barre de progression de lecture */
.progress-lecture {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--rouge-fonce), var(--rouge-vif));
  z-index: 200;
  pointer-events: none;
}

/* Indicateur ouvert / fermé */
.dispo-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.dispo-live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.dispo-live.ouvert { color: #1a9a4d; }
.dispo-live.ferme { color: var(--gris-texte); }

@media (max-width: 900px) {
  /* au-dessus de la barre mobile */
  body.a-barre .btn-wa { bottom: 76px; left: 12px; width: 48px; height: 48px; }
}

@media print { .btn-wa, .progress-lecture, .barre-mobile, .btn-haut { display: none !important; } }

.bm-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 1;
  background: #1fa855;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.7rem 0.5rem;
  border-radius: 10px;
}


/* ================================================================
   V8 — Avis, page pilier, sommaire
   ================================================================ */

.avis-carte .stars { display: block; font-size: 0.85rem; margin-bottom: 0.55rem; letter-spacing: 0.12em; }
.avis-carte p { font-style: italic; line-height: 1.62; }
.avis-carte footer::before { content: "✓ "; color: var(--rouge-vif); }
.avis-carte { display: flex; flex-direction: column; transition: transform var(--transition), border-color var(--transition); }
.avis-carte:hover { transform: translateY(-3px); border-color: rgba(214,41,30,0.4); }
.avis-carte footer { margin-top: auto; padding-top: 0.6rem; }

/* Page pilier — sommaire ancré */
.sommaire {
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 2.4rem;
}
.sommaire strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gris-texte); margin-bottom: 0.6rem; }
.sommaire ul { list-style: none; display: grid; gap: 0.4rem; }
.sommaire a { color: var(--noir); text-decoration: none; font-weight: 650; font-size: 0.95rem; border-bottom: 1px solid transparent; }
.sommaire a:hover { color: var(--rouge-fonce); border-bottom-color: var(--rouge); }

/* Tableau comparatif */
.tab-compare { width: 100%; border-collapse: collapse; margin: 1.4rem 0 2rem; font-size: 0.95rem; }
.tab-compare th, .tab-compare td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--gris-ligne); text-align: left; vertical-align: top; }
.tab-compare thead th { background: var(--noir); color: var(--blanc); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tab-compare thead th:first-child { border-radius: 8px 0 0 0; }
.tab-compare thead th:last-child { border-radius: 0 8px 0 0; }
.tab-compare tbody tr:hover { background: var(--gris-fond); }
.tab-compare td:first-child { font-weight: 700; }
.tab-compare .oui { color: #1a9a4d; font-weight: 800; }
.tab-compare .non { color: var(--gris-texte); }
.tab-compare-wrap { overflow-x: auto; }

/* Encadré rappel dans le contenu */
.encart {
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc);
  border-radius: 14px;
  padding: 1.6rem 1.7rem;
  margin: 2rem 0;
}
.encart h3 { color: var(--blanc); font-size: 1.15rem; margin-bottom: 0.5rem; }
.encart p { color: rgba(255,255,255,0.78); margin-bottom: 1rem; }
.encart .btn-blanc { font-size: 0.95rem; }

@media (max-width: 900px) { .avis-carte p { font-size: 0.92rem; } }

/* Page pilier — fil d'Ariane, boutons hero, réponses FAQ */
.fil-ariane { font-size: 0.85rem; color: var(--gris-texte); margin-bottom: 1.1rem; font-weight: 600; }
.fil-ariane a { color: var(--rouge-fonce); text-decoration: none; }
.fil-ariane a:hover { text-decoration: underline; }

.btn-devis-lien {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); text-decoration: none; font-weight: 800;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-devis-lien:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(214,41,30,0.3); }

.btn-contour-sombre {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid var(--noir); color: var(--noir);
  text-decoration: none; font-weight: 800;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.btn-contour-sombre:hover { background: var(--noir); color: var(--blanc); }

.faq-rep { padding: 0 1.2rem 1.1rem; }
.faq-rep p { padding: 0; font-size: 0.93rem; color: var(--gris-texte); margin: 0; }

.prose .tab-compare td, .prose .tab-compare th { color: inherit; }
.prose .encart p { color: rgba(255,255,255,0.78); }

/* Envoi du formulaire */
.btn-devis[disabled] { opacity: 0.75; cursor: progress; }
.form-erreur { margin-top: 0.6rem; font-size: 0.85rem; color: var(--rouge-fonce); font-weight: 700; text-align: center; }

/* Champ piège anti-robot : jamais visible, jamais dans le flux */
.devis-form input.piege {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Corrections mobile V8 */
/* Radios du sélecteur Particulier/Professionnel : masqués sans déborder */
.segment input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  left: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Cadres photo : jamais plus larges que leur conteneur */
.media-frame { max-width: 100%; }
.media-frame.img-off { aspect-ratio: 16 / 9; }
.media-frame .legende { max-width: 100%; box-sizing: border-box; }


/* ================================================================
   V9 — Page pilier : cartes options, rappel offre, listes
   ================================================================ */

/* Bandeau « on ne fait pas que de l'échange standard » */
.rappel-offre {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-radius: 16px;
  padding: 1.9rem 2rem;
  margin-bottom: 2.6rem;
}
.rappel-offre h2 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.rappel-offre p { margin-bottom: 0.8rem; font-size: 0.97rem; }
.rappel-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rouge-fonce); margin-bottom: 0.5rem;
}
.rappel-offre .media-frame { aspect-ratio: 4 / 3; border-radius: 12px; }
.lien-fleche { color: var(--rouge-fonce); font-weight: 750; text-decoration: none; font-size: 0.95rem; }
.lien-fleche:hover { text-decoration: underline; }

/* Trois options côte à côte */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 1.8rem 0 1.6rem;
  align-items: stretch;
}
.option-carte {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.4rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.option-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: rgba(214,41,30,0.3); }

.option-carte--phare {
  border: 2px solid var(--rouge);
  box-shadow: 0 14px 40px rgba(214,41,30,0.14);
}
.option-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.32rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.option-tete { border-bottom: 1px solid var(--gris-ligne); padding-bottom: 0.9rem; margin-bottom: 0.9rem; }
.option-prix {
  display: inline-block;
  font-family: "Archivo", sans-serif; font-weight: 800; font-style: italic;
  font-size: 1.4rem; color: var(--rouge); letter-spacing: -0.02em; margin-bottom: 0.2rem;
}
.option-carte h3 { font-size: 1.18rem; font-weight: 800; margin: 0 0 0.35rem; }
.option-pitch { font-size: 0.9rem; color: var(--gris-texte); margin: 0; line-height: 1.5; }

.option-carte ul { list-style: none; display: grid; gap: 0.7rem; margin: 0 0 1rem; padding: 0; }
.option-carte ul li { font-size: 0.89rem; line-height: 1.5; color: #333944; }
.option-carte .pt {
  display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--gris-texte); margin-bottom: 0.1rem;
}
.option-ideal {
  margin: auto 0 0; padding-top: 0.9rem; border-top: 1px solid var(--gris-ligne);
  font-size: 0.87rem; line-height: 1.55; color: var(--gris-texte);
}
.option-ideal strong { color: var(--noir); }

/* Liste à coches dans le contenu */
.liste-check { list-style: none; display: grid; gap: 0.85rem; margin: 1.2rem 0 1.4rem; padding: 0; }
.liste-check li {
  position: relative; padding-left: 1.9rem; font-size: 0.97rem; line-height: 1.6; color: #333944;
}
.liste-check li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(214,41,30,0.1); color: var(--rouge);
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 800;
}

@media (max-width: 900px) {
  .rappel-offre { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.5rem 1.4rem; }
  .options-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .option-carte--phare { margin-top: 0.6rem; }
}


/* ================================================================
   V9 — Suivi de commande
   ================================================================ */

.suivi-wrap { max-width: 720px; }

.suivi-form {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-top: 4px solid var(--rouge);
  border-radius: 14px;
  box-shadow: var(--ombre);
  padding: 1.7rem 1.6rem 1.4rem;
}
.suivi-form label {
  display: block; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.03em; margin-bottom: 0.5rem;
}
.suivi-champ { display: flex; gap: 0.7rem; }
.suivi-champ input {
  flex: 1; min-width: 0;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gris-ligne);
  border-radius: 10px;
  font: inherit;
  font-family: "Archivo", sans-serif;
  font-weight: 800; font-size: 1.05rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.suivi-champ input:focus {
  outline: none; border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(214,41,30,0.13);
}
.btn-suivi {
  flex: none; border: 0; cursor: pointer;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); font: inherit; font-weight: 800; font-size: 0.98rem;
  padding: 0.85rem 1.4rem; border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-suivi:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(214,41,30,0.3); }

.suivi-etat {
  margin-top: 1.2rem; padding: 1rem 1.2rem;
  border-radius: 12px; font-size: 0.95rem; line-height: 1.6;
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
}
.suivi-etat.vide { border-left: 4px solid var(--rouge); }
.suivi-etat.info { border-left: 4px solid var(--gris-texte); }
.suivi-etat a { color: var(--rouge-fonce); font-weight: 700; }

.suivi-resultat {
  margin-top: 1.4rem;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: 14px;
  box-shadow: var(--ombre);
  padding: 1.7rem 1.6rem;
}
.suivi-tete {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding-bottom: 1.1rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--gris-ligne);
}
.suivi-ref-lib {
  display: block; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris-texte);
}
.suivi-ref { font-family: "Archivo", sans-serif; font-size: 1.3rem; letter-spacing: 0.06em; }
.suivi-badge {
  background: var(--noir); color: var(--blanc);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 0.42rem 0.95rem; border-radius: 999px; white-space: nowrap;
}
.suivi-badge.fini { background: #1a9a4d; }

/* Frise verticale */
.frise { list-style: none; margin: 0; padding: 0; position: relative; }
.frise::before {
  content: ""; position: absolute; left: 11px; top: 10px; bottom: 14px;
  width: 2px; background: var(--gris-ligne);
}
.frise-etape { position: relative; padding: 0 0 1.15rem 2.4rem; }
.frise-etape:last-child { padding-bottom: 0; }
.frise-pastille {
  position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blanc); border: 2px solid var(--gris-ligne);
  z-index: 1;
}
.frise-etape.faite .frise-pastille {
  background: var(--rouge); border-color: var(--rouge);
}
.frise-etape.faite .frise-pastille::after {
  content: "✓"; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--blanc); font-size: 0.72rem; font-weight: 800;
}
.frise-etape.active .frise-pastille {
  border-color: var(--rouge); background: var(--blanc);
  box-shadow: 0 0 0 4px rgba(214,41,30,0.16);
}
.frise-etape.active .frise-pastille::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 50%; background: var(--rouge);
}
.frise-txt strong { display: block; font-size: 1rem; font-weight: 750; color: var(--gris-texte); }
.frise-txt span { font-size: 0.88rem; color: #8b929c; line-height: 1.5; }
.frise-etape.faite .frise-txt strong,
.frise-etape.active .frise-txt strong { color: var(--noir); }
.frise-etape.active .frise-txt span { color: var(--gris-texte); }

.suivi-detail, .suivi-consigne {
  margin-top: 1.3rem; padding: 1rem 1.2rem;
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge); border-radius: 10px;
}
.suivi-detail strong, .suivi-consigne strong {
  display: block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gris-texte); margin-bottom: 0.35rem;
}
.suivi-detail p, .suivi-consigne p { font-size: 0.94rem; line-height: 1.6; color: #333944; margin: 0; }

.suivi-transport {
  margin-top: 1.3rem; padding: 1rem 1.2rem;
  background: var(--noir); color: var(--blanc);
  border-radius: 10px; display: flex; gap: 0.9rem; align-items: center;
}
.suivi-transport .ico { color: var(--rouge-vif); flex: none; }
.suivi-transport strong { display: block; font-size: 0.98rem; }
.suivi-transport a { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 700; }
.suivi-transport a:hover { color: var(--blanc); }

.suivi-maj { margin-top: 1.1rem; font-size: 0.8rem; color: var(--gris-texte); text-align: right; }

.suivi-aide { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--gris-ligne); }
.suivi-aide h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.suivi-aide p { color: var(--gris-texte); margin-bottom: 1.2rem; font-size: 0.97rem; }

@media (max-width: 560px) {
  .suivi-champ { flex-direction: column; }
  .btn-suivi { width: 100%; }
}

/* L'attribut hidden doit toujours l'emporter sur un display défini en CSS */
[hidden] { display: none !important; }


/* ================================================================
   V10 — Navigation déroulante, simulateur, espace pro, glossaire
   ================================================================ */

/* --- Menus déroulants --- */
.nav-groupe { position: relative; }

.nav-bouton {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 0.95rem;
  color: var(--noir); padding: 0.3rem 0;
  display: inline-flex; align-items: center; gap: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.nav-bouton:hover, .nav-groupe:hover .nav-bouton, .nav-bouton.active {
  border-bottom-color: var(--rouge); color: var(--rouge-fonce);
}
.nav-bouton .chev { font-size: 0.7rem; transition: transform var(--transition); }
.nav-groupe:hover .nav-bouton .chev, .nav-bouton[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 268px;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(23,26,32,0.16);
  padding: 0.5rem;
  display: grid; gap: 0.1rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 120;
}
.nav-menu::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-groupe:hover .nav-menu,
.nav-groupe:focus-within .nav-menu,
.nav-menu.ouvert {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-menu a {
  display: block; padding: 0.6rem 0.8rem;
  font-size: 0.92rem; font-weight: 600;
  border-radius: 8px; border-bottom: 0 !important;
  transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover { background: var(--gris-fond); color: var(--rouge-fonce); }

.main-nav .nav-pro {
  border: 1.6px solid var(--noir);
  border-radius: 999px;
  padding: 0.42rem 0.95rem !important;
  font-weight: 750;
}
.main-nav .nav-pro:hover, .main-nav .nav-pro.active {
  background: var(--noir); color: var(--blanc); border-color: var(--noir);
}

/* Pied de page sur 4 colonnes */
.footer-grid--4 { grid-template-columns: 1.25fr 1fr 1fr 1.1fr; }

/* --- Simulateur --- */
.simu-wrap { max-width: 760px; }

.simu-avert {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: var(--gris-fond);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge);
  border-radius: 12px; padding: 1.1rem 1.3rem;
  margin-bottom: 1.8rem;
}
.simu-avert .ico { color: var(--rouge); flex: none; margin-top: 1px; }
.simu-avert p { font-size: 0.92rem; line-height: 1.62; color: #333944; margin: 0; }

.simu-form {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-top: 4px solid var(--rouge);
  border-radius: 16px; box-shadow: var(--ombre);
  padding: 1.7rem 1.7rem 1.5rem;
}
.simu-progress { height: 4px; background: var(--gris-ligne); border-radius: 999px; overflow: hidden; }
.simu-progress span {
  display: block; height: 100%; width: 20%;
  background: linear-gradient(90deg, var(--rouge-fonce), var(--rouge-vif));
  border-radius: 999px; transition: width 0.35s ease;
}
.simu-compteur {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--gris-texte);
  margin: 0.8rem 0 1.2rem;
}

.simu-q { display: none; border: 0; padding: 0; margin: 0; }
.simu-q.on { display: block; animation: simu-entree 0.3s ease; }
@keyframes simu-entree { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.simu-q.manque { animation: simu-secousse 0.4s ease; }
@keyframes simu-secousse { 0%,100%{transform:none} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }

.simu-q legend {
  font-family: "Archivo", sans-serif;
  font-size: 1.25rem; font-weight: 800; line-height: 1.3;
  margin-bottom: 1.1rem; padding: 0;
}
.simu-choix { display: grid; gap: 0.6rem; }
.simu-choix label { cursor: pointer; }
.simu-choix input { position: absolute; opacity: 0; width: 0; height: 0; }
.simu-choix span {
  display: block; padding: 0.9rem 1.1rem;
  border: 1.6px solid var(--gris-ligne); border-radius: 11px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.simu-choix span strong { display: block; font-size: 0.99rem; font-weight: 700; }
.simu-choix span em { display: block; font-style: normal; font-size: 0.84rem; color: var(--gris-texte); margin-top: 0.12rem; }
.simu-choix label:hover span { border-color: rgba(214,41,30,0.45); transform: translateX(3px); }
.simu-choix input:checked + span {
  border-color: var(--rouge); background: rgba(214,41,30,0.05);
  box-shadow: 0 0 0 3px rgba(214,41,30,0.1);
}
.simu-choix input:focus-visible + span { outline: 2px solid var(--rouge); outline-offset: 2px; }

.simu-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.simu-retour {
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 0.9rem; font-weight: 700; color: var(--gris-texte);
}
.simu-retour:hover { color: var(--noir); }
.simu-suite {
  margin-left: auto; border: 0; cursor: pointer;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); font: inherit; font-weight: 800; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.simu-suite:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(214,41,30,0.3); }

.simu-resultat {
  background: var(--blanc);
  border: 1px solid var(--gris-ligne); border-top: 4px solid var(--rouge);
  border-radius: 16px; box-shadow: var(--ombre);
  padding: 1.9rem 1.8rem 1.6rem;
}
.simu-res-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rouge-fonce); margin-bottom: 0.5rem;
}
.simu-resultat h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.7rem; }
.simu-res-pitch { font-size: 1.03rem; line-height: 1.65; color: #333944; margin-bottom: 1.5rem; }

.simu-pourquoi, .simu-nuance {
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-radius: 12px; padding: 1.1rem 1.3rem; margin-bottom: 1.1rem;
}
.simu-nuance { border-left: 4px solid var(--rouge); }
.simu-pourquoi strong, .simu-nuance strong {
  display: block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gris-texte); margin-bottom: 0.6rem;
}
.simu-pourquoi ul { list-style: none; display: grid; gap: 0.6rem; margin: 0; padding: 0; }
.simu-pourquoi li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.93rem; line-height: 1.58; color: #333944;
}
.simu-pourquoi li::before {
  content: "→"; position: absolute; left: 0; color: var(--rouge); font-weight: 800;
}
.simu-nuance p { font-size: 0.93rem; line-height: 1.6; color: #333944; margin: 0; }

.simu-rappel {
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc); border-radius: 12px;
  padding: 1.4rem 1.5rem; margin-top: 1.4rem;
}
.simu-rappel p { color: rgba(255,255,255,0.8); font-size: 0.93rem; line-height: 1.62; margin-bottom: 1.1rem; }
.simu-rappel strong { color: var(--blanc); }
.simu-rappel .btn-contour-sombre { border-color: rgba(255,255,255,0.7); color: var(--blanc); }
.simu-rappel .btn-contour-sombre:hover { background: var(--blanc); color: var(--noir); }

.simu-refaire {
  display: block; margin: 1.2rem auto 0;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 0.88rem; font-weight: 700; color: var(--gris-texte);
  text-decoration: underline;
}
.simu-refaire:hover { color: var(--rouge-fonce); }

/* --- Garanties --- */
.garantie-bandeau {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.gb-item {
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc); border-radius: 14px;
  padding: 1.6rem 1.4rem; text-align: center;
}
.gb-chiffre {
  display: block; font-family: "Archivo", sans-serif;
  font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1;
  background: linear-gradient(100deg, var(--rouge-vif), #ff7a6d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.5rem;
}
.gb-lib { font-size: 0.88rem; line-height: 1.5; color: rgba(255,255,255,0.75); }

.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin: 1.5rem 0 1.6rem; }
.col-oui, .col-non {
  border: 1px solid var(--gris-ligne); border-radius: 12px; padding: 1.2rem 1.3rem;
}
.col-oui { border-top: 3px solid #1a9a4d; background: rgba(26,154,77,0.04); }
.col-non { border-top: 3px solid var(--gris-texte); background: var(--gris-fond); }
.col-oui h3, .col-non h3 { font-size: 1.02rem; margin-bottom: 0.7rem; }
.col-oui ul, .col-non ul { list-style: none; display: grid; gap: 0.5rem; margin: 0; padding: 0; }
.col-oui li, .col-non li { position: relative; padding-left: 1.35rem; font-size: 0.91rem; line-height: 1.5; color: #333944; }
.col-oui li::before { content: "✓"; position: absolute; left: 0; color: #1a9a4d; font-weight: 800; }
.col-non li::before { content: "✕"; position: absolute; left: 0; color: var(--gris-texte); font-weight: 800; }

.liste-num { counter-reset: n; list-style: none; display: grid; gap: 0.9rem; margin: 1.2rem 0 1.5rem; padding: 0; }
.liste-num li {
  counter-increment: n; position: relative; padding-left: 2.2rem;
  font-size: 0.97rem; line-height: 1.6; color: #333944;
}
.liste-num li::before {
  content: counter(n); position: absolute; left: 0; top: 0;
  width: 25px; height: 25px; border-radius: 50%;
  background: var(--noir); color: var(--blanc);
  display: grid; place-items: center;
  font-family: "Archivo", sans-serif; font-size: 0.78rem; font-weight: 800;
}

.etapes-sav { display: grid; gap: 0.9rem; margin: 1.4rem 0 1.6rem; }
.es-item {
  display: flex; gap: 1rem;
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-radius: 12px; padding: 1.1rem 1.3rem;
}
.es-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); display: grid; place-items: center;
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 0.9rem;
}
.es-item strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.es-item p { font-size: 0.92rem; line-height: 1.58; color: var(--gris-texte); margin: 0; }

.mention-cgv { font-size: 0.87rem; color: var(--gris-texte); border-top: 1px solid var(--gris-ligne); padding-top: 1.2rem; margin-top: 1.8rem; }

/* --- Glossaire --- */
.glossaire-index { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.4rem; }
.glossaire-index a {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  font-weight: 800; font-size: 0.88rem; text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.glossaire-index a:hover { background: var(--rouge); color: var(--blanc); border-color: var(--rouge); }

.glossaire-wrap { max-width: 780px; display: grid; gap: 1rem; }
.glo-item {
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--gris-ligne); border-radius: 12px;
  padding: 1.3rem 1.5rem;
  transition: border-left-color var(--transition), box-shadow var(--transition);
  scroll-margin-top: 100px;
}
.glo-item:hover, .glo-item:target { border-left-color: var(--rouge); box-shadow: var(--ombre); }
.glo-item h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.glo-item p { font-size: 0.96rem; line-height: 1.65; color: #333944; margin-bottom: 0.6rem; }

/* --- Espace pro --- */
.pro-wrap { max-width: 1060px; }
.page-hero--pro {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(214,41,30,0.16), transparent 60%),
    linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc);
}
.page-hero--pro h1 { color: var(--blanc); }
.page-hero--pro p { color: rgba(255,255,255,0.75); }
.page-hero--pro .eyebrow { color: var(--rouge-vif); }
.page-hero--pro .fil-ariane { color: rgba(255,255,255,0.55); }
.page-hero--pro .fil-ariane a { color: rgba(255,255,255,0.8); }

.pro-porte { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.pro-connexion {
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-top: 4px solid var(--rouge); border-radius: 16px;
  box-shadow: var(--ombre); padding: 1.8rem 1.7rem;
}
.pro-connexion h2, .pro-avantages h2 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.pro-connexion p { font-size: 0.94rem; color: var(--gris-texte); margin-bottom: 1.2rem; }
.pro-connexion label { display: block; font-size: 0.82rem; font-weight: 800; margin-bottom: 0.5rem; }
.pro-champ { display: flex; gap: 0.7rem; }
.pro-champ input {
  flex: 1; min-width: 0; padding: 0.85rem 1rem;
  border: 1.5px solid var(--gris-ligne); border-radius: 10px;
  font: inherit; font-family: "Archivo", sans-serif; font-weight: 800;
  font-size: 1.02rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.pro-champ input:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(214,41,30,0.13); }
.pro-avantages { padding-top: 0.4rem; }

.pro-bienvenue {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc); border-radius: 14px; padding: 1.3rem 1.6rem;
  margin-bottom: 1.4rem;
}
.pro-lib { display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.pro-nom { font-family: "Archivo", sans-serif; font-size: 1.3rem; }
.pro-quitter {
  background: none; border: 1.5px solid rgba(255,255,255,0.4); color: var(--blanc);
  border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer;
  font: inherit; font-size: 0.85rem; font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.pro-quitter:hover { background: var(--blanc); color: var(--noir); }

.pro-message {
  background: rgba(214,41,30,0.06); border: 1px solid rgba(214,41,30,0.25);
  border-left: 4px solid var(--rouge); border-radius: 12px;
  padding: 1rem 1.2rem; margin-bottom: 1.4rem;
}
.pro-message strong { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rouge-fonce); margin-bottom: 0.3rem; }
.pro-message p { font-size: 0.95rem; line-height: 1.6; margin: 0; }

.pro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.2rem; align-items: start; }
.pro-colonne { display: grid; gap: 1.2rem; }
.pro-carte {
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-radius: 14px; padding: 1.5rem 1.5rem;
}
.pro-carte h2 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.pro-sous { font-size: 0.92rem; line-height: 1.6; color: var(--gris-texte); margin-bottom: 0.9rem; }
.pro-carte--sombre {
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc); border-color: transparent;
}
.pro-carte--sombre h2 { color: var(--blanc); }
.pro-carte--sombre p { color: rgba(255,255,255,0.72); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.9rem; }
.pro-tel {
  display: block; font-family: "Archivo", sans-serif; font-weight: 800;
  font-size: 1.45rem; color: var(--blanc); text-decoration: none; margin-bottom: 0.5rem;
}
.pro-tel:hover { color: var(--rouge-vif); }
.pro-lien-wa { display: inline-block; color: var(--rouge-vif); font-weight: 750; font-size: 0.92rem; text-decoration: none; }
.pro-lien-wa:hover { text-decoration: underline; }
.pro-horaires { font-size: 0.82rem !important; color: rgba(255,255,255,0.5) !important; margin: 0.8rem 0 0 !important; }

.pro-liste { list-style: none; display: grid; gap: 0.7rem; margin: 0; padding: 0; }
.pro-liste li { display: flex; flex-direction: column; gap: 0.1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--gris-ligne); }
.pro-liste li:last-child { border-bottom: 0; padding-bottom: 0; }
.pro-liste span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gris-texte); }
.pro-liste strong { font-size: 0.95rem; }

.pro-form { margin-top: 0.4rem; }

.guide-suite { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--gris-ligne); }
.guide-suite h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.guide-liens { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.guide-liens a {
  display: block; padding: 1rem 1.2rem;
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-radius: 11px; text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}
.guide-liens a:hover { border-color: rgba(214,41,30,0.45); transform: translateY(-2px); }
.guide-liens strong { display: block; font-size: 0.96rem; margin-bottom: 0.15rem; }
.guide-liens span { font-size: 0.85rem; color: var(--gris-texte); }

@media (max-width: 980px) {
  .footer-grid--4 { grid-template-columns: 1fr 1fr; }
  .pro-grid, .pro-porte { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-groupe { width: 100%; }
  .nav-bouton { width: 100%; justify-content: space-between; padding: 0.5rem 0; }
  .nav-menu {
    position: static; transform: none; min-width: 0; width: 100%;
    box-shadow: none; border: 0; border-left: 2px solid var(--gris-ligne);
    border-radius: 0; padding: 0.2rem 0 0.2rem 0.8rem; margin: 0.2rem 0 0.4rem;
    opacity: 1; visibility: visible; display: none;
  }
  .nav-groupe:hover .nav-menu { display: none; }
  .nav-menu.ouvert { display: grid; }
  .main-nav .nav-pro { display: inline-block; margin-top: 0.4rem; }
  .garantie-bandeau, .deux-col, .guide-liens { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pro-champ { flex-direction: column; }
  .footer-grid--4 { grid-template-columns: 1fr; }
}

/* Boutons dans les encarts : jamais plus larges que le conteneur sur mobile */
.encart .btn-blanc, .encart .btn-contour {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 560px) {
  .encart .btn-blanc, .encart .btn-contour { width: 100%; justify-content: center; }
}


/* ================================================================
   V11 — Adresses par service, portail client
   ================================================================ */

.fp-role {
  display: block; font-size: 0.76rem;
  color: rgba(255,255,255,0.42); font-style: italic;
}

.aide-service {
  margin-top: 1.8rem; padding: 1rem 1.2rem;
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge); border-radius: 10px;
  font-size: 0.93rem; line-height: 1.6; color: #333944;
}
.aide-service a { color: var(--rouge-fonce); font-weight: 700; }

/* Adresses de service sur la page suivi */
.suivi-services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
  margin-bottom: 1.3rem;
}
.suivi-services div {
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-radius: 10px; padding: 0.85rem 1rem;
}
.suivi-services strong {
  display: block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gris-texte); margin-bottom: 0.25rem;
}
.suivi-services a { font-size: 0.92rem; font-weight: 750; color: var(--rouge-fonce); text-decoration: none; word-break: break-word; }
.suivi-services a:hover { text-decoration: underline; }

/* Bouton portail client */
.btn-portail {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--noir); color: var(--blanc);
  text-decoration: none; font-weight: 750; font-size: 0.92rem;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
}
.btn-portail:hover { background: var(--rouge); transform: translateY(-2px); }
.pro-note-portail { font-size: 0.84rem; color: var(--gris-texte); margin-top: 0.8rem; }
.pro-note-portail a { color: var(--rouge-fonce); font-weight: 700; }

@media (max-width: 560px) {
  .suivi-services { grid-template-columns: 1fr; }
}


/* Routage des adresses par service */
.routage {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem;
}
.rt-carte {
  display: flex; flex-direction: column; gap: 0.3rem;
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge); border-radius: 13px;
  padding: 1.3rem 1.4rem; text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.rt-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.rt-role {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gris-texte);
}
.rt-carte strong {
  font-size: 1.02rem; font-weight: 750; color: var(--rouge-fonce);
  word-break: break-word; line-height: 1.3;
}
.rt-quoi { font-size: 0.87rem; line-height: 1.55; color: var(--gris-texte); margin-top: 0.25rem; }
.rt-carte--tel {
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  border-color: transparent; border-left-color: var(--rouge-vif);
}
.rt-carte--tel .rt-role { color: rgba(255,255,255,0.5); }
.rt-carte--tel strong { color: var(--blanc); font-family: "Archivo", sans-serif; font-size: 1.3rem; letter-spacing: 0.01em; }
.rt-carte--tel .rt-quoi { color: rgba(255,255,255,0.68); }

.routage--compact { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.routage--compact .rt-carte { padding: 1rem 1.1rem; border-radius: 11px; }
.routage--compact .rt-carte strong { font-size: 0.94rem; }
.routage--compact .rt-quoi { font-size: 0.82rem; }

@media (max-width: 640px) { .routage--compact { grid-template-columns: 1fr; } }


/* ================================================================
   V12 — Cartes motorisation
   ================================================================ */
.moteurs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.1rem; }

.moteur-carte {
  display: flex; flex-direction: column; gap: 0.35rem;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.3rem;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.moteur-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: rgba(214,41,30,0.4); border-left-color: var(--rouge); }

.mc-code {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.01em; color: var(--noir);
}
.mc-type {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rouge-fonce); margin-bottom: 0.5rem;
}
.mc-vehicules { font-size: 0.9rem; line-height: 1.55; color: #333944; }
.mc-note {
  font-size: 0.86rem; line-height: 1.55; color: var(--gris-texte);
  border-top: 1px solid var(--gris-ligne); margin-top: 0.7rem; padding-top: 0.7rem;
}
.mc-lien { margin-top: auto; padding-top: 0.9rem; font-size: 0.9rem; font-weight: 750; color: var(--rouge-fonce); }
.moteur-carte:hover .mc-lien { text-decoration: underline; }


/* ================================================================
   V13 — Correctif : la carte devis hérite du blanc du hero photo
   ================================================================ */
.devis-card, .devis-card p, .devis-card label, .devis-card legend {
  color: var(--noir);
}
.devis-form label:not(.segment label) { color: var(--noir) !important; }
.devis-form .segment label { color: var(--gris-texte) !important; }
.devis-form .segment input:checked + label { color: var(--blanc) !important; background: var(--noir); }
.devis-form label .optionnel { color: var(--gris-texte) !important; }
.devis-card .devis-note, .devis-card .champ-aide, .devis-card .devis-consent { color: var(--gris-texte); }
/* l'en-tête sombre de la carte garde son texte clair */
.devis-card .devis-head, .devis-card .devis-head h2, .devis-card .devis-head p { color: var(--blanc); }


/* ================================================================
   V13 — Bulle « Être rappelé »
   ================================================================ */
.rappel-zone { position: fixed; right: 18px; bottom: 18px; z-index: 95; }

.btn-rappel {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); border: 0; cursor: pointer;
  font: inherit; font-weight: 800; font-size: 0.92rem;
  padding: 0.8rem 1.2rem; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(214, 41, 30, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-rappel:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(214, 41, 30, 0.5); }
.btn-rappel svg { flex: none; }

/* pulsation discrète pour attirer l'œil, puis arrêt */
@keyframes rappel-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(214,41,30,0.4); }
  50% { box-shadow: 0 10px 26px rgba(214,41,30,0.4), 0 0 0 10px rgba(214,41,30,0.12); }
}
.btn-rappel.pulse { animation: rappel-pulse 2.2s ease 3; }

.panneau-rappel {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: min(330px, calc(100vw - 36px));
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-top: 4px solid var(--rouge);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(23, 26, 32, 0.22);
  padding: 1.4rem 1.4rem 1.2rem;
  animation: rappel-entree 0.22s ease;
}
@keyframes rappel-entree { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.rappel-fermer {
  position: absolute; top: 8px; right: 10px;
  background: none; border: 0; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--gris-texte);
}
.rappel-fermer:hover { color: var(--noir); }

.rappel-eyebrow-p {
  display: inline-block; font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rouge-fonce); margin-bottom: 0.25rem;
}
.panneau-rappel h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.3rem; color: var(--noir); }
.rappel-sous { font-size: 0.86rem; line-height: 1.5; color: var(--gris-texte); margin-bottom: 1rem; }

.rappel-form { display: grid; gap: 0.75rem; }
.rappel-form label, .rappel-lib {
  display: block; font-size: 0.78rem; font-weight: 800;
  margin-bottom: 0.3rem; color: var(--noir);
}
.rappel-form label .optionnel { font-weight: 500; color: var(--gris-texte); }
.rappel-form input[type="tel"], .rappel-form input[type="text"]:not(.piege) {
  width: 100%; padding: 0.68rem 0.85rem;
  border: 1.5px solid var(--gris-ligne); border-radius: 9px;
  font: inherit; font-size: 0.93rem;
}
.rappel-form input:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(214,41,30,0.13); }

.rappel-creneaux { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.rappel-creneaux label { margin: 0; cursor: pointer; }
.rappel-creneaux input { position: absolute; opacity: 0; width: 0; height: 0; }
.rappel-creneaux span {
  display: block; text-align: center;
  padding: 0.5rem 0.4rem; font-size: 0.8rem; font-weight: 650;
  border: 1.5px solid var(--gris-ligne); border-radius: 8px;
  transition: border-color var(--transition), background var(--transition);
}
.rappel-creneaux label:hover span { border-color: rgba(214,41,30,0.45); }
.rappel-creneaux input:checked + span {
  border-color: var(--rouge); background: rgba(214,41,30,0.06); color: var(--rouge-fonce);
}

.btn-rappel-envoi {
  margin-top: 0.2rem; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); font: inherit; font-weight: 800; font-size: 0.95rem;
  padding: 0.8rem 1rem; border-radius: 9px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-rappel-envoi:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(214,41,30,0.32); }

.rappel-note { font-size: 0.76rem; color: var(--gris-texte); text-align: center; margin: 0; }
.rappel-note--rgpd { font-size: 0.72rem; margin-top: 0.2rem; }
.rappel-note a { color: var(--rouge-fonce); }

@media (max-width: 900px) {
  .rappel-zone { right: 12px; bottom: 12px; }
  .btn-rappel { padding: 0.72rem 1rem; font-size: 0.85rem; }
  body.a-barre .rappel-zone { bottom: 74px; }
}


/* ================================================================
   V13 — Cartes pièces enrichies + bande de marques défilante
   ================================================================ */
.pieces-grid { align-items: stretch; }

.piece-card {
  position: relative;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
a.piece-card:hover { border-color: rgba(214,41,30,0.5); }

.pc-badge {
  position: absolute; top: -10px; left: 1.3rem;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc);
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; border-radius: 999px; white-space: nowrap;
}

.piece-card .ico {
  background: linear-gradient(160deg, var(--noir), var(--anthracite));
  border-color: transparent; color: var(--rouge-vif);
  width: 48px; height: 48px;
}
.piece-card:hover .ico { color: var(--blanc); background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif)); }

.pc-points { list-style: none; display: grid; gap: 0.35rem; margin: 0.85rem 0 0; padding: 0; }
.pc-points li {
  position: relative; padding-left: 1.15rem;
  font-size: 0.82rem; line-height: 1.45; color: var(--gris-texte);
}
.pc-points li::before { content: "✓"; position: absolute; left: 0; color: var(--rouge); font-weight: 800; font-size: 0.75rem; }

.pc-lien {
  margin-top: auto; padding-top: 0.9rem;
  font-size: 0.86rem; font-weight: 750; color: var(--rouge-fonce);
}
a.piece-card:hover .pc-lien { text-decoration: underline; }

.pieces-note {
  margin-top: 1.6rem; font-size: 0.94rem; color: var(--gris-texte); text-align: center;
}
.pieces-note a { color: var(--rouge-fonce); font-weight: 700; text-decoration: none; }
.pieces-note a:hover { text-decoration: underline; }

/* --- Bande de marques défilante --- */
.marques-defile {
  overflow: hidden;
  padding: 0.4rem 0 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marques-piste { display: flex; width: max-content; animation: marques-glisse 44s linear infinite; }
.marques-defile:hover .marques-piste { animation-play-state: paused; }
.marques-groupe { display: flex; gap: 0.6rem; padding-right: 0.6rem; }

@keyframes marques-glisse {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marque-pill {
  display: inline-flex; align-items: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  font-family: "Archivo", sans-serif;
  font-weight: 700; font-size: 0.95rem;
  color: var(--anthracite);
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.marque-pill:hover { border-color: rgba(214,41,30,0.5); color: var(--rouge-fonce); transform: translateY(-2px); }

.marques-note { margin-top: 0.6rem; font-size: 0.92rem; color: var(--gris-texte); text-align: center; }
.marques-note a { color: var(--rouge-fonce); font-weight: 700; text-decoration: none; }
.marques-note a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .marques-piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}


/* ================================================================
   V13 — Blog
   ================================================================ */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }

.post-carte {
  display: flex; flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--gris-ligne);
  border-radius: 14px;
  padding: 1.6rem 1.6rem 1.4rem;
  text-decoration: none; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: rgba(214,41,30,0.4); }

.post-cat {
  display: inline-block; width: fit-content;
  background: rgba(214,41,30,0.08); color: var(--rouge-fonce);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.8rem;
}
.post-carte h2 { font-size: 1.18rem; font-weight: 800; line-height: 1.28; margin-bottom: 0.55rem; }
.post-carte p { font-size: 0.92rem; line-height: 1.6; color: var(--gris-texte); }
.post-meta { font-size: 0.78rem; color: var(--gris-texte); margin-top: 0.9rem; }
.post-lien { margin-top: auto; padding-top: 0.9rem; font-size: 0.88rem; font-weight: 750; color: var(--rouge-fonce); }
.post-carte:hover .post-lien { text-decoration: underline; }

/* Article */
.page-hero--article h1 { max-width: 20ch; }
.article-chapo { font-size: 1.1rem; line-height: 1.6; max-width: 46rem; }
.article-meta {
  font-size: 0.82rem; color: var(--gris-texte); margin-top: 1rem;
  padding-top: 0.9rem; border-top: 1px solid var(--gris-ligne); max-width: 26rem;
}
.prose h3 { font-size: 1.12rem; font-weight: 750; margin: 1.6rem 0 0.5rem; }


/* Sélecteur Particulier / Professionnel : le libellé actif reste lisible */
.segment input:checked + label,
.devis-form .segment input:checked + label,
.devis-card .segment input:checked + label {
  background: var(--noir) !important;
  color: var(--blanc) !important;
  box-shadow: 0 3px 10px rgba(23, 26, 32, 0.25);
}
.segment label, .devis-form .segment label { color: var(--gris-texte); }
.segment label:hover { color: var(--noir); }


/* Sélecteur Particulier / Professionnel : l'option active reste blanche sur noir */
.segment label { color: var(--gris-texte) !important; }
.segment input:checked + label { color: var(--blanc) !important; background: var(--noir); }
.devis-card .segment input:checked + label { color: var(--blanc) !important; }


/* ================================================================
   V14 — Menus déroulants mobiles
   Sur mobile, un tap laisse le :hover actif : la règle
   « .nav-groupe:hover .nav-menu { display:none } » l'emportait
   sur « .nav-menu.ouvert » et empêchait l'ouverture.
   ================================================================ */
@media (max-width: 900px) {
  .nav-groupe:hover .nav-menu:not(.ouvert) { display: none; }
  .nav-groupe .nav-menu.ouvert,
  .nav-groupe:hover .nav-menu.ouvert,
  .nav-groupe:focus-within .nav-menu.ouvert { display: grid !important; }
}


/* ================================================================
   V14 — Actions flottantes : une pile cohérente en bas à droite,
   plus rien au milieu de l'écran
   ================================================================ */
/* Bouton « haut de page » : au-dessus de la bulle de rappel */
.btn-haut { right: 18px; bottom: 82px; }

/* WhatsApp reste à gauche, seul de son côté */
.btn-wa { left: 18px; bottom: 18px; }

/* Le panneau s'ouvre vers le haut et reste dans l'écran */
.panneau-rappel { max-height: calc(100vh - 120px); overflow-y: auto; }

/* Entrée « Suivi de commande » dans la navigation */
.main-nav .nav-suivi {
  display: inline-flex; align-items: center; gap: 0.38rem;
}
.main-nav .nav-suivi::before {
  content: "";
  width: 15px; height: 15px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='6' width='14' height='11' rx='1'/%3E%3Cpath d='M15 9h4l3 4v4h-7z'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='6' width='14' height='11' rx='1'/%3E%3Cpath d='M15 9h4l3 4v4h-7z'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.75;
}
.main-nav .nav-suivi:hover::before, .main-nav .nav-suivi.active::before { opacity: 1; }

@media (max-width: 900px) {
  .btn-haut { right: 12px; bottom: 74px; }
  .btn-wa { left: 12px; bottom: 12px; }
  body.a-barre .btn-haut { bottom: 136px; }
  body.a-barre .btn-wa { bottom: 74px; }
  .panneau-rappel { max-height: calc(100vh - 150px); }
}


/* ================================================================
   V14 — Grille des références moteurs
   ================================================================ */
.ref-filtres {
  display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center;
  justify-content: space-between; margin-bottom: 1rem;
}
.ref-recherche {
  position: relative; flex: 1 1 260px; display: flex; align-items: center;
}
.ref-recherche svg {
  position: absolute; left: 0.95rem; color: var(--gris-texte); pointer-events: none;
}
.ref-recherche input {
  width: 100%; padding: 0.78rem 1rem 0.78rem 2.6rem;
  border: 1.5px solid var(--gris-ligne); border-radius: 999px;
  font: inherit; font-size: 0.95rem; background: var(--blanc);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ref-recherche input:focus {
  outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(214,41,30,0.13);
}

.ref-onglets { display: flex; gap: 0.35rem; background: var(--gris-fond); border: 1px solid var(--gris-ligne); border-radius: 999px; padding: 4px; }
.ref-onglet {
  border: 0; cursor: pointer; background: none; font: inherit;
  font-size: 0.86rem; font-weight: 700; color: var(--gris-texte);
  padding: 0.45rem 1rem; border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.ref-onglet:hover { color: var(--noir); }
.ref-onglet.on { background: var(--noir); color: var(--blanc); }

.ref-compteur {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--gris-texte); margin-bottom: 1.1rem;
}

.ref-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1rem; }

.ref-carte {
  display: flex; flex-direction: column;
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-radius: 13px; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ref-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: rgba(214,41,30,0.35); }

.ref-photo { position: relative; aspect-ratio: 3 / 2; background: var(--gris-fond); overflow: hidden; }
.ref-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-mention {
  position: absolute; left: 0; bottom: 0;
  background: rgba(23, 26, 32, 0.78); color: rgba(255,255,255,0.9);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.24rem 0.6rem; border-radius: 0 8px 0 0;
}

.ref-corps { display: flex; flex-direction: column; flex: 1; padding: 1.05rem 1.15rem 1.05rem; }
.ref-tete { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.ref-carte h3 {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.1rem;
  letter-spacing: -0.01em; margin: 0;
}
.ref-carb {
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.22rem 0.5rem; border-radius: 999px; white-space: nowrap;
}
.ref-carb--diesel { background: rgba(23,26,32,0.08); color: var(--anthracite); }
.ref-carb--essence { background: rgba(214,41,30,0.1); color: var(--rouge-fonce); }

.ref-app { font-size: 0.88rem; font-weight: 750; color: var(--rouge-fonce); margin: 0.25rem 0 0.45rem; }
.ref-marques { font-size: 0.76rem; font-weight: 700; color: var(--gris-texte); margin: 0 0 0.35rem; }
.ref-veh { font-size: 0.82rem; line-height: 1.5; color: #333944; margin: 0; }

.ref-actions {
  margin-top: auto; padding-top: 0.9rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center;
}
.ref-devis {
  font-size: 0.83rem; font-weight: 800; color: var(--blanc);
  background: var(--noir); text-decoration: none;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  transition: background var(--transition);
}
.ref-devis:hover { background: var(--rouge); }
.ref-plus { font-size: 0.82rem; font-weight: 750; color: var(--rouge-fonce); text-decoration: none; }
.ref-plus:hover { text-decoration: underline; }

.ref-vide {
  padding: 1.6rem; text-align: center; font-size: 0.95rem; color: var(--gris-texte);
  background: var(--gris-fond); border: 1px dashed var(--gris-ligne); border-radius: 12px;
}
.ref-vide a { color: var(--rouge-fonce); font-weight: 700; }

@media (max-width: 560px) {
  .ref-filtres { flex-direction: column; align-items: stretch; }
  .ref-onglets { justify-content: center; }
  .ref-grille { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .ref-corps { padding: 0.85rem 0.9rem; }
  .ref-veh { font-size: 0.76rem; }
  .ref-carte h3 { font-size: 1rem; }
}
@media (max-width: 380px) {
  .ref-grille { grid-template-columns: 1fr; }
}


/* ================================================================
   V15 — Bandeau de navigation : logo protégé, nav compacte,
   bascule mobile plus tôt (la nav est chargée à 8 entrées)
   ================================================================ */
.header-inner { gap: 1rem; min-height: 64px; }

/* Le logo ne doit jamais être compressé */
.logo-link { flex: 0 0 auto; display: flex; align-items: center; }
.logo-link img { height: 42px; width: auto; max-width: none; }

/* Navigation : compacte, sur une seule ligne */
.main-nav { flex: 0 1 auto; gap: 1.15rem; flex-wrap: nowrap; }
.main-nav > a, .main-nav .nav-bouton { white-space: nowrap; font-size: 0.92rem; }
.nav-groupe { flex: 0 0 auto; }

/* Bouton d'appel : ne s'écrase pas non plus */
.header-cta { flex: 0 0 auto; }

@media (max-width: 1240px) {
  .main-nav { gap: 0.85rem; }
  .main-nav > a, .main-nav .nav-bouton { font-size: 0.875rem; }
  .header-cta { padding: 0.58rem 0.95rem; font-size: 0.9rem; }
  .main-nav .nav-pro { padding: 0.38rem 0.8rem !important; }
}

/* En dessous de 1180px la nav complète ne tient plus proprement :
   on bascule sur le menu déroulant plutôt que de tout tasser. */
@media (max-width: 1180px) {
  .nav-toggle { display: block; order: 3; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-ligne);
    box-shadow: 0 14px 30px rgba(23,26,32,0.1);
    flex-direction: column; align-items: flex-start; flex-wrap: wrap;
    padding: 1rem 4% 1.2rem; gap: 0.15rem;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav .nav-bouton {
    width: 100%; padding: 0.62rem 0; font-size: 0.98rem;
    border-bottom: 1px solid var(--gris-ligne) !important;
    border-radius: 0;
  }
  .main-nav > a:last-child { border-bottom: 0 !important; }
  .nav-groupe { width: 100%; }
  .nav-bouton { justify-content: space-between; }
  .nav-menu {
    position: static; transform: none; min-width: 0; width: 100%;
    box-shadow: none; border: 0; border-left: 2px solid var(--rouge);
    border-radius: 0; padding: 0.25rem 0 0.4rem 0.85rem; margin: 0.15rem 0 0.5rem;
    opacity: 1; visibility: visible; display: none;
  }
  .nav-groupe:hover .nav-menu:not(.ouvert) { display: none; }
  .nav-groupe .nav-menu.ouvert,
  .nav-groupe:hover .nav-menu.ouvert { display: grid !important; }
  .main-nav .nav-pro {
    border: 1.6px solid var(--noir) !important;
    border-radius: 999px !important;
    padding: 0.5rem 1.1rem !important;
    margin-top: 0.7rem; width: auto;
  }
}

/* Très petits écrans : le numéro cède la place à l'icône seule */
@media (max-width: 420px) {
  .logo-link img { height: 36px; }
  .header-cta .txt { display: none; }
  .header-cta { padding: 0.6rem; border-radius: 50%; }
}


/* ================================================================
   V15 — Fiches détaillées, puces de marque, affichage progressif
   ================================================================ */
.ref-info {
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge); border-radius: 12px;
  padding: 1.1rem 1.3rem; margin: 1rem 0 1.2rem;
}
.ref-info p { font-size: 0.9rem; line-height: 1.62; color: #333944; margin: 0; }

.ref-puces { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.ref-puce {
  border: 1px solid var(--gris-ligne); background: var(--blanc); cursor: pointer;
  font: inherit; font-size: 0.8rem; font-weight: 700; color: var(--gris-texte);
  padding: 0.34rem 0.8rem; border-radius: 999px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.ref-puce:hover { border-color: rgba(214,41,30,0.5); color: var(--rouge-fonce); }
.ref-puce.on { background: var(--noir); border-color: var(--noir); color: var(--blanc); }

.ref-vider {
  position: absolute; right: 0.8rem; background: none; border: 0; cursor: pointer;
  font-size: 1.35rem; line-height: 1; color: var(--gris-texte);
}
.ref-vider:hover { color: var(--noir); }

/* Fiche dépliable */
.ref-fiche { margin-top: 0.85rem; border-top: 1px solid var(--gris-ligne); padding-top: 0.7rem; }
.ref-fiche summary {
  cursor: pointer; list-style: none;
  font-size: 0.82rem; font-weight: 800; color: var(--rouge-fonce);
  display: flex; align-items: center; gap: 0.35rem;
}
.ref-fiche summary::-webkit-details-marker { display: none; }
.ref-fiche summary::after { content: "▾"; font-size: 0.7rem; transition: transform var(--transition); }
.ref-fiche[open] summary::after { transform: rotate(180deg); }
.ref-fiche summary:hover { text-decoration: underline; }

.fr-corps { padding-top: 0.7rem; display: grid; gap: 0.5rem; }
.fr-ligne { margin: 0; font-size: 0.8rem; line-height: 1.5; }
.fr-ligne span {
  display: block; font-size: 0.63rem; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--gris-texte);
}
.fr-ligne strong { font-weight: 650; color: #333944; }
.fr-note {
  margin: 0.2rem 0 0; font-size: 0.8rem; line-height: 1.55; color: #333944;
  background: rgba(214,41,30,0.06); border-radius: 8px; padding: 0.6rem 0.75rem;
}
.fr-note strong { color: var(--rouge-fonce); }
.fr-dispo { margin: 0.2rem 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--gris-texte); }
.fr-actions { margin-top: 0.5rem; }
.fr-actions .ref-devis { font-size: 0.79rem; }

.ref-plus-zone { text-align: center; margin-top: 1.6rem; }
.btn-voir-plus {
  border: 1.6px solid var(--noir); background: var(--blanc); cursor: pointer;
  font: inherit; font-weight: 800; font-size: 0.93rem; color: var(--noir);
  padding: 0.72rem 1.6rem; border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.btn-voir-plus:hover { background: var(--noir); color: var(--blanc); }

@media (max-width: 560px) {
  .ref-puces { gap: 0.3rem; }
  .ref-puce { font-size: 0.74rem; padding: 0.3rem 0.65rem; }
}


/* ================================================================
   V16 — Correctif bouton des fiches : en display:inline, le fond
   arrondi se scindait en deux quand le libellé passait sur
   deux lignes.
   ================================================================ */
.ref-devis, .ref-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}
.fr-actions { display: flex; }
.fr-actions .ref-devis {
  width: 100%;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
}


/* ================================================================
   V16 — Encadré d'aide : il se trouve dans le bloc CTA rouge et
   héritait de sa couleur blanche, sur son propre fond clair.
   ================================================================ */
.cta-final .aide-service, .aide-service { color: #333944 !important; }
.cta-final .aide-service a, .aide-service a { color: var(--rouge-fonce) !important; font-weight: 700; }
.cta-final .aide-service strong { color: var(--noir); }


/* ================================================================
   V16 — Sécurisation finale des menus déroulants
   La classe .ouvert prime en toutes circonstances, sur toutes
   les largeurs où la navigation est repliée.
   ================================================================ */
@media (max-width: 1180px) {
  .main-nav .nav-menu.ouvert {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }
  .main-nav .nav-menu.ouvert a {
    color: var(--noir) !important;
    background: transparent;
    padding: 0.62rem 0.7rem;
  }
  .main-nav .nav-menu.ouvert a:hover { color: var(--rouge-fonce) !important; background: var(--gris-fond); }
  /* zone tactile confortable */
  .main-nav .nav-bouton { min-height: 44px; }
  .main-nav .nav-menu a { min-height: 42px; display: flex; align-items: center; }
}




/* ================================================================
   V18 — Commande client et générateur de lien
   ================================================================ */

/* ---------- Bandeau ---------- */
.cmd-hero {
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(214,41,30,0.20), transparent 62%),
    linear-gradient(160deg, var(--noir), var(--anthracite));
  color: var(--blanc);
  padding: 3rem 0 2.6rem;
}
.cmd-hero-inner { max-width: 660px; }
.cmd-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--rouge-vif);
  border: 1px solid rgba(232,56,44,0.45); border-radius: 999px;
  padding: 0.3rem 0.85rem; margin-bottom: 1rem;
}
.cmd-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800;
  color: var(--blanc); margin-bottom: 0.7rem;
}
.cmd-hero p { color: rgba(255,255,255,0.76); font-size: 1.02rem; line-height: 1.6; }

.cmd-etapes {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem;
  margin: 1.6rem 0 0; padding: 0;
}
.cmd-etapes li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 650; color: rgba(255,255,255,0.45);
}
.cmd-etapes li span {
  width: 23px; height: 23px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800;
  background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.55);
}
.cmd-etapes li.on { color: var(--blanc); }
.cmd-etapes li.on span { background: var(--rouge); color: var(--blanc); }
.cmd-etapes li.fait { color: rgba(255,255,255,0.72); }
.cmd-etapes li.fait span { background: #1a9a4d; color: var(--blanc); }

.cmd-hero--merci .merci-ico { color: #35d07f; display: block; margin-bottom: 0.9rem; }
.cmd-section { padding-top: 2.2rem; }

/* ---------- Mise en page ---------- */
.cmd-grid { display: grid; grid-template-columns: 350px 1fr; gap: 1.8rem; align-items: start; }
.cmd-aside { position: sticky; top: 88px; }

/* ---------- Récapitulatif ---------- */
.cmd-recap {
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-top: 4px solid var(--rouge); border-radius: 14px;
  box-shadow: var(--ombre); padding: 1.4rem 1.4rem 1.2rem;
}
.cmd-recap--vide { border-top-color: var(--gris-ligne); }
.cmd-recap--vide p { font-size: 0.92rem; line-height: 1.6; color: #333944; margin: 0; }
.cmd-recap--vide a { color: var(--rouge-fonce); font-weight: 700; }
.cmd-recap-tete { padding-bottom: 0.85rem; margin-bottom: 0.9rem; border-bottom: 1px solid var(--gris-ligne); }
.cmd-lib { display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris-texte); }
.cmd-ref { font-family: "Archivo", sans-serif; font-size: 1.05rem; color: var(--noir); }

.cmd-articles { list-style: none; display: grid; gap: 0.7rem; margin: 0 0 0.9rem; padding: 0; }
.cmd-articles li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 0.4rem 0.6rem;
  align-items: start; padding-bottom: 0.7rem; border-bottom: 1px dashed var(--gris-ligne);
}
.cmd-articles li:last-child { border-bottom: 0; padding-bottom: 0; }
.art-nom { font-size: 0.9rem; line-height: 1.45; font-weight: 650; color: var(--noir); }
.art-qte {
  font-size: 0.72rem; font-weight: 800; color: var(--blanc); background: var(--noir);
  border-radius: 999px; padding: 0.12rem 0.45rem; align-self: start;
}
.art-prix { font-size: 0.9rem; font-weight: 800; text-align: right; white-space: nowrap; }
.art-consigne { display: block; font-size: 0.7rem; font-weight: 500; color: var(--gris-texte); }

.cmd-totaux { display: grid; gap: 0.35rem; padding: 0.85rem 0; border-top: 1px solid var(--gris-ligne); }
.tot-ligne { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; }
.tot-ligne span { color: var(--gris-texte); }
.tot-ligne strong { font-weight: 750; }
.tot-ligne--sec strong { color: var(--gris-texte); font-weight: 650; }
.tot-ligne--fort {
  padding-top: 0.5rem; margin-top: 0.2rem; border-top: 1px solid var(--gris-ligne);
  font-size: 1rem;
}
.tot-ligne--fort strong { font-family: "Archivo", sans-serif; font-size: 1.15rem; color: var(--rouge-fonce); }

.cmd-conditions { list-style: none; display: grid; gap: 0.45rem; margin: 0.6rem 0 0; padding: 0.85rem 0 0; border-top: 1px solid var(--gris-ligne); }
.cmd-conditions li { display: flex; justify-content: space-between; gap: 0.8rem; font-size: 0.83rem; }
.cmd-conditions span { color: var(--gris-texte); }
.cmd-conditions strong { text-align: right; font-weight: 650; }

.cmd-rassure { display: grid; gap: 0.5rem; margin-top: 1rem; padding-top: 0.95rem; border-top: 1px solid var(--gris-ligne); }
.cmd-rassure div { display: flex; align-items: center; gap: 0.5rem; font-size: 0.79rem; color: var(--gris-texte); }
.cmd-rassure svg { color: var(--rouge); flex: none; }
.cmd-note-recap { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--gris-texte); }
.cmd-note-recap a { color: var(--rouge-fonce); font-weight: 700; }

/* ---------- Formulaire ---------- */
.cmd-form { display: grid; gap: 1rem; }
.cmd-bloc {
  background: var(--blanc); border: 1px solid var(--gris-ligne); border-radius: 14px;
  padding: 1.4rem 1.5rem 1.3rem; margin: 0; display: grid; gap: 0.8rem;
}
.cmd-bloc legend {
  display: flex; align-items: center; gap: 0.6rem; float: left; width: 100%;
  font-family: "Archivo", sans-serif; font-size: 1.05rem; font-weight: 800;
  color: var(--noir); padding: 0; margin-bottom: 0.9rem;
}
.cmd-num {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 800;
}
.cmd-bloc--final { border-color: rgba(214,41,30,0.35); box-shadow: 0 10px 30px rgba(214,41,30,0.08); }

.cmd-form .champ label {
  display: block; font-size: 0.8rem; font-weight: 800; margin-bottom: 0.32rem; color: var(--noir);
}
.cmd-form .optionnel { font-weight: 500; color: var(--gris-texte); }
.cmd-form input[type="text"], .cmd-form input[type="tel"],
.cmd-form input[type="email"], .cmd-form input[type="number"], .cmd-form select {
  width: 100%; padding: 0.72rem 0.85rem; border: 1.5px solid var(--gris-ligne);
  border-radius: 9px; font: inherit; font-size: 0.95rem; background: var(--blanc);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.cmd-form input:focus, .cmd-form select:focus {
  outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(214,41,30,0.13);
}
.cmd-form .champ-aide { font-size: 0.78rem; color: var(--gris-texte); margin: 0.3rem 0 0; }
.cmd-segment { margin-bottom: 0.3rem; }

.cmd-check { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; font-size: 0.9rem; line-height: 1.5; }
.cmd-check input { margin-top: 0.15rem; width: 17px; height: 17px; accent-color: var(--rouge); flex: none; }
.cmd-check--cgv { background: var(--gris-fond); border: 1px solid var(--gris-ligne); border-radius: 10px; padding: 0.85rem 1rem; }
.cmd-check--inline { font-size: 0.85rem; font-weight: 700; }
.cmd-check a { color: var(--rouge-fonce); font-weight: 700; }

.cmd-info, .cmd-avert {
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-left: 4px solid var(--rouge); border-radius: 10px;
  padding: 0.85rem 1rem; font-size: 0.87rem; line-height: 1.55; color: #333944;
}

.btn-cmd {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); font: inherit; font-weight: 800; font-size: 1.04rem;
  padding: 1rem; border-radius: 11px; margin-top: 0.3rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-cmd:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214,41,30,0.34); }
.btn-cmd[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.cmd-aide { font-size: 0.83rem; color: var(--gris-texte); text-align: center; margin: 0.2rem 0 0; }
.cmd-aide a { color: var(--rouge-fonce); font-weight: 700; }

/* ---------- Page de confirmation ---------- */
.suite-grid { display: grid; gap: 1rem; }
.suite-carte {
  position: relative; background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-radius: 14px; padding: 1.4rem 1.5rem 1.3rem 3.6rem;
}
.suite-num {
  position: absolute; left: 1.3rem; top: 1.4rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(100deg, var(--rouge-fonce), var(--rouge-vif));
  color: var(--blanc); display: grid; place-items: center;
  font-family: "Archivo", sans-serif; font-size: 0.85rem; font-weight: 800;
}
.suite-carte h2 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.suite-carte p { font-size: 0.93rem; line-height: 1.6; color: var(--gris-texte); margin: 0; }

/* ---------- Générateur ---------- */
.outil-wrap { max-width: 1140px; }
.outil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.outil-col { display: grid; gap: 1.2rem; }
.outil-col--sortie { position: sticky; top: 88px; }
.outil-carte {
  background: var(--blanc); border: 1px solid var(--gris-ligne);
  border-radius: 14px; padding: 1.4rem 1.5rem;
}
.outil-carte--sortie { border-top: 4px solid var(--rouge); }
.outil-carte h2 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.outil-carte-tete, .outil-bloc-tete {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.9rem; flex-wrap: wrap;
}
.outil-carte-tete h2, .outil-bloc-tete h2 { margin: 0; }
.outil-sous { font-size: 0.85rem; color: var(--gris-texte); margin: -0.4rem 0 0.9rem; }

.art-saisie {
  border: 1px solid var(--gris-ligne); border-radius: 11px;
  padding: 1rem 1.1rem; margin-bottom: 0.8rem; display: grid; gap: 0.7rem;
  background: var(--gris-fond);
}
.art-saisie-tete { display: flex; align-items: center; justify-content: space-between; }
.art-saisie-num { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gris-texte); }
.art-suppr {
  border: 0; background: none; cursor: pointer; font: inherit;
  font-size: 0.78rem; font-weight: 700; color: var(--rouge-fonce); text-decoration: underline;
}
.art-row3 { grid-template-columns: 90px 1fr 1fr; }
.art-row3--simple { grid-template-columns: 1fr 1fr; }
.art-saisie label { display: block; font-size: 0.76rem; font-weight: 800; margin-bottom: 0.3rem; }
.art-saisie input {
  width: 100%; padding: 0.62rem 0.75rem; border: 1.5px solid var(--gris-ligne);
  border-radius: 8px; font: inherit; font-size: 0.9rem; background: var(--blanc);
}
.art-saisie input:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(214,41,30,0.13); }

.outil-ajouter {
  width: 100%; border: 1.5px dashed var(--gris-ligne); background: none; cursor: pointer;
  font: inherit; font-weight: 750; font-size: 0.9rem; color: var(--gris-texte);
  padding: 0.7rem; border-radius: 10px;
  transition: border-color var(--transition), color var(--transition);
}
.outil-ajouter:hover { border-color: var(--rouge); color: var(--rouge-fonce); }

.outil-preview {
  background: var(--gris-fond); border: 1px solid var(--gris-ligne);
  border-radius: 11px; padding: 1rem 1.1rem; margin-bottom: 0.9rem;
}
.preview-vide { font-size: 0.86rem; color: var(--gris-texte); margin: 0; }
.preview-articles { list-style: none; display: grid; gap: 0.45rem; margin: 0; padding: 0; }
.preview-articles li { display: flex; justify-content: space-between; gap: 0.8rem; font-size: 0.87rem; }
.preview-articles em { font-style: normal; font-weight: 800; color: var(--rouge-fonce); }
.preview-articles strong { white-space: nowrap; }
.preview-total {
  display: flex; justify-content: space-between; gap: 0.8rem;
  font-size: 0.88rem; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid var(--gris-ligne);
}
.preview-total span { color: var(--gris-texte); }
.preview-total--sec { border-top: 0; padding-top: 0; margin-top: 0.25rem; font-size: 0.82rem; }

.outil-tester { font-size: 0.86rem; font-weight: 750; color: var(--rouge-fonce); text-decoration: none; }
.outil-tester:hover { text-decoration: underline; }

.outil-copier {
  border: 1.5px solid var(--noir); background: var(--blanc); cursor: pointer;
  font: inherit; font-size: 0.76rem; font-weight: 800; color: var(--noir);
  padding: 0.3rem 0.85rem; border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
.outil-copier:hover { background: var(--noir); color: var(--blanc); }
.outil-copier.ok { background: #1a9a4d; border-color: #1a9a4d; color: var(--blanc); }

.outil-col textarea {
  width: 100%; border: 1.5px solid var(--gris-ligne); border-radius: 9px;
  font-family: Consolas, Menlo, monospace; font-size: 0.76rem; line-height: 1.5;
  padding: 0.7rem 0.8rem; background: var(--gris-fond); color: #2b3038; resize: vertical;
}
.outil-aide { font-size: 0.77rem; color: var(--gris-texte); margin: 0.45rem 0 0; line-height: 1.5; }
.outil-apercu { padding: 1.1rem; background: var(--gris-fond); border-radius: 9px; text-align: center; margin-bottom: 0.7rem; }
.outil-apercu a {
  display: inline-block; background: var(--rouge); color: var(--blanc);
  font-weight: 800; text-decoration: none; padding: 0.85rem 2.2rem; border-radius: 999px;
}

@media (max-width: 980px) {
  .cmd-grid, .outil-grid { grid-template-columns: 1fr; }
  .cmd-aside, .outil-col--sortie { position: static; }
}
@media (max-width: 560px) {
  .art-row3, .art-row3--simple { grid-template-columns: 1fr; }
  .cmd-bloc { padding: 1.2rem 1.1rem; }
  .cmd-articles li { grid-template-columns: 1fr auto; }
}


/* Bouton de copie mis en avant + repli code source */
.outil-copier--fort {
  background: var(--noir); color: var(--blanc); border-color: var(--noir);
  font-size: 0.8rem; padding: 0.42rem 1rem;
}
.outil-copier--fort:hover { background: var(--rouge); border-color: var(--rouge); }
.outil-details { margin-top: 0.9rem; border-top: 1px solid var(--gris-ligne); padding-top: 0.8rem; }
.outil-details summary {
  cursor: pointer; list-style: none; font-size: 0.82rem; font-weight: 750;
  color: var(--gris-texte); display: flex; align-items: center; gap: 0.35rem;
}
.outil-details summary::-webkit-details-marker { display: none; }
.outil-details summary::after { content: "▾"; font-size: 0.7rem; transition: transform var(--transition); }
.outil-details[open] summary::after { transform: rotate(180deg); }
.outil-details summary:hover { color: var(--noir); }
