/* ==========================================================================
   OHIKO par Neotech — feuille de style principale
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #0a0e13;
  --ink-2: #111821;
  --ink-3: #18212c;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --text: #0f1722;
  --muted: #5a6675;
  --muted-light: #9aa7b6;
  --line: rgba(15, 23, 34, .09);
  --line-dark: rgba(255, 255, 255, .1);
  --blue: #0b8fd9;
  --blue-light: #38b6f7;
  --blue-deep: #0563a8;
  --glow: rgba(11, 143, 217, .35);

  /* Typographie */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 34, .04), 0 12px 32px -12px rgba(15, 23, 34, .14);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 34, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0;
  font-weight: 700;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-light); }

.h-display { font-size: clamp(2.5rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; }
.h-section { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.h-card { font-size: 1.25rem; letter-spacing: -.015em; }
.lead { font-size: clamp(1.075rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.65; }
.section--dark .lead, .hero .lead, .page-hero .lead { color: var(--muted-light); }
.text-gradient {
  background: linear-gradient(100deg, var(--blue-light) 0%, var(--blue) 60%, #7fd3ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.btn--outline { color: var(--text); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Icônes ---------- */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--blue);
  background: linear-gradient(145deg, rgba(56,182,247,.14), rgba(11,143,217,.06));
  border: 1px solid rgba(11,143,217,.16);
}
.section--dark .icon-badge { color: var(--blue-light); background: rgba(56,182,247,.08); border-color: rgba(56,182,247,.2); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
/* Le flou est porté par un pseudo-élément : appliqué sur .header, backdrop-filter
   confinerait le menu mobile (position: fixed) à la hauteur de l'en-tête. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 14, 19, .78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line-dark);
  opacity: 0; transition: opacity .4s var(--ease);
}
.header.is-scrolled { --header-h: 66px; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; color: #fff; }
.brand img { width: auto; height: 54px; }
.header.is-scrolled .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: 2.25rem; }
.nav__list { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative; color: rgba(255,255,255,.78);
  font-family: var(--font-display); font-size: .92rem; font-weight: 500;
  transition: color .25s;
  padding: .4rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--blue-light); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .7rem 1.25rem; font-size: .88rem; }

/* Sous-menu « Nos champs d'activités » */
.has-dropdown { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; }
.nav__toggle.is-active { color: #fff; }
.nav__toggle.is-active::after { transform: scaleX(1); }
.nav__chevron { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.has-dropdown.is-open .nav__chevron { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  min-width: 240px; padding: .5rem;
  background: rgba(17, 24, 33, .97);
  border: 1px solid var(--line-dark); border-radius: 14px;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a {
  display: block; padding: .7rem 1rem; border-radius: 10px;
  font-family: var(--font-display); font-size: .92rem; font-weight: 500;
  color: rgba(255,255,255,.78); transition: background .25s, color .25s;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: rgba(56,182,247,.1); color: #fff; }
.dropdown a[aria-current="page"] { color: var(--blue-light); }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  position: relative; z-index: 120;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: flex-start; gap: 2.5rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2.5rem;
    overflow-y: auto; overscroll-behavior: contain;
    background: radial-gradient(circle at 80% 10%, rgba(11,143,217,.25), transparent 50%), var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 1.4rem; text-align: center; margin-top: auto; }
  .nav > .btn { margin-bottom: auto; }
  .nav__link { font-size: 1.6rem; font-weight: 600; }
  .nav__list > li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .menu-open .nav__list > li { opacity: 1; transform: none; }
  .menu-open .nav__list > li:nth-child(2) { transition-delay: .05s; }
  .menu-open .nav__list > li:nth-child(3) { transition-delay: .1s; }
  .nav__chevron { width: 22px; height: 22px; }
  .dropdown {
    position: static; min-width: 0; padding: 0; margin-top: 0;
    background: none; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: grid; gap: .2rem; margin-top: .9rem; transform: none; }
  .dropdown a { font-size: 1.15rem; color: rgba(255,255,255,.65); }
}

/* ==========================================================================
   Hero (accueil)
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 3rem) 0 0;
  background: var(--ink); color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.08); animation: slowZoom 24s ease-in-out infinite alternate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 85% 35%, rgba(11,143,217,.28), transparent 60%),
    linear-gradient(90deg, var(--ink) 18%, rgba(10,14,19,.75) 50%, rgba(10,14,19,.35) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 35%);
}
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 3rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.orb { position: relative; width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 1; }
.orb::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,182,247,.35), transparent 65%);
  filter: blur(30px);
  animation: pulse 6s ease-in-out infinite;
}
.orb svg { position: relative; width: 100%; height: 100%; overflow: visible; animation: float 9s ease-in-out infinite; }
/* L'animation porte sur le <g> : un transform CSS sur l'ellipse écraserait sa rotation */
.orb .dot { transform-box: fill-box; transform-origin: center; animation: dot 5s ease-in-out infinite; }
.orb .dot:nth-child(2) { animation-delay: -.6s; }
.orb .dot:nth-child(3) { animation-delay: -1.2s; }
.orb .dot:nth-child(4) { animation-delay: -1.8s; }
.orb .dot:nth-child(5) { animation-delay: -2.4s; }
.orb .dot:nth-child(6) { animation-delay: -3s; }
.orb .dot:nth-child(7) { animation-delay: -3.6s; }
.orb .dot:nth-child(8) { animation-delay: -4.2s; }
.orb .dot:nth-child(9) { animation-delay: -4.8s; }

.hero__strip {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.hero__strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__strip li {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.6rem 1.25rem;
  font-family: var(--font-display); font-size: .92rem; font-weight: 500; line-height: 1.35;
  color: rgba(255,255,255,.85);
}
.hero__strip li + li { border-left: 1px solid var(--line-dark); }
.hero__strip .icon { color: var(--blue-light); width: 22px; height: 22px; }

@keyframes slowZoom { to { transform: scale(1.18) translate(-1.5%, 1%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.88); opacity: .75; } }
@keyframes pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* ---------- Hero des pages internes ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(4rem, 10vw, 7.5rem)) 0 clamp(4rem, 9vw, 7rem);
  background: var(--ink); color: #fff;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 90% 0%, rgba(11,143,217,.3), transparent 60%),
    linear-gradient(90deg, var(--ink) 10%, rgba(10,14,19,.7) 55%, rgba(10,14,19,.4));
}
.page-hero h1 { max-width: 820px; margin-bottom: 1.5rem; }
.page-hero .lead { max-width: 620px; }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: var(--muted-light); margin-bottom: 1.75rem; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Blocs de contenu
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__text .h-section { margin-bottom: 1.5rem; }
.split__text p + p { margin-top: 1.1rem; }
.split__text .lead + .btn, .split__text p + .btn, .split__text .checklist + .btn { margin-top: 2rem; }

.media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media:hover img { transform: scale(1.04); }
.media--deco::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.media-wrap { position: relative; }
.media-wrap::before {
  content: ""; position: absolute; width: 60%; height: 60%; right: -6%; bottom: -8%; z-index: -1;
  border-radius: var(--radius);
  background: radial-gradient(circle at 30% 30%, var(--blue-light), var(--blue-deep));
  opacity: .9; filter: blur(0);
}
.media-wrap--left::before { right: auto; left: -6%; }
.media-tag {
  position: absolute; left: 1.25rem; bottom: 1.25rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1rem; border-radius: 14px;
  background: rgba(10,14,19,.72); color: #fff; backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
}
.media-tag .icon { color: var(--blue-light); width: 20px; height: 20px; }

/* Liste à puces premium */
.checklist { display: grid; gap: 1rem; margin-top: 1.75rem; }
.checklist li { display: flex; gap: .9rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: .2rem; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: 0 4px 12px -2px var(--glow);
}

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(11,143,217,.25); }
.card .icon-badge { margin-bottom: 1.5rem; }
.card h3 { margin-bottom: .7rem; }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.65; }
.card__num {
  position: absolute; top: 1.6rem; right: 1.75rem;
  font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--muted-light);
}
.card--cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: linear-gradient(140deg, var(--blue-deep), var(--blue) 60%, var(--blue-light));
  border: 0; color: #fff;
}
.card--cta h3 { font-size: 1.5rem; }
.card--cta p { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.card--cta:hover { box-shadow: 0 30px 60px -25px var(--glow); }
.btn--light { background: #fff; color: var(--blue-deep); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.split > .features { margin-top: 0; }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .card:hover { border-color: rgba(56,182,247,.35); box-shadow: 0 30px 60px -30px rgba(11,143,217,.45); }
.section--dark .card p { color: var(--muted-light); }

/* Cartes produit (gammes) */
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .product__img img { transform: scale(1.07); }
.product__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,19,.35), transparent 50%); }
.product__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  padding: .35rem .75rem; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--text);
  font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.product__body { display: flex; flex-direction: column; flex: 1; padding: 1.75rem; }
.product__body h3 { margin-bottom: .7rem; }
.product__body p { color: var(--muted); font-size: .98rem; line-height: 1.65; margin-bottom: 1.5rem; }
.product__body .link-arrow { margin-top: auto; }

/* Cartes carrées (marque propre) */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; isolation: isolate; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,14,19,.85), rgba(10,14,19,0) 55%); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: absolute; left: 1.75rem; right: 1.75rem; bottom: 1.5rem; }
.tile__body h3 { font-size: 1.6rem; }
.tile__body p { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: .35rem; }

/* ---------- Visuel pleine largeur + texte en colonnes ---------- */
.figure-wide {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.figure-wide img { width: 100%; height: auto; }
.text-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1000px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  color: var(--muted); line-height: 1.75;
}
.text-cols p + p { margin-top: 1.1rem; }
.text-cols__highlight {
  padding-left: 1.1rem; border-left: 3px solid var(--blue);
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.45; color: var(--ink);
}

/* ---------- Bandeau citation ---------- */
.statement {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  background: linear-gradient(130deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-light) 120%);
  color: #fff; text-align: center;
}
.statement::before, .statement::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1;
  background: rgba(255,255,255,.08);
}
.statement::before { width: 520px; height: 520px; left: -160px; top: -260px; }
.statement::after { width: 380px; height: 380px; right: -120px; bottom: -200px; background: rgba(10,14,19,.15); }
.statement blockquote {
  margin: 0 auto; max-width: 900px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.35; letter-spacing: -.02em;
}
.statement blockquote strong { font-weight: 800; }
.statement__mark { width: 52px; height: 52px; margin: 0 auto 1.75rem; opacity: .55; }
.statement .eyebrow { color: #fff; justify-content: center; }
.statement .eyebrow::before { background: rgba(255,255,255,.7); }

/* ---------- Points clés (liste iconique) ---------- */
.features { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
.feature { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .4s var(--ease); }
.feature:hover { border-color: rgba(11,143,217,.3); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.08rem; margin-bottom: .35rem; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.section--dark .feature { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .feature p { color: var(--muted-light); }

/* ---------- Étapes (process) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,182,247,.5), transparent);
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: var(--ink); border: 1px solid rgba(56,182,247,.45);
  font-family: var(--font-display); font-weight: 700; color: var(--blue-light);
  box-shadow: 0 0 0 8px var(--ink), 0 0 30px -4px var(--glow);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { color: var(--muted-light); font-size: .96rem; }

/* ---------- Vidéos (lecture à la demande) ---------- */
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .9s var(--ease), opacity .4s; }
.video:hover img { transform: scale(1.04); opacity: 1; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,14,19,.7), transparent 55%); pointer-events: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95); color: var(--blue);
  box-shadow: 0 0 0 10px rgba(255,255,255,.18);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.video:hover .video__play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,255,255,.14); }
.video__play svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.video-caption { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.video-caption span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--muted-light); }

/* ---------- Références clients (défilement) ---------- */
.logos { position: relative; overflow: hidden; padding: 1rem 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; width: max-content; gap: 1.25rem; animation: marquee 40s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item {
  flex: 0 0 auto; width: 200px; height: 110px;
  display: grid; place-items: center; padding: 1.25rem 1.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.logos__item img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.logos__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - .625rem)); } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery__item {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; padding: 0; border: 0;
  background: var(--ink-2); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
/* Mosaïque : première photo en grand sur deux rangées */
.gallery--mosaic { grid-template-columns: repeat(4, 1fr); }
.gallery--mosaic .gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__caption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .45rem .85rem; border-radius: 999px;
  background: rgba(10,14,19,.7); backdrop-filter: blur(8px); color: #fff;
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 1.5rem;
  background: rgba(5, 8, 12, .92); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1000px, 100%); max-height: 86vh; border-radius: var(--radius-sm); box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
  display: grid; place-items: center; transition: background .25s;
}
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(11,143,217,.22), transparent 60%);
}
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .4rem;
  padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid var(--line-dark);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.contact-card:hover { transform: translateY(-6px); border-color: rgba(56,182,247,.45); background: linear-gradient(160deg, rgba(56,182,247,.12), rgba(255,255,255,.02)); }
.contact-card .icon-badge { margin-bottom: 1.1rem; }
.contact-card__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); font-weight: 500; }
.contact-card__value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; word-break: break-word; }
.contact-card__hint { font-size: .92rem; color: var(--muted-light); }
.contact-card .link-arrow { margin-top: 1rem; color: var(--blue-light); }

/* ---------- Pages produit ---------- */
.page-hero__bg--soft img { filter: blur(3px); transform: scale(1.06); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.25rem; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.05);
  font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.85);
}
.hero-chips .icon { width: 16px; height: 16px; color: var(--blue-light); }

.proof-grid { margin-top: 3rem; }
.proof-video { max-width: 900px; margin: 3rem auto 0; }
.icon-badge--alert { color: #e0583f; background: rgba(224,88,63,.09); border-color: rgba(224,88,63,.2); }
.card--pain { border-top: 3px solid rgba(224,88,63,.55); }

/* Questions fréquentes */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.02rem, 1.6vw, 1.15rem); letter-spacing: -.01em;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8fd9' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease), background-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(11,143,217,.12); }
.faq__answer { padding: 0 3.5rem 1.6rem 0; color: var(--muted); line-height: 1.7; }
.faq__answer a { color: var(--blue); font-weight: 500; }

/* Appel à l'action final */
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: 28px; text-align: center; color: #fff;
  background: linear-gradient(130deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-light) 120%);
  box-shadow: 0 40px 80px -30px rgba(11,143,217,.55);
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.cta-box::before { width: 420px; height: 420px; left: -140px; top: -220px; background: rgba(255,255,255,.08); }
.cta-box::after { width: 360px; height: 360px; right: -120px; bottom: -200px; background: rgba(10,14,19,.15); }
.cta-box .eyebrow { color: #fff; justify-content: center; }
.cta-box .eyebrow::before { background: rgba(255,255,255,.7); }
.cta-box h2 { max-width: 760px; margin: 0 auto 1.25rem; }
.cta-box .lead { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto; }
.cta-box__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.5rem; }
.cta-box__reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin-top: 2rem; font-size: .9rem; color: rgba(255,255,255,.8); }
.cta-box__reassure li { display: inline-flex; align-items: center; gap: .45rem; }
.cta-box__reassure .icon { width: 17px; height: 17px; }
.btn--white-outline { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--white-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* Étude de cas (pas-à-pas en images) */
.media--portrait { aspect-ratio: 4 / 5; max-width: 480px; }
.case-steps {
  counter-reset: case; list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem;
  margin-top: clamp(3.5rem, 7vw, 5rem);
}
.case-step { counter-increment: case; }
.case-step__img { display: block; width: 100%; aspect-ratio: 4 / 5; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.case-step__img::after {
  content: counter(case, decimal-leading-zero);
  position: absolute; top: 1rem; left: 1rem;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  box-shadow: 0 8px 20px -6px var(--glow);
}
.case-step h3 { font-size: 1.15rem; margin-bottom: .45rem; letter-spacing: -.01em; }
.case-step p { color: var(--muted); font-size: .97rem; line-height: 1.65; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.case-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap;
  margin-top: 1.5rem; padding: 2rem 2.25rem; border-radius: var(--radius);
  background: var(--ink); color: #fff;
  background-image: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(11,143,217,.35), transparent 60%);
}
.case-cta h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.case-cta p { color: var(--muted-light); }
@media (max-width: 960px) {
  .case-steps, .case-results { grid-template-columns: repeat(2, 1fr); }
  .media--portrait { max-width: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .case-steps, .case-results { grid-template-columns: 1fr; }
  .case-step__img { aspect-ratio: 4 / 3; }
  .case-cta .btn { width: 100%; }
}

/* Mentions légales */
.page-hero--compact { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 3rem 0 1rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal p + p, .legal ul + p { margin-top: .9rem; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--blue); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal ul { display: grid; gap: .75rem; margin-top: .9rem; padding-left: 1.2rem; list-style: disc; }
.legal__card {
  display: grid; grid-template-columns: 180px 1fr; gap: .7rem 1.5rem;
  margin: 1.25rem 0; padding: 1.5rem 1.75rem;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.legal__card dt { font-weight: 600; font-size: .92rem; color: var(--text); }
.legal__card dd { margin: 0; color: var(--muted); }
.legal__update { margin-top: 3rem; font-size: .9rem; font-style: italic; }
@media (max-width: 640px) {
  .legal__card { grid-template-columns: 1fr; gap: .15rem; }
  .legal__card dd + dt { margin-top: .75rem; }
}

/* ---------- Pied de page ---------- */
.footer { background: #06090d; color: var(--muted-light); padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer .brand { margin-bottom: 1.25rem; }
.footer__about { max-width: 360px; line-height: 1.7; }
.footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; font-weight: 600; }
.footer__links { display: grid; gap: .7rem; }
.footer__links a, .footer__item { transition: color .25s; display: inline-flex; align-items: center; gap: .6rem; }
.footer__links a:hover { color: #fff; }
.footer__links .icon { width: 18px; height: 18px; color: var(--blue-light); }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__legal { transition: color .25s; }
.footer__legal:hover { color: #fff; }
.footer__bottom {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .85rem; }

/* ---------- Bouton retour en haut ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; box-shadow: 0 10px 30px -8px var(--glow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero__strip li:nth-child(3) { border-left: 0; }
  .hero__strip li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .orb { position: absolute; width: 320px; right: -150px; top: 70px; z-index: -1; }
  .orb, .orb.is-visible { opacity: .14; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .media { aspect-ratio: 16 / 11; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__strip ul { grid-template-columns: 1fr; }
  .hero__strip li { padding: 1.05rem .25rem; }
  .hero__strip li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .brand img { height: 46px; }
  .gallery { grid-template-columns: 1fr; }
  .text-cols { grid-template-columns: 1fr; }
  .gallery__item { aspect-ratio: 4 / 5; }
  .gallery--mosaic .gallery__item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .media-wrap::before { right: -3%; bottom: -4%; }
  .media-wrap--left::before { left: -3%; }
  .logos__item { width: 160px; height: 92px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1.25rem; transform: none; }
}

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