﻿:root {
  --red: #c62a40;
  --red-dark: #a11f32;
  --navy: #0b1f2e;
  --navy-2: #12304a;
  --teal: #0f8b8d;
  --aqua: #5fd3d0;
  --sand: #f6f2ec;
  --ink: #1a2530;
  --muted: #5d6b78;
  --line: #e4e7eb;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 46, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 46, .18);
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Sora", sans-serif; line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button { font: inherit; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; position: relative; }

/* ---------- Éléments globaux ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 100;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--aqua));
  transform-origin: left; transform: scaleX(0);
}
.mockup-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  background: var(--navy); color: #ffd27a;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: var(--white); font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--navy); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: color .3s, transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: none; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(198,42,64,.35); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: var(--white); backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--navy); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { color: var(--white); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--red); margin-bottom: 14px;
  padding-left: 34px; position: relative;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 2px; background: currentColor;
}
.eyebrow--light { color: #ff9aa6; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  transition: background .4s, box-shadow .4s, height .4s;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(11,31,46,.08);
}
.header.is-top { background: transparent; box-shadow: none; backdrop-filter: none; }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height .4s; }
.header:not(.is-top) .header__inner { height: 70px; }

.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 44px; width: auto; transition: height .4s; }
.header:not(.is-top) .logo img { height: 38px; }
.footer .logo img { height: 52px; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav__link { font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; color: var(--ink); transition: color .3s; }
.header.is-top .nav__link { color: var(--white); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 20px; }

.header__lang { display: flex; gap: 4px; font-size: .8rem; color: var(--muted); }
.header.is-top .header__lang { color: rgba(255,255,255,.6); }
.header__lang a.is-active { color: var(--red); font-weight: 600; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }
.header.is-top .burger span { background: var(--white); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero / diaporama ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; min-height: 720px; max-height: 980px;
  color: var(--white); background: var(--navy);
}
.slider, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s 1.2s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease; z-index: 1; }
.slide__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.15);
}
.slide.is-active .slide__bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.15) translate(1%, 1%); } to { transform: scale(1) translate(0, 0); } }

.slide__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11,31,46,.94) 0%, rgba(11,31,46,.72) 45%, rgba(11,31,46,.2) 100%),
    linear-gradient(0deg, rgba(11,31,46,.8) 0%, transparent 35%);
}
.slide__content {
  position: relative; z-index: 3;
  height: 100%; display: flex; flex-direction: column; justify-content: safe center;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: 150px;
}
.slide__content > * { opacity: 0; transform: translateY(40px); }
.slide.is-active .slide__content > * { animation: slideIn .9s var(--ease) forwards; }
.slide.is-active .slide__content > :nth-child(1) { animation-delay: .3s; }
.slide.is-active .slide__content > :nth-child(2) { animation-delay: .45s; }
.slide.is-active .slide__content > :nth-child(3) { animation-delay: .6s; }
.slide.is-active .slide__content > :nth-child(4) { animation-delay: .75s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
html:not(.js) .slide.is-active .slide__content > * { animation: none; opacity: 1; transform: none; }

.slide__title {
  font-size: clamp(2.1rem, min(5vw, 7vh), 4.2rem); font-weight: 700;
  max-width: 860px; letter-spacing: -.025em; margin-bottom: .45em;
}
.slide__content .eyebrow { margin-bottom: 22px; }
.slide__title span {
  background: linear-gradient(90deg, var(--aqua), #9ff0e9, var(--aqua));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.slide__lead { font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 600px; color: rgba(255,255,255,.85); margin-bottom: 34px; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__routes {
  position: absolute; right: 0; top: 0; z-index: 2;
  width: 60%; height: 100%; pointer-events: none; opacity: .75;
  mix-blend-mode: screen;
}
.route {
  fill: none; stroke: var(--aqua); stroke-width: 1.5; stroke-dasharray: 6 10;
  opacity: .55; animation: dash 30s linear infinite;
}
.route--alt { stroke: #ff9aa6; animation-duration: 40s; animation-direction: reverse; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.route__dot { fill: var(--aqua); filter: drop-shadow(0 0 6px var(--aqua)); }
.route__dot--alt { fill: #ff9aa6; filter: drop-shadow(0 0 6px #ff9aa6); }
.route__hub { fill: var(--white); transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.route__hub--delay { animation-delay: .8s; }
.route__hub--delay2 { animation-delay: 1.6s; }
@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  70% { opacity: 0; transform: scale(3.2); }
  100% { opacity: 0; transform: scale(3.2); }
}

.slider__controls {
  position: absolute; left: 0; right: 0; bottom: 40px; z-index: 4;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
}
.slider__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 18px; flex: 1; }
.slider__tab {
  background: none; border: 0; color: rgba(255,255,255,.6); cursor: pointer;
  text-align: left; padding: 0 0 14px; position: relative; font-size: .88rem; font-weight: 500;
  transition: color .3s;
}
.slider__tab span { display: block; font-family: "Sora", sans-serif; font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 2px; }
.slider__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.2); }
.slider__tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--red); z-index: 1; }
.slider__tab.is-active { color: var(--white); }
.slider__tab.is-active i { animation: progress var(--slide-duration, 7s) linear forwards; }
.slider__tab.is-done i { width: 100%; }
@keyframes progress { to { width: 100%; } }

.slider__arrows { display: flex; gap: 10px; }
.slider__arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06);
  color: var(--white); font-size: 1.1rem; cursor: pointer; backdrop-filter: blur(6px);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.slider__arrow:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 130px; z-index: 4; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px;
  display: none;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--white); border-radius: 2px; animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Chiffres ---------- */
.stats { background: var(--navy); color: var(--white); position: relative; z-index: 3; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 44px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: rgba(255,255,255,.12); }
.stat strong {
  display: block; font-family: "Sora", sans-serif; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1;
  background: linear-gradient(180deg, #fff, #9fdcdb); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat p { margin: 6px 0 0; font-size: .88rem; color: rgba(255,255,255,.65); }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--red); color: var(--white); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: 10px 0 -10px; position: relative; z-index: 4; }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.3rem; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-size: .9rem; opacity: .6; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; overflow: hidden; }
.section--light { background: var(--sand); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.82); }
.section--dark .section__title, .section--dark h3, .section--dark h4 { color: var(--white); }

.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section__head--split > div { max-width: 640px; }
.section__head--split .section__intro { max-width: 420px; margin: 0; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head--center .eyebrow { padding: 0 34px; }
.section__head--center .eyebrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 24px; height: 2px; background: currentColor; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: var(--navy); letter-spacing: -.02em; }
.section__intro { color: var(--muted); font-size: 1.05rem; }

/* Titres animés mot par mot */
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
[data-split] .word > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
[data-split].is-visible .word > span { transform: none; }

/* Apparitions */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal="left"] { transform: translateX(50px); }
.js [data-reveal="right"] { transform: translateX(-50px); }
.js [data-reveal="zoom"] { transform: scale(.9); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Fonds animés : formes flottantes ---------- */
.section--blobs { background: var(--sand); }
.blobs { position: absolute; inset: 0; pointer-events: none; filter: blur(70px); opacity: .55; }
.blobs i { position: absolute; border-radius: 50%; animation: float 18s ease-in-out infinite; }
.blobs i:nth-child(1) { width: 420px; height: 420px; background: #ffc2ca; top: -120px; left: -80px; }
.blobs i:nth-child(2) { width: 380px; height: 380px; background: #b5ece9; bottom: -140px; right: 10%; animation-delay: -6s; animation-duration: 22s; }
.blobs i:nth-child(3) { width: 300px; height: 300px; background: #c9d8f5; top: 30%; right: -80px; animation-delay: -12s; animation-duration: 26s; }
.blobs--soft { opacity: .35; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.12); }
  66% { transform: translate(-60px, 30px) scale(.92); }
}

/* ---------- Atouts ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.feature {
  position: relative; padding: 34px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  transition: transform .5s var(--ease), box-shadow .5s, opacity .9s var(--ease);
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--red), var(--aqua));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.feature:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--red), #e2566a); color: var(--white);
  display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: 0 10px 20px rgba(198,42,64,.3);
  transition: transform .5s var(--ease);
}
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.08); }
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.12rem; color: var(--navy); }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Services : fond quadrillé animé + bento ---------- */
.section--grid { background: var(--white); }
.section--grid::before {
  content: ""; position: absolute; inset: -40px;
  background-image:
    linear-gradient(rgba(11,31,46,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,46,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 12s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes gridMove { to { transform: translate(40px, 40px); } }

.bento {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px; gap: 20px; position: relative;
}
.bento__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  color: var(--white); display: flex; align-items: flex-end;
  isolation: isolate; cursor: pointer;
  box-shadow: var(--shadow);
}
.bento__item--xl { grid-column: span 2; grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.bento__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease);
}
.bento__item::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,31,46,.05) 20%, rgba(11,31,46,.92) 100%);
  transition: background .5s;
}
.bento__item:hover .bento__bg { transform: scale(1.08); }
.bento__item:hover::after { background: linear-gradient(180deg, rgba(198,42,64,.35) 0%, rgba(11,31,46,.95) 85%); }
.bento__num {
  position: absolute; top: 20px; right: 24px;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6);
  transition: color .4s;
}
.bento__item:hover .bento__num { color: rgba(255,255,255,.95); }
.bento__body { padding: 28px; width: 100%; }
.bento__body h3 { font-size: 1.35rem; margin-bottom: .35em; }
.bento__item--xl .bento__body h3 { font-size: 2rem; }
.bento__body p { font-size: .92rem; color: rgba(255,255,255,.82); margin: 0; max-width: 520px; }
.bento__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s, margin .4s;
}
.bento__item:hover .bento__list { max-height: 120px; opacity: 1; margin-top: 16px; }
.bento__list li {
  font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
}
.bento__item--xl .bento__list { max-height: 120px; opacity: 1; margin-top: 18px; }
.tag {
  position: absolute; top: 20px; left: 20px;
  background: var(--red); color: var(--white);
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Processus ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.process__line { position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(11,31,46,.1); }
.process__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--aqua)); transform-origin: left; transform: scaleX(0); transition: transform 2s var(--ease) .3s; }
.process.is-visible .process__line i { transform: scaleX(1); }
.process__step { text-align: center; position: relative; padding: 0 10px; }
.process__num {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--red);
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 1.2rem;
  box-shadow: 0 0 0 8px var(--sand), var(--shadow);
  position: relative; transition: background .4s, color .4s, transform .4s var(--ease);
}
.process__num::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px dashed rgba(198,42,64,.35); animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.process__step:hover .process__num { background: var(--red); color: var(--white); transform: scale(1.08); }
.process__step h3 { font-size: 1.1rem; color: var(--navy); }
.process__step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- À propos : réseau animé ---------- */
.network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 60px 60px 0; }
.about__img { border-radius: var(--radius); object-fit: cover; }
.about__img--main { width: 100%; aspect-ratio: 4/3.4; }
.about__img--small {
  position: absolute; right: 0; bottom: 0; width: 45%; aspect-ratio: 1;
  border: 6px solid var(--navy); animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-14px); } }
.about__badge {
  position: absolute; left: -20px; top: 30px;
  background: var(--red); color: var(--white);
  padding: 18px 22px; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: bob 5s ease-in-out infinite reverse;
}
.about__badge strong { display: block; font-family: "Sora", sans-serif; font-size: 2rem; line-height: 1; }
.about__badge span { font-size: .8rem; opacity: .9; }
.about__content strong { color: var(--white); }

.timeline { list-style: none; padding: 0; margin: 32px 0 0; border-left: 2px solid rgba(255,255,255,.15); }
.timeline li { position: relative; padding: 0 0 16px 28px; font-size: .95rem; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--aqua);
}
.timeline span { font-family: "Sora", sans-serif; font-weight: 700; color: var(--aqua); margin-right: 12px; }

.values__title { margin-top: 100px; font-size: 1.6rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px); overflow: hidden;
  transition: transform .5s var(--ease), background .4s, border-color .4s, opacity .9s var(--ease);
}
.value::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -60px; top: -60px; background: radial-gradient(circle, rgba(198,42,64,.45), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.value:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(95,211,208,.4); }
.value:hover::after { opacity: 1; }
.value__icon { color: var(--red); font-size: .9rem; display: block; margin-bottom: 10px; }
.value h4 { font-size: 1.08rem; }
.value p { margin: 0; font-size: .92rem; }

.certifs {
  margin-top: 56px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  background: var(--white); border-radius: var(--radius); padding: 22px 34px;
}
.certifs__label { color: var(--navy); font-weight: 600; font-size: .9rem; margin-right: auto; }
.certifs img { height: 58px; width: auto; object-fit: contain; transition: transform .4s var(--ease); }
.certifs img:hover { transform: scale(1.12); }

/* ---------- Galerie ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  font-size: .88rem; font-weight: 500;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; transition: .3s;
}
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 18px; perspective: 1200px; }
.gallery__item {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in;
  transform-style: preserve-3d;
  transition: opacity .9s var(--ease), transform .4s var(--ease), box-shadow .4s;
}
.gallery__item:hover { box-shadow: var(--shadow-lg); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.1); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 50px 22px 20px;
  background: linear-gradient(transparent, rgba(11,31,46,.92));
  color: var(--white);
  transform: translateY(14px); transition: transform .5s var(--ease);
}
.gallery__item:hover figcaption { transform: none; }
.gallery__item figcaption strong { display: block; font-family: "Sora", sans-serif; font-size: 1.08rem; }
.gallery__item figcaption span { font-size: .84rem; opacity: .85; }
.gallery__item.is-hidden { display: none; }
.gallery__item.is-filtering { animation: popIn .6s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- Témoignages : dégradé animé + carrousel ---------- */
.section--mesh { background: var(--navy); color: var(--white); }
.section--mesh .section__title { color: var(--white); }
.mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(198,42,64,.55), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(15,139,141,.55), transparent 35%),
    radial-gradient(circle at 60% 80%, rgba(18,48,74,.9), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(95,211,208,.35), transparent 35%);
  animation: meshMove 20s ease-in-out infinite alternate;
}
@keyframes meshMove {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.1) translate(3%, -2%); }
  100% { transform: rotate(-6deg) scale(1.05) translate(-3%, 2%); }
}
.tslider { position: relative; max-width: 860px; margin: 0 auto; }
.tslider__track { display: grid; }
.tcard {
  grid-area: 1 / 1; margin: 0; text-align: center;
  opacity: 0; transform: translateX(60px) scale(.96); pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.tcard.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tcard.is-leaving { transform: translateX(-60px) scale(.96); }
.tcard p { font-family: "Sora", sans-serif; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.5; font-weight: 500; color: var(--white); margin-bottom: 36px; }
.tcard p::before {
  content: "“"; display: block; font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--red); margin-bottom: 18px;
}
.tcard footer { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.tcard footer img { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: var(--white); padding: 4px; }
.tcard footer strong { display: block; color: var(--white); font-family: "Sora", sans-serif; }
.tcard footer span { font-size: .85rem; color: rgba(255,255,255,.65); }
.tslider__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 44px; }
.tslider__dots { display: flex; gap: 8px; }
.tslider__dots button {
  width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.3); transition: width .4s var(--ease), background .3s;
}
.tslider__dots button.is-active { width: 34px; background: var(--red); }

/* ---------- CTA : dégradé + vagues ---------- */
.cta { position: relative; overflow: hidden; }
.cta__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--red), #7d1c3e, var(--navy), var(--teal), var(--red));
  background-size: 300% 300%;
  animation: gradientShift 14s ease infinite;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta__waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 140px; }
.wave { fill: rgba(255,255,255,.07); animation: waveMove 14s linear infinite; }
.wave--2 { fill: rgba(255,255,255,.05); animation-duration: 20s; animation-direction: reverse; }
@keyframes waveMove { to { transform: translateX(-50%); } }
.cta__inner { position: relative; padding: 110px 0; text-align: center; color: var(--white); }
.cta__inner h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta__inner p { opacity: .9; margin-bottom: 30px; font-size: 1.1rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; font-size: .95rem; color: var(--muted); }
.contact__list strong { display: block; color: var(--navy); font-family: "Sora", sans-serif; }
.contact__list a { color: var(--ink); font-weight: 500; }
.contact__list a:hover { color: var(--red); }
.contact__icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--white); color: var(--red); display: grid; place-items: center;
  box-shadow: var(--shadow); transition: transform .4s var(--ease), background .3s, color .3s;
}
.contact__list li:hover .contact__icon { background: var(--red); color: var(--white); transform: rotate(-8deg); }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.placeholder { font-size: .8rem; color: #c08a00; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white); transition: background .3s, transform .3s var(--ease);
}
.socials a:hover { background: var(--red); transform: translateY(-4px) rotate(8deg); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.form {
  background: rgba(255,255,255,.75); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.9);
  padding: 42px; border-radius: 24px; box-shadow: var(--shadow-lg);
  display: grid; gap: 18px;
}
.form h3 { color: var(--navy); font-size: 1.4rem; margin: 0 0 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: .95rem;
  padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,139,141,.14); transform: translateY(-1px);
}
.form .is-invalid { border-color: var(--red); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.form__check { display: flex !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: var(--muted) !important; font-size: .82rem !important; }
.form__check input { margin-top: 3px; accent-color: var(--red); }
.form__feedback { margin: 0; font-size: .9rem; font-weight: 500; min-height: 1.2em; }
.form__feedback.is-ok { color: var(--teal); }
.form__feedback.is-error { color: var(--red); }

/* ---------- Pied de page ---------- */
.footer { background: #071520; color: rgba(255,255,255,.65); padding-top: 80px; font-size: .92rem; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--aqua), var(--red)); background-size: 200% 100%; animation: shine 6s linear infinite; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer__about { margin-top: 18px; max-width: 320px; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .2s, padding .3s; }
.footer ul a:hover { color: var(--white); padding-left: 6px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(7,21,32,.94); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 40px; opacity: 0; pointer-events: none; transition: opacity .4s;
}
.lightbox img { max-height: 80vh; border-radius: 12px; transform: scale(.9); transition: transform .5s var(--ease); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox.is-open img { transform: none; }
.lightbox__caption { color: var(--white); margin: 0; font-family: "Sora", sans-serif; }
.lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: var(--white); font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* ---------- Responsive ---------- */
@media (hover: none) {
  .bento__list { max-height: 120px; opacity: 1; margin-top: 14px; }
}

@media (min-width: 1100px) and (min-height: 760px) { .scroll-hint { display: block; } }

@media (max-width: 1100px) {
  .header__lang { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 50px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4)::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 12px 24px 28px;
    box-shadow: var(--shadow-lg);
    clip-path: inset(0 0 100% 0); pointer-events: none;
    transition: clip-path .5s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .header.is-top .nav__link, .nav__link { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .header.nav-open { background: var(--white); }
  .header.nav-open .burger span { background: var(--navy); }

  .slider__tabs { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .slider__tab { font-size: 0; }
  .slider__tab span { font-size: .78rem; }
  .slider__arrows { display: none; }
  .hero__routes { width: 100%; opacity: .4; }

  .process { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .process__line { display: none; }

  .about, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .container { width: calc(100% - 36px); }
  .section { padding: 84px 0; }
  .logo img { height: 36px; }
  .slide__content { padding-top: calc(var(--header-h) + 36px); padding-bottom: 120px; }
  .slide__actions .btn { width: 100%; }
  .slider__controls { bottom: 26px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 12px; }
  .stat::before { display: none; }
  .stat:last-child { grid-column: span 2; }
  .marquee span { font-size: 1.05rem; }
  .features, .values, .process { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(260px, auto); }
  .bento__item--xl { grid-row: span 1; grid-column: span 1; }
  .bento__item--wide { grid-column: span 1; }
  .bento__item--xl .bento__body h3 { font-size: 1.5rem; }
  .bento__item--xl .bento__list { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery__item--big { grid-row: span 1; }
  .about__media { padding: 0 30px 30px 0; }
  .about__badge { left: -6px; }
  .certifs { justify-content: center; gap: 24px; }
  .certifs__label { width: 100%; text-align: center; margin: 0; }
  .form { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mockup-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
