/* ==========================================================================
   SARL LOGI KL — Feuille de style principale
   Style industriel B2B · bleu pétrole / orange sécurité
   Sommaire :
     1. Variables & reset          6. Sections de contenu
     2. Typographie & utilitaires  7. Cartes (services, produits, références)
     3. Boutons                    8. Formulaire de contact
     4. Top-bar & header           9. Footer & boutons flottants
     5. Hero & bandeaux           10. Animations & accessibilité
   ========================================================================== */

/* 1. Variables & reset ------------------------------------------------------ */
:root {
  /* Thème clair « bleu ciel & blanc » — contrastes vérifiés (AA) */
  --c-primary: #0277BD;        /* bleu ciel soutenu : boutons, liens, icônes (4,8:1 sur blanc) */
  --c-primary-700: #0C4A6E;    /* bleu profond : titres et textes forts (9,5:1) */
  --c-primary-600: #0369A1;    /* survol des boutons */
  --c-primary-100: #E0F2FE;    /* fonds bleu très clair */
  --c-primary-50: #F0F9FF;
  --c-accent: #0EA5E9;         /* bleu ciel vif : décors (filets, bordures, puces) */
  --c-accent-700: #0277BD;     /* texte « accent » lisible sur fond clair */
  --c-orange: #F28C28;         /* orange du logo : petites touches uniquement */
  --c-steel: #475569;          /* texte secondaire */
  --c-steel-300: #BFD9EA;
  --c-line: #D6E8F4;
  --c-bg: #F0F9FF;
  --c-white: #FFFFFF;
  --c-text: #1B1F23;
  --c-success: #1F7A4D;
  --c-error: #B3261E;

  --f-title: "Barlow", "Arial Narrow", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(12, 59, 74, .06), 0 1px 3px rgba(12, 59, 74, .08);
  --shadow: 0 4px 14px rgba(12, 59, 74, .08), 0 1px 3px rgba(12, 59, 74, .06);
  --shadow-lg: 0 18px 40px rgba(12, 59, 74, .14);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent-700); }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 2px; }

/* 2. Typographie & utilitaires ---------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-primary-700);
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--c-primary); color: var(--c-white); padding: 10px 16px;
  font-weight: 600; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-title); font-weight: 600; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-700);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--c-orange); border-radius: 2px; }

.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section--alt { background: var(--c-bg); }
.section--dark { background: var(--c-primary-100); color: var(--c-text); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--c-steel); font-size: 1.08rem; }
.section-foot { margin-top: 40px; text-align: center; }

/* Motif « grille technique » discret */
.bg-grid {
  background-image:
    linear-gradient(rgba(12, 59, 74, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 59, 74, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.section--dark.bg-grid, .bg-grid--dark {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* 3. Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--f-title); font-weight: 600; font-size: 1.02rem; letter-spacing: .02em;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--accent { background: var(--c-primary); color: var(--c-white); }
.btn--accent:hover { background: var(--c-primary-600); color: var(--c-white); box-shadow: 0 6px 18px rgba(2, 119, 189, .3); transform: translateY(-1px); }
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-600); color: var(--c-white); transform: translateY(-1px); }
.btn--ghost { border-color: var(--c-primary); color: var(--c-primary); background: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: var(--c-primary); color: var(--c-white); border-color: var(--c-primary); }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: var(--c-white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-title); font-weight: 600; color: var(--c-primary); text-decoration: none;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--c-accent-700); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* 4. Top-bar & header ------------------------------------------------------- */
.topbar { background: var(--c-primary); color: #E0F2FE; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a { color: var(--c-white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--c-white); text-decoration: underline; }
.topbar .icon { width: 16px; height: 16px; color: #BAE6FD; }
.topbar__legal { letter-spacing: .02em; }
@media (max-width: 760px) {
  .topbar__legal { display: none; }
  .topbar .container { justify-content: center; }
  .topbar__contacts { gap: 18px; justify-content: center; }
}
@media (max-width: 420px) { .topbar__email-text { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s;
}
/* Flou réservé au desktop : backdrop-filter crée un bloc conteneur qui casserait le menu mobile (position: fixed) */
@supports (backdrop-filter: blur(8px)) {
  @media (min-width: 1241px) {
    .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); }
  }
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-primary-700); margin-right: auto; }
.brand__mark { width: 44px; height: 44px; }
/* Logo officiel (PNG à fond blanc) : l'arrondi CSS masque les coins blancs, utile sur le footer sombre */
.brand__logo { height: 52px; width: auto; border-radius: 12% / 21%; }
@media (max-width: 420px) { .brand__logo { height: 44px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand__name { font-family: var(--f-title); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; }
.brand__tag { font-size: .66rem; font-weight: 600; letter-spacing: .2em; color: var(--c-steel); margin-top: 5px; text-transform: uppercase; }
.brand:hover { color: var(--c-primary-700); }
.site-footer .brand { color: var(--c-primary-700); }

.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 12px;
  font-family: var(--f-title); font-weight: 600; font-size: 1.04rem; letter-spacing: .02em;
  color: var(--c-text); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--c-primary); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-primary); }
.nav__cta-mobile { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-white); color: var(--c-primary); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1240px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-top, 116px) 0 0 0; z-index: 99;
    background: var(--c-white); padding: 24px var(--gutter) 40px;
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 16px 4px; font-size: 1.25rem; border-bottom: 1px solid var(--c-line); }
  .nav__link::after { left: 4px; right: auto; width: 40px; bottom: -1px; }
  .nav__cta-mobile { display: block; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}

/* Fil d'Ariane */
.breadcrumb { font-size: .9rem; margin-bottom: 18px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--c-steel); }
.breadcrumb li + li::before { content: "/"; color: var(--c-accent); }
.breadcrumb a { color: var(--c-primary); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--c-primary-600); text-decoration: underline; }

/* 5. Hero & bandeaux -------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(calc(100svh - var(--header-h) - 40px), 880px);
  display: flex; align-items: center;
  padding-block: clamp(72px, 10vw, 120px);
  color: var(--c-text); overflow: hidden;
  background: var(--c-primary-50);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
/* Diaporama de fond : fondu enchaîné + léger zoom (effet « Ken Burns ») */
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  opacity: 0; transition: opacity .9s ease-in-out; will-change: opacity, transform;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide.is-active, .hero__slide.is-leaving { animation: hero-zoom 3.5s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* Points de navigation */
.hero__controls {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .75); backdrop-filter: blur(4px); box-shadow: var(--shadow-sm);
}
.hero__controls[hidden] { display: none; }
.hero__dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(2, 119, 189, .3); transition: width .3s var(--ease), background-color .3s;
}
.hero__dot:hover { background: rgba(2, 119, 189, .6); }
.hero__dot[aria-current="true"] { height: 28px; background: var(--c-primary); }
.hero__dot { transition: height .3s var(--ease), width .3s var(--ease), background-color .3s; }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(240, 249, 255, .9) 40%, rgba(224, 242, 254, .45) 72%, rgba(224, 242, 254, .15) 100%),
    linear-gradient(rgba(2, 119, 189, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(2, 119, 189, .05) 1px, transparent 1px) 0 0 / 32px 32px;
}
.hero__content { max-width: 760px; }
.hero h1 { color: var(--c-primary-700); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--c-primary); }
/* Titre du hero : apparition mot par mot au chargement (chaque mot « monte » derrière un masque) */
.hero__title .hw-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .hw { display: inline-block; animation: hw-up .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hw-up { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__title .hw-1 { animation-delay: 0.15s; }
.hero__title .hw-2 { animation-delay: 0.22s; }
.hero__title .hw-3 { animation-delay: 0.29s; }
.hero__title .hw-4 { animation-delay: 0.36s; }
.hero__title .hw-5 { animation-delay: 0.43s; }
.hero__title .hw-6 { animation-delay: 0.50s; }
.hero__title .hw-7 { animation-delay: 0.57s; }
.hero__title .hw-8 { animation-delay: 0.64s; }
.hero__title .hw-9 { animation-delay: 0.71s; }
.hero__title .hw-10 { animation-delay: 0.78s; }
.hero__title .hw-11 { animation-delay: 0.85s; }
.hero__title .hw-12 { animation-delay: 0.92s; }
.hero__title .hw-13 { animation-delay: 0.99s; }
.hero__title .hw-14 { animation-delay: 1.06s; }
.hero__title .hw-15 { animation-delay: 1.13s; }
.hero__title .hw-16 { animation-delay: 1.20s; }
/* Soulignement orange de la fin du titre, tracé après les mots */
.hero__title em { position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .09em; border-radius: 2px;
  background: var(--c-orange); transform: scaleX(0); transform-origin: left;
  animation: hw-line .7s cubic-bezier(.2, .8, .2, 1) 1.25s both;
}
@keyframes hw-line { to { transform: scaleX(1); } }
/* Éléments suivants du hero : fondu montant en cascade */
.hero-in { animation: hero-in .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-in.hero-in--1 { animation-delay: 0s; }
.hero-in.hero-in--2 { animation-delay: 1.05s; }
.hero-in.hero-in--3 { animation-delay: 1.25s; }
.hero-in.hero-in--4 { animation-delay: 1.45s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #334155; max-width: 620px; margin-bottom: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(2, 119, 189, .18); font-size: .92rem; color: #334155; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges .icon { color: var(--c-primary); width: 18px; height: 18px; }
@media (max-width: 760px) {
  .hero { padding-bottom: 88px; }
  /* Mobile : points horizontaux centrés en bas */
  .hero__controls { top: auto; right: auto; bottom: 22px; left: 50%; transform: translateX(-50%); flex-direction: row; padding: 6px 10px; }
  .hero__dot[aria-current="true"] { height: 10px; width: 28px; }
}

/* Bandeau titre des pages internes */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary-100) 0%, var(--c-primary-50) 55%, var(--c-white) 100%); color: var(--c-text);
  padding-block: clamp(48px, 7vw, 84px); border-bottom: 1px solid var(--c-line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 280px at 92% 0%, rgba(14, 165, 233, .18), transparent 60%),
    linear-gradient(rgba(2, 119, 189, .05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(2, 119, 189, .05) 1px, transparent 1px) 0 0 / 32px 32px;
}
.page-hero h1 { color: var(--c-primary-700); font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { max-width: 720px; color: var(--c-steel); font-size: 1.1rem; margin: 0; }

/* Atouts */
.assets {
  position: relative; z-index: 2; margin-top: -56px;
}
.assets__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--c-accent); overflow: hidden;
}
.asset { padding: 28px 22px; border-right: 1px solid var(--c-line); }
.asset:last-child { border-right: 0; }
.asset__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px;
  border-radius: var(--radius); background: var(--c-primary); color: var(--c-white);
  box-shadow: inset 0 -3px 0 var(--c-accent);
}
.asset__icon .icon { width: 30px; height: 30px; }
.asset h3 { font-size: 1.12rem; margin-bottom: 6px; }
.asset p { font-size: .92rem; color: var(--c-steel); margin: 0; line-height: 1.55; }
@media (max-width: 1060px) {
  .assets__grid { grid-template-columns: repeat(2, 1fr); }
  .asset { border-bottom: 1px solid var(--c-line); }
  .asset:nth-child(2n) { border-right: 0; }
  .asset:last-child { grid-column: 1 / -1; border-bottom: 0; }
}
@media (max-width: 560px) {
  .assets { margin-top: -32px; }
  .assets__grid { grid-template-columns: 1fr; }
  .asset { border-right: 0; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 20px; }
  .asset__icon { grid-row: span 2; margin: 0; }
}

/* Bandeau mis en avant : coffrage glissant */
.feature-band { position: relative; isolation: isolate; overflow: hidden; background: var(--c-primary-100); color: var(--c-text); }
.feature-band__grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; }
.feature-band__media { position: relative; min-height: 420px; }
.feature-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-band__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--c-primary-100));
}
.feature-band__body { padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px); position: relative; }
.feature-band__body::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(rgba(2, 119, 189, .06) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(2, 119, 189, .06) 1px, transparent 1px) 0 0 / 32px 32px;
}
.feature-band h2 { color: var(--c-primary-700); }
.feature-band p { color: #334155; }
.feature-tag {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px;
  background: var(--c-primary); color: var(--c-white);
  font-family: var(--f-title); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 3px;
}
@media (max-width: 900px) {
  .feature-band__grid { grid-template-columns: 1fr; }
  .feature-band__media { min-height: 280px; }
  .feature-band__media::after { background: linear-gradient(180deg, transparent 60%, var(--c-primary-100)); }
}

/* Gros chiffres de capacité */
.capacity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0; }
.capacity__value { font-family: var(--f-title); font-weight: 700; line-height: 1; color: var(--c-primary); font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -.02em; }
.capacity__value small { font-size: .45em; font-weight: 600; color: var(--c-primary-700); margin-left: 4px; letter-spacing: 0; }
.capacity__sep { font-family: var(--f-title); font-size: 1.1rem; color: var(--c-steel); text-transform: uppercase; letter-spacing: .12em; }
.capacity--light .capacity__value small { color: var(--c-primary); }
.capacity--light .capacity__sep { color: var(--c-steel); }

/* CTA final */
.cta-final { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, #0369A1 0%, var(--c-primary) 55%, #0284C7 100%); color: var(--c-white); padding-block: clamp(56px, 8vw, 88px); }
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px) 0 0 / 32px 32px;
}
.cta-final .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-final h2 { color: var(--c-white); margin-bottom: 8px; max-width: 720px; }
.cta-final p { margin: 0; font-size: 1.08rem; max-width: 640px; color: #F0F9FF; }
.cta-final .btn--primary { background: var(--c-white); color: var(--c-primary-700); }
.cta-final .btn--primary:hover { background: var(--c-primary-50); color: var(--c-primary-700); }
.cta-final .btn--ghost { color: var(--c-white); border-color: var(--c-white); background: transparent; }
.cta-final .btn--ghost:hover { background: var(--c-white); color: var(--c-primary-700); border-color: var(--c-white); }

/* 6. Sections de contenu ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--c-accent); border-radius: var(--radius-lg);
}
@media (max-width: 560px) { .split__media::before { inset: 10px -8px -10px 10px; } }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .mvv { grid-template-columns: 1fr; } }
.mvv__item { padding: 28px; background: var(--c-white); border-radius: var(--radius-lg); border-left: 4px solid var(--c-accent); box-shadow: var(--shadow-sm); }
.mvv__item p { margin: 0; color: var(--c-steel); }

/* Secteurs (pastilles) */
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.sector {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 14px; background: var(--c-white);
  border: 1px solid var(--c-line); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-family: var(--f-title); font-weight: 600; font-size: 1.08rem; color: var(--c-primary);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.sector:hover { border-color: var(--c-accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.sector__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: var(--c-white); }
/* Pastilles en mouvement : flottement en vague + halo pulsé autour des icônes */
.sectors .sector { animation: sector-float 3.6s ease-in-out infinite; will-change: transform; }
.sectors .sector__icon { animation: sector-pulse 4.2s ease-out infinite; }
.sectors .sector:nth-child(1) { animation-delay: -0.00s; }
.sectors .sector:nth-child(1) .sector__icon { animation-delay: 0.0s; }
.sectors .sector:nth-child(2) { animation-delay: -0.45s; }
.sectors .sector:nth-child(2) .sector__icon { animation-delay: 0.6s; }
.sectors .sector:nth-child(3) { animation-delay: -0.90s; }
.sectors .sector:nth-child(3) .sector__icon { animation-delay: 1.2s; }
.sectors .sector:nth-child(4) { animation-delay: -1.35s; }
.sectors .sector:nth-child(4) .sector__icon { animation-delay: 1.8s; }
.sectors .sector:nth-child(5) { animation-delay: -1.80s; }
.sectors .sector:nth-child(5) .sector__icon { animation-delay: 2.4s; }
.sectors .sector:nth-child(6) { animation-delay: -2.25s; }
.sectors .sector:nth-child(6) .sector__icon { animation-delay: 3.0s; }
.sectors .sector:nth-child(7) { animation-delay: -2.70s; }
.sectors .sector:nth-child(7) .sector__icon { animation-delay: 3.6s; }
.sectors .sector:hover { animation: none; transform: translateY(-6px) scale(1.04); }
.sectors .sector:hover .sector__icon { animation-play-state: paused; }
@keyframes sector-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes sector-pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, .45); }
  45%, 100% { box-shadow: 0 0 0 12px rgba(14, 165, 233, 0); }
}
.sector__icon .icon { width: 22px; height: 22px; }

/* Étapes / principe du coffrage glissant */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 26px 22px 22px; background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--c-line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--f-title); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--c-primary); margin-bottom: 10px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .95rem; color: var(--c-steel); }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-primary-100); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .85rem; color: var(--c-white);
  background: linear-gradient(transparent, rgba(12, 74, 110, .85));
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: span 1; }
}

/* Contenu texte long (mentions légales) */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 2.2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 1em; }
.prose dt { font-weight: 600; color: var(--c-primary); }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }

/* 7. Cartes ----------------------------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-steel-300); }

/* Carte service */
.service-card { padding: 28px 26px 26px; }
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.service-card__icon {
  display: grid; place-items: center; flex: none; width: 54px; height: 54px;
  border-radius: var(--radius); background: var(--c-primary); color: var(--c-white);
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card__num { font-family: var(--f-title); font-weight: 700; color: var(--c-steel-300); font-size: 1.6rem; margin-left: auto; line-height: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--c-steel); font-size: .97rem; }
.service-card .check-list { font-size: .94rem; margin-bottom: 22px; }
.service-card .card__foot { margin-top: auto; }
.service-card--compact p { margin-bottom: 14px; }
.service-card--highlight { border-color: var(--c-accent); background: linear-gradient(180deg, var(--c-primary-100), var(--c-white) 45%); }
.service-card--highlight .service-card__icon { background: var(--c-primary-600); color: var(--c-white); }
.service-card--highlight::after {
  content: attr(data-ribbon); position: absolute; top: 24px; right: -46px; width: 190px; text-align: center; transform: rotate(38deg);
  padding: 4px 0; background: var(--c-primary); color: var(--c-white);
  font-family: var(--f-title); font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
}
.service-card--highlight .service-card__num { display: none; }

/* Carte produit */
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--c-primary-100); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badge {
  position: absolute; top: 14px; left: 14px;
  min-width: 46px; padding: 5px 10px; text-align: center;
  font-family: var(--f-title); font-weight: 700; font-size: .95rem; letter-spacing: .08em;
  background: var(--c-primary); color: var(--c-white); border-radius: 4px; box-shadow: var(--shadow-sm);
}
.product-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__family { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--c-steel); margin-bottom: 6px; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { color: var(--c-steel); font-size: .95rem; margin-bottom: 16px; }
.product-card .link-arrow { margin-top: auto; }
.product-card[hidden] { display: none; }

/* Filtres produits */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  padding: 9px 18px; min-height: 42px; border: 1px solid var(--c-line); border-radius: 999px;
  background: var(--c-white); color: var(--c-primary); cursor: pointer;
  font-family: var(--f-title); font-weight: 600; font-size: 1rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--c-primary); }
.filter-btn[aria-pressed="true"] { background: var(--c-primary); color: var(--c-white); border-color: var(--c-primary); }
.filter-btn .count { display: inline-block; margin-left: 6px; font-size: .8rem; opacity: .7; }
.filter-status { color: var(--c-steel); font-size: .92rem; margin: -16px 0 24px; }

/* Références */
.ref-card { align-items: center; justify-content: flex-start; gap: 8px; padding: 26px 18px 22px; text-align: center; min-height: 230px; }
.ref-card__logo {
  display: grid; place-items: center; width: 100%; height: 96px; margin-bottom: 8px;
  border-bottom: 1px solid var(--c-line); padding-bottom: 14px;
}
.ref-card__logo img { max-height: 80px; max-width: 190px; width: auto; height: auto; object-fit: contain; transition: transform .3s var(--ease); }
.ref-card:hover .ref-card__logo img { transform: scale(1.05); }
.ref-card__full { margin: -4px 0 0; font-size: .8rem; line-height: 1.35; color: var(--c-steel); }
.ref-card__sector {
  margin-top: auto !important; display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--c-primary-100); color: var(--c-primary) !important; font-size: .78rem !important; font-weight: 600; line-height: 1.35;
}
.ref-card__monogram {
  display: none; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--c-primary-100); color: var(--c-primary);
  font-family: var(--f-title); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em;
}
.ref-card__logo.no-logo img { display: none; }
.ref-card__logo.no-logo .ref-card__monogram { display: grid; }
.ref-card__name { font-family: var(--f-title); font-weight: 600; font-size: 1.12rem; color: var(--c-primary); margin: 0; }
.ref-card__sector { font-size: .82rem; color: var(--c-steel); margin: 0; }

/* Bandeau défilant des références */
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; padding-block: 8px; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex; align-items: center; gap: 14px; flex: none;
  padding: 14px 24px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  font-family: var(--f-title); font-weight: 600; font-size: 1.08rem; color: var(--c-primary); white-space: nowrap;
}
.marquee__logo { height: 52px; width: auto; max-width: 150px; object-fit: contain; flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.marquee-toggle { margin: 18px auto 0; display: flex; }

/* Encart info (KPI, coordonnées) */
.info-card { padding: 28px; background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--c-line); }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--c-primary); color: var(--c-white); }
.info-list__icon .icon { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--f-title); font-size: 1.02rem; color: var(--c-primary); }
.info-list a { word-break: break-word; }
.map-embed { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 4 / 3; background: var(--c-primary-100); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 8. Formulaire de contact -------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { padding: clamp(24px, 4vw, 40px); background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--c-line); border-top: 4px solid var(--c-accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--c-primary); }
.field .req { color: var(--c-accent-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--c-bg); border: 1px solid var(--c-steel-300); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--c-primary) 50%), linear-gradient(135deg, var(--c-primary) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); background-color: var(--c-white); box-shadow: 0 0 0 3px rgba(12, 59, 74, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.field__error { display: block; min-height: 0; margin-top: 4px; font-size: .85rem; color: var(--c-error); }
.field__hint { display: block; margin-top: 6px; font-size: .84rem; color: var(--c-steel); }
.file-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px;
  border: 2px dashed var(--c-steel-300); border-radius: var(--radius); background: var(--c-bg); cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--c-primary); background: var(--c-white); }
.file-drop .icon { width: 30px; height: 30px; color: var(--c-primary); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-drop__text { font-size: .92rem; color: var(--c-steel); }
.file-drop__text strong { color: var(--c-primary); }
.field .consent, .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--c-steel); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-primary); flex: none; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.is-success { display: block; background: #E6F4EC; color: var(--c-success); border: 1px solid #B9DEC9; }
.form-status.is-error { display: block; background: #FBEAE9; color: var(--c-error); border: 1px solid #F0C2BF; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Page merci / 404 */
.message-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.message-page__code { font-family: var(--f-title); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--c-primary); margin-bottom: 8px; }
.message-page__icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: #E6F4EC; color: var(--c-success); }
.message-page__icon .icon { width: 44px; height: 44px; }
.message-page .btn-row { justify-content: center; margin-top: 28px; }

/* 9. Footer & boutons flottants --------------------------------------------- */
.site-footer { background: var(--c-primary-50); color: var(--c-steel); font-size: .94rem; border-top: 4px solid var(--c-primary-100); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 64px 48px; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h2 { font-size: 1.08rem; color: var(--c-primary-700); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: var(--c-primary-700); text-decoration: none; }
.site-footer a:hover { color: var(--c-primary); text-decoration: underline; }
.footer-about p { margin: 16px 0; }
.footer-legal { display: grid; gap: 4px; font-size: .86rem; color: var(--c-steel); }
.footer-legal strong { color: var(--c-primary-700); font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--c-primary); margin-top: 2px; width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--c-line); background: var(--c-white); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px; font-size: .86rem; }

.floating { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.floating__btn {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: var(--c-white); box-shadow: 0 8px 22px rgba(0, 0, 0, .22); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.floating__btn:hover { transform: scale(1.07); color: var(--c-white); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.floating__btn .icon { width: 28px; height: 28px; }
.floating__btn--wa { background: #25D366; } /* vert officiel WhatsApp */
.floating__btn--wa .icon { width: 32px; height: 32px; }
.floating__btn--wa:hover { background: #1EBE5A; }
.floating__btn--call { background: var(--c-primary); }
.floating__btn--call .icon { width: 24px; height: 24px; }
@media (min-width: 1241px) { .floating__btn--call { display: none; } }

/* 10. Animations & accessibilité -------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .06s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .12s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .18s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .3s; }
.js .reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  /* Titre du hero affiché immédiatement, sans délai */
  .hero__title .hw, .hero-in, .hero__title em::after { animation: none !important; }
  .sectors .sector, .sectors .sector__icon { animation: none !important; }
  .hero__title em::after { transform: scaleX(1); }
  /* Pas de défilement automatique : les références passent à la ligne */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
  .marquee__item[aria-hidden="true"] { display: none; }
  .marquee-toggle { display: none; }
}

@media print {
  .topbar, .site-header, .floating, .cta-final, .nav-toggle { display: none !important; }
  .hero, .page-hero, .section--dark, .site-footer { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}

/* Utilitaires d'espacement (évite les attributs style="" bloqués par la CSP) */
h4 { font-size: 1.08rem; font-weight: 600; margin-bottom: .4em; }
.mt-lg { margin-top: 28px; }
.mt-xl { margin-top: 64px; }
.mb-xl { margin-bottom: 56px; }
.h-sm { font-size: 1.4rem; }
.form-intro { margin: -8px 0 24px; }
.field__hint--inline { display: inline; margin: 0; }
.muted-note { margin-top: 2.5em; color: var(--c-steel); font-size: .9rem; }

/* Localisation (accueil) : coordonnées + carte Google Maps */
.location { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 24px; align-items: stretch; }
.location__card { display: flex; flex-direction: column; justify-content: center; }
.location__map { min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow); background: var(--c-primary-100); }
.location__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 900px) {
  .location { grid-template-columns: 1fr; }
  .location__map, .location__map iframe { min-height: 320px; }
}

/* Sélecteur de langue FR | EN */
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-bg); flex: none; }
.lang-switch__item {
  display: grid; place-items: center; min-width: 38px; height: 32px; padding: 0 8px; border-radius: 999px;
  font-family: var(--f-title); font-weight: 700; font-size: .9rem; letter-spacing: .06em; color: var(--c-steel); text-decoration: none;
}
.lang-switch__item abbr { text-decoration: none; }
a.lang-switch__item:hover { color: var(--c-primary); background: var(--c-white); }
.lang-switch__item.is-active { background: var(--c-primary); color: var(--c-white); }
@media (max-width: 420px) { .lang-switch__item { min-width: 34px; height: 30px; font-size: .82rem; } .site-header .container { gap: 12px; } }

/* Liste des emails (contact / commercial / gérant) */
.email-list { display: grid; gap: 6px; }
.email-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.email-role { min-width: 82px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-steel); }
.email-line a { word-break: break-all; }
.site-footer .email-role { color: var(--c-steel); min-width: 0; width: 100%; font-size: .72rem; }

/* Hero mobile : voile clair uniforme pour garder le texte lisible sur toute la largeur */
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(255, 255, 255, .93), rgba(240, 249, 255, .88)); }
}

/* Chiffres clés (après « Qui sommes-nous ») : cartes flottantes + compteurs animés */
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.key-figures { background: linear-gradient(180deg, var(--c-white), var(--c-primary-50)); }
.kf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .kf-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.kf {
  position: relative; padding: 30px 26px 28px; text-align: center; overflow: hidden;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  animation: sector-float 4s ease-in-out infinite; will-change: transform;
}
.kf::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); }
.kf:nth-child(2) { animation-delay: -1.3s; }
.kf:nth-child(3) { animation-delay: -2.6s; }
.kf:hover { animation: none; transform: translateY(-8px); box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), box-shadow .3s; }
.kf__icon {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%;
  background: var(--c-primary); color: var(--c-white); animation: sector-pulse 3.6s ease-out infinite;
}
.kf:nth-child(2) .kf__icon { animation-delay: 1.2s; }
.kf:nth-child(3) .kf__icon { animation-delay: 2.4s; }
.kf__icon .icon { width: 30px; height: 30px; }
.kf__value {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: nowrap; gap: 0 6px; margin: 0 0 6px; white-space: nowrap;
  font-family: var(--f-title); font-weight: 700; line-height: 1.05; color: var(--c-primary); font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  font-variant-numeric: tabular-nums;
}
.kf__value small { font-size: .5em; color: var(--c-primary-700); }
.kf__dash { color: var(--c-accent); }
.kf__word { font-size: .82em; }
.kf__label { font-size: 1.15rem; margin: 0 0 6px; }
.kf__text { margin: 0; color: var(--c-steel); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .kf, .kf__icon { animation: none !important; } }

/* Bulle WhatsApp qui clignote : double onde verte + léger battement */
.floating__btn--wa { position: relative; isolation: isolate; animation: wa-beat 2s ease-in-out infinite; }
.floating__btn--wa::before, .floating__btn--wa::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: #25D366; opacity: .55; animation: wa-ring 2s ease-out infinite;
}
.floating__btn--wa::after { animation-delay: 1s; }
.floating__btn--wa:hover, .floating__btn--wa:focus-visible { animation: none; }
.floating__btn--wa:hover::before, .floating__btn--wa:hover::after { animation: none; opacity: 0; }
@keyframes wa-ring {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes wa-beat {
  0%, 70%, 100% { transform: scale(1); }
  80% { transform: scale(1.12); }
  90% { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) {
  .floating__btn--wa, .floating__btn--wa::before, .floating__btn--wa::after { animation: none !important; }
  .floating__btn--wa::before, .floating__btn--wa::after { opacity: 0; }
}

/* Signature du développeur (pied de page) */
.footer-credit { color: var(--c-steel); }
.footer-credit a { font-weight: 600; color: var(--c-primary) !important; }
.footer-credit a:hover { color: var(--c-primary-600) !important; }
@media (max-width: 760px) { .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* Facebook : lien de la top-bar (texte masqué sur petits écrans, icône seule) */
@media (max-width: 560px) { .topbar__fb-text { display: none; } }

/* Galerie fourniture : grille de vignettes + visionneuse */
.section--gallery { background: linear-gradient(180deg, var(--c-white) 0%, var(--c-primary-50) 100%); }
.supply-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px; list-style: none; margin: 0; padding: 0; }
.sg-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-white); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.sg-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.sg-item--feature { grid-column: span 2; grid-row: span 2; }
@media (max-width: 560px) { .sg-item--feature { grid-column: auto; grid-row: span 2; } .supply-gallery { grid-auto-rows: 220px; } }
.sg-link { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; }
.sg-link img { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.sg-item--cover .sg-link img { object-fit: cover; }
.sg-item--contain .sg-link img { object-fit: contain; padding: 14px 14px 42px; }
.sg-item:hover .sg-link img { transform: scale(1.05); }
.sg-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 11px;
  font-family: var(--f-title); font-weight: 600; font-size: .98rem; line-height: 1.25; color: var(--c-white);
  background: linear-gradient(transparent, rgba(12, 74, 110, .88));
}
.sg-item--contain .sg-caption { padding-top: 10px; background: var(--c-primary-50); color: var(--c-primary-700); border-top: 1px solid var(--c-line); }
.sg-zoom {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230277BD' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease);
}
.sg-item:hover .sg-zoom, .sg-link:focus-visible .sg-zoom { opacity: 1; transform: none; }

.lightbox { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-lg); overflow: visible; }
.lightbox::backdrop { background: rgba(12, 74, 110, .82); backdrop-filter: blur(3px); }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; }
.lightbox__img { display: block; width: 100%; max-height: calc(94vh - 70px); object-fit: contain; background: var(--c-primary-50); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.lightbox__caption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; font-family: var(--f-title); font-weight: 600; color: var(--c-primary-700); }
.lightbox__count { color: var(--c-steel); font-weight: 500; white-space: nowrap; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--c-white); color: var(--c-primary); box-shadow: var(--shadow); font-size: 1.6rem; line-height: 1;
}
.lightbox__btn:hover { background: var(--c-primary); color: var(--c-white); }
.lightbox__close { top: -16px; right: -16px; }
.lightbox__prev { left: -22px; top: 45%; }
.lightbox__next { right: -22px; top: 45%; }
@media (max-width: 760px) { .lightbox__prev { left: 6px; } .lightbox__next { right: 6px; } .lightbox__close { top: 6px; right: 6px; } }
body.lightbox-open { overflow: hidden; }

/* En-tête compact sur grand écran (conteneur limité à 1200 px : menu à 6 liens + sélecteur de langue + bouton) */
@media (min-width: 1241px) {
  .site-header .container { gap: 14px; }
  .nav__link { padding: 10px 9px; font-size: .98rem; }
  .nav__link::after { left: 9px; right: 9px; }
  .header-cta { padding: 10px 16px; font-size: .95rem; }
  .brand__mark, .brand__logo { height: 46px; }
}
