/* ==========================================================================
   WebAurion — Création & Passion
   Feuille de style unique. Aucune dépendance, aucun framework.

   Sommaire
   01. Réglages et jetons de design
   02. Base et typographie
   03. Boutons et liens
   04. En-tête, navigation, tiroir mobile
   05. Hero d'accueil
   06. Structure des sections
   07. Bandeau défilant
   08. Présentation (blocs image / texte)
   09. Chiffres clés
   10. Services
   11. Pourquoi WebAurion
   12. Réalisations et maquettes navigateur
   13. Témoignages
   14. Bandeau d'appel à l'action
   15. En-tête des pages intérieures
   16. Galerie et visionneuse
   17. Formulaires
   18. Contact et carte
   19. Pages légales
   20. Pied de page et utilitaires flottants
   21. Apparitions au défilement
   22. Adaptations mobiles
   ========================================================================== */

/* ==========================================================================
   01. RÉGLAGES ET JETONS DE DESIGN
   ========================================================================== */
:root {
  /* Couleurs issues du logo WebAurion */
  --navy-950: #041d31;
  --navy-900: #062c48;
  --navy: #0a3d62;
  --navy-700: #0f4e7c;
  --navy-600: #17608f;
  --blue: #4a69bd;
  --blue-400: #6a89cc;
  --blue-200: #a8bce6;
  --pale: #dff9fb;

  /* Neutres chauds */
  --cream: #f7f4ef;
  --cream-dark: #efeae1;
  --paper: #ffffff;
  --ink: #10233a;
  --ink-soft: #4c5f74;
  --ink-mute: #7c8b9c;
  --line: rgba(10, 61, 98, .12);

  /* Typographie */
  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-hero: clamp(2.9rem, 7.2vw, 6.4rem);
  --fs-h1: clamp(2.4rem, 5.4vw, 4.4rem);
  --fs-h2: clamp(1.95rem, 3.9vw, 3.2rem);
  --fs-h3: clamp(1.25rem, 1.9vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-eyebrow: .78rem;

  /* Rythme */
  --wrap: 1240px;
  --wrap-narrow: 880px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Formes */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Ombres teintées marine */
  --sh-sm: 0 2px 10px rgba(6, 44, 72, .06);
  --sh-md: 0 14px 40px -18px rgba(6, 44, 72, .35);
  --sh-lg: 0 40px 90px -40px rgba(6, 44, 72, .55);
  --sh-glow: 0 24px 60px -24px rgba(74, 105, 189, .55);

  /* Mouvements */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .22s var(--ease-soft);
  --t-med: .45s var(--ease);
  --t-slow: .9s var(--ease);

  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

body.is-locked { overflow: hidden; }

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

/* ==========================================================================
   02. BASE ET TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.0625rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

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

a { color: inherit; text-decoration: none; }

strong { font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

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

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

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow, .bg-navy .eyebrow, .bg-navy-soft .eyebrow,
.hero .eyebrow, .cta .eyebrow, .page-hero .eyebrow { color: var(--blue-200); }

/* Mot mis en valeur, en italique claire — signature typographique du site */
.accent {
  font-style: italic;
  color: var(--blue);
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
.on-dark .accent, .bg-navy .accent, .bg-navy-soft .accent,
.hero .accent, .cta .accent, .page-hero .accent { color: var(--blue-200); }

.text-pale { color: var(--pale); }

/* ==========================================================================
   03. BOUTONS ET LIENS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.02rem 1.9rem;
  font-family: var(--font-sans);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-700) 100%);
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-glow);
  transition: transform var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  text-align: center;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--blue) 100%);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 28px 60px -22px rgba(74, 105, 189, .7); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--lg { padding: 1.18rem 2.3rem; font-size: 1rem; }
.btn--sm { padding: .74rem 1.35rem; font-size: .875rem; }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: none;
  border: 1px solid var(--line);
}
.btn--ghost::after { background: var(--navy); }
.btn--ghost:hover { color: #fff; box-shadow: var(--sh-md); }

.on-dark .btn--ghost, .bg-navy .btn--ghost, .bg-navy-soft .btn--ghost,
.hero .btn--ghost, .cta .btn--ghost, .page-hero .btn--ghost {
  color: #fff;
  border-color: rgba(223, 249, 251, .32);
}
.on-dark .btn--ghost::after, .bg-navy .btn--ghost::after, .bg-navy-soft .btn--ghost::after,
.hero .btn--ghost::after, .cta .btn--ghost::after, .page-hero .btn--ghost::after { background: rgba(223, 249, 251, .14); }
.on-dark .btn--ghost:hover, .bg-navy .btn--ghost:hover, .bg-navy-soft .btn--ghost:hover,
.hero .btn--ghost:hover, .cta .btn--ghost:hover, .page-hero .btn--ghost:hover { color: var(--pale); border-color: rgba(223, 249, 251, .5); }

.btn--pale {
  background: var(--pale);
  color: var(--navy);
  box-shadow: 0 24px 60px -28px rgba(223, 249, 251, .8);
}
.btn--pale::after { background: #fff; }

.btn[data-loading] { pointer-events: none; opacity: .72; }
.btn[data-loading] .btn__label { opacity: .35; }
.btn[data-loading]::before {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Lien fléché */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue);
  transition: gap var(--t-fast), color var(--t-fast);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--t-fast); }
.link-arrow:hover { gap: .85rem; color: var(--navy); }
.on-dark .link-arrow { color: var(--blue-200); }
.on-dark .link-arrow:hover { color: var(--pale); }

/* ==========================================================================
   04. EN-TÊTE, NAVIGATION, TIROIR MOBILE
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t-med), box-shadow var(--t-med), backdrop-filter var(--t-med);
}
.site-header.is-stuck {
  background: rgba(6, 44, 72, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(223, 249, 251, .1), 0 18px 40px -30px rgba(0, 0, 0, .8);
}
/* Sur les pages à fond clair, l'en-tête est marine dès le départ */
.site-header.is-solid {
  background: rgba(6, 44, 72, .96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-right: auto;
  transition: opacity var(--t-fast);
}
.brand:hover { opacity: .85; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--pale);
  letter-spacing: -.01em;
}
.brand__tag {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-top: .34rem;
  font-weight: 500;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: block;
  padding: .6rem .95rem;
  font-size: .93rem;
  font-weight: 500;
  color: rgba(223, 249, 251, .8);
  border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: #fff; background: rgba(223, 249, 251, .09); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .18rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-400);
  transform: translateX(-50%);
}

.nav__actions { display: flex; align-items: center; gap: .85rem; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--pale);
  padding: .5rem .2rem;
  transition: color var(--t-fast);
}
.nav__phone svg { width: 17px; height: 17px; color: var(--blue-400); }
.nav__phone:hover { color: #fff; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(223, 249, 251, .25);
  border-radius: 50%;
  background: rgba(223, 249, 251, .06);
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--pale);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform var(--t-med), opacity var(--t-fast), top var(--t-med);
}
.burger span { top: 50%; margin-top: -.75px; }
.burger span::before { content: ""; top: -6px; left: 0; transform: none; }
.burger span::after { content: ""; top: 6px; left: 0; transform: none; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--pale); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: var(--pale); }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 100%);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-med), opacity var(--t-med), visibility var(--t-med);
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.nav-drawer__list a {
  display: block;
  padding: .75rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 500;
  color: rgba(223, 249, 251, .88);
  border-bottom: 1px solid rgba(223, 249, 251, .1);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.nav-drawer__list a:hover,
.nav-drawer__list a.is-active { color: #fff; padding-left: .6rem; }
.nav-drawer__footer {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-drawer__phone {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pale);
}
.nav-drawer__socials { display: flex; gap: .6rem; margin-top: .4rem; }

/* Barre de progression de lecture */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--pale) 100%);
  z-index: 101;
  pointer-events: none;
}

/* ==========================================================================
   05. HERO D'ACCUEIL
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -4%;
  z-index: -3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(115%);
  transform: scale(1.06);
  animation: heroZoom 26s var(--ease-soft) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 12% 25%, rgba(6, 44, 72, .92) 0%, rgba(6, 44, 72, .74) 42%, rgba(4, 29, 49, .86) 100%),
    linear-gradient(180deg, rgba(4, 29, 49, .9) 0%, rgba(4, 29, 49, .35) 40%, rgba(4, 29, 49, .96) 100%);
}

/* Halos colorés animés — l'effet « aurore » de la marque */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero__aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.hero__aurora span:nth-child(1) {
  width: 46vw; height: 46vw;
  top: -12%; right: -6%;
  background: radial-gradient(circle, rgba(74, 105, 189, .75) 0%, rgba(74, 105, 189, 0) 70%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.hero__aurora span:nth-child(2) {
  width: 38vw; height: 38vw;
  bottom: -14%; left: -8%;
  background: radial-gradient(circle, rgba(23, 96, 143, .8) 0%, rgba(23, 96, 143, 0) 70%);
  animation: drift2 28s ease-in-out infinite alternate;
}
.hero__aurora span:nth-child(3) {
  width: 26vw; height: 26vw;
  top: 42%; left: 46%;
  background: radial-gradient(circle, rgba(223, 249, 251, .3) 0%, rgba(223, 249, 251, 0) 70%);
  animation: drift3 19s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(-7vw, 6vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(6vw, -5vh, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(-4vw, -7vh, 0) scale(1.2); } }

/* Grain discret pour éviter le banding des dégradés */
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  color: #fff;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.05rem .5rem .6rem;
  border: 1px solid rgba(223, 249, 251, .22);
  background: rgba(223, 249, 251, .07);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--pale);
  margin-bottom: 2rem;
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .6rem;
  border-radius: var(--r-pill);
  background: var(--blue);
  font-size: .68rem;
  letter-spacing: .14em;
  font-weight: 600;
}
.hero__badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7ef0c0;
  box-shadow: 0 0 0 0 rgba(126, 240, 192, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(126, 240, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 240, 192, 0); }
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0 0 1.6rem;
  max-width: 15ch;
  color: #fff;
  text-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.15s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: .15s; }
.hero__title .line:nth-child(2) > span { animation-delay: .3s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.6;
  color: rgba(223, 249, 251, .88);
  max-width: 56ch;
  margin: 0 0 2.6rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) .55s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__actions {
  opacity: 0;
  animation: fadeUp 1s var(--ease) .75s forwards;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin-top: 3.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(223, 249, 251, .16);
  max-width: 720px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) .95s forwards;
}
.hero__proof div strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.hero__proof div span {
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(223, 249, 251, .65);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(223, 249, 251, .5);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, rgba(223, 249, 251, .6), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 16px;
  background: var(--pale);
  animation: scrollDot 2.2s var(--ease-soft) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-16px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(52px); opacity: 0; }
}

/* ==========================================================================
   06. STRUCTURE DES SECTIONS
   ========================================================================== */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section {
  position: relative;
  padding: var(--section-y) 0;
}
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-navy {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: rgba(223, 249, 251, .82);
}
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .lead { color: rgba(223, 249, 251, .78); }

.bg-navy-soft {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
  color: rgba(223, 249, 251, .82);
}
.bg-navy-soft h2, .bg-navy-soft h3 { color: #fff; }

/* Filet décoratif en haut de section sombre */
.bg-navy::before, .bg-navy-soft::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 249, 251, .25), transparent);
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p.lead { margin-top: 1.1rem; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   07. BANDEAU DÉFILANT
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 0;
  background: var(--navy);
  border-block: 1px solid rgba(223, 249, 251, .12);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
}
.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 500;
  color: rgba(223, 249, 251, .82);
  white-space: nowrap;
}
.marquee__group span::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   08. PRÉSENTATION (BLOCS IMAGE / TEXTE)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media--tall img { aspect-ratio: 3 / 4; }

/* Cartouche flottant posé sur l'image */
.float-card {
  position: absolute;
  right: -1.2rem;
  bottom: -1.6rem;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 280px;
}
.float-card__icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-700) 100%);
  color: #fff;
}
.float-card__icon svg { width: 21px; height: 21px; }
.float-card strong { display: block; font-size: .98rem; color: var(--ink); line-height: 1.3; }
.float-card span { font-size: .82rem; color: var(--ink-mute); }

/* Décor : symbole WebAurion en filigrane */
.watermark {
  position: absolute;
  width: min(46vw, 520px);
  opacity: .04;
  pointer-events: none;
  z-index: 0;
}
.watermark--tr { top: -6%; right: -8%; }
.watermark--bl { bottom: -10%; left: -10%; }

.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 1.6rem;
}
.signature small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: .35rem;
}

/* Liste à puces cochées */
.check-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .9rem; }
.check-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  font-size: 1rem;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: .18rem;
  border-radius: 50%;
  background: rgba(74, 105, 189, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a69bd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.bg-navy .check-list li::before, .on-dark .check-list li::before {
  background-color: rgba(223, 249, 251, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dff9fb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   09. CHIFFRES CLÉS
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(223, 249, 251, .16);
  border: 1px solid rgba(223, 249, 251, .16);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: linear-gradient(180deg, rgba(10, 61, 98, .5), rgba(4, 29, 49, .5));
  padding: clamp(1.8rem, 3vw, 2.8rem) clamp(1.2rem, 2vw, 2rem);
  text-align: center;
  transition: background var(--t-med);
}
.stat:hover { background: rgba(74, 105, 189, .22); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
}
.stat__label {
  display: block;
  margin-top: .7rem;
  font-size: .84rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(223, 249, 251, .68);
}

/* ==========================================================================
   10. SERVICES
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(74, 105, 189, .07) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: rgba(74, 105, 189, .34);
}
.card:hover::before { opacity: 1; }

.card__num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--blue);
  letter-spacing: .1em;
  margin-bottom: 1.4rem;
  display: block;
}
.card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(74, 105, 189, .14), rgba(10, 61, 98, .08));
  color: var(--navy);
  margin-bottom: 1.5rem;
  transition: transform var(--t-med), background var(--t-med), color var(--t-med);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon {
  transform: scale(1.06) rotate(-4deg);
  background: linear-gradient(140deg, var(--blue), var(--navy-700));
  color: #fff;
}
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--ink-soft); font-size: .99rem; }
.card__list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: .5rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.card__list li { display: flex; gap: .6rem; align-items: baseline; }
.card__list li::before { content: "—"; color: var(--blue); flex: none; }

.card--dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%);
  border-color: rgba(223, 249, 251, .16);
  color: rgba(223, 249, 251, .8);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(223, 249, 251, .74); }
.card--dark .card__icon { background: rgba(223, 249, 251, .1); color: var(--pale); }
.card--dark .card__list { border-color: rgba(223, 249, 251, .16); color: rgba(223, 249, 251, .7); }

/* ==========================================================================
   11. POURQUOI WEBAURION
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem);
}
.feature { position: relative; padding-left: 4.2rem; }
.feature__icon {
  position: absolute;
  left: 0;
  top: .1rem;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(223, 249, 251, .2);
  background: rgba(223, 249, 251, .06);
  color: var(--pale);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.feature p { font-size: .96rem; color: rgba(223, 249, 251, .72); }

/* Variante claire */
.features--light .feature__icon {
  border-color: var(--line);
  background: rgba(74, 105, 189, .08);
  color: var(--blue);
}
.features--light .feature p { color: var(--ink-soft); }

/* Étapes numérotées */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue);
  opacity: .9;
}
.step::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  left: 2.8rem;
  right: -1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(74, 105, 189, .4), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.step p { font-size: .94rem; color: var(--ink-soft); }
.bg-navy .step p, .bg-navy-soft .step p { color: rgba(223, 249, 251, .72); }

/* ==========================================================================
   12. RÉALISATIONS ET MAQUETTES NAVIGATEUR
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.4rem);
}

.work {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.work:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }

.work__frame {
  position: relative;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-950));
  padding: .9rem .9rem 0;
}
.work__bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .2rem .7rem;
}
.work__bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(223, 249, 251, .28);
  display: block;
}
.work__url {
  flex: 1;
  margin-left: .6rem;
  height: 22px;
  border-radius: var(--r-pill);
  background: rgba(223, 249, 251, .1);
  display: flex;
  align-items: center;
  padding: 0 .7rem;
  font-size: .66rem;
  letter-spacing: .04em;
  color: rgba(223, 249, 251, .6);
  overflow: hidden;
  white-space: nowrap;
}
/* Quand l'adresse est un vrai lien vers le site en ligne */
a.work__url {
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
a.work__url:hover {
  background: rgba(223, 249, 251, .22);
  color: #fff;
}
.work__shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: var(--navy-950);
}
.work__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.work:hover .work__shot img { transform: scale(1.07); }
.work__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 29, 49, .1) 0%, rgba(4, 29, 49, .55) 100%);
}

.work__body { padding: 1.5rem 1.6rem 1.7rem; }
.work__tag {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.work__body h3 { font-size: 1.35rem; margin: .5rem 0 .5rem; }
.work__body p { font-size: .94rem; color: var(--ink-soft); margin-bottom: 1rem; }
.work__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.chip {
  display: inline-block;
  padding: .3rem .75rem;
  border-radius: var(--r-pill);
  background: rgba(10, 61, 98, .07);
  font-size: .76rem;
  color: var(--navy);
  letter-spacing: .02em;
}
.on-dark .chip, .bg-navy .chip {
  background: rgba(223, 249, 251, .12);
  color: var(--pale);
}

/* Variante « projet confidentiel » */
.work--soon .work__shot {
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(74, 105, 189, .5), transparent 65%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
}
.work--soon .work__shot span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: rgba(223, 249, 251, .8);
  text-align: center;
  padding: 0 2rem;
}
.work--soon .work__shot::after { display: none; }

/* ==========================================================================
   13. TÉMOIGNAGES
   ========================================================================== */
.testi-wrap { position: relative; }
.testi-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem .25rem 1.6rem;
  margin: 0 -.25rem;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi {
  flex: 0 0 min(420px, 84vw);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.1rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-sm);
}
.testi__stars { display: flex; gap: .2rem; color: #e8b04b; margin-bottom: 1.1rem; }
.testi__stars svg { width: 16px; height: 16px; }
.testi__quote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.6rem;
  flex: 1;
}
.testi__who { display: flex; align-items: center; gap: .9rem; }
.testi__avatar {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(140deg, var(--blue), var(--navy));
}
.testi__who strong { display: block; font-size: .96rem; }
.testi__who span { font-size: .84rem; color: var(--ink-mute); }

.testi-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: .4rem; }
.testi-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.testi-nav button svg { width: 18px; height: 18px; }
.testi-nav button:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   14. BANDEAU D'APPEL À L'ACTION
   ========================================================================== */
.cta {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: #fff;
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 90% at 50% 50%, rgba(10, 61, 98, .82) 0%, rgba(4, 29, 49, .94) 100%);
}
.cta h2 { font-size: var(--fs-h1); color: #fff; max-width: 18ch; margin-inline: auto; }
.cta p {
  font-size: var(--fs-lead);
  color: rgba(223, 249, 251, .85);
  max-width: 60ch;
  margin: 0 auto 2.4rem;
}

/* ==========================================================================
   15. EN-TÊTE DES PAGES INTÉRIEURES
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(4rem, 8vw, 7rem)) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--navy-950);
}
.page-hero__media { position: absolute; inset: 0; z-index: -3; }
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Léger flou : la photo sert d'ambiance derrière un voile marine, jamais de sujet */
  filter: saturate(110%) blur(1.5px);
  transform: scale(1.02);
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 29, 49, .92) 0%, rgba(6, 44, 72, .78) 55%, rgba(4, 29, 49, .95) 100%);
}
.page-hero__inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.page-hero__title { font-size: var(--fs-h1); color: #fff; margin-bottom: 1.1rem; max-width: 18ch; }
.page-hero__sub {
  font-size: var(--fs-lead);
  color: rgba(223, 249, 251, .82);
  max-width: 62ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: rgba(223, 249, 251, .6);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: rgba(223, 249, 251, .82); transition: color var(--t-fast); }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   16. GALERIE ET VISIONNEUSE
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  padding: .62rem 1.25rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter:hover { border-color: var(--blue); color: var(--navy); }
.filter[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  gap: 1rem;
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: zoom-in;
  background: var(--navy-950);
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter .6s var(--ease);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 29, 49, 0) 40%, rgba(4, 29, 49, .85) 100%);
  opacity: .75;
  transition: opacity var(--t-med);
}
.shot:hover img { transform: scale(1.08); }
.shot:hover::after { opacity: .95; }
.shot__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.2rem 1.3rem;
  text-align: left;
  transform: translateY(6px);
  opacity: .92;
  transition: transform var(--t-med), opacity var(--t-med);
}
.shot:hover .shot__caption { transform: translateY(0); opacity: 1; }
.shot__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.25;
}
.shot__caption span {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-200);
}
.shot__zoom {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 1;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(223, 249, 251, .16);
  backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity var(--t-med), transform var(--t-med);
}
.shot__zoom svg { width: 17px; height: 17px; }
.shot:hover .shot__zoom { opacity: 1; transform: scale(1); }
.shot.is-hidden { display: none; }

.gallery-empty {
  text-align: center;
  padding: 3rem 0;
  color: var(--ink-mute);
}

/* Visionneuse plein écran */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 29, 49, .96);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure {
  margin: 0;
  max-width: min(1180px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: scale(.97);
  transition: transform var(--t-med);
}
.lightbox.is-open .lightbox__figure { transform: scale(1); }
.lightbox__figure img {
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--r-md);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9);
  object-fit: contain;
}
.lightbox__caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  color: rgba(223, 249, 251, .8);
  font-size: .92rem;
}
.lightbox__caption strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  text-transform: none;
  letter-spacing: -.01em;
}
.lightbox__caption [data-lb-cat] { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-200); }
.lightbox__counter { font-variant-numeric: tabular-nums; }

.lightbox button {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(223, 249, 251, .22);
  background: rgba(223, 249, 251, .1);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lightbox button:hover { background: rgba(223, 249, 251, .24); transform: scale(1.06); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.6rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* ==========================================================================
   17. FORMULAIRES
   ========================================================================== */
.form-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  box-shadow: var(--sh-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label,
.consent label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .01em;
}
.req { color: var(--blue); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .92rem 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c5f74' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #9dabb9; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 105, 189, .14);
}
.field__hint { font-size: .8rem; color: var(--ink-mute); }
.field__error { font-size: .82rem; color: #c0392b; min-height: 0; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }
.consent.has-error .field__error { display: block; }

/* Choix visuels du type de demande */
.choice-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .7rem;
}
.choice-grid legend,
.choice-grid .field__error { grid-column: 1 / -1; }
.choice-grid.has-error .choice__box { border-color: #c0392b; }

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.choice__box {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  height: 100%;
  padding: 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fbfbfc;
  transition: all var(--t-fast);
}
.choice__box svg { width: 22px; height: 22px; color: var(--blue); }
.choice__box strong { font-size: .95rem; font-weight: 600; }
.choice__box span { font-size: .8rem; color: var(--ink-mute); line-height: 1.4; }
.choice input:checked + .choice__box {
  border-color: var(--blue);
  background: rgba(74, 105, 189, .07);
  box-shadow: 0 0 0 3px rgba(74, 105, 189, .12);
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--blue-400); outline-offset: 2px; }

.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .1rem .8rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  background: rgba(10, 61, 98, .04);
  border: 1px solid var(--line);
}
.consent input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: .15rem;
  accent-color: var(--blue);
  cursor: pointer;
}
.consent label { font-weight: 400; font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }
.consent label a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.consent .field__error { grid-column: 2; }

.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  gap: .8rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-md);
  font-size: .94rem;
  line-height: 1.55;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.form-status--ok { background: rgba(39, 174, 96, .1); color: #1e7a45; border: 1px solid rgba(39, 174, 96, .25); }
.form-status--ko { background: rgba(192, 57, 43, .08); color: #a33125; border: 1px solid rgba(192, 57, 43, .22); }
.form-status a { text-decoration: underline; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .5rem;
}
.form-foot .note { font-size: .85rem; color: var(--ink-mute); margin: 0; max-width: 34ch; }

/* Colonne rassurante */
.aside-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%);
  color: rgba(223, 249, 251, .82);
  border-radius: var(--r-xl);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1.4rem;
  border: 1px solid rgba(223, 249, 251, .14);
}
.aside-card:last-child { margin-bottom: 0; }
.aside-card h3 { color: #fff; font-size: 1.3rem; }
.aside-card p { font-size: .95rem; color: rgba(223, 249, 251, .76); }

.trust-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.trust-list li { display: flex; gap: .9rem; align-items: flex-start; font-size: .92rem; }
.trust-list svg { width: 20px; height: 20px; flex: none; color: var(--blue-400); margin-top: .15rem; }
.trust-list strong { display: block; color: #fff; font-size: .96rem; margin-bottom: .1rem; }
.trust-list span { color: rgba(223, 249, 251, .7); }

.contact-lines { display: grid; gap: .7rem; margin-top: 1.4rem; }
.contact-line {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1rem;
  border-radius: var(--r-md);
  background: rgba(223, 249, 251, .07);
  border: 1px solid rgba(223, 249, 251, .12);
  transition: background var(--t-fast), transform var(--t-fast);
}
.contact-line:hover { background: rgba(223, 249, 251, .13); transform: translateX(3px); }
.contact-line__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(74, 105, 189, .3);
  color: var(--pale);
}
.contact-line__icon svg { width: 18px; height: 18px; }
.contact-line > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.contact-line > span:last-child > span {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(223, 249, 251, .55);
}
.contact-line strong { color: #fff; font-size: .98rem; }

/* ==========================================================================
   18. CONTACT ET CARTE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.8rem;
  text-align: center;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(74, 105, 189, .3); }
.contact-card__icon {
  width: 54px; height: 54px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(74, 105, 189, .16), rgba(10, 61, 98, .08));
  color: var(--navy);
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.contact-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-card a:hover { color: var(--blue); }

.map-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(223, 249, 251, .14);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  color: rgba(223, 249, 251, .8);
}
.map-placeholder p { font-size: .92rem; max-width: 44ch; }

.socials { display: flex; gap: .6rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(223, 249, 251, .2);
  color: var(--pale);
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.socials a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.socials--light a { border-color: var(--line); color: var(--navy); }
.socials--light a:hover { color: #fff; }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details[open] { border-color: rgba(74, 105, 189, .35); box-shadow: var(--sh-md); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3.2rem 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a69bd' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--t-med);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__body { padding: 0 1.5rem 1.5rem; color: var(--ink-soft); font-size: .97rem; }

/* ==========================================================================
   19. PAGES LÉGALES
   ========================================================================== */
.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .5rem; margin-bottom: 1.4rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose .todo {
  background: rgba(232, 176, 75, .14);
  border-left: 3px solid #e8b04b;
  padding: .2rem .5rem;
  border-radius: 3px;
  color: #8a6112;
  font-size: .95em;
}

/* ==========================================================================
   20. PIED DE PAGE ET UTILITAIRES FLOTTANTS
   ========================================================================== */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: rgba(223, 249, 251, .68);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 249, 251, .28), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
/* Verrouillage de marque du pied de page : même symbole que l'en-tête,
   dessiné en SVG, donc sans fond ni bord visible. */
.footer-lockup {
  display: inline-flex;
  align-items: center;
  gap: 1.05rem;
  margin-bottom: 1.5rem;
  transition: opacity var(--t-fast);
}
.footer-lockup:hover { opacity: .85; }
.footer-lockup__mark { width: 56px; height: 56px; flex: none; }
.footer-lockup__name {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.015em;
  color: var(--pale);
}
.footer-lockup__tag {
  display: block;
  margin-top: .55rem;
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--blue-200);
}
.footer-brand p { font-size: .94rem; max-width: 40ch; margin-bottom: 1.4rem; }
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-col li { font-size: .94rem; }
.footer-col a { transition: color var(--t-fast), padding-left var(--t-fast); }
.footer-col a:hover { color: #fff; padding-left: .25rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(223, 249, 251, .12);
  font-size: .85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-bottom a:hover { color: #fff; }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(223, 249, 251, .2);
  background: var(--navy);
  color: var(--pale);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med), background var(--t-fast);
  box-shadow: var(--sh-md);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 19px; height: 19px; }

.mobile-bar { display: none; }

/* ==========================================================================
   21. APPARITIONS AU DÉFILEMENT
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: opacity, transform;
}
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="zoom"] { transform: scale(.965); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   22. ADAPTATIONS MOBILES
   ========================================================================== */
@media (max-width: 1180px) {
  /* L'en-tête devient trop dense : le numéro reste accessible plus bas */
  .nav__phone { display: none; }
  .nav__link { padding: .6rem .7rem; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav__menu, .nav__phone { display: none; }
  .burger { display: block; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: 16 / 11; }
  .float-card { right: 1rem; bottom: -1.2rem; }

  .step::after { display: none; }

  .gallery { grid-auto-rows: 200px; }
  .shot--wide { grid-column: span 1; }
  .shot--tall { grid-row: span 1; }

  .lightbox__prev { left: .6rem; }
  .lightbox__next { right: .6rem; }
  .lightbox button { width: 44px; height: 44px; }

  .hero__proof { gap: 1.6rem 2rem; }

  /* Barre d'actions rapide en bas d'écran */
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(223, 249, 251, .16);
    border-top: 1px solid rgba(223, 249, 251, .16);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem .5rem;
    background: var(--navy-950);
    color: var(--pale);
    font-size: .88rem;
    font-weight: 600;
  }
  .mobile-bar a.is-primary { background: var(--blue); color: #fff; }
  .mobile-bar svg { width: 17px; height: 17px; }

  body { padding-bottom: 58px; }
  .to-top { bottom: calc(58px + 1rem); }
  .site-footer { padding-bottom: 1.5rem; }
}

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .stats { grid-template-columns: 1fr; }
  .testi { flex-basis: 88vw; }

  /* Boutons pleine largeur, sauf dans l'en-tête où la place manque */
  .btn-row .btn, .form-foot .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { display: none; }
  .hero__proof { flex-direction: column; gap: 1.2rem; }
  .float-card { position: static; margin-top: 1rem; max-width: none; }
  .feature { padding-left: 0; padding-top: 4rem; }
  .feature__icon { top: 0; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .note { max-width: none; text-align: center; }
  .lightbox__caption { flex-direction: column; gap: .3rem; }
}

/* ==========================================================================
   PRÉFÉRENCE : MOUVEMENT RÉDUIT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__sub, .hero__actions, .hero__proof, .hero__scroll { opacity: 1; }
}
