/* ==========================================================================
   SERVLEAD TEAM — feuille de style principale
   Palette et typographie reprises du site WordPress d'origine
   (Blocksy + Elementor) : sarcelle #007373, rouge #E80707, Montserrat.
   ========================================================================== */

:root {
  --teal: #007373;
  --teal-dark: #005656;
  --teal-deep: #003f3f;
  --teal-soft: rgba(0, 115, 115, .16);
  --red: #e80707;
  --red-dark: #b80000;
  --red-deep: #6b0000;
  --red-soft: rgba(232, 7, 7, .14);
  --sky: rgba(110, 193, 228, .22);
  --sky-strong: rgba(93, 190, 231, .39);
  --blue-soft: #c7daf1;
  --yellow: #f6cf0b;
  --ink: #111;
  --text: #1d1d1f;
  --muted: #5b6168;
  --line: #e3e6ea;
  --light: #edeff2;
  --paper: #f9fafb;
  --white: #fff;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-alt: "Montserrat Alternates", var(--font);

  --r-xl: 25px;
  --r-lg: 15px;
  --r-md: 10px;
  --shadow-sm: 0 2px 10px rgba(0, 40, 40, .06);
  --shadow: 0 14px 40px -12px rgba(0, 50, 50, .22);
  --shadow-lg: 0 30px 70px -20px rgba(0, 40, 40, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .25s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1em; height: 1em; flex-shrink: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(28px, 5vw, 56px); position: relative; }
.section--tight { padding-block: clamp(12px, 2.5vw, 24px); }
.align-center { text-align: center; }
.align-left { text-align: left; }
.align-right { text-align: right; }

/* Tones shared by tiles, split blocks, icons... */
.tone-teal { background: var(--teal); color: #fff; }
.tone-teal h2, .tone-teal h3 { color: #fff; }
.tone-red { background: var(--red); color: #fff; }
.tone-red h2 { color: #fff; }
.tone-red-dark { background: var(--red-dark); color: #fff; }
.tone-red-dark h2 { color: #fff; }
.tone-sky { background: var(--sky-strong); color: var(--ink); }
.tone-white { background: #fff; color: var(--ink); border: 2px solid var(--teal-soft); }
.tone-teal-soft { background: var(--teal-soft); color: var(--ink); }
.tone-red-soft { background: var(--red-soft); color: var(--ink); }
.tone-blue-soft { background: var(--blue-soft); color: var(--ink); }
.tone-none { background: transparent; color: var(--text); }

/* ---------- Prose (formatted text from the admin) ---------- */
.prose > :last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1em; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.5em; margin-bottom: .45em; }
.prose li::before {
  content: ""; position: absolute; left: .2em; top: .62em; width: .5em; height: .5em;
  border-radius: 2px; background: currentColor; opacity: .55; transform: rotate(45deg);
}
.prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose h3 { font-size: 1.15em; margin-top: 1.2em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.5em; border: 0; border-radius: var(--r-md);
  background: var(--bg); color: var(--fg);
  font: 700 15px/1.2 var(--font); letter-spacing: .01em; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s;
  box-shadow: 0 8px 20px -10px rgba(0, 80, 80, .6);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: translateX(-101%); transition: transform .45s var(--ease);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(200, 0, 0, .55); }
.btn:hover::before { transform: none; }
.btn__icon { transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--sm { padding: .7em 1.2em; font-size: 14px; }
.btn--lg { padding: 1em 2em; font-size: 17px; }
.btn--white { --bg: #fff; --fg: #000; border-radius: 15px; }
.btn--light { --bg: rgba(255, 255, 255, .95); --fg: var(--teal-dark); }
.btn--ghost { --bg: transparent; --fg: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }

/* ---------- Page curtain (transitions between pages) ---------- */
.curtain { position: fixed; inset: 0; z-index: 999; pointer-events: none; display: none; }
.js .curtain { display: block; }
.curtain__panel { position: absolute; inset: 0; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); }
.curtain__logo { position: absolute; left: 50%; top: 50%; width: min(300px, 64vw); transform: translate(-50%, -50%); background: #fff; padding: 14px 22px; border-radius: 16px; box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .5); }
.curtain.is-gone { visibility: hidden; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow .35s, transform .45s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(0, 40, 40, .25); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { max-width: 1400px; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: 74px; }
.brand { flex-shrink: 0; }
.brand img { width: clamp(180px, 17vw, 240px); height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.scroll-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--red)); transform-origin: left; transform: scaleX(0); }

.nav__list { display: flex; align-items: center; gap: clamp(2px, .6vw, 12px); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 4px; padding: 10px 7px; color: #000;
  font-weight: 600; font-size: 14.5px; white-space: nowrap; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__item:hover > .nav__link::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__item:hover > .nav__link { color: var(--teal); }
.nav__chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: -10px; min-width: 250px; margin: 0; padding: 10px; list-style: none;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--teal);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: top left;
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub li { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.nav__item:hover .nav__sub li, .nav__item:focus-within .nav__sub li { opacity: 1; transform: none; }
.nav__sub li:nth-child(2) { transition-delay: .04s; } .nav__sub li:nth-child(3) { transition-delay: .08s; }
.nav__sub li:nth-child(4) { transition-delay: .12s; } .nav__sub li:nth-child(5) { transition-delay: .16s; }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 8px; color: #1a1a1a; font-weight: 500; font-size: 14.5px; transition: background .25s, color .25s, padding .3s var(--ease); }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--teal-soft); color: var(--teal-dark); padding-left: 20px; }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--teal-soft); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--teal-dark); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }

.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 30, 30, .5); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; padding: 20px;
  display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__close { width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); font-size: 22px; display: grid; place-items: center; cursor: pointer; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list a, .drawer__list summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; color: #111; font-weight: 600; cursor: pointer; list-style: none; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list details[open] summary .icon { transform: rotate(180deg); }
.drawer__list summary .icon { transition: transform .3s; }
.drawer__list details ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; border-left: 2px solid var(--teal); }
.drawer__list details a { font-weight: 500; padding: 10px 6px; font-size: 15px; }
.drawer__list .is-active > a, .drawer__list .is-active summary { color: var(--teal); }
.drawer__contact { margin-top: auto; padding-top: 20px; display: grid; gap: 8px; }
.drawer__contact a { display: flex; gap: 10px; align-items: center; font-weight: 600; }

/* ---------- Hero ---------- */
.section-hero { padding-top: 6px; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-xl); isolation: isolate;
  min-height: clamp(380px, 62vh, 560px); display: grid; align-items: center;
  padding: clamp(80px, 12vw, 150px) clamp(20px, 6vw, 80px) clamp(60px, 9vw, 100px);
  background: var(--teal-deep); color: #fff;
}
.hero--tall { min-height: clamp(440px, 78vh, 760px); }
.hero--md { min-height: clamp(320px, 48vh, 440px); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slides { z-index: -2; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, calc(var(--overlay) * .7)) 0%, rgba(0, 0, 0, var(--overlay)) 55%, rgba(0, 40, 40, calc(var(--overlay) + .15)) 100%);
}
.hero__shape { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.hero__shape--a { width: 340px; height: 340px; right: -110px; top: -120px; border: 50px solid rgba(232, 7, 7, .35); }
.hero__shape--b { width: 220px; height: 220px; left: -80px; bottom: -90px; background: rgba(0, 115, 115, .55); }
.hero__content { max-width: 1000px; margin-inline: auto; width: 100%; }
.hero--center { text-align: center; }
.hero--left .hero__content { margin-left: 0; max-width: 760px; }
.hero__kicker { font-size: clamp(17px, 2.2vw, 29px); font-weight: 500; margin-bottom: .3em; }
.hero__title { color: #fff; font-weight: 800; margin: 0; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero--md .hero__title { font-size: clamp(30px, 4.6vw, 50px); }
.hero--lg .hero__title { font-size: clamp(32px, 5.4vw, 58px); }
.hero--xl .hero__title { font-size: clamp(36px, 6.4vw, 76px); }
.hero--xxl .hero__title { font-size: clamp(42px, 8.4vw, 100px); }
.hero__subtitle { margin: 1em auto 0; max-width: 720px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; opacity: .95; display: flex; justify-content: center; gap: .4em; align-items: center; }
.hero--left .hero__subtitle { margin-left: 0; justify-content: flex-start; }
.hero__subtitle.is-italic { font-style: italic; }
.hero__subtitle.is-lg { font-size: clamp(19px, 2.4vw, 30px); }
.hero__actions { margin-top: 28px; }
.hero__dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.hero__dots button.is-active { width: 28px; background: #fff; }
.hero__scroll { position: absolute; right: 28px; bottom: 22px; width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 18px; justify-content: inherit; flex-wrap: wrap; }
.hero--center .breadcrumb { justify-content: center; }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { transform: rotate(-90deg); width: 14px; }

/* Split-word animation targets */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Titles ---------- */
.section-title { text-align: center; font-size: clamp(28px, 4vw, 40px); color: rgba(2, 1, 1, .85); margin-bottom: clamp(24px, 4vw, 44px); }
.pill-title {
  margin: 0 auto clamp(20px, 3vw, 32px); text-align: center; color: #fff; background: var(--teal);
  border-radius: 12px; padding: .55em 1em; font-size: clamp(20px, 2.8vw, 32px); max-width: 100%;
  position: relative; overflow: hidden;
}
.pill-title::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: skewX(-20deg); animation: shine 5.5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.pill-title--plain { background: none; color: #000; font-size: clamp(30px, 4.5vw, 45px); }
.pill-title--plain::after { display: none; }

/* ---------- Promo bar (home) ---------- */
.promo {
  display: flex; align-items: center; justify-content: center; gap: 18px; position: relative; overflow: hidden;
  max-width: 900px; margin: 0 auto; padding: 10px 70px 10px 24px; border-radius: var(--r-md);
  background: var(--red); color: #fff; text-align: center; box-shadow: 0 16px 30px -18px rgba(232, 7, 7, .9);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.promo:hover { color: #fff; transform: translateY(-3px) scale(1.01); box-shadow: 0 22px 40px -18px rgba(232, 7, 7, .95); }
.promo__text { font-weight: 800; font-size: clamp(16px, 2.2vw, 25px); letter-spacing: .01em; }
.promo__btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 52px; height: 36px; border-radius: 10px; background: #fff; color: #484848; display: grid; place-items: center; font-size: 20px; animation: bounce 2.4s var(--ease) infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-50%) scale(1.12); } }
.promo__shine { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%); transform: translateX(-100%); animation: promoShine 3.5s ease-in-out infinite; }
@keyframes promoShine { 0%, 50% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Pillars (home) ---------- */
.pillars { overflow: hidden; }
.pillars__blob {
  position: absolute; left: -6%; top: 6%; width: 70%; aspect-ratio: 1; z-index: -1;
  background: var(--yellow); opacity: .9;
  clip-path: polygon(0 12%, 18% 0, 100% 50%, 18% 100%, 0 88%);
  border-radius: 40px;
}
.pillars__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 3vw, 32px); max-width: 920px; margin: 0 auto; }
.pillar {
  background: rgba(230, 232, 235, .85); backdrop-filter: blur(6px); border-radius: 28px; padding: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 38px);
  transition: transform .5s var(--ease), box-shadow .5s, background .4s; transform-style: preserve-3d;
}
.pillar:nth-child(even) { margin-top: clamp(0px, 6vw, 70px); }
.pillar:hover { background: #fff; box-shadow: var(--shadow-lg); }
.pillar__icon { width: 74px; height: 74px; display: grid; place-items: center; color: var(--red); font-size: 62px; margin-bottom: 18px; transition: transform .6s var(--ease); }
.pillar__icon .icon { stroke-width: 1.6; }
.pillar:hover .pillar__icon { transform: scale(1.15) rotate(-6deg); }
.pillar h3 { font-size: 18px; margin-bottom: .4em; }
.pillar p { margin: 0; font-weight: 500; font-size: 15px; color: #222; }

/* ---------- Showcase (home catalogue) ---------- */
.showcase__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; gap: 20px; }
.show-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; display: flex; align-items: flex-end;
  grid-column: span 2; grid-row: span 2; box-shadow: var(--shadow); isolation: isolate;
}
.show-card--wide { grid-column: span 4; grid-row: span 2; }
.show-card--tall { grid-column: span 2; grid-row: span 4; }
.show-card__slides, .show-card__slide { position: absolute; inset: 0; z-index: -2; }
.show-card__slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease, transform 6s ease; transform: scale(1.08); }
.show-card__slide.is-active { opacity: 1; transform: scale(1); }
.show-card:hover .show-card__slide.is-active { transform: scale(1.08); }
.show-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, .78) 100%); transition: background .5s; }
.show-card:hover::after { background: linear-gradient(180deg, rgba(0, 60, 60, .1) 0%, rgba(0, 50, 50, .88) 100%); }
.show-card__body { padding: clamp(18px, 2.4vw, 30px); width: 100%; }
.show-card__kicker { font-size: 14px; color: #ddd; font-style: italic; margin-bottom: 6px; }
.show-card h3 { color: #fff; font-size: clamp(16px, 1.6vw, 20px); margin-bottom: 12px; }
.show-card__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 74px;
  background: rgba(185, 0, 0, .7); color: #fff; font-size: 13px; font-weight: 600; transition: background .3s, gap .3s;
}
.show-card__btn:hover { background: var(--red); color: #fff; gap: 10px; }

/* ---------- Partners ---------- */
.partners__inner { display: flex; align-items: center; gap: 28px; border-block: 1px solid var(--line); padding-block: 28px; }
.partners__count { text-align: center; flex-shrink: 0; }
.partners__count strong { display: block; font-size: 48px; line-height: 1; color: var(--teal); }
.partners__count span { font-weight: 800; font-size: 13px; letter-spacing: .06em; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { margin: 0; height: 110px; display: grid; place-items: center; }
.marquee__item img { max-height: 110px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(.2); transition: filter .3s, transform .4s var(--ease); }
.marquee__item:hover img { filter: none; transform: scale(1.08); }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--teal); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 54px);
}
.cta-band h2 { color: #fff; font-size: clamp(20px, 2.2vw, 24px); margin-bottom: .3em; }
.cta-band p { margin: 0; font-size: clamp(15px, 1.4vw, 18px); font-style: italic; max-width: 640px; }
.cta-band .btn { flex-shrink: 0; }
.cta-band__rings { position: absolute; right: 18%; top: 50%; z-index: -1; }
.cta-band__rings span { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); animation: ripple 4.5s linear infinite; }
.cta-band__rings span:nth-child(2) { animation-delay: 1.5s; } .cta-band__rings span:nth-child(3) { animation-delay: 3s; }
@keyframes ripple { from { transform: scale(.5); opacity: 1; } to { transform: scale(4); opacity: 0; } }

/* ---------- Split rows (A propos, plateformes) ---------- */
.split { display: grid; gap: clamp(18px, 3vw, 30px); }
.split__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.split__row.is-reverse { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.split__row.is-reverse .split__title { order: 2; border-radius: 0 var(--r-xl) var(--r-xl) 0; }
.split__row.is-reverse .split__text { border-radius: var(--r-xl) 0 0 var(--r-xl); }
.split__title { border-radius: var(--r-xl) 0 0 var(--r-xl); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; }
.split__title h2 { font-size: clamp(26px, 3.4vw, 45px); margin: 0; color: inherit; }
.split__title.tone-sky h2 { color: #111; }
.split__icon { font-size: 52px; display: grid; place-items: center; animation: float 4s ease-in-out infinite; }
.split__title.tone-sky .split__icon { color: var(--teal); }
.split__text { border-radius: 0 var(--r-xl) var(--r-xl) 0; padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; font-size: 16px; }
.split__row.is-large .split__text { font-size: clamp(18px, 2vw, 24px); font-weight: 500; }
.split__text.tone-none { padding-inline: clamp(16px, 3vw, 40px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Tiles (vision / approche) ---------- */
.tiles { display: grid; gap: clamp(14px, 2vw, 22px); }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tiles.align-left { text-align: left; }
.tile { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -60px; top: -60px; background: rgba(255, 255, 255, .08); transition: transform .7s var(--ease); }
.tile:hover::before { transform: scale(2.2); }
.tile__icon { font-size: 34px; margin-bottom: 10px; opacity: .9; }
.tile__title { font-size: clamp(24px, 2.6vw, 35px); color: inherit; }
.tiles--4 .tile__title { font-size: clamp(20px, 2.1vw, 30px); overflow-wrap: anywhere; }
.tiles--compact .tile__title { font-size: clamp(20px, 2.4vw, 32px); margin-bottom: .25em; }
.tiles--compact .tile { padding: 22px 16px; }
.tile.tone-white .tile__title { color: #000; }
.tile__text { font-size: 16px; }
.tiles--2 .tile__text { font-size: 18px; }

/* ---------- Text blocks / quote ---------- */
.text-block { font-size: 16.5px; }
.text-block.is-narrow { max-width: 860px; margin-inline: auto; }
.text-block.align-center .prose ul, .text-block.align-center ul { display: inline-block; text-align: left; }
.quote { margin: 0 auto; max-width: 860px; text-align: center; background: var(--teal); color: #fff; border-radius: var(--r-lg); padding: 28px 30px 24px; position: relative; }
.quote__mark { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 22px; }
.quote blockquote { margin: 0; font-size: clamp(17px, 2vw, 20px); font-style: italic; font-weight: 600; }
.quote figcaption { margin-top: 6px; font-weight: 800; font-size: 14px; letter-spacing: .05em; opacity: .9; }

/* ---------- Approach (vision) ---------- */
.approach { display: grid; gap: 14px; }
.approach__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.approach__row.is-reverse { grid-template-columns: 1fr 2fr; }
.approach__title { margin: 0; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); font-size: clamp(24px, 3.2vw, 40px); display: flex; align-items: center; color: #000; }
.approach__title.align-right { justify-content: flex-end; text-align: right; }
.approach__icon { border-radius: var(--r-lg); display: grid; place-items: center; font-size: 64px; min-height: 120px; }
.approach__icon .icon { animation: float 4s ease-in-out infinite; }

/* ---------- Values (SERVLEAD acronym) ---------- */
.values { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.values__acronym { display: flex; justify-content: center; gap: clamp(4px, 1.4vw, 16px); margin-bottom: clamp(24px, 4vw, 48px); }
.values__acronym span {
  display: grid; place-items: center; width: clamp(34px, 8vw, 92px); aspect-ratio: 1; border-radius: 14px;
  background: var(--teal); color: #fff; font-weight: 900; font-size: clamp(20px, 5vw, 56px);
  box-shadow: 0 10px 24px -14px rgba(0, 80, 80, .9);
}
.values__acronym span:nth-child(even) { background: var(--red); }
.values__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); border-left: 5px solid var(--teal); transition: transform .45s var(--ease), box-shadow .45s; }
.value:nth-child(4n+2), .value:nth-child(4n+3) { border-left-color: var(--red); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__letter { flex-shrink: 0; width: 54px; height: 54px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-weight: 900; font-size: 28px; }
.value__title { font-size: 21px; margin-bottom: .25em; color: var(--teal-dark); }
.value p { margin: 0; }

/* ---------- Team ---------- */
.team { border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: clamp(20px, 3vw, 40px); align-items: center; position: relative; overflow: hidden; isolation: isolate; background: var(--teal-deep); }
.team::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--team-bg, linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%)) center/cover; }
.team::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 40, 40, .85) 0%, rgba(0, 40, 40, .45) 100%); }
.team__title { color: #fff; font-size: clamp(32px, 4.4vw, 59px); margin: 0; }
.team--technical { grid-template-columns: 1fr; }
.team--technical .team__grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .team--technical .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .team--technical .team__grid { grid-template-columns: repeat(2, 1fr); } }
.team--technical .team__title { font-size: clamp(30px, 3.6vw, 43px); }
.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.team--executive .team__grid { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
.member { background: rgba(255, 255, 255, .96); border-radius: 18px; padding: 16px 16px 20px; text-align: center; color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s; }
a.member:hover { color: var(--ink); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.member__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 1; margin-bottom: 14px; background: var(--light); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.member:hover .member__photo img { transform: scale(1.07); }
.member__name { font-size: 17px; margin-bottom: .2em; }
.member__role { font-size: 14px; color: var(--muted); margin: 0; font-weight: 500; }
.member__more { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--red); font-weight: 700; font-size: 13px; }

/* ---------- Steps (experts) ---------- */
.steps { overflow: hidden; }
.steps__shape { position: absolute; right: -10%; top: 0; width: 60%; aspect-ratio: 1; background: url('/uploads/2021/07/decorative-shape-2.svg') center/contain no-repeat; opacity: .5; z-index: -1; }
.steps__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 60px); align-items: start; }
.steps__intro { position: sticky; top: 120px; }
.steps__intro .section-title { text-align: left; font-size: clamp(30px, 3.8vw, 48px); color: #000; }
.steps__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; }
.steps__line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 3px; background: var(--light); border-radius: 3px; }
.steps__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--teal), var(--red)); transform-origin: top; transform: scaleY(0); }
.step { display: flex; gap: 20px; align-items: flex-start; position: relative; }
.step__badge { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 28px; position: relative; box-shadow: 0 10px 22px -10px rgba(0, 90, 90, .8); }
.step__badge span { position: absolute; right: -8px; top: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.step__body { background: #fff; border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow); flex: 1; transition: transform .45s var(--ease); }
.step:hover .step__body { transform: translateX(6px); }
.step__body h3 { font-size: 17px; color: var(--teal-dark); }
.step__body p { margin: 0; }

/* ---------- Flip boxes ---------- */
.flips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.flip { perspective: 1200px; min-height: 280px; outline: none; }
.flip__inner { position: relative; width: 100%; height: 100%; min-height: 280px; transition: transform .9s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip__inner, .flip:focus .flip__inner, .flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__front { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); color: #fff; }
.flip:nth-child(even) .flip__front { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); }
.flip__back { background: #fff; color: var(--ink); transform: rotateY(180deg); box-shadow: inset 0 0 0 3px var(--teal); }
.flip__icon { font-size: 44px; margin-bottom: 10px; }
.flip__kicker { font-weight: 600; margin: 0; letter-spacing: .04em; }
.flip__title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: .1em 0 .4em; }
.flip__title--sm { color: var(--teal); font-size: 22px; }
.flip__hint { font-size: 12px; opacity: .8; display: inline-flex; gap: 6px; align-items: center; }
.flip__back p { margin: 0; font-weight: 500; }

/* ---------- Cards (image-box grids) ---------- */
.cards { display: grid; gap: clamp(14px, 2vw, 22px); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; position: relative; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__media { overflow: hidden; aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 17px; margin-bottom: .6em; }
.card__text { font-size: 15px; flex: 1; }
.card__actions { margin-top: 16px; }
.cards--sky .card { background: var(--sky); }
.cards--sky .card__body { padding: 18px; }
.cards--sky .card__media { margin: 10px 10px 0; border-radius: 12px; }
.cards--red .card { background: var(--red); color: #fff; }
.cards--red .card__title { color: #fff; }
.cards--red .card__media { margin: 10px 10px 0; border-radius: 12px; }
.cards--plain .card { background: #fff; box-shadow: var(--shadow); }
.cards--plain .card__title { color: var(--teal-dark); }
.cards--overlay .card { min-height: 280px; color: #fff; justify-content: flex-end; isolation: isolate; }
.cards--overlay .card__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
.cards--overlay .card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, rgba(0, 40, 40, .9) 100%); }
.cards--overlay .card__title { color: #fff; }
.cards--overlay .card__body { flex: 0; }
.card--wide { grid-column: span 2; }
.card--aside { background: var(--teal); color: #fff; padding: 28px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.card--aside:hover { transform: none; }
.card__aside-icon { font-size: 42px; margin: 0 auto 12px; }
.card--panel { grid-column: span 2; background: var(--teal); color: #fff; padding: clamp(24px, 3vw, 36px); }
.card--panel:hover { transform: none; }
.card__panel-title { color: #fff; text-align: center; font-size: clamp(30px, 4vw, 50px); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 6px 12px; border-radius: 40px; font-size: 13px; font-weight: 600; transition: background .3s, transform .3s; }
.chips li:hover { background: var(--red); transform: translateY(-2px); }

/* ---------- Feature (media + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(18px, 3vw, 36px); align-items: stretch; }
.feature.is-reverse .feature__media { order: 2; }
.feature__media { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.feature.is-portrait { grid-template-columns: 1fr 2fr; }
.feature__body { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.box-sky .feature__body { background: var(--sky); }
.box-teal .feature__body { background: transparent; }
.box-none .feature__body { padding-inline: 0; }
.feature__title { font-size: clamp(24px, 3vw, 35px); }
.title-teal { color: var(--teal); text-align: center; }
.title-white { color: #fff; }
.feature__actions { margin-top: 20px; }
.feature--card .feature__media { background: var(--teal); padding: 12px; display: flex; flex-direction: column; gap: 18px; }
.feature--card .feature__media img { border-radius: 10px; min-height: 0; height: auto; aspect-ratio: 16 / 10; }
.feature--card .feature__title { padding: 0 12px 16px; font-size: clamp(26px, 3.2vw, 40px); margin: 0; }

/* ---------- Matrix (programme) ---------- */
.matrix { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.matrix__head, .matrix__row { display: grid; grid-template-columns: 1fr 1fr 1.4fr; }
.matrix__head > div { background: var(--teal); color: #fff; font-weight: 800; font-size: clamp(16px, 1.8vw, 22px); padding: 22px; line-height: 1.2; }
.matrix__head > div + div { border-left: 1px solid rgba(255, 255, 255, .2); }
.matrix__row > div { padding: 22px; font-size: 17px; }
.matrix__row.is-alt { background: var(--teal-soft); }
.matrix__row + .matrix__row { border-top: 1px solid var(--line); }
.matrix__program { display: flex; gap: 14px; align-items: center; }
.matrix__program h3 { margin: 0; font-size: clamp(18px, 2vw, 25px); }
.matrix__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; transition: transform .5s var(--ease); }
.matrix__row:hover .matrix__icon { transform: rotate(-10deg) scale(1.1); }
.matrix__row p { margin: 0; }
.matrix__label { display: none; }

/* ---------- Audiences (Kid'SERVLEAD) ---------- */
.audiences { display: grid; gap: 16px; }
.audience { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
.audience__title { margin: 0; background: var(--teal); color: #fff; padding: 24px; font-size: clamp(20px, 2.6vw, 32px); display: flex; gap: 14px; align-items: center; }
.audience__icon { width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; font-size: 26px; flex-shrink: 0; }
.audience__text { margin: 0; padding: 24px; align-self: center; }

/* ---------- Stack (PLACESS) ---------- */
.stack { display: grid; gap: 14px; }
.stack__head { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.stack__title { margin: 0; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); font-size: clamp(28px, 4vw, 50px); color: #fff; }
.stack__icon { border-radius: var(--r-lg); display: grid; place-items: center; font-size: 80px; }
.stack__text { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); }
.spin-slow { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Notice ---------- */
.notice { display: flex; align-items: stretch; gap: 14px; max-width: 760px; margin: 0 auto; }
.notice__icon { flex: 0 0 110px; border-radius: var(--r-lg); display: grid; place-items: center; font-size: 40px; }
.notice__text { flex: 1; background: var(--teal-soft); border-radius: var(--r-md); padding: 20px 24px; font-weight: 800; font-size: clamp(17px, 2vw, 22px); display: flex; align-items: center; }
.notice__text p { margin: 0; }

/* ---------- Stats ---------- */
.stats { background: var(--red-deep); color: #fff; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(232, 7, 7, .45), transparent 45%), radial-gradient(circle at 10% 90%, rgba(0, 115, 115, .5), transparent 40%); }
.stats .container { position: relative; }
.stats__title { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat { text-align: center; padding: 18px 8px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.stat strong { display: block; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 900; }
.stat__label { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; opacity: .9; }

/* ---------- Gallery (livres) ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: center; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__grid figure { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__grid figure:hover img { transform: scale(1.08) rotate(1deg); }
.gallery__cta { text-align: center; }
.gallery__cta h2 { font-size: clamp(26px, 3vw, 35px); }

/* ---------- Forms ---------- */
.form-block { display: grid; gap: clamp(20px, 3vw, 36px); }
.form-block.has-image { grid-template-columns: 1fr 1.2fr; grid-template-areas: "head head" "media form"; }
.form-block__head { text-align: center; grid-area: head; max-width: 820px; margin: 0 auto; }
.form-block__media { grid-area: media; border-radius: var(--r-xl); overflow: hidden; }
.form-block__media img { width: 100%; height: 100%; object-fit: cover; }
.form-block.has-image .form { grid-area: form; }
.form-block:not(.has-image) .form { max-width: 820px; margin: 0 auto; width: 100%; }
.form-block__kicker { font-size: clamp(28px, 3.6vw, 36px); font-weight: 400; margin: 0; letter-spacing: .02em; }
.form-block__title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
.form-block__text { margin: 0; color: var(--muted); }
.form { display: flex; flex-wrap: wrap; gap: 16px; background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); border-top: 5px solid var(--teal); }
.form__group { width: 100%; margin: 0; font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--teal); }
.field { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.field--half { width: calc(50% - 8px); }
.field label { font-weight: 600; font-size: 14px; }
.field abbr { color: var(--red); text-decoration: none; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-soft); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field__error { color: var(--red); font-size: 13px; min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { width: 100%; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-ok { color: var(--teal); }
.form__status.is-error { color: var(--red); }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.form.is-done { position: relative; }

/* ---------- Contact hero ---------- */
.contact-hero { border-radius: var(--r-xl); overflow: hidden; background-size: cover; background-position: center; position: relative; isolation: isolate; padding: clamp(90px, 14vw, 180px) clamp(18px, 6vw, 80px) clamp(30px, 5vw, 60px); color: #fff; }
.contact-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(60, 34, 4, .25) 0%, rgba(30, 17, 2, .6) 100%); }
.contact-hero .hero__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.contact-hero__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 30px; background: rgba(60, 34, 4, .78); backdrop-filter: blur(6px); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); }
.contact-item { display: flex; gap: 16px; }
.contact-item__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--red); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.contact-item h2 { color: #fff; font-size: 15px; letter-spacing: .06em; margin-bottom: .3em; }
.contact-item .prose { font-size: 15px; }
.contact-item a { color: #fff; text-decoration: none; }
.contact-item a:hover { color: #ffd2d2; }

.map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- Profile (cofondateurs) ---------- */
.profile { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.profile__aside { background: rgba(232, 7, 7, .85); border-radius: var(--r-md); padding: 12px; position: sticky; top: 110px; text-align: center; }
.profile__photo { border-radius: var(--r-md); overflow: hidden; }
.profile__nick { color: #fff; font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 6px; line-height: 1.1; }
.profile__body { background: var(--teal-soft); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 44px); }
.profile__name { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: .1em; }
.profile__role { font-family: var(--font-alt); font-size: clamp(18px, 2vw, 24px); font-weight: 500; margin-bottom: 14px; }
.profile__divider { display: block; height: 4px; width: 0; background: linear-gradient(90deg, var(--teal), var(--red)); border-radius: 4px; margin-bottom: 22px; transition: width 1.2s var(--ease) .3s; }
.profile__body.is-in .profile__divider, .profile__body:not([data-reveal]) .profile__divider { width: 140px; }
.profile__back { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 700; }
.profile__back .icon { transform: rotate(180deg); }
.profile--stacked { grid-template-columns: minmax(220px, 420px) 1fr; }
.profile--stacked .profile__aside { background: transparent; padding: 0; }
.profile--stacked .profile__photo { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.profile--stacked .profile__nick { color: #000; font-size: clamp(26px, 3vw, 35px); }
.profile--stacked .profile__body { background: transparent; padding-top: 0; }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s; }
.post-card:hover { color: var(--ink); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__placeholder { height: 100%; display: grid; place-items: center; font-size: 48px; color: var(--teal); }
.post-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card time { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.post-card h2 { font-size: 19px; }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.post-card__more { display: inline-flex; gap: 6px; align-items: center; color: var(--red); font-weight: 700; font-size: 14px; }
.article { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.article__cover { border-radius: var(--r-lg); margin: 0 auto 28px; box-shadow: var(--shadow); max-height: 560px; width: auto; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 17px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: 80px 100px; }
.notfound__code { font-size: clamp(90px, 18vw, 200px); font-weight: 900; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--teal), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); margin-top: clamp(40px, 6vw, 70px); position: relative; }
.site-footer__wave { position: absolute; left: 0; right: 0; top: -40px; height: 41px; color: var(--paper); }
.site-footer__wave svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 60px); padding-block: 56px 40px; }
.site-footer__about img { width: 220px; margin-bottom: 18px; }
.site-footer__about p { font-size: 15px; line-height: 1.7; color: #333; max-width: 380px; }
.site-footer__title { font-size: 15px; letter-spacing: .06em; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--red); }
.site-footer__links, .site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links a, .site-footer__contact a { color: #222; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; position: relative; transition: color .25s, transform .3s var(--ease); }
.site-footer__links a:hover { color: var(--teal); transform: translateX(5px); }
.site-footer__contact a:hover { color: var(--teal); }
.site-footer__contact .icon { color: var(--teal); }
.site-footer__help { margin-top: 20px; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--teal); font-size: 18px; transition: background .3s, color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.site-footer__bottom { background: #fff; border-top: 1px solid var(--line); text-align: center; padding: 18px var(--gutter); }
.site-footer__bottom p { margin: 0; font-size: 14px; font-weight: 700; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: 0 10px 24px -10px rgba(200, 0, 0, .8); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; transform: translateY(-3px); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.5; stroke-dasharray: 138.2; stroke-dashoffset: var(--progress, 138.2); }

/* ---------- Reveal (initial states, animated by GSAP) ---------- */
.js [data-reveal], .js [data-stagger] > * , .js [data-hero-item] { opacity: 0; }
.js.no-anim [data-reveal], .js.no-anim [data-stagger] > *, .js.no-anim [data-hero-item] { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1260px) {
  .nav { display: none; }
  .burger { display: block; }
  :root { --header-h: 80px; }
}
@media (max-width: 1024px) {
  .cards--4, .tiles--4 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .showcase__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
  .show-card, .show-card--wide, .show-card--tall { grid-column: span 1; grid-row: span 1; }
  .show-card--wide { grid-column: span 2; }
  .steps__inner { grid-template-columns: 1fr; }
  .steps__intro { position: static; }
  .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split__row, .split__row.is-reverse { grid-template-columns: 1fr; }
  .split__row.is-reverse .split__title { order: 0; }
  .split__title, .split__row.is-reverse .split__title { border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .split__text, .split__row.is-reverse .split__text { border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .tiles--2, .tiles--3, .cards--3, .cards--2, .posts, .flips { grid-template-columns: 1fr 1fr; }
  .card--panel { grid-column: span 2; }
  .feature, .feature.is-portrait, .profile, .profile--stacked, .form-block.has-image { grid-template-columns: 1fr; }
  .form-block.has-image { grid-template-areas: "head" "media" "form"; }
  .form-block__media { max-height: 320px; }
  .feature.is-reverse .feature__media { order: 0; }
  .profile__aside { position: static; max-width: 420px; margin: 0 auto; width: 100%; }
  .matrix__head { display: none; }
  .matrix__row { grid-template-columns: 1fr; }
  .matrix__row > div { padding: 14px 20px; }
  .matrix__row > div:first-child { padding-top: 22px; }
  .matrix__label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--teal); margin-bottom: 4px; }
  .audience { grid-template-columns: 1fr; }
  .approach__row, .approach__row.is-reverse, .stack__head { grid-template-columns: 1fr; }
  .approach__row.is-reverse .approach__icon { order: 2; }
  .approach__title.align-right { justify-content: flex-start; text-align: left; }
  .approach__icon, .stack__icon { min-height: 100px; font-size: 52px; }
  .values__list { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: span 2; }
  .contact-hero__grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .team, .team--executive .team__grid { grid-template-columns: 1fr; }
  .team--executive .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners__inner { flex-direction: column; }
  .marquee { width: 100%; }
}
@media (max-width: 600px) {
  .tiles--2, .tiles--3, .tiles--4, .cards--2, .cards--3, .cards--4, .posts, .flips, .pillars__grid { grid-template-columns: 1fr; }
  .card--wide, .card--panel { grid-column: span 1; }
  .pillar:nth-child(even) { margin-top: 0; }
  .showcase__grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .show-card--wide { grid-column: span 1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .field--half { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__about { grid-column: auto; }
  .notice { flex-direction: column; }
  .notice__icon { flex-basis: 80px; }
  .promo { padding-right: 70px; }
  .hero__scroll { display: none; }
  .hero, .hero--tall { min-height: 380px; padding-top: 70px; }
  .team--executive .team__grid { grid-template-columns: 1fr; }
  .values__acronym { gap: 4px; }
  .to-top { right: 14px; bottom: 14px; }
}

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