/* ==========================================================================
   DATOVA : feuille de style principale
   Palette : navy #0b1a2b / bleu logo #0f4a75 / teal #25a09e / sable #f4f1ea
   ========================================================================== */

:root {
  --navy: #0b1a2b;
  --navy-2: #10263d;
  --blue: #0f4a75;
  --teal: #25a09e;
  --teal-2: #3cc8c4;
  --sand: #f4f1ea;
  --white: #ffffff;
  --ink: #0e1724;
  --ink-2: #4a5568;
  --line: rgba(14, 23, 36, .1);
  --line-light: rgba(255, 255, 255, .14);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .8s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--teal); color: #fff; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip:focus { left: 8px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Typo ---------- */
.h1, .hero__title { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 1.2rem; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; }
.h2 em, .hero__title em, .h1 em { font-style: normal; color: var(--teal); }
.section--light .h2 em { color: var(--blue); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--teal-2); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.section--dark .lead, .section--navy .lead { color: rgba(255,255,255,.72); }
.hl { color: var(--teal-2); }
.ico { flex: none; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.18); transform: translateX(-101%) skewX(-16deg); transition: transform .6s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateX(101%) skewX(-16deg); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 30px -10px rgba(37,160,158,.7); }
.btn--primary:hover { background: var(--teal-2); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); border-bottom: 2px solid transparent; transition: border-color .3s; }
.link-arrow:hover { border-color: var(--blue); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 9999; background: var(--navy); display: grid; place-items: center; transition: transform .8s var(--ease-io), visibility 0s .8s; }
.loader.is-done { transform: translateY(-100%); visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__inner img { width: 180px; animation: loaderLogo .9s var(--ease) both; }
.loader__bar { width: 180px; height: 2px; background: rgba(255,255,255,.15); overflow: hidden; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--teal-2); transform-origin: left; animation: loaderBar 1s var(--ease-io) both; }
@keyframes loaderLogo { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes loaderBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body.no-loader .loader { display: none; }

/* ---------- Curseur ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); pointer-events: none; z-index: 9000; transform: translate(-50%,-50%); transition: width .3s, height .3s, background .3s, opacity .3s; opacity: 0; mix-blend-mode: difference; }
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; background: #fff; }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .5s var(--ease); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled { padding: 10px 0; background: rgba(244,241,234,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.brand img { height: 40px; width: auto; }
.brand__light { display: block; } .brand__dark { display: none; }
.header.is-scrolled .brand__light, body.theme-light .header:not(.menu-open) .brand__light { display: none; }
.header.is-scrolled .brand__dark, body.theme-light .header:not(.menu-open) .brand__dark { display: block; }

.nav__list { display: flex; gap: 6px; }
.nav__item { position: relative; }
.nav__item > a { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: #fff; transition: background .3s, color .3s; }
.header.is-scrolled .nav__item > a, body.theme-light .header:not(.menu-open) .nav__item > a { color: var(--ink); }
.nav__item > a:hover, .nav__item > a[aria-current] { background: rgba(255,255,255,.12); }
.header.is-scrolled .nav__item > a:hover, .header.is-scrolled .nav__item > a[aria-current],
body.theme-light .header:not(.menu-open) .nav__item > a:hover, body.theme-light .header:not(.menu-open) .nav__item > a[aria-current] { background: rgba(14,23,36,.06); }
.nav__sub { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(11,26,43,.35); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .3s; }
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; color: var(--ink); transition: background .25s; }
.nav__sub a:hover { background: var(--sand); }
.nav__sub .ico { color: var(--teal); }
.nav__sub strong { display: block; font-size: .95rem; }
.nav__sub small { color: var(--ink-2); font-size: .8rem; }
.nav__mobile-extra { display: none; }
.header__cta { display: flex; align-items: center; gap: 14px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: rgba(255,255,255,.12); }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, background .3s; }
.header.is-scrolled .burger, body.theme-light .header:not(.menu-open) .burger { background: rgba(14,23,36,.06); }
.header.is-scrolled .burger span, body.theme-light .header:not(.menu-open) .burger span { background: var(--ink); }
.header.menu-open .burger span { background: #fff; }
.header.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.menu-open .burger span:nth-child(2) { opacity: 0; }
.header.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav__list .nav__item { display: none; }
  .nav__list .nav__item:not(.nav__item--has-sub) { display: block; }
  .nav { position: fixed; inset: 0; background: var(--navy); z-index: -1; padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; gap: 10px; clip-path: circle(0 at calc(100% - 50px) 40px); transition: clip-path .8s var(--ease-io); overflow: auto; }
  .header.menu-open .nav { clip-path: circle(150% at calc(100% - 50px) 40px); }
  .header.menu-open { background: transparent; box-shadow: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item > a, .nav__mobile-link { color: #fff !important; font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 700; padding: 8px 0; background: none !important; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
  .header.menu-open .nav__item > a, .header.menu-open .nav__mobile-link { opacity: 1; transform: none; }
  .nav__mobile-extra { display: flex; flex-direction: column; order: -1; }
  .nav__mobile-extra .nav__mobile-link:last-of-type { color: var(--teal-2) !important; }
  .nav__mobile-meta { margin-top: auto; padding-top: 30px; color: rgba(255,255,255,.6); line-height: 1.9; order: 10; }
  .burger { display: flex; }
  .header__cta .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--navy); overflow: hidden; padding-top: 120px; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 115%; object-fit: cover; opacity: .55; animation: kenburns 18s var(--ease) both; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,26,43,.55) 0%, rgba(11,26,43,.35) 40%, rgba(11,26,43,.96) 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; pointer-events: none; }
.blob--1 { width: 55vw; height: 55vw; background: radial-gradient(circle, var(--teal) 0%, transparent 65%); top: -10vw; right: -15vw; animation: float1 16s ease-in-out infinite alternate; }
.blob--2 { width: 40vw; height: 40vw; background: radial-gradient(circle, var(--blue) 0%, transparent 65%); bottom: 0; left: -10vw; animation: float2 20s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(-10vw, 12vw) scale(1.15); } }
@keyframes float2 { to { transform: translate(14vw, -8vw) scale(.9); } }
.hero__inner { position: relative; z-index: 1; padding-bottom: 60px; }
.hero__title { max-width: 16ch; margin: 1rem 0 1.4rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.8); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__kpis { display: grid; grid-template-columns: repeat(4, auto); gap: 32px clamp(24px, 5vw, 70px); margin-top: clamp(40px, 6vh, 70px); padding-top: 28px; border-top: 1px solid var(--line-light); width: fit-content; }
.hero__kpis li { display: grid; gap: 2px; }
.hero__kpis strong { white-space: nowrap; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: #fff; }
.hero__kpis li > span:last-child { font-size: .85rem; color: rgba(255,255,255,.62); }
@media (max-width: 700px) { .hero__kpis { grid-template-columns: 1fr 1fr; width: 100%; gap: 22px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 30s linear infinite; will-change: transform; }
.marquee__track--slow { animation-duration: 45s; gap: 70px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--hero { position: relative; z-index: 1; border-top: 1px solid var(--line-light); padding: 18px 0; font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }
.marquee--hero i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); display: inline-block; }
.marquee--hero span { padding-right: 0; }

/* ---------- Logos ---------- */
.logos { padding: 50px 0 40px; background: #fff; border-bottom: 1px solid var(--line); }
.logos__label { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 26px; font-weight: 600; }
.marquee--logos img { height: 34px; width: auto; opacity: .55; filter: grayscale(1) contrast(1.2); transition: opacity .3s, filter .3s; }
.marquee--logos img:hover { opacity: 1; filter: none; }
.logos__names { text-align: center; color: var(--ink-2); font-size: .9rem; margin-top: 26px; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.section--tight { padding-top: clamp(30px, 4vw, 60px); }
.section--light { background: var(--sand); }
.section--white { background: #fff; }
.section--dark { background: var(--navy); color: #fff; }
.section--navy { background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 70%); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section__head--row .btn { margin-bottom: 1.4rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse .split__text { order: 2; }
.split__text .btn { margin-top: 2rem; }
.checks { display: grid; gap: 12px; margin-top: 1.8rem; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--teal); margin-top: 3px; }
.split__media { position: relative; }
.media { border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 3 / 4; width: 78%; }
.media--tall img { height: 115%; }
.media--float { position: absolute; right: 0; bottom: -30px; width: 46%; aspect-ratio: 1; box-shadow: 0 40px 60px -30px rgba(11,26,43,.5); border: 6px solid var(--sand); }
.badge-moq { position: absolute; top: 24px; right: 6%; background: var(--teal); color: #fff; border-radius: 50%; width: 120px; height: 120px; display: grid; place-content: center; text-align: center; line-height: 1.05; box-shadow: 0 20px 40px -15px rgba(37,160,158,.8); animation: spinSlow 14s linear infinite; }
.badge-moq strong { font-family: var(--font-display); font-size: 2.4rem; display: block; }
.badge-moq span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
@keyframes spinSlow { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.split__media--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split__media--grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.split__media--grid img:nth-child(2) { transform: translateY(30px); }
.split__media--grid img:nth-child(3) { transform: translateY(-10px); }
.split__media--grid img:nth-child(4) { transform: translateY(20px); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 30px; margin-top: 2rem; }
.stats li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--teal-2); }
.stats strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.stats li > span { font-size: .85rem; color: rgba(255,255,255,.65); }
.section--light .stats li > span { color: var(--ink-2); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .split__media { margin-top: 20px; }
  .media--float { bottom: -10px; }
}

/* ---------- Cards expertises ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--navy-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-light); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; transform-style: preserve-3d; }
.card:hover { border-color: rgba(60,200,196,.5); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 26px 26px 30px; display: grid; gap: 10px; }
.card__num { font-family: var(--font-display); font-size: .85rem; color: var(--teal-2); letter-spacing: .1em; }
.card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.card__body p { color: rgba(255,255,255,.7); font-size: .97rem; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--teal-2); }
.card__link .ico { transition: transform .4s var(--ease); }
.card:hover .card__link .ico { transform: translateX(5px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } .card__media { aspect-ratio: 16 / 9; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 26px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 26px; left: 0; height: 2px; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform 1.6s var(--ease); }
.step { position: relative; padding-top: 70px; }
.step__n { position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--blue); z-index: 1; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.step.is-on .step__n { background: var(--teal); color: #fff; border-color: var(--teal); transform: scale(1.08); }
.step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps::before, .steps::after { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; gap: 10px; } .step { padding: 0 0 0 70px; } }

/* ---------- Who ---------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.who__item { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.who__item:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(11,26,43,.35); }
.who__item .ico { color: var(--teal); margin-bottom: 18px; }
.who__item h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.who__item p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1000px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }

/* ---------- Gallery strip ---------- */
.gallery-strip { display: flex; gap: 18px; overflow-x: auto; padding: 10px var(--gutter) 30px; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-strip figure { flex: 0 0 clamp(260px, 28vw, 380px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 5; background: #ddd; }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-strip figure:hover img { transform: scale(1.05); }
.gallery-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; font-size: .9rem; font-weight: 500; background: linear-gradient(transparent, rgba(11,26,43,.85)); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 1.6rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; font-family: var(--font-display); font-size: 1.08rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .4s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__body { padding: 0 22px 22px; color: var(--ink-2); }
.faq__body p + p { margin-top: 10px; }
.faq__body { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: clamp(60px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(37,160,158,.45), transparent 65%); right: -20vw; top: -30vw; filter: blur(40px); animation: float1 18s ease-in-out infinite alternate; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band__title { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 1rem; }
.cta-band__text { color: rgba(255,255,255,.72); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.footer { background: #061120; color: rgba(255,255,255,.7); padding: 70px 0 30px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 36ch; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); color: #fff; transition: background .3s, border-color .3s; }
.footer__social a:hover { background: var(--teal); border-color: var(--teal); }
.footer__h { font-family: var(--font-display); color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color .3s; }
.footer__links a:hover { color: var(--teal-2); }
.footer__links--contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__links--contact .ico { color: var(--teal-2); margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.45); }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 150px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 50vw; height: 50vw; border-radius: 50%; right: -15vw; top: -20vw; background: radial-gradient(circle, rgba(37,160,158,.4), transparent 65%); filter: blur(50px); animation: float1 18s ease-in-out infinite alternate; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .h1 { max-width: 18ch; margin: .6rem 0 1.2rem; }
.page-hero .lead { color: rgba(255,255,255,.75); }
.page-hero--media { padding-bottom: 0; }
.page-hero__media { margin-top: 50px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 21 / 9; }
.page-hero__media img { width: 100%; height: 120%; object-fit: cover; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); display: flex; gap: 8px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .5s var(--ease), box-shadow .5s; }
.feature:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(11,26,43,.3); }
.feature .ico { color: var(--teal); margin-bottom: 14px; }
.feature h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: .95rem; }
.section--dark .feature, .section--navy .feature { background: rgba(255,255,255,.05); border-color: var(--line-light); }
.section--dark .feature p, .section--navy .feature p { color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ---------- Product list (pages expertises) ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 1.6rem; }
.products li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font-weight: 500; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.products li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }

/* ---------- Spec table ---------- */
.spec { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 32%; font-weight: 600; color: var(--blue); background: rgba(15,74,117,.04); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* ---------- Timeline (page process) ---------- */
.timeline { display: grid; gap: 0; position: relative; margin-top: 2rem; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 27px; top: 20px; height: calc(100% - 40px); width: 2px; background: var(--teal); transform-origin: top; transform: scaleY(var(--progress, 0)); transition: transform .2s linear; }
.tl { display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 26px 0; position: relative; }
.tl__n { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--blue); z-index: 1; transition: background .4s, color .4s, border-color .4s; }
.tl.is-on .tl__n { background: var(--teal); border-color: var(--teal); color: #fff; }
.tl__body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
.tl__body h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.tl__body p { color: var(--ink-2); }
.tl__meta { text-align: right; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 600; white-space: nowrap; }
.tl__meta strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); letter-spacing: 0; text-transform: none; }
.tl__list { margin-top: 12px; display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.tl__list li { display: flex; gap: 8px; }
.tl__list li::before { content: "→"; color: var(--teal); }
@media (max-width: 640px) { .tl__body { grid-template-columns: 1fr; } .tl__meta { text-align: left; } }

/* ---------- Gallery grid (réalisations) ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; position: relative; background: #ddd; }
.gallery img { width: 100%; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(11,26,43,.85)); }
.gallery figcaption small { display: block; opacity: .7; font-size: .78rem; }
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-aside { position: sticky; top: 110px; display: grid; gap: 26px; }
.contact-aside__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-aside__card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 12px; }
.contact-aside__card ul { display: grid; gap: 10px; }
.contact-aside__card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.contact-aside__card .ico { color: var(--teal); margin-top: 3px; }
.contact-aside__card a:hover { color: var(--blue); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
.field label small { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sand); transition: border-color .3s, box-shadow .3s, background .3s; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(37,160,158,.15); }
.field textarea { min-height: 150px; resize: vertical; }
.field--error input, .field--error select, .field--error textarea { border-color: #d9534f; }
.field__err { font-size: .8rem; color: #d9534f; display: none; }
.field--error .field__err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); background: #fff; }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(37,160,158,.25); }
.chips span:hover { transform: translateY(-2px); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__foot small { color: var(--ink-2); font-size: .8rem; max-width: 46ch; }
.form__status { display: none; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.form__status.is-ok { display: block; background: rgba(37,160,158,.12); color: #146664; }
.form__status.is-err { display: block; background: rgba(217,83,79,.1); color: #a33; }
.btn.is-loading { pointer-events: none; opacity: .7; }
.btn.is-loading .ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 50px 20px; display: grid; justify-items: center; gap: 14px; }
.form-success__ico { width: 76px; height: 76px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; order: 2; } }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Prose (mentions légales, faq) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: .8rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 6px; margin-top: .6rem; }
.prose a { color: var(--blue); text-decoration: underline; }

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; background: var(--navy); color: #fff; padding: 140px 0 80px; }
.nf strong { font-family: var(--font-display); font-size: clamp(5rem, 20vw, 12rem); line-height: 1; color: var(--teal); display: block; }

/* ---------- Motion : reveal & split ---------- */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 40ms); }
[data-split].is-in .w > span { transform: none; }
.tilt { will-change: transform; }

/* Progress bar lecture */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); z-index: 600; pointer-events: none; }

/* Back to top */
.totop { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 400; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease), background .3s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.totop.is-visible { opacity: 1; transform: none; }
.totop:hover { background: var(--teal); }

/* WhatsApp flottant */
.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 400; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 12px; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-split] .w > span { opacity: 1; transform: none; }
  .loader { display: none; }
}
