:root {
  --ink: #10141C;
  --ink-soft: #2B3340;
  --paper: #FFFFFF;
  --mist: #F6F7F9;
  --line: #E7E9ED;
  --blue: #2454B8;
  --blue-deep: #173B82;
  --blue-soft: #F0F2F5;
  --slate: #5B6472;
  --focus: #2454B8;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(16,20,28,0.04), 0 10px 24px rgba(16,20,28,0.05);
  --maxw: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* le scroll fluide est géré par Lenis (js/site.js) : garder "smooth" ici ferait cumuler deux animations de scroll et provoquerait des tremblements/saccades, surtout perceptibles en bas de page (footer). */
  scroll-padding-top: 90px;
  overscroll-behavior-y: none; /* empêche le rebond élastique natif du navigateur en haut/bas de page d'entrer en conflit avec l'inertie de Lenis (c'était la cause du tremblement près du footer). */
}

/* ---------- Filet de sécurité Lenis ----------
   Lenis ajoute automatiquement les classes "lenis" / "lenis-smooth" sur <html>.
   On force scroll-behavior à "auto" tant que Lenis est actif, quoi qu'il arrive,
   et on bloque le scroll natif pendant les transitions Lenis (évite tout à-coup). */
html.lenis {
  height: auto;
}
html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
html.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* laisse la place à la barre flottante */
  overscroll-behavior-y: none;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

.brand {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}


/* ==========================================================================
   Bandeau urgence
   ========================================================================== */

.top-bar {
  background: linear-gradient(90deg, #0A101E 0%, #123262 45%, #2454B8 78%, #3D6FD6 100%);
  color: #EAF0FE;
  font-size: 0.9rem;
  overflow: hidden;
  max-height: 62px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 -2px 0 rgba(255,107,94,0.9), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}

.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 13px;
  padding-bottom: 13px;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar.is-hidden {
  max-height: 0;
  opacity: 0;
}

.top-bar.is-hidden .wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.emergency-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease;
}

.emergency-line:hover {
  transform: translateY(-1px);
}

.emergency-line:hover .emergency-num {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF7A63 0%, #FF5A45 100%);
  color: #1A0E0B;
  padding: 6px 15px 6px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(255,90,69,0.4), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emergency-line:hover .emergency-badge {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255,90,69,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1A0E0B;
  flex-shrink: 0;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #1A0E0B;
  opacity: 0.55;
  animation: pulse-ring 2.2s cubic-bezier(.4,0,.3,1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(2.1); opacity: 0; }
}

.emergency-sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), transparent);
}

.emergency-icon {
  color: #9DB8EC;
  flex-shrink: 0;
}

.emergency-num {
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.015em;
}

.lang-switch {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  gap: 2px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 20px;
  padding: 4px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
}

.lang-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 16px;
  z-index: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), width 0.28s cubic-bezier(.4,0,.2,1);
}

.lang-switch button {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  color: #D9E2F7;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 13px;
  border-radius: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--blue-deep);
}

.lang-switch button:not([aria-pressed="true"]):hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .pulse::after { animation: none; opacity: 0; }
}


/* ==========================================================================
   Header
   ========================================================================== */

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

header.site.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(16,20,28,0.05);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: padding 0.3s ease;
}

header.site.is-scrolled .wrap {
  padding-top: 11px;
  padding-bottom: 11px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.28rem;
  text-decoration: none;
}

.brand .mark {
  height: 116px;
  width: auto;
  flex-shrink: 0;
}

nav.primary {
  display: none;
  gap: 32px;
}

nav.primary a {
  position: relative;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 0;
}

nav.primary a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: left 0.25s cubic-bezier(.4,0,.2,1), right 0.25s cubic-bezier(.4,0,.2,1);
}

nav.primary a:hover {
  color: var(--ink);
}

nav.primary a:hover::after {
  left: 0;
  right: 0;
}

nav.primary a.active {
  color: var(--blue);
  font-weight: 600;
}

nav.primary a.active::after {
  left: 0;
  right: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #173B82 0%, #2454B8 55%, #3D6FD6 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0F2C66 0%, #1E48A0 55%, #2454B8 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(23,59,130,0.3);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-link {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: var(--blue);
}

.menu-toggle {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.menu-toggle svg {
  color: inherit;
  overflow: visible;
}

.menu-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.menu-toggle.is-open {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.menu-toggle .ham-line {
  transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.menu-toggle.is-open .ham-top {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .ham-mid {
  opacity: 0;
}

.menu-toggle.is-open .ham-bottom {
  transform: translateY(-6px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle .ham-line { transition: none; }
}


/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 60px 0 68px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-copy .kicker {
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  font-family: 'Inter', sans-serif;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 5.2vw, 3rem);
  max-width: 15ch;
}

.hero-copy p {
  max-width: 46ch;
  color: var(--slate);
  font-size: 1.05rem;
  margin: 18px 0 28px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  padding: 14px 28px;
  font-size: 0.96rem;
}

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: var(--slate);
  font-weight: 500;
}

.avail-badge .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E9B5C;
  flex-shrink: 0;
}

.avail-badge .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #2E9B5C;
  opacity: 0.55;
  animation: pulse-ring 2.2s cubic-bezier(.4,0,.3,1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .avail-badge .dot::after { animation: none; opacity: 0; }
}

.hero-art--photo {
  padding: 0;
  background: transparent;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(16,20,28,0.04),
    0 2px 4px rgba(16,20,28,0.05),
    0 8px 16px rgba(16,20,28,0.07),
    0 22px 44px rgba(23,59,130,0.14),
    0 48px 96px rgba(23,59,130,0.24);
  transition: transform 0.5s cubic-bezier(.16,.8,.3,1), box-shadow 0.5s cubic-bezier(.16,.8,.3,1);
}

.hero-art--photo:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(16,20,28,0.04),
    0 4px 10px rgba(16,20,28,0.07),
    0 14px 28px rgba(16,20,28,0.09),
    0 34px 64px rgba(23,59,130,0.20),
    0 66px 120px rgba(23,59,130,0.30);
}

.hero-art--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.001); /* évite un léger liseré d'arrondi visible au repos sur certains navigateurs */
  transition: transform 0.7s cubic-bezier(.16,.8,.3,1), filter 0.7s ease;
}

.hero-art--photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) brightness(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .hero-art--photo,
  .hero-art--photo img {
    transition: none;
  }
  .hero-art--photo:hover {
    transform: none;
  }
  .hero-art--photo:hover img {
    transform: none;
    filter: none;
  }
}


/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  padding: 34px 20px;
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.trust-item span {
  color: var(--slate);
  font-size: 0.86rem;
}

/* Page à-propos : trio de statistiques (10 ans / NIBT-OIBT / 7j7) — grille dédiée,
   distincte de .trust .wrap (qui reste pensée pour 4 éléments sur l'accueil),
   pour bien répartir et aérer ces 3 éléments à chaque taille d'écran. */
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 36px 0;
}


/* ==========================================================================
   Sections communes
   ========================================================================== */

section {
  padding: 68px 0;
}

.section-head {
  max-width: 56ch;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
}

.section-head p {
  color: var(--slate);
  margin: 12px 0 0;
  font-size: 1rem;
}


/* ==========================================================================
   Services
   ========================================================================== */

#services {
  background: var(--mist);
}

.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.service-card {
  border: 1px solid rgba(11,18,32,0.06);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-m);
  padding: 26px;
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(11,18,32,0.06), 0 16px 32px rgba(11,18,32,0.09);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  margin-bottom: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: #fff;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--slate);
  font-size: 0.92rem;
  margin: 0;
}


/* ==========================================================================
   Process
   ========================================================================== */

.process {
  background: var(--ink);
  color: #E9EAED;
}

.process .section-head p {
  color: #A8AEB8;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.process-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(126,163,236,0.5);
  color: #9DB8EC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.process-list h3 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.process-list p {
  color: #A8AEB8;
  font-size: 0.9rem;
  margin: 0;
  max-width: 46ch;
}


/* ==========================================================================
   Panneau d'information (réutilisable)
   ========================================================================== */

.info-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(640px 420px at 105% -12%, rgba(36,84,184,0.16) 0%, transparent 60%),
    radial-gradient(480px 340px at -10% 112%, rgba(46,155,146,0.09) 0%, transparent 62%),
    linear-gradient(150deg, var(--blue-soft) 0%, var(--paper) 62%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 24px;
  padding: 44px clamp(24px, 5vw, 56px);
  box-shadow: 0 1px 2px rgba(16,20,28,0.04), 0 32px 60px rgba(23,59,130,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
}

.info-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(36,84,184,0.14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: calc(100% + 22px) -22px;
  -webkit-mask-image: radial-gradient(320px 320px at 100% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(320px 320px at 100% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

.info-panel::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 190px;
  height: 190px;
  z-index: 0;
  background: var(--blue-deep);
  opacity: 0.05;
  clip-path: polygon(58% 0%, 24% 55%, 46% 55%, 38% 100%, 76% 42%, 54% 42%);
  pointer-events: none;
}

.info-panel > * {
  position: relative;
  z-index: 2;
}

.info-panel .section-head,
.info-panel > h2 {
  margin-bottom: 30px;
}

.expertise-grid {
  display: grid;
  gap: 28px 32px;
  grid-template-columns: 1fr;
}

.expertise-item h3 {
  font-size: 1.02rem;
  margin: 4px 0 6px;
}

.expertise-item p {
  color: var(--slate);
  font-size: 0.92rem;
  margin: 0;
  max-width: 40ch;
}

.expertise-item .service-icon {
  margin-bottom: 4px;
}


/* ==========================================================================
   Zone d'intervention
   ========================================================================== */

.area {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.area .wrap {
  display: grid;
  gap: 30px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.area-list span {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}


/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--mist);
}

.contact .wrap {
  display: grid;
  gap: 40px;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--slate);
  max-width: 42ch;
}

.contact-panel {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 0;
}

.contact-detail svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.contact-detail span {
  color: var(--slate);
  font-size: 0.88rem;
}

form.quote {
  background: var(--blue-soft);
  border-radius: var(--radius-m);
  padding: 28px;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
}

.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.94rem;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:hover, .field select:hover, .field textarea:hover {
  border-color: #C7CCD4;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36,84,184,0.12);
  outline: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: var(--ink);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2356606E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.field select option {
  color: var(--ink);
  background-color: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.row-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.form-note {
  font-size: 0.8rem;
  color: var(--slate);
  margin: 0;
}

/* ---------- Message de confirmation / erreur du formulaire ---------- */
.form-status {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-m);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  box-shadow: var(--shadow-card);
  transition: opacity 0.4s cubic-bezier(.16,.8,.3,1), transform 0.4s cubic-bezier(.16,.8,.3,1), background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-status.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.form-status-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.form-status.is-success {
  background: #EDF8F1;
  color: #1E6B3D;
  border: 1px solid #CBEAD7;
}

.form-status.is-success .form-status-icon {
  background: #2E9B5C;
  color: #fff;
}

.form-status.is-error {
  background: #FCEEEE;
  color: #96271F;
  border: 1px solid #F3CFCC;
}

.form-status.is-error .form-status-icon {
  background: #C53B32;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .form-status {
    transition: none;
  }
}


/* ==========================================================================
   Footer
   ========================================================================== */

footer.site {
  background: var(--ink);
  color: #C9CED6;
  padding: 64px 0 32px;
}

footer.site .wrap {
  display: grid;
  gap: 44px;
}

.foot-brand .brand {
  color: #fff;
}

.foot-brand p {
  color: #A8AEB8;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 36ch;
  margin-top: 14px;
}


/* ---- Réseaux sociaux (footer) ---- */

.foot-social {
  display: flex;
  gap: clamp(10px, 2vw, 14px);
  margin-top: 20px;
}

.foot-social a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 4vw, 46px);
  height: clamp(38px, 4vw, 46px);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  color: #E9EAED;
  isolation: isolate;
  overflow: hidden;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.35s ease;
}

.foot-social a svg {
  position: relative;
  z-index: 1;
  width: 46%;
  height: 46%;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}

/* halo dégradé, invisible par défaut, apparaît en fondu au survol */
.foot-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #173B82 0%, #2454B8 55%, #3D6FD6 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.foot-social a:hover,
.foot-social a:focus-visible {
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(36,84,184,0.4), 0 2px 8px rgba(0,0,0,0.25);
}

.foot-social a:hover::before,
.foot-social a:focus-visible::before {
  opacity: 1;
}

.foot-social a:hover svg,
.foot-social a:focus-visible svg {
  transform: scale(1.12);
}

.foot-social a:active {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .foot-social a,
  .foot-social a svg,
  .foot-social a::before { transition: none; }
}

/* tablette / desktop : un peu plus d'air entre les icônes */
@media (min-width: 720px) {
  .foot-social { gap: 16px; }
}


/* ---- Colonnes de liens (footer) ---- */

.foot-links h4 {
  color: #EDEFF3;
  font-size: 0.78rem;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foot-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.foot-links li {
  position: relative;
}

.foot-links li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 7px;
  height: 1.5px;
  background: var(--blue);
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.foot-links li:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.foot-links a {
  text-decoration: none;
  color: #A8AEB8;
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.foot-links a:hover {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .foot-links li::before { transition: none; }
}


/* ---- Ligne de copyright (footer) ---- */

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #7C8390;
}


/* ==========================================================================
   Barre flottante Appeler / Logo / Devis
   ========================================================================== */

.floating-actions {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  /* Fond quasi opaque et SANS flou : un backdrop-filter sur une barre fixe doit être
     recalculé à chaque image en fonction de ce qui défile juste en dessous — et comme
     cette barre reste épinglée juste au-dessus du footer, c'était justement là que ce
     recalcul coûteux et continu provoquait le tremblement. Le fond étant déjà à 97%
     opaque, l'absence de flou ne change quasiment rien visuellement. */
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(11,18,32,0.06);
  z-index: 50;
}

.floating-actions .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 14px;
}

.fa-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(36,84,184,0.28);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fa-whatsapp svg {
  color: var(--blue);
  flex-shrink: 0;
}

.fa-whatsapp:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 2px 10px rgba(36,84,184,0.18);
}

.fa-logo {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-6px);
  box-shadow: 0 4px 10px rgba(11,18,32,0.25);
  border: 3px solid #fff;
}

.fa-logo svg {
  width: 22px;
  height: 22px;
}

.fa-quote {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #173B82 0%, #2454B8 55%, #3D6FD6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fa-quote:hover {
  background: linear-gradient(135deg, #0F2C66 0%, #1E48A0 55%, #2454B8 100%);
}


/* ==========================================================================
   Responsive : tablette / desktop
   ========================================================================== */

@media (min-width: 720px) {
  .trust .wrap {
    grid-template-columns: repeat(4, 1fr);
    padding: 26px 20px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 44px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .area .wrap {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  footer.site .wrap {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 56px;
  }

  .expertise-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 44px;
  }
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 0.9fr 1.1fr;
  }

  nav.primary {
    display: flex;
  }

  .phone-link {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact .wrap {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .contact-panel {
    gap: 30px;
  }
}


/* ==========================================================================
   Menu mobile
   ========================================================================== */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 20px 16px;
}

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

.mobile-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 12px 4px;
  font-size: 0.98rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a.active {
  color: var(--blue);
}

@media (min-width: 900px) {
  .mobile-nav { display: none !important; }
}


/* ==========================================================================
   Apparition au scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0); /* translate3d force la carte graphique à gérer l'animation (évite les micro-saccades quand plusieurs éléments apparaissent pendant un scroll continu) */
  transition: opacity 0.65s cubic-bezier(.16,.8,.3,1), transform 0.65s cubic-bezier(.16,.8,.3,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-stagger.in-view {
  transition-delay: var(--stagger, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}