/* ==========================================================================
   Abionex — Sanitation & traitement des nuisibles
   Feuille de style principale
   ========================================================================== */

/* --- 1. Variables ------------------------------------------------------- */
:root {
  /* Marque */
  --green-500: #43962f;
  --green-600: #2f7a28;
  --green-400: #6cb32f;
  --green-300: #85be2f;
  --blue-500: #0673b6;
  --blue-400: #16ace1;
  --navy-900: #0e2a47;
  --navy-800: #143a5e;
  --navy-700: #1d4d78;

  /* Surfaces & texte */
  --ink: #14293f;
  --ink-soft: #4d6275;
  --ink-muted: #6b7f91;
  --surface: #ffffff;
  --surface-alt: #f4f8fb;
  --surface-tint: #eef5f9;
  --line: #e3ebf2;
  --line-strong: #d2dfea;

  /* Effets */
  --grad-green: linear-gradient(135deg, var(--green-400), var(--green-600));
  --grad-brand: linear-gradient(135deg, var(--green-400) 0%, var(--green-500) 40%, var(--blue-500) 100%);
  --grad-navy: linear-gradient(150deg, var(--navy-900) 0%, #10365c 55%, #0b2f52 100%);
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .06), 0 2px 8px rgba(14, 42, 71, .05);
  --shadow-md: 0 4px 12px rgba(14, 42, 71, .07), 0 14px 32px rgba(14, 42, 71, .08);
  --shadow-lg: 0 18px 50px rgba(14, 42, 71, .16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Rythme */
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(64px, 7vw, 104px);

  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* --- 2. Base ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(6, 115, 182, .14);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  /* Mots longs (« désinsectisation ») : coupure uniquement si nécessaire. */
  overflow-wrap: break-word;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.25; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--blue-500);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--green-600); }

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--navy-900);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- 3. Utilitaires ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--surface-alt); }
.section--tint {
  background: linear-gradient(180deg, #fff 0%, var(--surface-tint) 100%);
}

.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.06rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-green);
}
.section-head--center .eyebrow { justify-content: center; }

.accent { color: var(--green-500); }
.accent-blue { color: var(--blue-500); }
.text-lead { font-size: 1.09rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- 4. Boutons -------------------------------------------------------- */
.btn {
  --btn-bg: var(--grad-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-family: inherit;
  font-size: .97rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(47, 122, 40, .26);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(47, 122, 40, .32);
}
.btn:active { transform: translateY(0); }

.btn--navy {
  --btn-bg: var(--grad-navy);
  box-shadow: 0 6px 18px rgba(14, 42, 71, .24);
}
.btn--navy:hover { box-shadow: 0 10px 26px rgba(14, 42, 71, .3); }

.btn--ghost {
  background: #fff;
  color: var(--navy-900);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover {
  color: var(--navy-900);
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
}

.btn--light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .38);
  box-shadow: none;
}
.btn--light:hover { background: rgba(255, 255, 255, .2); }

.btn--sm { padding: 11px 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* --- 5. Icônes --------------------------------------------------------- */
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(108, 179, 47, .14), rgba(67, 150, 47, .1));
  color: var(--green-600);
  flex: none;
}
.icon-badge .icon { width: 25px; height: 25px; }
.icon-badge--blue {
  background: linear-gradient(145deg, rgba(22, 172, 225, .14), rgba(6, 115, 182, .1));
  color: var(--blue-500);
}
.icon-badge--round { border-radius: 50%; }
.icon-badge--lg { width: 60px; height: 60px; border-radius: 18px; }
.icon-badge--lg .icon { width: 29px; height: 29px; }

/* --- 6. Barre supérieure ---------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 42px;
}
.topbar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.topbar-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--green-300); }
.topbar .icon { width: 16px; height: 16px; color: var(--green-300); }
.topbar-zone { color: rgba(255, 255, 255, .68); }

/* --- 7. En-tête / navigation ------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, padding .25s ease;
}
.header.is-stuck { box-shadow: 0 6px 24px rgba(14, 42, 71, .09); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding-block: 10px;
}

.brand { display: inline-flex; align-items: center; }
.brand img {
  height: 46px;
  width: auto;
  transition: height .25s ease;
}
.header.is-stuck .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--navy-800);
  font-size: .94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav a:hover { background: var(--surface-alt); color: var(--green-600); }
.nav a.is-active { color: var(--green-600); background: rgba(108, 179, 47, .1); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; margin-inline: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --- 8. Héros ---------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 84px) clamp(56px, 6vw, 96px);
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(22, 172, 225, .1), transparent 65%),
    radial-gradient(45% 55% at 4% 92%, rgba(108, 179, 47, .12), transparent 70%),
    linear-gradient(180deg, #fff 0%, #f6fafc 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .text-lead { max-width: 46ch; margin-bottom: 30px; }

.hero-points {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  max-width: 52ch;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 600;
}
.hero-points .icon {
  width: 20px; height: 20px;
  color: var(--green-500);
  stroke-width: 2.4;
}

.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% -8% 10%;
  border-radius: var(--radius-lg);
  background: var(--grad-brand);
  opacity: .16;
  filter: blur(2px);
  z-index: 0;
}
.hero-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 62%;
}

.hero-card {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 290px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero-card strong { display: block; font-size: .98rem; color: var(--navy-900); }
.hero-card span { font-size: .85rem; color: var(--ink-muted); line-height: 1.4; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .89rem;
  font-weight: 650;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.chip .icon { width: 18px; height: 18px; color: var(--green-500); }

/* --- 9. Bandeau de confiance ----------------------------------------- */
.trust {
  border-block: 1px solid var(--line);
  background: #fff;
}
.trust .container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 32px;
  padding-block: 34px;
}
.trust-item { display: flex; align-items: flex-start; gap: 14px; }
.trust-item h3 {
  margin: 0 0 3px;
  font-size: .98rem;
  letter-spacing: 0;
}
.trust-item p { font-size: .89rem; line-height: 1.5; margin: 0; }

/* --- 10. Grilles de cartes ------------------------------------------- */
.grid { display: grid; gap: clamp(18px, 2vw, 26px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 179, 47, .4);
  box-shadow: var(--shadow-md);
}
.card-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface-alt);
}
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.045); }

/* Le badge appartient au corps de la carte : il chevauche la vignette sans
   être rogné par le « overflow: hidden » qui contient le zoom de l'image. */
.card-body {
  position: relative;
  padding: 38px 24px 26px;
}
.card-body > .icon-badge {
  position: absolute;
  top: -26px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 122, 40, .3);
  border: 3px solid #fff;
}
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: .95rem; line-height: 1.6; }

.card-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.card-list li {
  display: flex;
  gap: 9px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.card-list .icon {
  width: 17px; height: 17px;
  margin-top: 3px;
  color: var(--green-500);
  stroke-width: 2.4;
}

/* Lien « En savoir plus » en pied de carte */
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-600);
}
.card-more .icon {
  width: 17px;
  height: 17px;
  transition: transform .2s ease;
}
.card-more:hover { color: var(--blue-500); }
.card-more:hover .icon { transform: translateX(3px); }

/* Carte simple (sans image) */
.feature {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* Variante cliquable (liens entre prestations) */
a.feature { display: block; color: inherit; }
a.feature p { color: var(--ink-soft); }
a.feature:hover { border-color: rgba(108, 179, 47, .45); }
a.feature:hover h3 { color: var(--green-600); }
.feature h3 { margin: 18px 0 8px; font-size: 1.08rem; }
.feature p { font-size: .93rem; line-height: 1.6; margin: 0; }
.feature--center { text-align: center; }
.feature--center .icon-badge { margin-inline: auto; }

/* --- 11. Qui sommes-nous -------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

.figure-stack { position: relative; }
.figure-stack figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.figure-stack figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.figure-stack::after {
  content: "";
  position: absolute;
  inset: auto -14px -16px 12%;
  height: 60%;
  border-radius: var(--radius-lg);
  background: var(--grad-brand);
  opacity: .14;
  z-index: -1;
}

.mission {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.mission h3 { margin: 0 0 6px; font-size: 1.05rem; }
.mission p { margin: 0; font-size: .96rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(36px, 4vw, 52px);
}

/* --- 12. Monitoring / bandeau sombre -------------------------------- */
.panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  color: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-lg);
}
.panel::before {
  content: "";
  position: absolute;
  inset: -40% 55% 40% -10%;
  background: radial-gradient(circle, rgba(108, 179, 47, .28), transparent 62%);
}
.panel-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}
.panel-body { padding: clamp(30px, 4vw, 52px); }
.panel h2, .panel h3 { color: #fff; }
.panel .eyebrow { color: var(--green-300); }
.panel .eyebrow::before { background: var(--green-300); }
.panel-figure { margin: 0; align-self: stretch; }
.panel-figure img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.panel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin-top: 26px;
}
.panel-list li {
  display: flex;
  gap: 11px;
  font-size: .94rem;
  color: rgba(255, 255, 255, .88);
}
.panel-list .icon {
  width: 19px; height: 19px;
  margin-top: 3px;
  color: var(--green-300);
  stroke-width: 2.2;
}

/* --- 13. Méthode ----------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  counter-reset: step;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 0;
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--grad-green);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(47, 122, 40, .28);
}
.step:nth-child(even) .step-num {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-500));
  box-shadow: 0 6px 14px rgba(6, 115, 182, .26);
}
.step-head h3 { margin: 0; font-size: 1.06rem; }
.step-body { padding: 14px 22px 20px; }
.step-body p { font-size: .93rem; line-height: 1.6; margin: 0; }
.step figure { margin: auto 0 0; }
.step figure img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.commitments {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 4vw, 52px);
}
.commitment {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.commitment:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.commitment .icon-badge { margin: 0 auto 14px; width: 46px; height: 46px; border-radius: 50%; }
.commitment .icon-badge .icon { width: 22px; height: 22px; }
.commitment h4 { margin: 0 0 6px; font-size: .95rem; }
.commitment p { margin: 0; font-size: .85rem; line-height: 1.5; }

/* --- 14. Secteurs ---------------------------------------------------- */
.sector {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  background: #0e2a47;
}
.sector img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .55s ease;
}
.sector:hover img { transform: scale(1.05); }
.sector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 71, 0) 34%, rgba(10, 32, 55, .88) 100%);
}
.sector-label {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px;
  color: #fff;
}
.sector-label .icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  backdrop-filter: blur(4px);
}
.sector-label .icon-badge .icon { width: 22px; height: 22px; }
.sector-label h3 { margin: 0; color: #fff; font-size: 1.06rem; }
.sector-label p { margin: 2px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .78); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 40px);
}
.chips .chip { background: #fff; }

.note-bar {
  /* Bloc (et non flex) pour que le texte se replie sans pousser l'icône hors écran. */
  display: block;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 18px 24px;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
  font-size: .98rem;
  color: var(--ink);
}
.note-bar .icon {
  display: inline-block;
  margin-right: 10px;
  vertical-align: -5px;
  color: var(--blue-500);
}

/* --- 15. Zone d'intervention ---------------------------------------- */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.zone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--navy-900);
}
.zone span { font-size: .98rem; }
.zone small {
  display: block;
  font-weight: 500;
  font-size: .8rem;
  color: var(--ink-muted);
}
.zone .icon { color: var(--blue-500); }

/* --- 16. FAQ --------------------------------------------------------- */
.faq { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 11px; height: 11px;
  flex: none;
  border-right: 2.2px solid var(--green-500);
  border-bottom: 2.2px solid var(--green-500);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq .faq-body {
  padding: 0 22px 20px;
  font-size: .96rem;
  line-height: 1.62;
}

/* --- 17. Contact ----------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.contact-cards { display: grid; gap: 14px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-item .icon-badge { width: 46px; height: 46px; border-radius: 50%; }
.contact-item .icon-badge .icon { width: 21px; height: 21px; }
.contact-item h3 { margin: 0 0 2px; font-size: 1.02rem; }
.contact-item p { margin: 0; font-size: .94rem; }
.contact-item a { font-weight: 700; color: var(--navy-900); }
.contact-item a:hover { color: var(--green-600); }
.contact-item small { display: block; color: var(--ink-muted); font-size: .84rem; }

.form-wrap {
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .87rem;
  font-weight: 700;
  color: var(--navy-900);
}
.field label .req { color: var(--green-600); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: .96rem;
  color: var(--ink);
  background: #fdfefe;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(108, 179, 47, .15);
}
.field input::placeholder,
.field textarea::placeholder { color: #9db0bf; }

/* Aide et erreurs par champ ------------------------------------------------ */
.field-hint {
  margin: -2px 0 0;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.field-error {
  display: block;
  margin: 4px 0 0;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.45;
  color: #b3341c;
}
.field-error::before {
  content: "⚠ ";
  font-weight: 400;
}
.field.is-invalid label { color: #b3341c; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #d6452f;
  background: #fffaf9;
}
.field.is-invalid input:focus,
.field.is-invalid select:focus,
.field.is-invalid textarea:focus {
  border-color: #d6452f;
  box-shadow: 0 0 0 4px rgba(214, 69, 47, .16);
}
.consent.is-invalid { color: #b3341c; }
.consent.is-invalid input { outline: 2px solid #d6452f; outline-offset: 2px; }
.consent.is-invalid .field-error { color: #b3341c; }

.consent {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  grid-column: 1 / -1;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-muted);
}
.consent .field-error { flex: 1 0 100%; margin-left: 31px; }
.consent input {
  width: 19px; height: 19px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--green-600);
}
.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .8rem;
  color: var(--ink-muted);
}
.hp { position: absolute; left: -9999px; opacity: 0; }

.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  line-height: 1.55;
}
.alert .icon { flex: none; margin-top: 2px; }
.alert--ok {
  background: rgba(108, 179, 47, .12);
  border: 1px solid rgba(67, 150, 47, .35);
  color: #2c5f22;
}
.alert--err {
  background: rgba(214, 69, 47, .09);
  border: 1px solid rgba(214, 69, 47, .3);
  color: #9c3520;
}

/* --- 18. Appel à l'action final ------------------------------------- */
.cta-final { padding-block: 0 var(--section-y); }
.cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  color: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-lg);
}
.cta-box::after {
  content: "";
  position: absolute;
  inset: -60% -10% 30% 60%;
  background: radial-gradient(circle, rgba(108, 179, 47, .3), transparent 60%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; margin-bottom: 10px; }
.cta-box p { margin: 0; max-width: 56ch; }

/* --- 19. Pied de page ------------------------------------------------ */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .72);
  font-size: .93rem;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  padding-block: clamp(44px, 5vw, 68px) 40px;
}
.footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: var(--green-300); }
.footer ul { display: grid; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.footer-brand span {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon {
  width: 17px; height: 17px;
  margin-top: 4px;
  color: var(--green-300);
  flex: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* --- 20. Barre d'appel mobile --------------------------------------- */
.callbar {
  position: fixed;
  z-index: 90;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: none;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(14, 42, 71, .18);
}
.callbar .btn { flex: 1; padding: 12px 14px; font-size: .9rem; }

/* --- 21. Pages internes (mentions, etc.) ---------------------------- */
.page-hero {
  padding-block: clamp(40px, 5vw, 64px) clamp(28px, 3vw, 40px);
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(22, 172, 225, .1), transparent 65%),
    linear-gradient(180deg, #fff, #f6fafc);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 8px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .87rem;
  color: var(--ink-muted);
}
.legal { padding-block: clamp(40px, 5vw, 72px); }
.legal-body { max-width: 820px; }
.legal-body h2 {
  margin-top: 2em;
  padding-top: .6em;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h3 { margin-top: 1.6em; font-size: 1.08rem; }
.legal-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 1.2em;
  padding-left: 20px;
  list-style: disc;
}
.legal-body li { padding-left: 4px; }
.legal-body table {
  width: 100%;
  margin: 0 0 1.4em;
  border-collapse: collapse;
  font-size: .93rem;
}
.legal-body th,
.legal-body td {
  padding: 11px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal-body th { background: var(--surface-alt); color: var(--navy-900); }
.legal-body .todo {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 196, 0, .18);
  border: 1px dashed rgba(180, 130, 0, .5);
  font-size: .88em;
  font-weight: 700;
  color: #7a5600;
}
.legal-note {
  margin-bottom: 28px;
  padding: 16px 20px;
  background: var(--surface-alt);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--radius-sm);
  font-size: .92rem;
}

/* --- 22. Animations d'apparition ------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* --- 23. Adaptatif -------------------------------------------------- */
@media (max-width: 1180px) and (min-width: 961px) {
  /* Place disponible réduite : la barre supérieure porte déjà le téléphone. */
  .header-cta .btn { display: none; }
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commitments { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
  .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 84px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(14, 42, 71, .12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px; border-radius: var(--radius-sm); font-size: 1rem; }
  /* Écrans courts (mobile en paysage) : le menu défile au lieu de déborder. */
  .nav {
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }

  .hero-grid,
  .split,
  .split--wide-left,
  .panel-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  /* Sur mobile, le titre passe toujours avant l'image. */
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .hero-figure img { aspect-ratio: 4 / 3; }
  .hero-card { left: 12px; bottom: 14px; }
  .panel-figure img { min-height: 240px; }
  .figure-stack::after { display: none; }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    /* Place réservée à la barre d'appel fixe (+ encoche iOS). */
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  .topbar { font-size: .82rem; }
  .topbar .container { min-height: 0; padding-block: 6px; }
  .topbar-zone { display: none; }
  .topbar-list { gap: 2px 18px; }
  .topbar-list li a { display: inline-block; padding-block: 6px; }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .stat-row,
  .zone-grid,
  .panel-list,
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .trust .container { grid-template-columns: minmax(0, 1fr); }
  /* 10 engagements : deux colonnes évitent une colonne interminable. */
  .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .commitment { padding: 18px 14px; }
  .commitment h4 { font-size: .9rem; }
  .commitment p { font-size: .8rem; }

  .callbar { display: flex; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer ul { gap: 4px; }
  .footer ul li a,
  .footer-bottom ul li a { display: inline-block; padding-block: 7px; }
  /* Liens légaux empilés : lecture et zone de tap plus confortables. */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-bottom ul { flex-direction: column; gap: 0; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .cta-box .btn-row { width: 100%; }
  .cta-box .btn { flex: 1 1 auto; }
  .hero-card { position: static; max-width: none; margin-top: 14px; }
  .hero-figure img { aspect-ratio: 3 / 2; }

  /* Empêche le zoom automatique iOS à la mise au point d'un champ. */
  .field input,
  .field select,
  .field textarea { font-size: 16px; padding: 14px 15px; }
  .consent input { width: 22px; height: 22px; }

  .sector-label { padding: 18px 16px; }
  .sector-label h3 { font-size: 1rem; }
  .card-body { padding: 36px 20px 24px; }
  .card-body > .icon-badge { left: 20px; }
  .panel-body { padding: 28px 20px; }
}

@media (max-width: 420px) {
  /* Une seule colonne : cartes horizontales et compactes (icône à gauche). */
  .commitments { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .commitment {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 2px 14px;
    padding: 16px 18px;
    text-align: left;
  }
  .commitment .icon-badge {
    grid-row: 1 / span 2;
    margin: 0;
    width: 42px;
    height: 42px;
  }
  .commitment h4 { grid-column: 2; font-size: .95rem; margin-bottom: 4px; }
  .commitment p { grid-column: 2; font-size: .85rem; }
  .btn { padding: 13px 20px; font-size: .93rem; }
  .hero-badges .chip { font-size: .84rem; }
}

/* --- 24. Impression ------------------------------------------------- */
@media print {
  .header, .topbar, .callbar, .nav-toggle, .cta-final, .form-wrap { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .section { padding-block: 18pt; }
  a { color: #000; text-decoration: underline; }
}
