/* ==========================================================================
   OPULENZA - Feuille de style principale
   Direction artistique : "Nuit et Or"
   Bleu nuit profond issu du logo, or sable en accent rare, verre et lumiere.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices auto-hebergees (aucun appel a un service tiers, RGPD friendly)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Bleus, echantillonnes directement sur le logo officiel */
  --ink: #05121f;
  --navy-950: #071c33;
  --navy-900: #0a2749;
  --navy-850: #0b2c52;
  --navy-800: #0d3157;
  --navy-700: #103763;
  --navy-600: #16406e;
  --navy-500: #1c5188;
  --navy-300: #436284;

  /* Or sable, la couleur de l'anneau du logo */
  --gold: #edad6e;
  --gold-soft: #f7c896;
  --gold-deep: #d18a45;

  --white: #ffffff;
  --text: rgba(226, 237, 249, 0.76);
  --text-dim: rgba(206, 223, 242, 0.55);
  --text-faint: rgba(198, 217, 238, 0.34);

  --line: rgba(148, 187, 231, 0.14);
  --line-strong: rgba(148, 187, 231, 0.26);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-hi: rgba(255, 255, 255, 0.06);

  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(80px, 11vw, 148px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-card: 0 22px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 18px 46px -18px rgba(237, 173, 110, 0.45);
}

/* --------------------------------------------------------------------------
   3. Reinitialisation et bases
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.72;
  color: var(--text);
  background: var(--navy-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Voile lumineux global, fixe, qui donne sa profondeur au bleu nuit */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 720px at 78% -8%, rgba(28, 81, 136, 0.55) 0%, transparent 62%),
    radial-gradient(880px 620px at 4% 42%, rgba(16, 55, 99, 0.5) 0%, transparent 60%),
    radial-gradient(760px 560px at 62% 108%, rgba(237, 173, 110, 0.09) 0%, transparent 62%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 46%, var(--ink) 100%);
}

/* Grain tres fin, casse la platitude des aplats */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* height:auto est indispensable : les balises img portent des attributs
   width/height pour reserver la place, sans quoi la hauteur resterait figee. */
img, svg, video { display: block; max-width: 100%; height: auto; }

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}

button { cursor: pointer; }

::selection {
  background: var(--gold);
  color: var(--navy-900);
}

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

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.1vw, 3.85rem); font-weight: 500; }
h2 { font-size: clamp(1.95rem, 4vw, 3.05rem); font-weight: 500; }
h3 { font-size: clamp(1.14rem, 1.5vw, 1.34rem); font-weight: 600; letter-spacing: -0.012em; }

p { text-wrap: pretty; }

strong { color: rgba(255, 255, 255, 0.94); font-weight: 600; }

.lead {
  font-size: clamp(1.03rem, 1.35vw, 1.2rem);
  line-height: 1.75;
  color: var(--text);
  max-width: 62ch;
}

.gold { color: var(--gold); }

/* Titre destine aux lecteurs d'ecran, retire du rendu visuel. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Degrade or applique au texte, reserve aux mots pivots */
.shine {
  background: linear-gradient(96deg, var(--gold-soft) 0%, var(--gold) 42%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5. Mise en page
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }

.section--tight { padding-block: clamp(56px, 7vw, 90px); }

/* Filet lumineux qui separe les sections */
.section--ruled::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 22%, var(--line-strong) 78%, transparent);
}

.section-head { max-width: 720px; margin-bottom: clamp(44px, 5.5vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 20px; }
.section-head--center p { margin-inline: auto; }

/* Etiquette de section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 0.735rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-head--center .eyebrow::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease), color 0.35s var(--ease-soft);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* Bouton principal, or plein */
.btn--gold {
  color: #24170a;
  background: linear-gradient(122deg, var(--gold-soft) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  box-shadow: var(--shadow-gold);
}

/* Reflet qui balaie le bouton au survol */
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.65) 50%, transparent 68%);
  transform: translateX(-115%);
  transition: transform 0.85s var(--ease);
}

.btn--gold:hover::after { transform: translateX(115%); }
.btn--gold:hover { box-shadow: 0 22px 54px -16px rgba(237, 173, 110, 0.62); }

/* Bouton secondaire, verre */
.btn--ghost {
  color: var(--white);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(237, 173, 110, 0.55);
  background: rgba(237, 173, 110, 0.08);
}

.btn--sm { padding: 11px 22px; font-size: 0.875rem; }

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

/* Lien texte avec fleche */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold);
  transition: gap 0.4s var(--ease);
}

.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   7. En tete
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.5s var(--ease-soft), backdrop-filter 0.5s var(--ease-soft),
    border-color 0.5s var(--ease-soft), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: rgba(7, 24, 43, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.site-header.is-hidden { transform: translateY(-102%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 82px;
  transition: height 0.5s var(--ease);
}

.site-header.is-stuck .header-inner { height: 68px; }

/* Logo dans l'en tete */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 40px;
  color: var(--gold);
  transition: transform 0.7s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); }

.brand__word {
  width: 132px;
  color: var(--white);
  transition: width 0.5s var(--ease);
}

.site-header.is-stuck .brand__word { width: 118px; }

/* Navigation bureau */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav a {
  position: relative;
  padding: 9px 15px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--r-pill);
  transition: color 0.35s var(--ease-soft);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--white); }
.nav a.is-active::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; }

/* Bouton menu mobile.
   Les trois barres sont positionnees en absolu depuis le centre exact du
   bouton : la croix se referme ainsi parfaitement, quel que soit le zoom. */
.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  flex-shrink: 0;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.burger:hover { border-color: rgba(237, 173, 110, 0.5); }

.burger span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 19px;
  height: 1.5px;
  margin: -0.75px 0 0 -9.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), opacity 0.25s var(--ease-soft);
}

.burger span:nth-child(1) { transform: translateY(-6px); }
.burger span:nth-child(2) { transform: translateY(0); }
.burger span:nth-child(3) { transform: translateY(6px); }

body.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .burger span:nth-child(3) { transform: rotate(-45deg); }

/* Barre de progression de lecture */
.scroll-bar {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}

.site-header.is-stuck .scroll-bar { opacity: 1; }

/* --------------------------------------------------------------------------
   8. Menu mobile plein ecran
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--gutter) 40px;
  background:
    radial-gradient(700px 480px at 78% 8%, rgba(28, 81, 136, 0.6) 0%, transparent 62%),
    linear-gradient(170deg, var(--navy-900), var(--ink));
  clip-path: circle(0% at calc(100% - 46px) 44px);
  visibility: hidden;
  transition: clip-path 0.72s var(--ease), visibility 0s linear 0.72s;
}

body.menu-open .mobile-menu {
  visibility: visible;
  clip-path: circle(160% at calc(100% - 46px) 44px);
  transition: clip-path 0.72s var(--ease), visibility 0s linear 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

body.menu-open .mobile-menu nav a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.16s + var(--i, 0) * 0.06s);
}

.mobile-menu nav a i {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.mobile-menu__foot {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease) 0.42s, transform 0.6s var(--ease) 0.42s;
}

body.menu-open .mobile-menu__foot { opacity: 1; transform: none; }

.mobile-menu__foot a[href^='mailto'] {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 130px 80px;
  overflow: hidden;
}

/* Toile de constellation */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

/* Grille de reperes, masquee en fondu */
.hero__grid {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(148, 187, 231, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 187, 231, 0.07) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 68%);
}

/* Halo dore qui suit le curseur */
.hero__spot {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(237, 173, 110, 0.13) 0%, rgba(237, 173, 110, 0.045) 38%, transparent 66%);
  transform: translate3d(-50%, -50%, 0);
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
  will-change: transform;
}

.hero.is-lit .hero__spot { opacity: 1; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}

/* Pastille de disponibilite */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  color: rgba(226, 237, 249, 0.88);
  margin-bottom: 30px;
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #4ade80;
  animation: pulse-ring 2.4s var(--ease-soft) infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 0.9; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.hero h1 { margin-bottom: 28px; }

/* Revelation du titre, mot par mot.
   Le padding compense le masquage, sinon overflow:hidden rognerait
   les accents et les jambages des lettres. */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: word-up 0.95s var(--ease) forwards;
  animation-delay: calc(0.22s + var(--i, 0) * 0.055s);
}

@keyframes word-up {
  to { transform: translateY(0); }
}

.hero__lead {
  max-width: 56ch;
  margin-bottom: 38px;
}

/* Petites entrees en fondu, cadencees */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 1s var(--ease) forwards;
  animation-delay: calc(0.4s + var(--d, 0) * 0.12s);
}

@keyframes fade-up {
  to { opacity: 1; transform: none; }
}

/* Preuves sous les boutons */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.855rem;
  color: var(--text-dim);
}

.hero__proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__proof svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

/* Colonne visuelle : le logo mis en scene */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  perspective: 1000px;
}

.hero__rings {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid var(--line);
  animation: spin 46s linear infinite;
}

.hero__rings::before,
.hero__rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.hero__rings::before { inset: 13%; }
.hero__rings::after {
  inset: 27%;
  border-color: rgba(237, 173, 110, 0.2);
  border-style: dashed;
}

/* Point en orbite sur l'anneau exterieur */
.hero__rings i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px 3px rgba(237, 173, 110, 0.6);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__logo {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.6vw, 28px);
  width: min(78%, 400px);
  transform-style: preserve-3d;
}

.hero__logo-mark {
  width: 46%;
  color: var(--gold);
  filter: drop-shadow(0 18px 40px rgba(237, 173, 110, 0.45));
  animation: mark-float 7s var(--ease-soft) infinite;
}

@keyframes mark-float {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50%      { transform: translateY(-13px) rotateX(11deg); }
}

.hero__logo-word { width: 100%; color: var(--white); }

/* Lueur derriere le logo */
.hero__glow {
  position: absolute;
  width: 116%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 173, 110, 0.2) 0%, rgba(28, 81, 136, 0.16) 42%, transparent 68%);
  filter: blur(26px);
  animation: glow-breathe 6.5s var(--ease-soft) infinite;
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.94); }
  50%      { opacity: 1; transform: scale(1.06); }
}

/* Invitation a faire defiler */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  animation: fade-up 1s var(--ease) 1.5s forwards;
  opacity: 0;
}

.scroll-hint::after {
  content: '';
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: hint-slide 2.3s var(--ease-soft) infinite;
}

@keyframes hint-slide {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  46%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------------------------
   10. Bandeau de chiffres
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  padding: clamp(26px, 3.4vw, 40px) clamp(18px, 2.4vw, 30px);
  background: rgba(7, 24, 43, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: background 0.5s var(--ease-soft);
}

.stat:hover { background: rgba(28, 81, 136, 0.2); }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 10px;
}

.stat__num sup {
  font-size: 0.44em;
  color: var(--gold);
  vertical-align: super;
  margin-left: 2px;
}

.stat__label {
  font-size: 0.815rem;
  line-height: 1.45;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   11. Cartes d'expertise
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

/* Halo qui suit le curseur a l'interieur de la carte */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(237, 173, 110, 0.14) 0%, transparent 62%);
  transition: opacity 0.5s var(--ease-soft);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(237, 173, 110, 0.34);
  box-shadow: var(--shadow-card);
}

.card:hover::before { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  margin-bottom: 24px;
  color: var(--gold);
  background: linear-gradient(150deg, rgba(237, 173, 110, 0.17), rgba(237, 173, 110, 0.04));
  border: 1px solid rgba(237, 173, 110, 0.24);
  transition: transform 0.55s var(--ease), background 0.55s var(--ease);
}

.card:hover .card__icon {
  transform: translateY(-2px) rotate(-5deg);
  background: linear-gradient(150deg, rgba(237, 173, 110, 0.28), rgba(237, 173, 110, 0.08));
}

.card__icon svg { width: 23px; height: 23px; }

.card h3 { margin-bottom: 12px; }

.card p { font-size: 0.945rem; color: var(--text-dim); line-height: 1.68; margin-bottom: 22px; }

/* Liste de mots cles, plaquee en bas pour que les filets s'alignent
   d'une carte a l'autre malgre des textes de longueurs differentes. */
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.card__tags li {
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: rgba(148, 187, 231, 0.08);
  font-size: 0.755rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   12. Methode, chronologie
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 34px);
  counter-reset: step;
}

.step { position: relative; padding-top: 34px; }

/* Ligne de progression horizontale */
.step::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.step::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 1.5px solid var(--gold);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}

.step:hover::after {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(237, 173, 110, 0.16);
}

.step__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 13px;
}

.step h3 { margin-bottom: 11px; }
.step p { font-size: 0.93rem; color: var(--text-dim); }

/* --------------------------------------------------------------------------
   13. Bandeau technologies defilant
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 46px;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color 0.4s var(--ease-soft);
}

.marquee__item:hover { color: var(--gold); }

.marquee__item::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.45;
}

/* --------------------------------------------------------------------------
   14. Engagements, disposition en deux colonnes
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.pledges { display: grid; gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; }

.pledge {
  display: flex;
  gap: 20px;
  padding: clamp(24px, 3vw, 32px);
  background: rgba(7, 24, 43, 0.6);
  transition: background 0.5s var(--ease-soft), padding-left 0.5s var(--ease);
}

.pledge:hover { background: rgba(28, 81, 136, 0.18); padding-left: calc(clamp(24px, 3vw, 32px) + 6px); }

.pledge__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(237, 173, 110, 0.12);
  border: 1px solid rgba(237, 173, 110, 0.22);
}

.pledge__icon svg { width: 19px; height: 19px; }

.pledge h3 { font-size: 1.04rem; margin-bottom: 7px; }
.pledge p { font-size: 0.915rem; color: var(--text-dim); line-height: 1.66; }

/* --------------------------------------------------------------------------
   15. Modalites d'intervention
   -------------------------------------------------------------------------- */
.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
  /* Laisse respirer le ruban qui deborde de la carte mise en avant. */
  padding-top: 12px;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.2vw, 38px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease);
}

.offer:hover { transform: translateY(-5px); border-color: rgba(237, 173, 110, 0.3); }

/* Formule mise en avant */
.offer--lead {
  border-color: rgba(237, 173, 110, 0.34);
  background: linear-gradient(168deg, rgba(237, 173, 110, 0.09), rgba(255, 255, 255, 0.012));
}

/* Ruban centre sur le bord haut : il ne recouvre aucun titre et laisse
   les trois formules parfaitement alignees. */
.offer__flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(122deg, var(--gold-soft), var(--gold-deep));
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #24170a;
}

.offer h3 { margin-bottom: 10px; }

.offer__price {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.offer > p { font-size: 0.93rem; color: var(--text-dim); margin-bottom: 22px; }

.offer ul { list-style: none; display: grid; gap: 10px; margin-top: auto; }

.offer li {
  display: flex;
  gap: 11px;
  font-size: 0.895rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.offer li svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.contact-info { display: grid; gap: 26px; }

.contact-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-line__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(237, 173, 110, 0.11);
  border: 1px solid rgba(237, 173, 110, 0.2);
}

.contact-line__icon svg { width: 17px; height: 17px; }

.contact-line dt {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}

.contact-line dd {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.contact-line dd a { transition: color 0.35s var(--ease-soft); }
.contact-line dd a:hover { color: var(--gold); }

/* Formulaire */
.form {
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { position: relative; margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 9px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(5, 18, 31, 0.5);
  color: var(--white);
  font-size: 0.945rem;
  font-family: var(--font-body);
  transition: border-color 0.4s var(--ease-soft), background 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft);
}

.field textarea { resize: vertical; min-height: 132px; line-height: 1.65; }

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23edad6e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.field select option { background: var(--navy-900); color: var(--white); }

.field input::placeholder,
.field textarea::placeholder { color: rgba(198, 217, 238, 0.3); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(237, 173, 110, 0.62);
  background: rgba(5, 18, 31, 0.72);
  box-shadow: 0 0 0 3px rgba(237, 173, 110, 0.12);
}

.form__note {
  font-size: 0.79rem;
  color: var(--text-faint);
  line-height: 1.6;
  margin-top: 16px;
}

.form__note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Champ piege a robots, invisible pour les humains */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   17. Appel a l'action final
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  padding: clamp(44px, 6.5vw, 88px) clamp(26px, 5vw, 72px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(237, 173, 110, 0.24);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(620px 340px at 50% 0%, rgba(237, 173, 110, 0.16) 0%, transparent 66%),
    linear-gradient(158deg, rgba(28, 81, 136, 0.42), rgba(7, 24, 43, 0.82));
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(148, 187, 231, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 187, 231, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}

.cta-panel > * { position: relative; }

.cta-panel h2 { margin-bottom: 20px; }
.cta-panel p { margin: 0 auto 34px; max-width: 54ch; }
.cta-panel .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   18. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-block: clamp(56px, 7vw, 84px) 34px;
  border-top: 1px solid var(--line);
  background: rgba(5, 18, 31, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-dim); max-width: 40ch; margin-bottom: 22px; }

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.755rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: grid; gap: 11px; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.35s var(--ease-soft), padding-left 0.35s var(--ease);
}

.footer-col a:hover { color: var(--white); padding-left: 5px; }

.footer-legal {
  padding-top: 26px;
  font-size: 0.79rem;
  line-height: 1.75;
  color: var(--text-faint);
}

.footer-legal__ids {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom a:hover { color: var(--text-dim); }

/* Bouton retour en haut */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid rgba(237, 173, 110, 0.3);
  background: rgba(7, 24, 43, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
    visibility 0s linear 0.45s, background 0.4s var(--ease-soft);
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
    visibility 0s linear 0s, background 0.4s var(--ease-soft);
}

.to-top:hover { background: rgba(237, 173, 110, 0.16); }
.to-top svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   19. Pages de contenu (mentions legales, CGV, confidentialite)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding-block: clamp(130px, 15vw, 180px) clamp(40px, 5vw, 60px);
}

.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-head p { margin-top: 18px; color: var(--text-dim); max-width: 62ch; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 22px;
}

.breadcrumb a { transition: color 0.35s var(--ease-soft); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 12px; height: 12px; }

.prose {
  max-width: 78ch;
  padding-bottom: clamp(70px, 9vw, 110px);
}

.prose > section {
  padding-block: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--line);
}

.prose > section:first-child { border-top: 0; padding-top: 0; }

.prose h2 {
  font-size: clamp(1.24rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}

.prose h3 {
  font-size: 1.02rem;
  margin: 24px 0 10px;
  color: rgba(255, 255, 255, 0.9);
}

.prose p { margin-bottom: 14px; font-size: 0.95rem; }
.prose p:last-child { margin-bottom: 0; }

.prose ul, .prose ol { margin: 0 0 14px 0; padding-left: 20px; }
.prose li { margin-bottom: 8px; font-size: 0.95rem; }
.prose li::marker { color: var(--gold); }

.prose a:not(.btn):not(.link-arrow) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.35s var(--ease-soft);
}

.prose a:not(.btn):not(.link-arrow):hover { color: var(--gold-soft); }

/* Table des identifiants legaux */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 16px;
  font-size: 0.925rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: 0; }

.data-table th {
  width: 38%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-faint);
  font-size: 0.83rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.022);
}

.data-table td { color: rgba(255, 255, 255, 0.9); }

.callout {
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(237, 173, 110, 0.24);
  background: rgba(237, 173, 110, 0.06);
  font-size: 0.91rem;
  margin: 8px 0 16px;
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  font-size: 0.79rem;
  color: var(--text-dim);
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   20. Revelation au defilement
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.085s);
  will-change: opacity, transform;
}

.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   21. Adaptation aux ecrans
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero .btn-row { justify-content: center; }
  .hero__proof { justify-content: center; }
  .hero__badge { margin-inline: auto; }
  .hero__visual { order: -1; width: min(78%, 380px); margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-block: 116px 70px; }
  /* Le bloc visuel est reduit pour que l'accroche et le bouton
     restent atteignables sans defiler sur un telephone. */
  .hero__visual { width: min(62%, 300px); }
  .scroll-hint { display: none; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 80px; }
  .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero__proof { flex-direction: column; align-items: center; gap: 11px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table th { border-bottom: 0; padding-bottom: 4px; }
  .data-table td { padding-top: 0; }
  .marquee__track, .marquee__item { gap: 30px; }
}

@media (max-width: 380px) {
  .brand__word { width: 108px; }
}

/* --------------------------------------------------------------------------
   22. Preferences utilisateur et impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .word > span { transform: none; }
  .fade-up, .reveal, .scroll-hint { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
  .marquee__track { animation: none; }
}

@media print {
  body::before, body::after, .site-header, .mobile-menu, .to-top,
  .hero__canvas, .hero__grid, .hero__spot, .scroll-hint { display: none !important; }
  body { background: #fff; color: #111; }
  h1, h2, h3, h4 { color: #000; }
  .prose { max-width: none; }
  a { color: #000; }
}
