/* =========================================================
   SoBâGui SARLU — Feuille de style principale
   Couleurs reprises du logo : bleu marine + or
   ========================================================= */
:root {
  --navy: #24395a;
  --navy-dark: #1a2a44;
  --blue: #45658f;
  --gold: #d4a556;
  --gold-light: #e5c487;
  --ink: #1c2333;
  --muted: #5d6b82;
  --soft: #f4f7fc;
  --radius: 18px;
  --shadow: 0 18px 45px -20px rgba(36, 57, 90, .35);
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}
/* évite le défilement horizontal (animations AOS + gouttières .g-5) sans casser position:sticky */
main, .footer, .site-footer { overflow-x: clip; }
h1, h2, h3, h4, h5, .navbar-nav .nav-link, .btn { font-family: var(--font-title); }
h1, h2, h3, h4, h5 { font-weight: 800; color: var(--navy); }
a { color: var(--blue); }
img { max-width: 100%; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Utilitaires ---------- */
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); }
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-title); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  color: var(--gold); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--gold); border-radius: 3px; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.text-center .section-lead { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn { border-radius: 50px; padding: .8rem 1.8rem; font-weight: 700; font-size: .92rem; transition: all .3s ease; }
.btn-gold { background: var(--gold); color: var(--navy-dark); border: 2px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 12px 25px -10px rgba(212,165,86,.7); }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light-2 { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-light-2:hover { background: #fff; color: var(--navy); }

/* ---------- Navigation ---------- */
.navbar { background: #fff; padding: .6rem 0; transition: box-shadow .3s ease; }
/* au défilement : seulement une ombre, la hauteur ne change pas (aucun décalage) */
.navbar.scrolled { box-shadow: 0 10px 30px -15px rgba(0,0,0,.25); }
.navbar-brand img { height: 68px; width: auto; }
.navbar-nav .nav-link { color: var(--navy); font-weight: 600; font-size: .95rem; padding: .5rem 1rem !important; position: relative; }
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 3px;
  background: var(--gold); border-radius: 3px; transform: scaleX(0); transition: transform .3s;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--blue); }
.dropdown-menu { border: 0; box-shadow: var(--shadow); border-radius: 12px; padding: .6rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .9rem; font-weight: 500; }
.dropdown-item i { color: var(--gold); display: inline-block; width: 26px; }
/* la flèche Bootstrap est remplacée par une icône ; le ::after sert au soulignement doré */
.navbar-nav .dropdown-toggle::after { border: 0; margin: 0; vertical-align: 0; }
.nav-caret { font-size: .7rem; margin-left: .2rem; display: inline-block; transition: transform .25s; }
.dropdown-toggle.show .nav-caret { transform: rotate(180deg); }
.dropdown-item:hover { background: var(--soft); color: var(--navy); }
/* Menu déroulant au survol (ordinateur uniquement) */
@media (min-width: 992px) {
  .navbar .dropdown-menu { display: block; top: 100%; margin-top: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; }
  .navbar .dropdown:hover > .dropdown-menu, .navbar .dropdown:focus-within > .dropdown-menu, .navbar .dropdown-menu.show, .navbar .dropdown.is-hover > .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
  .navbar .dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* zone tampon pour ne pas perdre le survol */
  .navbar .dropdown:hover .nav-caret { transform: rotate(180deg); }
}
.navbar-toggler { border: 0; box-shadow: none !important; font-size: 1.8rem; color: var(--navy); }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(69,101,143,.9), transparent 55%),
              linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #34507a 100%);
  padding: 120px 0 140px;
}
.hero::before { /* motif de grille "plan d'architecte" */
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.1; }
.hero h1 span { color: var(--gold); }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; margin-bottom: 1.4rem; backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(212,165,86,.7)} 70%{box-shadow:0 0 0 10px rgba(212,165,86,0)} 100%{box-shadow:0 0 0 0 rgba(212,165,86,0)} }

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-float {
  position: absolute; background: #fff; color: var(--navy); border-radius: 14px;
  padding: .8rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-title); font-weight: 700; font-size: .9rem; animation: float 5s ease-in-out infinite;
}
.hero-float i { font-size: 1.5rem; color: var(--gold); }
.hero-float small { display: block; font-weight: 500; color: var(--muted); font-size: .75rem; }
.hero-float.f1 { top: 8%; left: -4%; }
.hero-float.f2 { bottom: 10%; right: -2%; animation-delay: 1.5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ---------- Bandeau de chiffres ---------- */
.stats-wrap { margin-top: -70px; position: relative; z-index: 5; }
.stats-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1rem; }
.stat { text-align: center; padding: .5rem; }
.stat + .stat { border-left: 1px solid #e7ecf5; }
.stat .num { font-family: var(--font-title); font-weight: 800; font-size: 2.4rem; color: var(--navy); line-height: 1; }
.stat .num sup { color: var(--gold); font-size: 1.3rem; }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
@media (max-width: 767px) { .stat + .stat { border-left: 0; } .stat { border-bottom: 1px solid #e7ecf5; padding: 1rem; } .stat:last-child { border-bottom: 0; } }

/* ---------- Cartes de services ---------- */
.service-card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem;
  height: 100%; border: 1px solid #e7ecf5; transition: all .35s ease; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 68px; height: 68px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 1.8rem; margin-bottom: 1.4rem;
  transition: all .35s;
}
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy-dark); transform: rotate(-6deg); }
.service-card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.service-card .more { font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--navy); font-family: var(--font-title); }
.service-card .more i { transition: transform .3s; display: inline-block; }
.service-card:hover .more { color: var(--gold); }
.service-card:hover .more i { transform: translateX(5px); }
.service-num { position: absolute; top: 1.2rem; right: 1.5rem; font-family: var(--font-title); font-weight: 800; font-size: 2.6rem; color: #eef2f9; line-height: 1; }

/* ---------- À propos ---------- */
.about-visual { position: relative; }
.about-box {
  border-radius: 24px; background: linear-gradient(145deg, var(--navy), var(--blue)); color: #fff;
  padding: 3rem 2.5rem; position: relative; overflow: hidden; min-height: 380px;
}
.about-box::after {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(212,165,86,.2); right: -90px; bottom: -90px;
}
.about-box h3 { color: #fff; font-size: 1.6rem; }
.about-box .year { font-family: var(--font-title); font-size: 5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.about-logo-card {
  position: absolute; right: -20px; bottom: -40px; background: #fff; padding: 1rem 1.3rem; border-radius: 16px; box-shadow: var(--shadow); width: 230px;
}
@media (max-width: 991px) { .about-logo-card { position: static; margin: -40px auto 0; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .8rem; padding: .45rem 0; }
.check-list li i { color: var(--gold); font-size: 1.15rem; flex-shrink: 0; margin-top: .1rem; }

/* ---------- Pourquoi nous ---------- */
.why-item { display: flex; gap: 1.1rem; padding: 1.4rem; border-radius: 14px; transition: background .3s; }
.why-item:hover { background: rgba(255,255,255,.06); }
.why-item .ico { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: rgba(212,165,86,.15); color: var(--gold); font-size: 1.5rem; }
.why-item h4 { color: #fff; font-size: 1.08rem; margin-bottom: .3rem; }
.why-item p { color: rgba(255,255,255,.72); margin: 0; font-size: .93rem; }

/* ---------- Objectifs ---------- */
.goal-card { background: #fff; border-radius: 14px; padding: 1.5rem; height: 100%; display: flex; gap: 1rem; align-items: flex-start; border-left: 4px solid var(--gold); box-shadow: 0 8px 25px -18px rgba(36,57,90,.4); transition: transform .3s; }
.goal-card:hover { transform: translateY(-4px); }
.goal-card .n { font-family: var(--font-title); font-weight: 800; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.goal-card p { margin: 0; font-weight: 600; color: var(--navy); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  border-radius: 24px; padding: 3.5rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-dark), var(--blue));
}
.cta-band::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(212,165,86,.18); top: -200px; right: -100px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.8); position: relative; }

/* ---------- Bannière de page interne ---------- */
.page-hero {
  position: relative; color: #fff; padding: 90px 0 80px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, var(--blue));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { margin: 0; }
.page-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.75); }

/* ---------- Détail des services ---------- */
.service-detail { padding: 80px 0; scroll-margin-top: 90px; }
.service-detail:nth-of-type(even) { background: var(--soft); }
.service-visual {
  border-radius: 24px; min-height: 340px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--blue));
}
.service-visual::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 22px 22px; }
.service-visual i { font-size: 7rem; color: #fff; position: relative; z-index: 1; }
.service-visual .tag { position: absolute; left: 1.5rem; bottom: 1.5rem; background: var(--gold); color: var(--navy-dark); font-family: var(--font-title); font-weight: 800; padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; }
.service-visual.gold { background: linear-gradient(145deg, #bb8d45, var(--gold-light)); }
.service-visual.gold i { color: var(--navy-dark); }
.service-visual.gold .tag { background: var(--navy); color: #fff; }

.service-nav { position: sticky; top: 97px; z-index: 900; background: #fff; border-bottom: 1px solid #e7ecf5; }
.service-nav .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.service-nav .nav::-webkit-scrollbar { display: none; }
.service-nav .nav-link { white-space: nowrap; color: var(--muted); font-weight: 600; font-family: var(--font-title); font-size: .88rem; padding: 1rem 1.1rem; border-bottom: 3px solid transparent; }
.service-nav .nav-link i { color: var(--gold); margin-right: .3rem; }
.service-nav .nav-link:hover, .service-nav .nav-link.active { color: var(--navy); border-bottom-color: var(--gold); }

/* ---------- Valeurs / vision ---------- */
.value-card { text-align: center; padding: 2.4rem 1.6rem; border-radius: var(--radius); background: #fff; height: 100%; box-shadow: 0 10px 30px -22px rgba(36,57,90,.5); transition: transform .3s; }
.value-card:hover { transform: translateY(-6px); }
.value-card .ico { width: 78px; height: 78px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: var(--soft); color: var(--navy); border: 2px dashed var(--gold); }
.value-card h3 { font-size: 1.2rem; }
.value-card p { color: var(--muted); margin: 0; }

.quote-block { position: relative; padding: 3rem; border-radius: 24px; background: var(--soft); }
.quote-block i.bi-quote { position: absolute; top: -20px; left: 30px; font-size: 4.5rem; color: var(--gold); line-height: 1; }
.quote-block p { font-size: 1.3rem; font-family: var(--font-title); font-weight: 600; color: var(--navy); margin: 0; }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--navy)); }
.timeline-item { position: relative; padding-bottom: 1.8rem; }
.timeline-item::before { content: ""; position: absolute; left: -2rem; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
.timeline-item h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.timeline-item p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-info-card { display: flex; gap: 1rem; padding: 1.5rem; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px -22px rgba(36,57,90,.5); margin-bottom: 1rem; transition: transform .3s; }
.contact-info-card:hover { transform: translateX(6px); }
.contact-info-card .ico { width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 1.4rem; }
.contact-info-card h4 { font-size: 1rem; margin-bottom: .15rem; }
.contact-info-card p, .contact-info-card a { margin: 0; color: var(--muted); text-decoration: none; }
.contact-info-card a:hover { color: var(--blue); }

.form-card { background: #fff; border-radius: 24px; padding: 2.5rem; box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: 12px; padding: .8rem 1rem; border: 1.5px solid #dfe5f0; background: #fbfcfe; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(212,165,86,.18); background: #fff; }
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.map-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.72); padding: 80px 0 0; font-size: .94rem; }
.footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--gold); border-radius: 3px; }
.footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s, padding .2s; }
.footer a:hover { color: var(--gold); }
.footer-links li { margin-bottom: .55rem; }
.footer-links a:hover { padding-left: 5px; }
.footer-logo { display: inline-block; margin-bottom: 1.2rem; }
.footer-logo img { height: 78px; width: auto; }
.footer .contact-line { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer .contact-line i { color: var(--gold); }
.social a { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); margin-right: .4rem; }
.social a:hover { background: var(--gold); color: var(--navy-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 1.4rem 0; font-size: .86rem; }

/* ---------- Boutons flottants ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--gold); color: var(--navy-dark); font-size: 1.3rem; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.whatsapp-float {
  position: fixed; left: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; z-index: 999;
  box-shadow: 0 10px 25px -8px rgba(37,211,102,.7); text-decoration: none; transition: transform .3s;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.1); }

/* ---------- Préchargeur : immeubles qui se construisent ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--navy), var(--navy-dark));
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader { text-align: center; }
.loader-city { display: flex; align-items: flex-end; justify-content: center; gap: 7px; height: 78px; margin-bottom: 1.1rem; }
.loader-city span {
  width: 16px; border-radius: 3px 3px 0 0; transform-origin: bottom;
  background: linear-gradient(var(--gold-light), var(--gold));
  animation: build 1.2s ease-in-out infinite;
}
.loader-city span:nth-child(1) { height: 36px; animation-delay: 0s; }
.loader-city span:nth-child(2) { height: 60px; animation-delay: .12s; background: linear-gradient(#7f9cc2, var(--blue)); }
.loader-city span:nth-child(3) { height: 78px; animation-delay: .24s; }
.loader-city span:nth-child(4) { height: 52px; animation-delay: .36s; background: linear-gradient(#7f9cc2, var(--blue)); }
.loader-city span:nth-child(5) { height: 30px; animation-delay: .48s; }
@keyframes build { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.loader-name { font-family: var(--font-title); font-weight: 800; font-size: 1.6rem; color: #fff; letter-spacing: .02em; }
.loader-name em { font-style: normal; color: var(--gold); font-weight: 700; font-size: .9rem; letter-spacing: .3em; margin-left: .3rem; }
.loader-bar { width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); margin: 1rem auto 0; overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 3px; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- Page équipe ---------- */
.team-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); border-radius: 20px; padding: 1.6rem .5rem; box-shadow: var(--shadow); }
.team-stats div { text-align: center; }
.team-stats div + div { border-left: 1px solid rgba(255,255,255,.15); }
.team-stats strong { display: block; font-family: var(--font-title); font-weight: 800; font-size: 2rem; color: var(--gold); line-height: 1.1; }
.team-stats span { color: rgba(255,255,255,.75); font-size: .85rem; }

.team-heading { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem; }
.team-heading h2 { font-size: 1.45rem; margin: 0; white-space: nowrap; }
.team-heading span { flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }

/* Direction : grandes cartes horizontales */
.leader-card { display: flex; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid #e7ecf5; box-shadow: 0 14px 40px -28px rgba(36,57,90,.6); transition: transform .35s, box-shadow .35s; }
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.leader-photo { width: 42%; flex-shrink: 0; position: relative; min-height: 280px; background: var(--soft); }
.leader-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.leader-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 5px; background: var(--gold); }
.leader-body { padding: 2rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.leader-pole { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-title); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .7rem; }
.leader-body h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.leader-role { color: var(--blue); font-weight: 600; margin-bottom: 1.4rem; }
.leader-since { display: flex; align-items: center; gap: .8rem; padding-top: 1.2rem; border-top: 1px solid #eef2f8; }
.leader-since i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--navy); font-size: 1.1rem; }
.leader-since small { display: block; color: var(--muted); font-size: .78rem; }
.leader-since strong { color: var(--navy); font-family: var(--font-title); font-size: .95rem; }

/* Équipes terrain : cartes portrait */
.member-card { height: 100%; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid #e7ecf5; transition: transform .35s, box-shadow .35s; }
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member-photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--soft); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s; }
.member-card:hover .member-photo img { transform: scale(1.05); }
.member-date {
  position: absolute; top: .9rem; right: .9rem; display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px); color: var(--navy); border-radius: 50px;
  padding: .3rem .75rem; font-size: .76rem; font-weight: 600; box-shadow: 0 6px 14px -8px rgba(0,0,0,.3);
}
.member-date i { color: var(--gold); }
.member-body { padding: 1.2rem 1.3rem 1.4rem; border-top: 4px solid var(--gold); }
.member-pole { display: inline-flex; align-items: center; gap: .35rem; color: var(--gold); font-family: var(--font-title); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.member-body h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.member-body p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }

@media (max-width: 575px) {
  .leader-photo { width: 36%; min-height: 190px; }
  .leader-body { padding: 1.2rem 1.1rem; }
  .leader-body h3 { font-size: 1.1rem; }
  .leader-role { font-size: .88rem; margin-bottom: .9rem; }
  .leader-since { padding-top: .8rem; gap: .6rem; }
  .leader-since i { width: 34px; height: 34px; font-size: .95rem; }
  .member-body { padding: .9rem .9rem 1rem; }
  .member-body h3 { font-size: .95rem; }
  .member-body p { font-size: .8rem; }
  .member-date { top: .5rem; right: .5rem; font-size: .68rem; padding: .25rem .55rem; }
  .team-heading h2 { font-size: 1.2rem; }
}

/* ---------- Pages de détail des services ---------- */
.service-hero { padding: 80px 0 90px; }
.service-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: .8rem; }
.service-hero-lead { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 620px; margin: 0; }
.service-hero-icon {
  position: relative; width: 230px; height: 230px; margin-left: auto; border-radius: 36px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); transform: rotate(-6deg);
}
.service-hero-icon i { font-size: 6.5rem; color: var(--gold); transform: rotate(6deg); }
.service-hero-icon span {
  position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%) rotate(6deg); white-space: nowrap;
  background: var(--gold); color: var(--navy-dark); font-family: var(--font-title); font-weight: 800; font-size: .85rem; padding: .4rem 1.1rem; border-radius: 50px;
}
.detail-block { margin-bottom: 4rem; }
.detail-block .section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.4rem; }
.detail-intro p { color: var(--muted); font-size: 1.05rem; }
.detail-intro p:first-child { font-size: 1.15rem; color: var(--ink); border-left: 4px solid var(--gold); padding-left: 1.1rem; }

.presta-card { display: flex; gap: 1rem; height: 100%; padding: 1.3rem; border-radius: 16px; background: #fff; border: 1px solid #e7ecf5; transition: all .3s; }
.presta-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.presta-card .ico { width: 50px; height: 50px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; background: var(--soft); color: var(--navy); transition: all .3s; }
.presta-card:hover .ico { background: var(--gold); color: var(--navy-dark); }
.presta-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.presta-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.step { position: relative; height: 100%; padding: 1.4rem 1.1rem; border-radius: 16px; background: var(--soft); text-align: center; }
.step-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 800; margin-bottom: .8rem; box-shadow: 0 0 0 6px rgba(36,57,90,.1); }
.steps > div:nth-child(even) .step-n { background: var(--gold); color: var(--navy-dark); box-shadow: 0 0 0 6px rgba(212,165,86,.18); }
.step h4 { font-size: .98rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }

.audience { text-align: center; padding: 1.5rem 1rem; border-radius: 16px; border: 1.5px dashed #d3dcec; transition: all .3s; }
.audience:hover { border-color: var(--gold); background: #fffaf0; }
.audience i { font-size: 2rem; color: var(--gold); }
.audience h4 { font-size: 1rem; margin: .5rem 0 0; }

.faq .accordion-item { border: 1px solid #e7ecf5; border-radius: 14px !important; margin-bottom: .7rem; overflow: hidden; }
.faq .accordion-button { font-family: var(--font-title); font-weight: 700; color: var(--navy); font-size: .98rem; padding: 1.1rem 1.3rem; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--soft); color: var(--navy); }
.faq .accordion-body { color: var(--muted); }

.sidebar { position: sticky; top: 118px; }
.side-card { background: #fff; border: 1px solid #e7ecf5; border-radius: 18px; padding: 1.5rem; margin-bottom: 1.4rem; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.side-link { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .93rem; transition: all .25s; }
.side-link + .side-link { margin-top: .25rem; }
.side-link i:first-child { color: var(--gold); font-size: 1.1rem; }
.side-link .bi-chevron-right { font-size: .75rem; opacity: .4; }
.side-link:hover { background: var(--soft); color: var(--blue); }
.side-link.active { background: var(--navy); color: #fff; }
.side-link.active .bi-chevron-right { opacity: 1; }
.side-cta { background: linear-gradient(145deg, var(--navy), var(--blue)); border: 0; color: #fff; text-align: center; }
.side-cta > i { font-size: 2.4rem; color: var(--gold); }
.side-cta h3 { color: #fff; margin: .4rem 0 .5rem; }
.side-cta p { color: rgba(255,255,255,.78); font-size: .92rem; }

@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .navbar-collapse { padding: 1rem 0; }
  .navbar-nav .nav-link::after { display: none; }
  .hero { padding: 80px 0 120px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-visual { margin-top: 3rem; max-width: 460px; margin-inline: auto; }
  .cta-band { padding: 2.5rem 1.6rem; text-align: center; }
  .service-nav { top: 79px; }
  .sidebar { position: static; }
}
@media (max-width: 575px) {
  .hero-float { display: none; }
  .form-card { padding: 1.6rem; }
  .navbar-brand img { height: 50px; }
}


/* =========================================================
   RESPONSIVE — ajustements par taille d'écran
   ========================================================= */

/* Tablettes et petits portables (< 1200px) */
@media (max-width: 1199px) {
  .why-item { padding: 1rem; }
  .hero-float.f1 { left: 0; }
  .hero-float.f2 { right: 0; }
}

/* Tablettes (< 992px) */
@media (max-width: 991px) {
  .page-hero { padding: 64px 0 60px; }
  .service-hero { padding: 60px 0 64px; }
  .about-box { min-height: 0; }
  .cta-band .btn { margin: 0 .25rem; }
  .navbar-collapse { max-height: calc(100vh - 90px); overflow-y: auto; }
  .navbar-nav .nav-link { padding: .75rem .25rem !important; border-bottom: 1px solid #eef2f8; }
  .navbar-nav .dropdown-menu { box-shadow: none; padding: 0 0 .5rem .75rem; }
  .navbar-nav .nav-item:last-child { margin-top: 1rem !important; }
  .navbar-nav .btn-gold { display: block; text-align: center; }
  .footer { padding-top: 60px; }
}

/* Téléphones (< 768px) */
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 48px 0; }
  .row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2.25rem; }
  .section-lead { font-size: 1rem; }

  /* Hero */
  .hero { padding: 56px 0 110px; }
  .hero-badge { font-size: .76rem; padding: .35rem .85rem; }
  .hero p.lead { font-size: 1.02rem; }
  .hero .btn { flex: 1 1 auto; }
  .hero-visual { margin-top: 2.2rem; max-width: 380px; }

  /* Chiffres clés : grille 2 x 2 */
  .stats-wrap { margin-top: -60px; }
  .stats-card { padding: .6rem; }
  .stats-card .row { display: grid; grid-template-columns: 1fr 1fr; }
  .stats-card .stat { width: auto; border: 0 !important; padding: 1rem .4rem; }
  .stats-card .stat:nth-child(-n+2) { border-bottom: 1px solid #e7ecf5 !important; }
  .stats-card .stat:nth-child(odd) { border-right: 1px solid #e7ecf5 !important; }
  .stat .num { font-size: 1.9rem; }
  .stat .lbl { font-size: .8rem; line-height: 1.35; }

  /* Cartes de services */
  .service-card { padding: 1.6rem 1.4rem; }
  .service-icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 1rem; }
  .service-card .more { display: inline-block; padding: .4rem 0; }

  /* Page Services */
  .service-detail { padding: 52px 0; }
  .service-visual { min-height: 200px; }
  .service-visual i { font-size: 4.5rem; }
  .service-detail .btn { flex: 1 1 auto; }

  /* Pages de détail */
  .detail-block { margin-bottom: 2.8rem; }
  .service-hero .btn { flex: 1 1 auto; }
  .audience { padding: 1rem .25rem; }
  .audience i { font-size: 1.6rem; }
  .audience h4 { font-size: clamp(.7rem, 3.4vw, .9rem); letter-spacing: -.01em; }
  .faq .accordion-button { font-size: .92rem; padding: 1rem; }

  /* Bandeau CTA */
  .cta-band { padding: 2.2rem 1.4rem; border-radius: 20px; }
  .cta-band h2 { font-size: 1.5rem; }

  /* Contact */
  .contact-info-card { padding: 1.1rem; }
  .contact-info-card a, .footer .contact-line a { display: inline-block; padding: .3rem 0; }
  .form-card h3 { font-size: 1.3rem; }

  /* Équipe */
  .team-stats strong { font-size: 1.6rem; }
  .team-pole, .member-pole, .leader-pole { font-size: .74rem; }
  .member-date { font-size: .74rem; }

  /* Pied de page */
  .footer-links li { margin-bottom: .2rem; }
  .footer-links a { display: inline-block; padding: .3rem 0; }
  .footer-bottom { text-align: center; }
  .footer-bottom .container { align-items: center; }

  /* Boutons flottants plus discrets */
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.45rem; left: 14px; bottom: 14px; }
  .back-to-top { width: 42px; height: 42px; right: 14px; bottom: 14px; }
}

/* Petits téléphones (< 576px) */
@media (max-width: 575px) {
  .container { --bs-gutter-x: 2.25rem; }
  .hero h1 { font-size: 2.05rem; }
  .page-hero h1 { font-size: 1.85rem; }
  .section-title { font-size: 1.6rem; }
  .about-box { padding: 2.2rem 1.6rem; }
  .about-box .year { font-size: 3.8rem; }
  .about-box h3 { font-size: 1.3rem; }
  .quote-block { padding: 2.4rem 1.5rem 1.6rem; }
  .quote-block p { font-size: 1.1rem; }
  .why-item { padding: .9rem 0; }
  .side-card { padding: 1.2rem; }
  .step { padding: 1.1rem .7rem; }
  .goal-card { padding: 1.2rem; }
  .value-card { padding: 1.8rem 1.2rem; }
  .form-card { padding: 1.4rem; border-radius: 18px; }
}

/* Très petits écrans (< 360px) */
@media (max-width: 359px) {
  .hero h1 { font-size: 1.8rem; }
  .stat .num { font-size: 1.6rem; }
  .member-body h3 { font-size: .88rem; }
  .navbar-brand img { height: 44px; }
}

/* Grands écrans (≥ 1600px) */
@media (min-width: 1600px) {
  .container { max-width: 1400px; }
  .hero { padding: 140px 0 160px; }
}


/* =========================================================
   ACCUEIL — nouvelles sections (08/11/2026)
   ========================================================= */
.hero-quick { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; justify-content: center; }
.hero-quick a { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: .45rem 1rem; border-radius: 50px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); transition: all .25s; }
.hero-quick a i { color: var(--gold); }
.hero-quick a:hover { background: var(--gold); color: var(--navy-dark); }
.hero-quick a:hover i { color: var(--navy-dark); }
.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; color: rgba(255,255,255,.85); font-size: .9rem; }
.hero-points i { color: var(--gold); margin-right: .35rem; }
@media (min-width: 992px) { .hero-quick, .hero-points { justify-content: flex-start; } }

.who-card { height: 100%; text-align: center; padding: 2.4rem 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid #e7ecf5; transition: all .35s; }
.who-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.who-card .ico { width: 78px; height: 78px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: var(--soft); color: var(--navy); border: 2px dashed var(--gold); }
.who-card h3 { font-size: 1.25rem; }
.who-card p { color: var(--muted); font-size: .95rem; }
.who-card .more { font-family: var(--font-title); font-weight: 700; font-size: .88rem; text-decoration: none; color: var(--navy); }
.who-card .more:hover { color: var(--gold); }
.who-card.featured { background: linear-gradient(145deg, var(--navy), var(--blue)); border: 0; }
.who-card.featured h3 { color: #fff; }
.who-card.featured p { color: rgba(255,255,255,.8); }
.who-card.featured .ico { background: rgba(255,255,255,.1); color: var(--gold); }
.who-card.featured .more { color: var(--gold); }

.faq a { color: var(--blue); font-weight: 600; }
.contact-info-card h4 { margin-top: 0; }

/* =========================================================
   Navbar plus basse — ORDINATEUR uniquement (≥ 992px)
   Le mobile garde le style d'origine.
   ========================================================= */
@media (min-width: 992px) {
  .navbar { padding: .25rem 0; }
  .navbar-brand img { height: 46px; }
  .navbar-nav .nav-link { font-size: .92rem; padding: .35rem .9rem !important; }
  .service-nav { top: 64px; }
  .service-detail { scroll-margin-top: 76px; }
  .sidebar { top: 86px; }
}

/* =========================================================
   MENU MOBILE MODERNE — panneau latéral (< 992px)
   ========================================================= */
.menu-head, .menu-foot, .nav-backdrop { display: none; }

@media (max-width: 991px) {
  /* Bouton hamburger : pastille arrondie */
  .navbar-toggler {
    width: 46px; height: 46px; padding: 0; display: grid; place-items: center;
    border-radius: 14px; background: var(--soft); color: var(--navy); font-size: 1.6rem; line-height: 1;
    transition: background .25s, transform .25s;
  }
  .navbar-toggler:active { transform: scale(.94); }
  .navbar-toggler i { display: block; }

  /* Fond sombre derrière le panneau */
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 1; background: rgba(12, 20, 36, .55);
    backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .navbar.menu-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.menu-lock { overflow: hidden; }

  /* Panneau */
  .navbar .navbar-collapse,
  .navbar .navbar-collapse.collapse:not(.show),
  .navbar .navbar-collapse.collapsing,
  .navbar .navbar-collapse.collapse.show {
    display: flex !important; flex-direction: column; align-items: stretch !important;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
    width: min(88vw, 400px); height: 100dvh !important; max-height: none;
    padding: 0 1.5rem 1.5rem; margin: 0; overflow-y: auto; overscroll-behavior: contain;
    background: linear-gradient(165deg, var(--navy-dark) 0%, var(--navy) 100%);
    border-radius: 28px 0 0 28px; box-shadow: -30px 0 60px -20px rgba(0,0,0,.5);
    transform: translateX(105%); visibility: hidden;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .45s !important;
  }
  .navbar.menu-open .navbar-collapse,
  .navbar.menu-open .navbar-collapse.collapsing,
  .navbar.menu-open .navbar-collapse.collapse.show {
    transform: none; visibility: visible;
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s !important;
  }

  /* En-tête du panneau */
  .menu-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0 1rem; margin-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu-head img { height: 42px; width: auto; display: block; }
  .menu-close {
    width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.1); color: #fff; font-size: 1.1rem; transition: background .25s, transform .3s;
  }
  .menu-close:hover { background: var(--gold); color: var(--navy-dark); transform: rotate(90deg); }

  /* Liens principaux */
  .navbar-nav { align-items: stretch !important; margin: 0 !important; }
  .navbar-nav .nav-link {
    color: #fff !important; font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em;
    padding: .8rem 0 !important; border-bottom: 1px solid rgba(255,255,255,.08) !important;
    display: flex; align-items: center; gap: .7rem;
  }
  .navbar-nav .nav-link::after { display: none; }
  .navbar-nav .nav-link.active { color: var(--gold) !important; }
  .navbar-nav .nav-link.active::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
  .navbar-nav .nav-link:hover { color: var(--gold) !important; }
  .navbar-nav .nav-caret { display: none; }

  /* Services : tuiles */
  .navbar-nav .dropdown-menu {
    display: grid !important; position: static !important; transform: none !important; inset: auto !important;
    grid-template-columns: 1fr 1fr; gap: .55rem; margin: 0 !important; padding: .9rem 0 1rem !important;
    background: transparent; border: 0; box-shadow: none; float: none; width: 100%;
  }
  .navbar-nav .dropdown-menu > li:nth-child(2) { grid-column: 1 / -1; height: 0; }
  .navbar-nav .dropdown-menu > li:nth-child(2) hr { display: none; }
  .navbar-nav .dropdown-menu > li:first-child { grid-column: 1 / -1; }
  .navbar-nav .dropdown-item {
    height: 100%; display: flex; align-items: center; gap: .55rem; white-space: normal; line-height: 1.25;
    padding: .75rem .8rem; border-radius: 14px; color: #fff; font-size: .84rem; font-weight: 600;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); transition: background .25s, transform .2s;
  }
  .navbar-nav .dropdown-item i { width: auto; color: var(--gold); font-size: 1.15rem; flex-shrink: 0; }
  .navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:active { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
  .navbar-nav .dropdown-item.fw-bold { background: rgba(212,165,86,.16); border-color: rgba(212,165,86,.4); color: var(--gold-light); justify-content: center; }

  /* Bouton devis */
  .navbar-nav .nav-item:last-child { margin-top: 1.4rem !important; }
  .navbar-nav .btn-gold { display: block; text-align: center; padding: 1rem 1.4rem; font-size: 1rem; box-shadow: 0 14px 28px -14px rgba(212,165,86,.8); }

  /* Pied du panneau : contacts */
  .menu-foot { display: block; margin-top: auto; padding-top: 1.6rem; }
  .menu-foot .tagline { color: var(--gold-light); font-style: italic; font-size: .88rem; margin-bottom: 1rem; }
  .menu-foot .row-ico { display: flex; gap: .6rem; }
  .menu-foot a {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
    background: rgba(255,255,255,.09); color: #fff; font-size: 1.2rem; transition: background .25s, color .25s;
  }
  .menu-foot a:hover { background: var(--gold); color: var(--navy-dark); }
  .menu-foot a.wa { background: #25d366; }
  .menu-foot .addr { color: rgba(255,255,255,.6); font-size: .8rem; margin: 1rem 0 0; line-height: 1.5; }

  /* Apparition en cascade des liens */
  .navbar.menu-open .navbar-nav > li { animation: menuIn .5s cubic-bezier(.22, 1, .36, 1) both; }
  .navbar.menu-open .navbar-nav > li:nth-child(1) { animation-delay: .08s; }
  .navbar.menu-open .navbar-nav > li:nth-child(2) { animation-delay: .13s; }
  .navbar.menu-open .navbar-nav > li:nth-child(3) { animation-delay: .18s; }
  .navbar.menu-open .navbar-nav > li:nth-child(4) { animation-delay: .23s; }
  .navbar.menu-open .navbar-nav > li:nth-child(5) { animation-delay: .28s; }
  .navbar.menu-open .navbar-nav > li:nth-child(6) { animation-delay: .33s; }
  @keyframes menuIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .navbar .navbar-collapse { transition: none !important; }
  .navbar.menu-open .navbar-nav > li { animation: none; }
}

/* --- Menu mobile : version compacte pour que tout tienne à l'écran --- */
@media (max-width: 991px) {
  .menu-head { padding: .9rem 0; margin-bottom: .2rem; }
  .menu-head img { height: 38px; }
  .navbar-nav .nav-link { font-size: 1.2rem; padding: .62rem 0 !important; }
  .navbar-nav .dropdown-menu { padding: .7rem 0 .8rem !important; gap: .45rem; }
  .navbar-nav .dropdown-item { padding: .58rem .75rem; }
  .navbar-nav .nav-item:last-child { margin-top: 1.1rem !important; }
  .navbar-nav .btn-gold { padding: .9rem 1.2rem; }
  .menu-foot { padding-top: 1.2rem; }
  .menu-foot .tagline { margin-bottom: .8rem; font-size: .84rem; }
  .menu-foot .addr { margin-top: .8rem; }
  .navbar .navbar-collapse { padding-bottom: 1.1rem; }
}
@media (max-width: 991px) and (max-height: 780px) {
  .menu-foot .tagline, .menu-foot .addr { display: none; }
  .menu-foot { padding-top: 1rem; }
  .navbar-nav .nav-link { padding: .5rem 0 !important; font-size: 1.12rem; }
}
@media (max-width: 991px) and (max-height: 700px) {
  .menu-head { padding: .6rem 0; }
  .menu-head img { height: 32px; }
  .menu-close { width: 36px; height: 36px; }
  .navbar-nav .nav-link { padding: .38rem 0 !important; font-size: 1.05rem; }
  .navbar-nav .dropdown-menu { padding: .5rem 0 .55rem !important; gap: .35rem; }
  .navbar-nav .dropdown-item { padding: .4rem .6rem; font-size: .76rem; border-radius: 11px; gap: .4rem; }
  .navbar-nav .dropdown-item i { font-size: 1rem; }
  .navbar-nav .nav-item:last-child { margin-top: .7rem !important; }
  .navbar-nav .btn-gold { padding: .75rem 1rem; }
  .menu-foot { padding-top: .8rem; }
  .menu-foot a { width: 40px; height: 40px; font-size: 1.05rem; }
}

/* =========================================================
   Menu mobile : « Services » = liste déroulante (fermée par défaut)
   ========================================================= */
@media (max-width: 991px) {
  .navbar-nav .dropdown-menu { display: none !important; }
  .navbar-nav .dropdown-menu.show {
    display: grid !important; grid-template-columns: 1fr; gap: .4rem;
    padding: .3rem 0 .9rem .2rem !important; animation: menuIn .35s cubic-bezier(.22, 1, .36, 1) both;
  }
  .navbar-nav .dropdown-menu > li:nth-child(2) { display: none; }
  .navbar-nav .dropdown-item { padding: .65rem .9rem; font-size: .92rem; }
  .navbar-nav .dropdown-item.fw-bold { justify-content: flex-start; }
  /* flèche à droite, qui pivote à l'ouverture */
  .navbar-nav .dropdown-toggle { justify-content: space-between; }
  .navbar-nav .nav-caret { display: inline-block; margin-left: auto; font-size: .9rem; color: var(--gold); transition: transform .3s; }
  .navbar-nav .dropdown-toggle.show { color: var(--gold) !important; }
  .navbar-nav .dropdown-toggle.show .nav-caret { transform: rotate(180deg); }
}
@media (max-width: 991px) and (max-height: 700px) {
  .navbar-nav .dropdown-menu.show { gap: .3rem; padding-bottom: .6rem !important; }
  .navbar-nav .dropdown-item { padding: .45rem .7rem; font-size: .82rem; }
}


/* =========================================================
   PIED DE PAGE MODERNE
   ========================================================= */
.site-footer {
  position: relative; color: rgba(255,255,255,.68); font-size: .94rem; padding-top: 64px;
  background: radial-gradient(circle at 90% 0%, rgba(69,101,143,.38), transparent 52%),
              radial-gradient(circle at 0% 100%, rgba(212,165,86,.08), transparent 45%), var(--navy-dark);
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold) 50%, var(--navy)); }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s, transform .2s, background .25s; }
.site-footer a:hover { color: var(--gold); }

.sf-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-bottom: 2.2rem; margin-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.sf-logo img { height: 64px; width: auto; display: block; }
.sf-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.site-footer .sf-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 50px;
  font-family: var(--font-title); font-weight: 700; font-size: .86rem; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.site-footer .sf-pill i { color: var(--gold); }
.site-footer .sf-pill:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.site-footer .sf-pill.wa { background: #25d366; border-color: #25d366; }
.site-footer .sf-pill.wa i { color: #fff; }
.site-footer .sf-pill.wa:hover { background: #2ee272; }
.site-footer .sf-pill.gold { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.site-footer .sf-pill.gold i { color: var(--navy-dark); }
.site-footer .sf-pill.gold:hover { background: var(--gold-light); color: var(--navy-dark); }

.sf-about { max-width: 360px; line-height: 1.75; margin-bottom: 1rem; }
.sf-motto { color: var(--gold-light); font-style: italic; margin-bottom: 1.4rem; }
.sf-social { display: flex; gap: .55rem; }
.site-footer .sf-social a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; font-size: 1.1rem; }
.site-footer .sf-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.site-footer h5 { font-family: var(--font-title); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: 1.3rem; }
.sf-links { list-style: none; padding: 0; margin: 0; }
.sf-links li + li { margin-top: .6rem; }
.site-footer .sf-links a { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer .sf-links a::before { content: ""; width: 0; height: 2px; border-radius: 2px; background: var(--gold); transition: width .25s; }
.site-footer .sf-links a:hover { color: #fff; }
.site-footer .sf-links a:hover::before { width: 14px; }

.sf-contact { list-style: none; padding: 0; margin: 0; }
.sf-contact li { display: flex; align-items: flex-start; gap: .85rem; }
.sf-contact li + li { margin-top: 1rem; }
.sf-contact .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(212,165,86,.14); color: var(--gold); }
.sf-contact li > span:last-child, .sf-contact li > a { padding-top: .1rem; line-height: 1.5; word-break: break-word; }
.sf-contact li > a { align-self: center; padding-top: 0; }

.sf-bottom { margin-top: 3.2rem; border-top: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.18); font-size: .85rem; }
.sf-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem 1.5rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.sf-where i { color: var(--gold); margin-right: .4rem; }

@media (max-width: 991px) {
  .site-footer { padding-top: 52px; }
  .sf-top { flex-direction: column; align-items: flex-start; padding-bottom: 1.8rem; margin-bottom: 2rem; }
  .sf-about { max-width: none; }
  .site-footer .offset-lg-1 { margin-left: 0; }
}
@media (max-width: 575px) {
  .sf-top { align-items: stretch; text-align: center; }
  .sf-logo { align-self: center; }
  .sf-actions { flex-direction: column; }
  .site-footer .sf-pill { justify-content: center; padding: .85rem 1.2rem; }
  .sf-about, .sf-motto { text-align: center; margin-inline: auto; }
  .sf-social { justify-content: center; }
  .site-footer h5 { margin-bottom: 1rem; }
  .sf-links li + li { margin-top: .15rem; }
  .site-footer .sf-links a { padding: .4rem 0; }
  .sf-bottom .container { flex-direction: column; text-align: center; }
}


/* =========================================================
   Page équipe : agrandir une photo (visionneuse)
   ========================================================= */
.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.zoom-hint {
  position: absolute; left: .8rem; bottom: .8rem; z-index: 2; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: .95rem; color: var(--navy);
  background: rgba(255,255,255,.92); box-shadow: 0 8px 18px -8px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .25s, transform .25s; pointer-events: none;
}
.zoomable:hover .zoom-hint, .zoomable:focus-visible .zoom-hint { opacity: 1; transform: none; }
.leader-photo .zoom-hint { left: auto; right: 1rem; }
@media (hover: none) { .zoom-hint { opacity: .95; transform: none; width: 32px; height: 32px; left: .5rem; bottom: .5rem; font-size: .8rem; } .leader-photo .zoom-hint { right: .8rem; left: auto; } }

.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  background: rgba(10, 17, 31, .92); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-fig { margin: 0; text-align: center; max-width: min(92vw, 900px); transform: scale(.94); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.lightbox.open .lb-fig { transform: none; }
.lb-img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); border: 3px solid rgba(255,255,255,.12); background: #fff; }
.lb-fig figcaption { margin-top: 1rem; color: #fff; display: flex; flex-direction: column; gap: .15rem; align-items: center; }
.lb-fig figcaption strong { font-family: var(--font-title); font-size: 1.15rem; }
.lb-fig figcaption span { color: var(--gold-light); font-size: .95rem; }
.lb-fig figcaption em { font-style: normal; color: rgba(255,255,255,.55); font-size: .8rem; margin-top: .2rem; }
.lb-close, .lb-nav {
  position: absolute; border: 0; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.15rem; transition: background .25s, color .25s, transform .25s;
}
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--navy-dark); }
.lb-close { top: 1rem; right: 1rem; }
.lb-close:hover { transform: rotate(90deg); }
.lb-nav { top: 50%; margin-top: -24px; }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; }
.lightbox.single .lb-nav { display: none; }
@media (max-width: 575px) {
  .lb-nav { top: auto; bottom: 1rem; margin-top: 0; width: 44px; height: 44px; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
  .lb-img { max-height: 68vh; border-radius: 14px; }
  .lb-fig figcaption { padding-bottom: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) { .lightbox, .lb-fig { transition: none; } }

body.menu-lock { overflow: hidden; }


/* Page équipe : adresse e-mail sur les cartes */
.leader-mail, .member-mail { display: inline-flex; align-items: flex-start; gap: .5rem; text-decoration: none; color: var(--blue); font-weight: 600; font-size: .85rem; line-height: 1.4; word-break: break-all; transition: color .2s; }
.leader-mail { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #eef2f8; align-items: center; }
.member-mail { margin-top: .55rem; font-size: .78rem; }
.leader-mail i, .member-mail i { color: var(--gold); margin-top: .15rem; }
.leader-mail:hover, .member-mail:hover { color: var(--gold); }
.leader-since + .leader-mail { margin-top: 1rem; }


/* =========================================================
   Page équipe : direction alignée (3 cartes identiques) + avatar initiales
   ========================================================= */
.leader-card { flex-direction: column; }
.leader-photo { width: 100%; min-height: 0; aspect-ratio: 4 / 4.2; }
.leader-photo::after { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 5px; }
.leader-body { padding: 1.5rem 1.6rem 1.7rem; justify-content: flex-start; flex: 1; }
.leader-body h3 { font-size: 1.25rem; }
.leader-role { margin-bottom: 1rem; min-height: 2.9em; }
@media (max-width: 575px) {
  .leader-photo { width: 100%; min-height: 0; }
  .leader-body { padding: 1.2rem 1.3rem 1.4rem; }
  .leader-body h3 { font-size: 1.15rem; }
  .leader-role { min-height: 0; }
}

.initials {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--blue));
}
.initials::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(#fff 1.5px, transparent 1.5px); background-size: 22px 22px; }
.initials::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 28px solid rgba(212,165,86,.18); right: -22%; bottom: -22%; }
.initials span {
  position: relative; z-index: 1; width: 38%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 2px solid var(--gold); color: var(--gold);
  font-family: var(--font-title); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: .03em;
}
.member-photo .initials { position: absolute; }


/* =========================================================
   Photo du service Nettoyage & entretien
   ========================================================= */
.service-visual.has-photo { padding: 0; background: var(--navy); }
.service-visual.has-photo::before { display: none; }
.service-visual.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.service-visual.has-photo .tag { z-index: 2; box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); }
.service-visual.has-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(26,42,68,.55)); z-index: 1; }

.detail-photo { position: relative; margin: 2rem 0 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft); line-height: 0; }
.detail-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; display: block; }
.detail-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(transparent, rgba(26,42,68,.5)); }
.detail-photo .tag { position: absolute; left: 1.3rem; bottom: 1.3rem; z-index: 2; line-height: 1.4; background: var(--gold); color: var(--navy-dark); font-family: var(--font-title); font-weight: 800; padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; }
@media (max-width: 575px) { .detail-photo { border-radius: 18px; } .detail-photo img { aspect-ratio: 4 / 3; } }

/* Photos des services : si le fichier est absent, l'icône d'origine reste affichée */
.service-visual.has-photo i { display: none; }
.service-visual.has-photo.gold { background: var(--navy); }

/* ===== Partenaires ===== */
.pt-card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 1.2rem .9rem; background: #fff; border: 1px solid #e6ecf5; border-radius: 16px; color: var(--navy); text-decoration: none; }
.pt-logo { width: 100%; height: 84px; display: flex; align-items: center; justify-content: center; margin-bottom: .7rem; }
.pt-logo img { width: 100%; height: 64px; object-fit: contain; }
.pt-initials { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; font: 800 1.4rem var(--font-title); }
.pt-name { font: 700 .92rem var(--font-title); line-height: 1.3; }
.pt-type { font-size: .78rem; color: #6b7a92; margin-top: .15rem; }
.pt-empty { background: transparent; border: 2px dashed #cdd7e6; color: #8a97ad; }
.pt-empty .pt-logo i { font-size: 1.8rem; color: var(--gold); }
.partners-band { background: #f6f8fc; padding: 3.5rem 0; }
.partners-cta { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; border-radius: 22px; padding: 2.4rem; }
.partners-cta h3 { color: #fff; }

/* ===== Réalisations ===== */
.real-card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: var(--navy); cursor: zoom-in; aspect-ratio: 3 / 2; box-shadow: var(--shadow); text-align: left; }
.real-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transition: transform .6s ease; }
.real-card:hover img { transform: scale(1.05); }
.real-card::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(transparent, rgba(26,42,68,.88)); }
.real-tag { position: absolute; top: .9rem; left: .9rem; z-index: 2; background: var(--gold); color: var(--navy-dark); font: 800 .75rem var(--font-title); padding: .3rem .8rem; border-radius: 50px; }
.real-info { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: .15rem; }
.real-info strong { font: 700 1.02rem var(--font-title); line-height: 1.3; }
.real-info small { color: var(--gold-light); font-size: .82rem; }
.sf-legal { color: inherit; opacity: .75; text-decoration: none; }
.sf-legal:hover { opacity: 1; color: var(--gold-light); }
.legal-card { background: #fff; border: 1px solid #e6ecf5; border-radius: 18px; padding: 1.6rem 1.8rem; margin-bottom: 1.2rem; }
.legal-card h2 { font-size: 1.2rem; margin-bottom: .8rem; color: var(--navy); }
.legal-card dl { margin: 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: .5rem 1rem; }
.legal-card dt { font-weight: 700; color: var(--navy); }
.legal-card dd { margin: 0; }
.todo { background: #fff4d6; color: #7a5600; padding: .05rem .45rem; border-radius: 6px; font-size: .88em; }
@media (max-width: 575px) { .legal-card dl { grid-template-columns: 1fr; } .legal-card dt { margin-top: .5rem; } }

.real-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.real-chip { border: 1px solid #d5deec; background: #fff; color: var(--navy); font: 700 .88rem var(--font-title); padding: .5rem 1.1rem; border-radius: 50px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.real-chip:hover { border-color: var(--gold); }
.real-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ===== Page Réalisations (éditorial) ===== */
.rl-intro { padding: 4.5rem 0 1rem; }
.rl-intro p { max-width: 560px; color: #4a5a72; font-size: 1.08rem; margin: 0; }
.rl-intro h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; max-width: 760px; margin-bottom: 1.2rem; }
.rl-item { display: grid; grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: center; padding: 3.5rem 0; border-top: 1px solid #dfe6f1; }
.rl-item.rl-rev { grid-template-columns: 5fr 7fr; }
.rl-item.rl-rev .rl-photo { order: 2; }
.rl-photo { padding: 0; border: 0; background: var(--navy); cursor: zoom-in; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 2; }
.rl-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; transition: transform .7s ease; }
.rl-photo:hover img { transform: scale(1.04); }
.rl-num { display: block; font: 800 3.4rem/1 var(--font-title); color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 1rem; }
.rl-service { font: 700 .8rem var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: #7a8aa3; margin: 0 0 .5rem; }
.rl-text h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.25; margin-bottom: 1rem; }
.rl-desc { color: #4a5a72; margin-bottom: 1rem; }
.rl-lieu { color: var(--navy); font-weight: 600; font-size: .95rem; margin-bottom: 1.4rem; }
.rl-lieu i { color: var(--gold); }
.rl-link { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.rl-link:hover { color: var(--blue); }
.rl-end { border-top: 1px solid #dfe6f1; padding: 3.5rem 0 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.rl-end h2 { font-size: 1.7rem; margin: 0; }
@media (max-width: 991px) { .rl-item, .rl-item.rl-rev { grid-template-columns: 1fr; gap: 1.6rem; padding: 2.4rem 0; } .rl-item.rl-rev .rl-photo { order: 0; } .rl-num { font-size: 2.6rem; margin-bottom: .6rem; } }

/* Icônes des services reprises du logo SoBâGui (casque, voiture, poignée de main).
   Elles prennent la couleur du texte (currentColor) comme les icônes Bootstrap. */
.ico-casque, .ico-voiture, .ico-poignee {
  display: inline-block; width: 1em; height: 1em; vertical-align: -.125em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico-casque  { -webkit-mask-image: url("../images/icons/casque.png");  mask-image: url("../images/icons/casque.png"); }
.ico-voiture { -webkit-mask-image: url("../images/icons/voiture.png"); mask-image: url("../images/icons/voiture.png"); }
.ico-poignee { -webkit-mask-image: url("../images/icons/poignee.png"); mask-image: url("../images/icons/poignee.png"); }
.service-visual .ico-casque, .service-visual .ico-voiture, .service-visual .ico-poignee { position: relative; z-index: 1; }
.ico-maison, .ico-briques {
  display: inline-block; width: 1em; height: 1em; vertical-align: -.125em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico-maison  { -webkit-mask-image: url("../images/icons/maison.png");  mask-image: url("../images/icons/maison.png"); }
.ico-briques { -webkit-mask-image: url("../images/icons/briques.png"); mask-image: url("../images/icons/briques.png"); }
.service-visual .ico-maison, .service-visual .ico-briques { position: relative; z-index: 1; }

/* Pastilles des catégories de permis */
.permis-lettres { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1.3rem; }
.permis-lettres span {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: var(--font-title); font-weight: 800; font-size: 1.25rem;
}

/* =========================================================
   Menu mobile : ouverture rapide et fluide
   (on retire ce qui coûte cher à dessiner sur téléphone :
   flou plein écran, grosse ombre, animation lien par lien)
   ========================================================= */
@media (max-width: 991px) {
  .nav-backdrop {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(12, 20, 36, .6); transition: opacity .2s ease, visibility .2s;
  }
  .navbar .navbar-collapse,
  .navbar .navbar-collapse.collapse:not(.show),
  .navbar .navbar-collapse.collapsing,
  .navbar .navbar-collapse.collapse.show {
    box-shadow: none; will-change: transform; backface-visibility: hidden; -webkit-overflow-scrolling: touch;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s !important;
  }
  .navbar.menu-open .navbar-collapse,
  .navbar.menu-open .navbar-collapse.collapsing,
  .navbar.menu-open .navbar-collapse.collapse.show {
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s !important;
  }
  .navbar.menu-open .navbar-nav > li { animation: none !important; }
  .navbar-nav .dropdown-menu.show { animation: none !important; }
  .navbar-nav .dropdown-item, .menu-close { transition: none; }
  .navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:active { transform: none; }
  .navbar-toggler { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
}
