/* =========================================================
   SFS – Société de Fournitures et de Services
   Feuille de style de la page d'accueil
   ========================================================= */

:root {
  --navy: #0b2a6f;
  --navy-dark: #081d4d;
  --red: #e3232c;
  --red-dark: #c01a22;
  --yellow: #f6b500;
  --text: #2b2f3a;
  --muted: #6b7280;
  --line: #e6e8ee;
  --bg-soft: #fff9ec;
  --bg-grey: #f4f6fa;
  --footer: #1f2124;
  --radius: 4px;
  --shadow: 0 6px 20px rgba(11, 42, 111, .08);
  --font-title: "Montserrat", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); margin: 0 0 .5em; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; }
h3 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.text-yellow { color: var(--yellow); }
.h-sm { font-size: 1.5rem; }

/* Images : fond de secours si le fichier est absent */
.media { position: relative; overflow: hidden; background: linear-gradient(135deg, #c9d3e8, #8ea0c7); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img.is-missing { visibility: hidden; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 12px 22px;
  font-family: var(--font-title); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .02em;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn i { font-size: .8em; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 16px; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; font-size: .95rem; background: rgba(11,42,111,.6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-more { font-family: var(--font-title); font-weight: 700; font-size: .72rem; text-transform: uppercase; color: var(--red); }
.link-more i { font-size: .8em; margin-left: 4px; transition: margin .2s; }
.link-more:hover i { margin-left: 8px; }

/* ---------- Surtitres ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; color: var(--navy); margin-bottom: .6em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.eyebrow--light { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p:last-child { color: var(--muted); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--navy); color: #fff; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar__info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar__info i { color: var(--red); margin-right: 6px; }
.topbar a:hover { color: var(--yellow); }
.social { display: flex; gap: 8px; }
.social a {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: .7rem; transition: background .2s;
}
.social a:hover { background: #fff; color: var(--red); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }

.logo { display: block; flex: none; }
.logo img { height: 68px; width: auto; }
.logo--footer img { height: 88px; filter: brightness(0) invert(1); } /* logo entièrement blanc */

.nav ul { display: flex; gap: 30px; }
.nav a {
  position: relative; display: block; padding: 30px 0;
  font-family: var(--font-title); font-weight: 700; font-size: .78rem; text-transform: uppercase; color: var(--navy);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 22px; width: 100%; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--red); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { color: var(--navy); font-size: 1rem; }
.burger { display: none; width: 30px; height: 22px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 3px; background: var(--navy); border-radius: 2px; transition: .25s; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.burger.is-open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; background: var(--navy-dark); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  background-color: var(--navy-dark); background-size: cover; background-position: center right;
  opacity: 0; transition: opacity 1s ease; transform: scale(1.04);
}
.hero__slide.is-active { opacity: 1; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__slides::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,20,58,.92) 0%, rgba(6,20,58,.7) 40%, rgba(6,20,58,.1) 75%);
}
.hero__content { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 60px; }
.hero__content > * { max-width: 560px; }
.hero__kicker { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; }
.hero__kicker span { color: var(--yellow); font-weight: 800; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin-bottom: .45em; }
.hero__lead { font-size: .95rem; opacity: .95; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

.hero__arrow {
  position: absolute; top: 40%; z-index: 3; width: 38px; height: 38px;
  background: rgba(0,0,0,.35); color: #fff; border-radius: var(--radius); transition: background .2s;
}
.hero__arrow:hover { background: var(--red); }
.hero__arrow--prev { left: 16px; }
.hero__arrow--next { right: 16px; }

.hero__features { position: relative; z-index: 2; background: rgba(8,20,50,.72); backdrop-filter: blur(3px); }
.hero__features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hf { display: flex; gap: 14px; align-items: center; padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.12); }
.hf:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.hf i { font-size: 1.8rem; color: var(--yellow); flex: none; }
.hf strong { display: block; font-family: var(--font-title); color: var(--yellow); font-size: .85rem; }
.hf span { font-size: .75rem; opacity: .9; }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1.2fr .55fr; gap: 36px; align-items: center; }
.about__media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.about__text p { color: var(--muted); font-size: .9rem; }
.about__text .btn { margin-top: 8px; }
.about__stats { background: var(--bg-grey); padding: 22px; border-radius: var(--radius); display: grid; gap: 22px; }
.about__stats li { display: flex; gap: 12px; align-items: center; }
.about__stats i { color: var(--yellow); font-size: 1.5rem; width: 30px; text-align: center; flex: none; }
.about__stats strong { display: block; font-family: var(--font-title); color: var(--navy); font-size: .78rem; line-height: 1.2; }
.about__stats strong.big { font-size: 1.5rem; }
.about__stats span { font-size: .72rem; color: var(--navy); font-weight: 600; }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__img { aspect-ratio: 16 / 9; margin: 10px 10px 0; }
.card__img img { transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 18px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.card__body p { font-size: .82rem; color: var(--muted); flex: 1; }
.card--news h3 { font-size: .95rem; flex: 1; margin-bottom: 1em; }
.card--news time { font-size: .72rem; color: var(--muted); margin-bottom: 6px; }

/* ---------- Pourquoi SFS ---------- */
.why { background: var(--bg-soft); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why__item { text-align: center; padding: 0 24px; }
.why__item + .why__item { border-left: 1px solid #f0e2bd; }
.why__item i { font-size: 2.2rem; color: var(--yellow); margin-bottom: 16px; }
.why__item p { font-size: .85rem; color: var(--muted); }

/* ---------- Secteurs ---------- */
.sectors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bg-grey); padding-bottom: 20px; }
.sector__head { height: 170px; }
.sector__head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,29,77,.85), rgba(8,29,77,.25)); }
.sector__head h3 {
  position: absolute; z-index: 1; left: 24px; right: 20px; bottom: 26px; margin: 0;
  display: flex; align-items: center; gap: 12px; color: #fff; font-size: 1rem;
}
.sector__head h3 i {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--navy); border: 2px solid #fff; border-radius: 50%; font-size: 1rem;
}
.sector__list { position: relative; z-index: 2; background: #fff; margin: -14px 16px 0; padding: 16px 18px; box-shadow: var(--shadow); border-radius: var(--radius); }
.sector__list li { font-size: .82rem; padding: 5px 0 5px 24px; position: relative; color: var(--navy); }
.sector__list li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 400;
  position: absolute; left: 0; color: var(--navy);
}

/* ---------- Méthode ---------- */
.method { padding-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
.step { display: grid; grid-template-columns: auto auto 1fr; gap: 12px; align-items: start; position: relative; }
.step + .step::before { content: ""; position: absolute; left: -12px; top: 14px; width: 1px; height: 60px; background: var(--line); }
.step__num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-grey); font-family: var(--font-title); font-weight: 800; font-size: .8rem; color: var(--navy);
}
.step > i { font-size: 1.8rem; color: var(--yellow); }
.step h3 { font-size: .88rem; }
.step p { font-size: .78rem; color: var(--muted); margin: 0; }

/* ---------- Réalisations ---------- */
.works {
  position: relative; color: #fff; overflow: hidden; padding: 60px 0;
  background: linear-gradient(115deg, var(--navy-dark) 0%, var(--navy) 55%, #16398a 100%);
}
.works::after { /* bande rouge diagonale */
  content: ""; position: absolute; right: -120px; bottom: -60px; width: 420px; height: 240px;
  background: var(--red); transform: skewX(-35deg);
}
.works__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: center; }
.works h2 { color: #fff; }
.works__text p { opacity: .9; max-width: 440px; }
.works__text .btn-row { margin-top: 24px; }
.works__gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 340px; }
.work { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.work--main { grid-row: 1 / 3; }
.work .media { position: absolute; inset: 0; }
.work .media img { transition: transform .6s; }
.work:hover .media img { transform: scale(1.07); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,29,77,.9) 0%, rgba(8,29,77,0) 60%); }
.work__caption { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; }
.work__caption h3 { color: #fff; font-size: .9rem; margin: 6px 0 0; }
.work--main .work__caption h3 { font-size: 1.1rem; }
.work__tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 2px;
  background: var(--yellow); color: var(--navy-dark);
  font-family: var(--font-title); font-weight: 700; font-size: .65rem; text-transform: uppercase;
}

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--navy-dark); color: #fff; overflow: hidden; }
.cta__media { position: absolute; inset: 0; background: linear-gradient(135deg, #1b3f8f, #0a1f52); }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,29,77,.15) 0%, rgba(8,29,77,.85) 38%, rgba(8,29,77,.92) 100%); }
.cta__inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-top: 56px; padding-bottom: 56px; }
.cta__text { max-width: 620px; }
.cta h2 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.cta p { opacity: .9; font-size: .9rem; }

/* ---------- Partenaires (défilement continu des logos) ---------- */
.partners { padding: 50px 0; }
.partners__marquee {
  overflow: hidden; margin-top: 24px; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__track { display: flex; align-items: center; width: max-content; animation: partners-scroll 30s linear infinite; }
.partners__marquee:hover .partners__track { animation-play-state: paused; }
@keyframes partners-scroll { to { transform: translateX(-50%); } }
.partner {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 180px; height: 80px; margin-right: 40px;
}
.partner img {
  max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .7; transition: filter .3s, opacity .3s, transform .3s;
}
.partner:hover img { filter: none; opacity: 1; transform: scale(1.06); }
/* Nom affiché en secours tant que le fichier logo n'est pas fourni */
.partner__name { display: none; font-family: var(--font-title); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.partner.is-missing img { display: none; }
.partner.is-missing .partner__name { display: flex; flex-direction: column; align-items: center; }
.partner--legrand .partner__name { color: #d6001c; letter-spacing: -1px; }
.partner--schneider .partner__name { color: #3dcd58; font-style: italic; }
.partner--schneider small { font-size: .5em; }
.partner--total .partner__name { color: #e2001a; font-size: 1.1rem; }
.partner--sodeci .partner__name { color: #0b3b8c; font-size: 1.2rem; }
.partner--3m .partner__name { color: #ff0000; font-size: 2rem; }
.partner--dewalt .partner__name { background: #febd17; color: #000; padding: 2px 10px; font-size: 1.3rem; }
.partner--stihl .partner__name { color: #f37a1f; font-style: italic; letter-spacing: 2px; }

/* ---------- Actualités ---------- */
.news { padding-top: 30px; }
.news__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }

/* ---------- Pied de page ---------- */
.footer { position: relative; background: var(--footer); color: #c7cad1; font-size: .85rem; padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr; gap: 40px; padding-bottom: 40px; }
.footer__brand p { margin: 16px 0 0; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer__links li { margin-bottom: 8px; }
.footer a:hover { color: var(--yellow); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 12px; }
.footer__contact i { color: var(--red); margin-top: 4px; width: 14px; }
.social--round { margin-top: 20px; }
.social--round a { width: 32px; height: 32px; background: #fff; color: var(--footer); font-size: .8rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 22px; font-size: .78rem; }
.footer__bottom p { margin: 0; }
.footer__bottom .sep { margin: 0 8px; opacity: .5; }
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(227,35,44,.4);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .partners__marquee { overflow-x: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav ul { gap: 20px; }
  .about__grid { grid-template-columns: 1fr 1.2fr; }
  .about__stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(3)::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Menu burger dès que la navigation ne tient plus sur une ligne */
@media (max-width: 960px) {
  .burger { display: block; }
  .header__actions .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 420px; }
  .nav ul { flex-direction: column; gap: 0; padding: 10px 20px 20px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

@media (max-width: 960px) {
  .hero__features-grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .why__item:nth-child(3) { border-left: 0; }
  .sectors__grid { grid-template-columns: 1fr; gap: 24px; background: none; }
  .cards--3 { grid-template-columns: 1fr 1fr; }
  .works__inner { grid-template-columns: 1fr; gap: 32px; }
  .works::after { width: 200px; height: 120px; }
}

@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .topbar__inner { justify-content: center; }
  .topbar .social, .topbar__info li:nth-child(3) { display: none; }
  .topbar__info { gap: 14px; justify-content: center; }
  .header__inner { min-height: 70px; }
  .logo img { height: 52px; }
  .hero { min-height: 0; }
  .hero__content { padding-top: 50px; padding-bottom: 40px; }
  .hero__arrow { display: none; }
  .hero__features-grid { grid-template-columns: 1fr; }
  .hf { border-left: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 0; }
  .hf:last-child { border-right: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .cards--4, .cards--3 { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item + .why__item { border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step + .step::before { display: none; }
  .cta__media::after { background: rgba(8,29,77,.88); }
  .works__gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px; height: auto; }
  .work--main { grid-row: auto; grid-column: 1 / -1; }
  .partner { width: 130px; margin-right: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* =========================================================
   Page « SFS » (à propos)
   ========================================================= */

/* ---------- Bandeau de page ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-dark); }
.page-hero__bg { position: absolute; inset: 0; background: linear-gradient(120deg, var(--navy-dark), #1b3f8f); }
.page-hero__bg img { object-position: center right; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,20,58,.92) 0%, rgba(6,20,58,.7) 45%, rgba(6,20,58,.15) 80%);
}
.page-hero::after { /* rappel de la bande rouge */
  content: ""; position: absolute; left: 0; bottom: 0; width: 160px; height: 5px; background: var(--red);
}
.page-hero__content { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 90px; }
.page-hero__content > * { max-width: 560px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: .35em; }
.page-hero p { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; opacity: .95; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-title); font-weight: 600; font-size: .85rem; margin-bottom: 14px; }
.breadcrumb li + li::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .6rem; margin-right: 8px; opacity: .7; }
.breadcrumb a { color: var(--yellow); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Vision / mission / valeurs ---------- */
.vmv { background: var(--bg-soft); }
.vmv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv__card {
  background: #fff; border-radius: var(--radius); padding: 34px 30px; text-align: center;
  box-shadow: var(--shadow); border-top: 3px solid transparent; transition: border-color .25s, transform .25s;
}
.vmv__card:hover { border-top-color: var(--yellow); transform: translateY(-4px); }
.vmv__icon {
  display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--bg-soft); color: var(--yellow); font-size: 1.9rem; margin-bottom: 16px;
}
.vmv__card h2 { font-size: 1.3rem; }
.vmv__card p { color: var(--muted); font-size: .9rem; margin: 0; }
.values { display: inline-grid; gap: 8px; text-align: left; }
.values li { position: relative; padding-left: 30px; color: var(--text); font-size: .9rem; }
.values li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .6rem;
  position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: #fff;
}

/* ---------- Dirigeant ---------- */
.leader__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.leader__media { position: relative; padding-bottom: 36px; }
.leader__media .media { aspect-ratio: 4 / 4.2; border-radius: var(--radius); }
.leader__media::before { /* cadre décalé */
  content: ""; position: absolute; top: -14px; left: -14px; width: 55%; height: 55%;
  border-top: 4px solid var(--red); border-left: 4px solid var(--red);
}
.leader__badges {
  position: absolute; left: 20px; right: 20px; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--navy); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.leader__badges li { text-align: center; padding: 14px 8px; }
.leader__badges li + li { border-left: 1px solid rgba(255,255,255,.15); }
.leader__badges strong { display: block; font-family: var(--font-title); font-size: 1.15rem; color: var(--yellow); }
.leader__badges span { font-size: .7rem; opacity: .9; }
.leader__role { font-family: var(--font-title); font-weight: 700; color: var(--red); margin-top: -4px; }
.leader__text p:not(.leader__role):not(.eyebrow) { color: var(--muted); font-size: .92rem; }

/* ---------- Finalité ---------- */
.purpose { background: linear-gradient(180deg, #f4f7fd, #eaf0fb); }
.purpose__grid { display: grid; grid-template-columns: .75fr 1.6fr; gap: 40px; align-items: center; }
.purpose__text p { color: var(--muted); }
.purpose__cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.purpose__cards li {
  background: #fff; border-radius: var(--radius); padding: 24px 12px; text-align: center;
  box-shadow: var(--shadow); transition: transform .25s;
}
.purpose__cards li:hover { transform: translateY(-4px); }
.purpose__cards i { font-size: 1.8rem; color: var(--yellow); margin-bottom: 12px; }
.purpose__cards h3 { font-size: .9rem; margin-bottom: .4em; }
.purpose__cards p { font-size: .75rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* ---------- Appel à l'action centré ---------- */
.cta--center .cta__media::after { background: linear-gradient(90deg, rgba(8,29,77,.95) 0%, rgba(8,29,77,.85) 60%, rgba(8,29,77,.7) 100%); }
.cta--center .cta__inner { justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta--center h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.social--cta { margin-top: 18px; }
.social--cta a { background: #fff; color: var(--red); }
.social--cta a:hover { background: var(--red); color: #fff; }

@media (max-width: 1100px) {
  .purpose__grid { grid-template-columns: 1fr; }
  .leader__grid { gap: 40px; }
}
@media (max-width: 960px) {
  .vmv__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .leader__grid { grid-template-columns: 1fr; }
  .leader__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .purpose__cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .page-hero__content { padding-top: 60px; padding-bottom: 60px; }
  .purpose__cards { grid-template-columns: 1fr 1fr; }
  .leader__media::before { left: -8px; top: -8px; }
}

/* =========================================================
   Page « Services »
   ========================================================= */
.text-red { color: var(--red); }
.services-intro { max-width: 760px; margin-bottom: 36px; }
.services-intro h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.services-intro p:last-child { color: var(--muted); }

.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.srv {
  position: relative; min-height: 270px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: var(--navy); box-shadow: var(--shadow); scroll-margin-top: 110px;
}
.srv__img { position: absolute; inset: 0; }
.srv__img img { transition: transform .6s; }
.srv:hover .srv__img img { transform: scale(1.07); }
.srv::before { /* dégradé bleu pour la lisibilité du texte */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(11,42,111,.97) 0%, rgba(11,42,111,.85) 38%, rgba(11,42,111,0) 72%);
}
.srv__body { position: relative; z-index: 2; padding: 20px 64px 20px 20px; }
.srv h3 { color: #fff; font-size: 1.08rem; margin-bottom: .45em; }
.srv p { font-size: .8rem; line-height: 1.5; margin: 0; opacity: .92; }
.srv__link::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* toute la carte est cliquable */
.srv__arrow {
  position: absolute; z-index: 3; right: 18px; bottom: 26px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; font-size: .8rem;
  transition: transform .25s, background .25s;
}
.srv:hover .srv__arrow { transform: translateX(3px); background: var(--red-dark); }
.srv__link:focus-visible { outline: none; }
.srv:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.srv:target { outline: 3px solid var(--yellow); outline-offset: 3px; }

.srv--wide {
  grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start;
  background: var(--bg-grey); color: var(--text); box-shadow: none;
}
.srv--wide::before { display: none; }
.srv--wide .srv__img { position: relative; inset: auto; flex: 0 0 42%; height: 150px; }
.srv--wide .srv__body { flex: 1; padding: 20px 80px 20px 36px; }
.srv--wide h3 { color: var(--navy); font-size: 1.3rem; }
.srv--wide p { color: var(--muted); font-size: .95rem; opacity: 1; }
.srv--wide .srv__arrow { top: 50%; bottom: auto; margin-top: -17px; right: 28px; }

.method--soft { background: var(--bg-soft); padding-top: 60px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.flow__step { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.flow__step .step__num { flex: none; width: 46px; height: 46px; background: #fff; box-shadow: var(--shadow); font-size: .95rem; }
.flow__step h3 { font-size: .9rem; color: var(--navy); margin-bottom: .35em; }
.flow__step p { font-size: .8rem; color: var(--muted); margin: 0; }
.flow__step + .flow__step::before {
  content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem;
  position: absolute; left: -22px; top: 14px; color: var(--muted);
}

@media (max-width: 1100px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .flow__step:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .srv-grid { grid-template-columns: 1fr; }
  .srv { min-height: 240px; }
  .srv--wide { flex-direction: column; align-items: stretch; }
  .srv--wide .srv__img { flex: none; height: 160px; }
  .srv--wide .srv__body { padding: 18px 64px 20px 18px; }
  .srv--wide .srv__arrow { top: auto; bottom: 24px; margin-top: 0; right: 18px; }
  .flow { grid-template-columns: 1fr; }
  .flow__step::before { display: none; }
}

/* =========================================================
   Page « Réalisations »
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.projects__intro { max-width: 880px; margin-bottom: 30px; }
.projects__intro h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; }
.highlight { background: var(--red); color: #fff; padding: 0 .25em; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.filters { display: flex; gap: 18px; align-items: center; }
.filters__field { flex: 1; min-width: 0; }
.filters__field select {
  width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  font: inherit; font-size: .9rem; color: var(--navy);
  padding: 13px 44px 13px 18px; border: 1px solid #c9d3e8; border-radius: var(--radius);
  background: #f4f7fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b2a6f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center;
  transition: border-color .2s, box-shadow .2s;
}
.filters__field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,42,111,.12); }
.filters__reset { color: var(--red); font-family: var(--font-title); font-weight: 700; font-size: .75rem; text-transform: uppercase; white-space: nowrap; }
.filters__reset[hidden] { display: none; }
.filters__count { font-size: .82rem; color: var(--muted); margin: 12px 0 18px; }

.rea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rea[hidden] { display: none; }
.rea a { position: relative; display: grid; place-items: center; height: 190px; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; text-align: center; }
.rea__img { position: absolute; inset: 0; }
.rea__img img { transition: transform .6s; }
.rea a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(11,42,111,.62); transition: background .3s; }
.rea__title {
  position: relative; z-index: 2; padding: 0 16px;
  font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; line-height: 1.2; text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.35); transition: transform .3s;
}
.rea__more {
  position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translate(-50%, 10px); opacity: 0;
  font-family: var(--font-title); font-weight: 700; font-size: .7rem; text-transform: uppercase; color: var(--yellow);
  transition: opacity .3s, transform .3s;
}
.rea a:hover::before, .rea a:focus-visible::before { background: rgba(8,29,77,.8); }
.rea a:hover .rea__img img { transform: scale(1.08); }
.rea a:hover .rea__title, .rea a:focus-visible .rea__title { transform: translateY(-8px); }
.rea a:hover .rea__more, .rea a:focus-visible .rea__more { opacity: 1; transform: translate(-50%, 0); }
.rea a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.rea-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.rea-empty .link-more { display: block; margin: 10px auto 0; }

/* Appel à l'action clair */
.cta--light { background: #eaf0fb; color: var(--text); }
.cta--light .cta__media { background: linear-gradient(135deg, #dfe7f7, #c9d6ef); }
.cta--light .cta__media::after { background: linear-gradient(90deg, rgba(234,240,251,.97) 0%, rgba(234,240,251,.9) 55%, rgba(234,240,251,.75) 100%); }
.cta--light .cta__inner { justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.cta--light h2 { color: var(--navy); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta--light p { color: var(--muted); opacity: 1; }
.cta--light .eyebrow { color: var(--navy); }

@media (max-width: 960px) {
  .rea-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .filters { flex-direction: column; align-items: stretch; gap: 12px; }
  .filters__reset { align-self: flex-start; }
  .rea-grid { grid-template-columns: 1fr; }
  .rea a { height: 160px; }
  .cta--light .cta__media::after { background: rgba(234,240,251,.94); }
}

/* =========================================================
   Page « Blog »
   ========================================================= */
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; flex-wrap: wrap; }
.blog__intro { max-width: 620px; }
.blog__intro h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.blog__intro p:last-child { color: var(--muted); margin: 0; }

.chips-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font-family: var(--font-title); font-weight: 700; font-size: .72rem;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 14px rgba(11,42,111,.2); }
.chip__count { font-weight: 600; font-size: .65rem; opacity: .6; }
.chip.is-active .chip__count { opacity: .8; }

.post__meta { display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.post__meta::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--red), rgba(227,35,44,0)); }
.post__cat { color: var(--red); font-family: var(--font-title); font-weight: 800; }
.post__cat::after { content: "·"; margin-left: 12px; color: var(--muted); }
.post__time { font-size: .74rem; color: var(--muted); white-space: nowrap; }
.post__time i { margin-right: 4px; }
.post__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }

/* Article à la une */
.featured {
  display: grid; grid-template-columns: 1.45fr 1fr; background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(11,42,111,.1); margin-bottom: 44px; scroll-margin-top: 110px;
}
.featured[hidden] { display: none; }
.featured__img { position: relative; min-height: 340px; display: block; }
.featured__img img { transition: transform .8s; }
.featured:hover .featured__img img { transform: scale(1.05); }
.featured__flag {
  position: absolute; z-index: 1; top: 18px; left: 18px; padding: 6px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--navy-dark); font-family: var(--font-title); font-weight: 800; font-size: .68rem; text-transform: uppercase;
}
.featured__body { display: flex; flex-direction: column; gap: 16px; padding: 40px; background: linear-gradient(160deg, #f6f8fd 0%, #fff 70%); border-left: 4px solid var(--red); }
.featured__body h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0; }
.featured__body h2 a:hover { color: var(--red); }
.featured__body p { color: var(--muted); margin: 0; }

/* Grille d'articles */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.post { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 110px; }
.post[hidden] { display: none; }
.post__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 8px; box-shadow: var(--shadow); }
.post__img img { transition: transform .6s; }
.post__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,29,77,.35), rgba(8,29,77,0) 55%); transition: opacity .3s; }
.post:hover .post__img img { transform: scale(1.07); }
.post__badge {
  position: absolute; z-index: 1; left: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--navy); font-family: var(--font-title); font-weight: 800; font-size: .64rem; text-transform: uppercase;
}
.post__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h3 { font-size: 1.02rem; line-height: 1.35; margin: 0; }
.post h3 a { background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 2px; transition: background-size .35s, color .2s; }
.post:hover h3 a { background-size: 100% 2px; }
.post__body p { font-size: .84rem; color: var(--muted); margin: 0 0 4px; }
.read-more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 800; font-size: .72rem; text-transform: uppercase; color: var(--navy); }
.read-more i { color: var(--red); font-size: 1rem; transition: transform .25s; }
.read-more:hover i, .post:hover .read-more i { transform: translateX(5px); }
.post:target, .featured:target { outline: 3px solid var(--yellow); outline-offset: 8px; border-radius: 8px; }

@media (max-width: 960px) {
  .featured { grid-template-columns: 1fr; }
  .featured__img { min-height: 260px; }
  .featured__body { border-left: 0; border-top: 4px solid var(--red); padding: 30px; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; }
  .featured__body { padding: 24px 20px; }
  .featured .post__foot { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Page « Contact »
   ========================================================= */
.btn--lg { padding: 16px 34px; font-size: .85rem; }
.btn--block { display: flex; justify-content: center; width: 100%; }
.btn--outline-red { border-color: var(--red); color: var(--red); background: #fff; }
.btn--outline-red:hover { background: var(--red); color: #fff; }
.btn--outline-yellow { border-color: var(--yellow); color: #b27f00; background: #fff; }
.btn--outline-yellow:hover { background: var(--yellow); color: var(--navy-dark); }

/* Accès rapides, à cheval sur le bandeau */
.quick { position: relative; z-index: 2; margin-top: -42px; }
.quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quick__item {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border-radius: 8px;
  box-shadow: 0 16px 36px rgba(11,42,111,.12); border-bottom: 3px solid transparent;
  transition: transform .25s, border-color .25s;
}
.quick__item:hover { transform: translateY(-4px); border-bottom-color: var(--red); }
.quick__icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.1rem; }
.quick__icon--yellow { background: var(--yellow); color: var(--navy-dark); }
.quick__item small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.quick__item strong { font-family: var(--font-title); color: var(--navy); font-size: .95rem; }

.contact { padding-top: 64px; }
.contact__grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 48px; align-items: start; }
.contact__title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: 34px; }

/* Formulaire */
.form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; box-shadow: var(--shadow); }
.form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.form__head h3 { font-size: 1.3rem; margin: 0; }
.form__head p { font-size: .75rem; color: var(--muted); margin: 0; }
.req { color: var(--red); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field--full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.field label { display: block; font-family: var(--font-title); font-weight: 700; font-size: .82rem; color: var(--navy); margin-bottom: 8px; }
.field__control { position: relative; }
.field__control > i { position: absolute; left: 0; top: 0; bottom: 0; width: 46px; display: grid; place-items: center; color: #8a96b3; border-right: 1px solid var(--line); pointer-events: none; transition: color .2s; }
.field__control--area > i { bottom: auto; height: 50px; }
.field__control input, .field__control select, .field__control textarea {
  width: 100%; font: inherit; font-size: .9rem; color: var(--text);
  padding: 13px 16px 13px 60px; border: 1px solid #d5dcea; border-radius: 6px; background: #f8fafe;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field__control textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field__control--select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: #f8fafe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b2a6f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field__control input::placeholder, .field__control textarea::placeholder { color: #9aa5bf; }
.field__control input:focus, .field__control select:focus, .field__control textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(11,42,111,.1); }
.field__control:focus-within > i { color: var(--navy); }
.field__error { display: none; font-size: .74rem; color: var(--red); margin: 6px 0 0; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: #fff7f7; }
.field.is-invalid .field__control > i { color: var(--red); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #2e9e5b; }
.field__foot { display: flex; justify-content: space-between; gap: 10px; }
.field__count { font-size: .72rem; color: var(--muted); margin-top: 6px; margin-left: auto; }

.field--check { margin-top: 22px; }
.field .check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin: 0; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--muted); line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 2px solid #b8c3da; border-radius: 4px; display: grid; place-items: center; color: #fff; font-size: .6rem; transition: background .2s, border-color .2s; }
.check__box i { opacity: 0; transition: opacity .2s; }
.check input:checked + .check__box { background: var(--red); border-color: var(--red); }
.check input:checked + .check__box i { opacity: 1; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(11,42,111,.15); }
.field--check.is-invalid .check__box { border-color: var(--red); }

.form__actions { display: flex; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.form__secure { margin: 0; font-size: .76rem; color: var(--muted); }
.form__secure i { color: #2e9e5b; margin-right: 4px; }
.form__legal { font-size: .74rem; color: var(--muted); margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.form__legal a { color: var(--navy); font-weight: 700; }

.form-success { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 50px 34px; box-shadow: var(--shadow); outline: none; }
.form-success[hidden] { display: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e8f6ee; color: #2e9e5b; font-size: 1.8rem; margin-bottom: 18px; }
.form-success p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.form-success a { color: var(--navy); font-weight: 700; }

/* Colonne coordonnées */
.contact__side { display: grid; gap: 18px; position: sticky; top: 110px; }
.info-card { background: linear-gradient(160deg, #eef3fc, #f7f9fe); border-radius: 10px; padding: 28px; border-top: 4px solid var(--navy); }
.info-list { display: grid; gap: 16px; margin-top: 8px; }
.info-list li { display: flex; gap: 14px; font-size: .9rem; color: var(--navy); }
.info-list i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: 0 4px 10px rgba(11,42,111,.08); }
.info-list strong { display: block; font-family: var(--font-title); font-size: .95rem; margin-bottom: 2px; }
.info-list span { color: var(--muted); line-height: 1.55; }
.info-list div { padding-top: 6px; }
.info-list a:hover { color: var(--red); }
.open-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-status.is-open { background: #e8f6ee; color: #2e9e5b; }
.open-status.is-closed { background: #fdecec; color: var(--red); }

.map { position: relative; height: 240px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #dfe6f3, #c7d3ea); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map__pin { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--navy); font-family: var(--font-title); font-weight: 800; font-size: .72rem; box-shadow: var(--shadow); pointer-events: none; }
.map__pin i { color: var(--red); margin-right: 4px; }

.rdv-card { background: #fff8e6; border-radius: 10px; padding: 26px; border: 1px solid #f7e2a8; scroll-margin-top: 110px; }
.rdv-card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--yellow); color: var(--navy-dark); font-size: 1.3rem; margin-bottom: 12px; }
.rdv-card h3 { font-size: 1.1rem; }
.rdv-card p { font-size: .84rem; color: var(--muted); }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__side { position: static; grid-template-columns: 1fr 1fr; }
  .info-card, .rdv-card { grid-column: span 1; }
  .map { grid-column: 1 / -1; order: 3; }
  .contact__side > .btn { grid-column: 1 / -1; order: 4; }
}
@media (max-width: 640px) {
  .quick { margin-top: -30px; }
  .quick__grid { grid-template-columns: 1fr; gap: 10px; }
  .quick__item { padding: 14px 16px; }
  .form { padding: 22px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__actions .btn { width: 100%; justify-content: center; }
  .contact__side { grid-template-columns: 1fr; }
}

/* =========================================================
   Page « Demander un devis »
   ========================================================= */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; max-width: 640px !important; }
.hero-badges li { display: flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 600; font-size: .85rem; }
.hero-badges i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: var(--yellow); font-size: .9rem; }

.devis { padding-top: 70px; }
.devis .contact__title { margin-bottom: 12px; }
.devis__lead { color: var(--muted); max-width: 620px; margin-bottom: 28px; }
.opt { font-weight: 500; color: var(--muted); font-family: var(--font-body); font-size: .76rem; }

/* Progression */
.stepper { display: flex; gap: 0; margin-bottom: 22px; counter-reset: none; }
.stepper__step { flex: 1; display: flex; align-items: center; gap: 10px; position: relative; font-family: var(--font-title); font-weight: 700; font-size: .78rem; color: var(--muted); padding-right: 12px; }
.stepper__step:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--line); margin-left: 4px; transition: background .3s; }
.stepper__num { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: #fff; color: var(--muted); transition: all .3s; }
.stepper__step.is-current { color: var(--navy); }
.stepper__step.is-current .stepper__num { border-color: var(--navy); color: var(--navy); box-shadow: 0 0 0 4px rgba(11,42,111,.1); }
.stepper__step.is-done { color: var(--navy); }
.stepper__step.is-done .stepper__num { background: #2e9e5b; border-color: #2e9e5b; color: transparent; position: relative; }
.stepper__step.is-done .stepper__num::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem; color: #fff; position: absolute; }
.stepper__step.is-done:not(:last-child)::after { background: #2e9e5b; }

.form__section { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__section + .form__section { margin-top: 30px; padding-top: 26px; border-top: 1px dashed var(--line); }
.form__section legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 18px; font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.form__section legend span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--red); color: #fff; font-size: .78rem; }
.form__section .field--check { margin-top: 0; }
.form__section legend + * { clear: both; }

/* Dépôt de fichiers */
.field .dropzone {
  display: flex; align-items: center; gap: 16px; margin: 0; padding: 18px 20px; cursor: pointer;
  border: 2px dashed #c3cde3; border-radius: 8px; background: #f8fafe; font-family: var(--font-body); font-weight: 400;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--navy); background: #eef3fc; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { box-shadow: 0 0 0 4px rgba(11,42,111,.12); }
.dropzone__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); font-size: 1.05rem; }
.dropzone__text strong { display: block; color: var(--navy); font-size: .88rem; font-family: var(--font-title); }
.dropzone__text small { color: var(--muted); font-size: .76rem; }
.files { display: grid; gap: 8px; margin-top: 10px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .82rem; background: #fff; }
.files li > i { color: var(--red); }
.files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); font-weight: 600; }
.files small { color: var(--muted); }
.files button { color: var(--muted); width: 26px; height: 26px; border-radius: 50%; }
.files button:hover { background: #fdecec; color: var(--red); }
#fileError { display: none; }
#fileError.is-shown { display: block; }
.form-success__files { background: #fff8e6; border: 1px solid #f7e2a8; border-radius: 8px; padding: 12px 16px; color: var(--navy) !important; }
.form-success__files i { color: #b27f00; margin-right: 6px; }

/* Colonne latérale */
.side-title { position: relative; padding-left: 40px; font-size: 1.15rem; line-height: 1.3; margin-bottom: 18px; }
.side-title::before { content: ""; position: absolute; left: 0; top: .65em; width: 26px; height: 3px; background: var(--red); }
.why-list { display: grid; gap: 18px; }
.why-list li { display: flex; gap: 14px; }
.why-list__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--yellow); font-size: 1.15rem; box-shadow: 0 6px 14px rgba(11,42,111,.08); }
.why-list strong { display: block; font-family: var(--font-title); color: var(--navy); font-size: .92rem; margin-bottom: 2px; }
.why-list span { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.advice-card { position: relative; overflow: hidden; }
.advice-card__lead { color: var(--muted); font-size: .85rem; margin: -10px 0 16px; padding-left: 40px; }
.advice-card__deco { position: absolute; right: -10px; top: 70px; font-size: 6.5rem; color: rgba(11,42,111,.06); pointer-events: none; }
.info-list__sep { padding-top: 16px; border-top: 1px solid rgba(11,42,111,.1); }
.spec-card {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 10px;
  background: #fff8e6; border: 1px solid #f7e2a8; border-left: 4px solid var(--yellow); transition: transform .25s, box-shadow .25s;
}
.spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.spec-card__icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--yellow); color: var(--navy-dark); font-size: 1.3rem; }
.spec-card strong { display: block; font-family: var(--font-title); color: var(--navy); font-size: .95rem; margin-bottom: 3px; }
.spec-card > span > span { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.spec-card__arrow { color: var(--red); transition: transform .25s; }
.spec-card:hover .spec-card__arrow { transform: translateX(4px); }

@media (max-width: 960px) {
  .devis .contact__side { grid-template-columns: 1fr 1fr; }
  .devis .spec-card { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero-badges { gap: 10px 18px; }
  .hero-badges li { font-size: .78rem; }
  .stepper__step > span:last-child { display: none; }
  .stepper__step.is-current > span:last-child { display: inline; }
  .devis .contact__side { grid-template-columns: 1fr; }
  .dropzone { align-items: flex-start; }
}
.field__hint { margin: 10px 0 0; padding: 10px 14px; border-radius: 6px; background: #fff8e6; border: 1px solid #f7e2a8; font-size: .8rem; color: var(--navy); }
.field__hint[hidden] { display: none; }
.field__hint i { color: #b27f00; margin-right: 6px; }
.field__hint a { font-weight: 700; text-decoration: underline; }
