/* VARIABLES DE BASE */
:root {
  --bg: #05070f;
  --bg-2: #090d1b;
  --surface: rgba(14, 18, 34, 0.78);
  --border: rgba(169, 183, 255, 0.14);
  --text: #f6f7ff;
  --muted: rgba(226, 231, 255, 0.74);
  --primary: #2d62ff;
  --primary-2: #1f8dff;
  --cyan: #7edcff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth;
  scroll-padding-top: 160px;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: #000;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 82%);
}
.background-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  display: none;
}
.background-glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.background-glow--one { top: -10rem; left: -12rem; background: rgba(45, 98, 255, 0.42); }
.background-glow--two { right: -12rem; bottom: -12rem; background: rgba(126, 220, 255, 0.24); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a.button { font: inherit; }

/* TOPBAR / NAVIGATION */
.topbar, .section-shell, .footer {
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
}
.topbar {
  position: sticky; top: 1rem; z-index: 30; margin-top: 1rem;
  padding: 1rem 1.15rem 0.95rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  border: 1px solid var(--border); border-radius: 28px;
  background: rgba(7, 9, 20, 0.76);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--shadow);
}
.topbar__brand-row {
  position: relative; width: 100%; min-height: 3.6rem;
  display: flex; align-items: center; justify-content: center;
}
.topbar__nav { width: 100%; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; }
.brand--center { margin-inline: auto; }
.brand__logo {
  width: 3.2rem; height: 3.2rem; object-fit: contain;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 0.7rem; }
.nav a {
  padding: 0.72rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08);
  background: #000 !important;
  color: #fff !important;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.nav a:hover { transform: translateY(-1px); background: rgba(111,233,255,0.08); border-color: rgba(111,233,255,0.24); }
.nav-toggle {
  display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 3rem; height: 3rem; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer;
}
.nav-toggle span { display: block; width: 1.1rem; height: 2px; margin: 0.22rem auto; border-radius: 999px; background: currentColor; }

/* HERO / ACCUEIL */
.hero { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 1.6rem; align-items: center; padding: 3.4rem 0 1.8rem; }
.hero--compact { padding-top: 3rem; }
.hero--community { grid-template-columns: 1fr 0.96fr; }
.hero__content h1 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); line-height: 0.95; letter-spacing: -0.06em; text-wrap: balance; }
.hero__lead { margin: 1.1rem 0 0; max-width: 42rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.hero__lead--compact { max-width: 38rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; color: var(--cyan); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.35rem; }
.hero__chips span { padding: 0.68rem 0.95rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); color: var(--muted); font-size: 0.92rem; }
/* BOUTONS */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: 0.9rem 1.3rem;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: #060812; background: linear-gradient(135deg, var(--cyan), var(--primary-2)); box-shadow: 0 16px 30px rgba(111,233,255,0.2); }
.button--ghost { color: var(--text); background: rgba(255,255,255,0.04); border-color: var(--border); }
/* CARTES / BLOCS VISUELS */
.card {
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow);
}
.hero__showcase, .community-spotlight { padding: 1.2rem; }
.logo-stage {
  position: relative; display: grid; place-items: center; min-height: 24rem; padding: 1.8rem 1rem 1rem;
  overflow: hidden; border-radius: calc(var(--radius-xl) - 4px);
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 36%), linear-gradient(180deg, rgba(16,19,38,0.95), rgba(10,13,25,0.88));
  border: 1px solid rgba(255,255,255,0.06);
}
.logo-stage__halo {
  position: absolute; inset: 18% 15% auto; height: 58%; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,98,255,0.3), rgba(126,220,255,0.04) 55%, transparent 72%);
  filter: blur(24px);
}
.logo-stage::after { content: ""; position: absolute; inset: auto -20% -26% -20%; height: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); transform: rotate(-8deg); }
.logo-stage__img, .community-spotlight__logo { position: relative; z-index: 1; object-fit: contain; }
.logo-stage__img { width: min(15rem, 70%); aspect-ratio: 1; filter: drop-shadow(0 22px 38px rgba(0,0,0,0.42)); }
.logo-stage__caption { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.25rem; margin-top: 1rem; text-align: center; }
.logo-stage__name { font-size: 1rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.logo-stage__tag { color: var(--muted); font-size: 0.9rem; }
/* CARROUSEL / MARQUEE */
.carousel { margin-top: 1rem; padding: 0.25rem 0.2rem 0.05rem; }
.carousel__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.carousel__eyebrow { margin: 0; color: var(--cyan); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.carousel__header h2 { margin: 0.35rem 0 0; font-size: 1.45rem; letter-spacing: -0.03em; }
.carousel__counter { color: var(--muted); font-size: 0.9rem; white-space: nowrap; }
.carousel__viewport { overflow: hidden; border-radius: 24px; }
.carousel__track { display: flex; transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1); }
.carousel__slide { flex: 0 0 100%; min-height: 12rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,0.07); border-radius: 24px; }
.carousel__slide--violet { background: linear-gradient(180deg, rgba(45,98,255,0.24), rgba(15,18,34,0.92)); }
.carousel__slide--cyan { background: linear-gradient(180deg, rgba(111,233,255,0.2), rgba(15,18,34,0.92)); }
.carousel__slide--pink { background: linear-gradient(180deg, rgba(34,126,255,0.22), rgba(15,18,34,0.92)); }
.carousel__kicker, .partner-card__tag {
  display: inline-flex; width: fit-content; padding: 0.45rem 0.8rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: var(--text);
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.carousel__slide h3, .note-card h3, .partner-card h3, .feature-card h3, .community-spotlight h2, .section-heading h2 { margin: 0.9rem 0 0; letter-spacing: -0.03em; }
.carousel__slide p, .note-card p, .partner-card p, .feature-card p, .community-spotlight p, .section-heading p, .footer p { margin: 0.65rem 0 0; color: var(--muted); line-height: 1.7; }
.carousel__controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; margin-top: 0.9rem; }
.carousel__button { width: 2.8rem; height: 2.8rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer; }
.carousel__dots { display: flex; justify-content: center; gap: 0.45rem; }
.carousel__dot { width: 0.7rem; height: 0.7rem; border: 0; border-radius: 999px; background: rgba(255,255,255,0.2); cursor: pointer; transition: transform 160ms ease, background 160ms ease, width 160ms ease; }
.carousel__dot.is-active { width: 1.9rem; background: linear-gradient(90deg, var(--cyan), var(--primary-2)); }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; padding: 0.25rem 0 2rem; }
.strip__item, .note-card, .partner-card, .feature-card { padding: 1.35rem; }
.strip__item { border-radius: 22px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.035); }
.strip__item strong { display: block; margin-bottom: 0.4rem; font-size: 1.02rem; }
.strip__item span { color: var(--muted); }
/* SECTIONS CONTENU */
.section-heading { max-width: 44rem; margin-bottom: 1.5rem; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 1rem; align-items: end; }
.feature, .community-grid { padding: 2rem 0 3rem; }
.feature-grid, .partners-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card { border-radius: var(--radius-xl); }
.feature-card--accent { background: linear-gradient(180deg, rgba(45,98,255,0.16), rgba(255,255,255,0.03)); }
.feature-card__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 16px; background: linear-gradient(135deg, rgba(111,233,255,0.18), rgba(45,98,255,0.22)); color: var(--cyan); font-size: 1.25rem; }
.partner-card { border-radius: var(--radius-xl); }
.partner-card--soft { background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.03)); }
.partner-card--cta { background: linear-gradient(180deg, rgba(45,98,255,0.18), rgba(111,233,255,0.08)); }
.community-spotlight--stacked { display: grid; gap: 1rem; }
.community-spotlight__logo-wrap { display: grid; place-items: center; padding: 0.75rem; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.06); }
.community-spotlight__logo { width: min(14rem, 72%); aspect-ratio: 1; }
.community-notes { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; margin-top: 1rem; }
.note-card { border-radius: var(--radius-xl); }
.note-card--wide { background: linear-gradient(135deg, rgba(45,98,255,0.14), rgba(111,233,255,0.08)); }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.75rem; }
.checklist li { position: relative; padding: 0.95rem 1rem 0.95rem 3rem; border-radius: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05); }
.checklist li::before { content: "✓"; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--cyan); font-weight: 800; }
/* FOOTER */
.footer-divider {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  place-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0 0.35rem;
}
.footer-divider__line {
  width: min(560px, 86vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.footer-divider__arrow {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.footer-divider__arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.98);
  color: #000;
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100% !important;
  max-width: none;
  margin: 0;
  padding: 1rem 1.1rem;
  border: 0;
  border-top: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px rgba(0, 0, 0, 0.24);
  text-align: center;
}
.footer p { margin: 0; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.footer-social__link {
  width: auto;
  height: auto;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  transition: transform .18s ease, opacity .18s ease;
}
.footer-social__link:hover {
  transform: translateY(-1px) scale(1.06);
  opacity: 0.9;
}
.footer-social__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

@media (max-width: 960px) {
  .hero, .feature-grid, .partners-grid, .strip, .community-notes, .section-heading--split { grid-template-columns: 1fr; }
  .hero { padding-top: 3.1rem; }
  .topbar { border-radius: 24px; }
}

@media (max-width: 780px) {
  .topbar__brand-row { padding-right: 3.4rem; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0.55rem; }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; text-align: center; }
  .hero__actions, .hero__chips, .carousel__controls { grid-template-columns: 1fr; }
  .carousel__controls { display: grid; }
  .footer { flex-direction: column; align-items: center; }
}

/* --- Update: navigation + page structure requested --- */
.topbar {
  padding: 1rem 1.1rem 0.9rem;
}

.topbar__separator {
  height: 1px;
  width: 100%;
  margin: 0.68rem 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.nav {
  justify-content: center;
  gap: 0.65rem;
}

.nav a,
.nav-link {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.nav a::before,
.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 340ms ease;
}

.nav a:hover,
.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(122, 243, 255, 0.72);
  box-shadow: 0 10px 24px rgba(122, 243, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(13, 17, 31, 0.98), rgba(45, 98, 255, 0.6));
}

.nav a:hover::before,
.nav-link:hover::before {
  transform: translateX(120%);
}

.nav a:hover,
.nav-link:hover,
.nav-item--dropdown.is-open .nav-link {
  backdrop-filter: blur(10px);
}

.nav-item--dropdown.is-open .nav-link {
  background: linear-gradient(135deg, rgba(13, 17, 31, 0.98), rgba(45, 98, 255, 0.45));
  border-color: rgba(122, 243, 255, 0.62);
}

.nav-item {
  position: relative;
}

.nav-link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-link__chevron {
  font-size: 0.82rem;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 14rem;
  display: grid;
  gap: 0.3rem;
  padding: 0.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 14, 30, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 180ms ease;
  z-index: 40;
}

.submenu a {
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.62rem 0.75rem;
  font-weight: 600;
}

.submenu a:hover {
  border-color: rgba(122, 243, 255, 0.3);
}

.nav-item--dropdown:hover .submenu,
.nav-item--dropdown.is-open .submenu {
  opacity: 1;
  transform: translateX(-50%);
  pointer-events: auto;
}

.hero-video {
  position: relative;
  min-height: min(64vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video__media {
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  border: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: saturate(115%) brightness(45%);
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 0%, rgba(126, 220, 255, 0.16), transparent 30%),
    radial-gradient(circle at 12% 24%, rgba(45, 98, 255, 0.3), transparent 44%),
    linear-gradient(180deg, rgba(4, 6, 14, 0.3), rgba(4, 6, 14, 0.84));
}

.hero-video__content {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 4rem 0;
}

.hero-video__copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 0.93;
}

.hero-video__copy {
  display: grid;
  align-items: center;
}

.hero-video__copy p {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.72;
}

.hero-video__logo-card {
  justify-self: end;
  width: min(420px, 100%);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.hero-video__logo {
  margin: 0 auto;
  width: min(16rem, 86%);
  aspect-ratio: 1;
  object-fit: contain;
}

.community-spotlight__logo-wrap {
  border: 0;
  background: transparent;
  padding: 0;
}

.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.section-text {
  color: var(--muted);
  line-height: 1.74;
  max-width: 70ch;
}

.presentation-grid,
.partners-grid,
.reviews-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 243, 255, 0.25);
  background: rgba(122, 243, 255, 0.1);
  color: #66ecff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reviews-carousel {
  margin-top: 1.2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.reviews-marquee {
  margin-top: 1.2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 0.2rem 0 0.4rem;
}

.reviews-marquee__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: reviews-marquee 34s linear infinite reverse;
}

.reviews-marquee__group {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding-inline: 0.5rem;
}

#reviews .section-head {
  margin-inline: auto;
  text-align: center;
}

#reviews .section-title,
#reviews .section-title--left {
  text-align: center;
}

.reviews-carousel__viewport {
  border-radius: 28px;
}

.reviews-carousel__track {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  opacity: 0;
  transition: opacity 180ms ease;
}

.reviews-carousel.is-ready .reviews-carousel__track {
  opacity: 1;
}

.review-slide {
  flex: 0 0 auto;
  width: clamp(280px, 72vw, 520px);
  min-height: 15.5rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
}

@keyframes reviews-marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.review-slide__content {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas:
    "photo quote"
    "meta quote";
  gap: 1rem;
  align-items: stretch;
}

.review-slide__photo-wrap {
  grid-area: photo;
  align-self: start;
  width: 7.6rem;
  height: 7.6rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
}

.review-slide__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-slide__body {
  display: contents;
}

.review-slide__quote {
  grid-area: quote;
  align-self: center;
  position: relative;
  margin: 0;
  padding: 0.95rem 1rem 0.95rem 2.6rem;
  border: 0;
  color: #f8faff;
  line-height: 1.85;
  font-size: 1.14rem;
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

.review-slide__quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.15rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1;
  opacity: 0.9;
}

.review-slide__quote::after {
  content: "”";
  margin-left: 0.15rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35em;
  line-height: 0;
}

.review-slide__meta {
  grid-area: meta;
  align-self: end;
  display: grid;
  gap: 0.2rem;
  justify-items: start;
  text-align: left;
}

.review-slide__meta strong {
  font-size: 1.06rem;
}

.review-slide__body .tag {
  display: none;
}

.review-slide__meta span {
  color: var(--muted);
}

.reviews-carousel__controls {
  grid-template-columns: auto auto auto;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.9rem;
}

.reviews-carousel .carousel__button {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  padding: 0;
}

.reviews-carousel .carousel__button:hover {
  transform: none;
  opacity: 0.75;
}

.reviews-carousel .carousel__counter {
  min-width: 6rem;
  text-align: center;
}

@media (max-width: 1000px) {
  .hero-video__content,
  .presentation-grid,
  .partners-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-video__logo-card {
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    margin-top: 0.45rem;
    display: none;
    min-width: 100%;
  }

  .nav-item--dropdown.is-open .submenu {
    display: grid;
  }

  .hero-video {
    min-height: 58vh;
  }

  .review-slide {
    min-height: 18rem;
    width: min(64vw, 360px);
    padding: 0.92rem;
  }

  .review-slide__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "photo"
      "meta"
      "quote";
    justify-items: start;
    text-align: left;
  }

  .review-slide__photo-wrap {
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 18px;
    justify-self: start;
  }

  .review-slide__quote {
    padding-left: 1.85rem;
    font-size: 0.92rem;
  }

  .reviews-marquee__group {
    gap: 1rem;
    padding-inline: 0.5rem;
  }

  .reviews-carousel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .reviews-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
}

/* --- Header compact full-width (style media/tech) --- */
.topbar {
  width: 100%;
  max-width: none;
  margin: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  padding: 0.45rem 0.9rem 0.35rem;
  box-shadow: none;
  background: transparent;
}

.topbar__brand-row {
  min-height: 2.35rem;
}

.brand {
  gap: 0.55rem;
}

.brand__logo {
  width: 2rem;
  height: 2rem;
}

.brand__text strong {
  font-size: 0.85rem;
  letter-spacing: 0.035em;
}

.topbar__separator {
  margin: 0.35rem 0;
  background: rgba(255, 255, 255, 0.14);
}

.topbar__nav {
  gap: 0.9rem;
}

.nav a,
.nav-link {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.34rem 0.1rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.nav a::before,
.nav-link::before {
  display: none;
}

.nav a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #6ecfff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  transform: none;
  color: #ffffff;
}

.nav a:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* --- Phone optimization pass --- */
@media (max-width: 780px) {
  .topbar {
    --topbar-height: 5rem;
  }

  main > .hero-video:first-child .hero-video__content {
    padding-top: calc(var(--topbar-height) + 0.6rem) !important;
  }

  .hero-video__hero-image {
    width: min(92vw, 560px) !important;
    transform: scale(1) !important;
  }

  .history-hint {
    font-size: 0.72rem;
    margin: 0.45rem 0 0.4rem;
  }

  .history-timeline {
    padding-inline: 0.35rem !important;
    padding-top: 0.55rem;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
    scroll-behavior: auto;
    padding-bottom: 0 !important;
    overscroll-behavior-y: auto;
  }

  .history-schema {
    --history-pad-top: 1.2rem;
    --history-line-y: 7rem;
    min-height: 17.4rem;
    gap: 0.6rem;
    padding: var(--history-pad-top) 0.35rem 0;
    touch-action: auto;
  }

  .history-node {
    flex: 0 0 min(84vw, 240px) !important;
    width: min(84vw, 240px) !important;
  }

  .history-node__dot {
    width: 0.72rem;
    height: 0.72rem;
  }

  .history-node--top .history-node__content {
    margin-top: 0 !important;
    transform: translateY(calc(var(--history-line-y) - 100% - 1rem)) !important;
  }

  .history-node--bottom .history-node__content {
    margin-top: calc(var(--history-line-y) + 1rem) !important;
    transform: none !important;
  }

  .history-node--top .history-node__content::before {
    top: auto !important;
    bottom: -0.8rem !important;
    height: 0.8rem;
  }

  .history-node--bottom .history-node__content::before {
    top: -0.8rem !important;
    bottom: auto !important;
    height: 0.8rem;
  }

  .history-node__content {
    margin-top: calc(var(--history-line-y) + 1rem) !important;
    padding: 0.62rem 0.66rem !important;
  }

  .history-node__year {
    font-size: 0.66rem;
  }

  .history-node h3 {
    font-size: 0.84rem !important;
    line-height: 1.25;
  }

  .history-node p {
    font-size: 0.72rem !important;
    line-height: 1.4;
    margin-top: 0.22rem;
  }

  .partners-marquee__item {
    width: clamp(160px, 46vw, 220px);
    height: 92px;
  }

  .partners-marquee__item img {
    width: 154px;
    height: 64px;
  }
}

/* --- Force final mobile hamburger color --- */
@media (max-width: 780px) {
  .nav-toggle {
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
  }

  .nav-toggle span {
    display: block !important;
    background-color: #fff !important;
  }

  .topbar.menu-open {
    background: rgba(7, 9, 20, 0.42) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px rgba(0, 0, 0, 0.24) !important;
  }

  .topbar.menu-open .topbar__nav.is-open {
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    padding: 0.45rem !important;
  }
}

.section-block {
  padding: 4.5rem 0 0;
}

#presentation.section-block {
  padding-top: 3.4rem;
}

#reviews.section-block {
  padding-top: 3.4rem;
}

#partenariat.section-block {
  padding-top: 1.5rem;
}

.section-block:last-of-type {
  padding-bottom: 3.5rem;
}

.section-wave {
  width: 100vw;
  height: 52px;
  margin-left: calc(50% - 50vw);
  margin-top: -1px;
  margin-bottom: -1px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.section-wave--light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,50 Q360,20 720,50 T1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
}

.section-wave--light:nth-of-type(2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,50 Q360,80 720,50 T1440,50 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

.section-wave--dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none'%3E%3Cpath fill='%23000000' d='M0 24c124 0 186 44 310 44S496 24 620 24s186 44 310 44 186-44 310-44 186 44 200 44v16H0z'/%3E%3C/svg%3E");
}

.section-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  max-width: 58rem;
}

.section-title--left {
  text-align: left;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-text--left {
  margin-inline: 0;
  text-align: left;
}

#presentation .section-head {
  margin-inline: auto;
  text-align: center;
  margin-bottom: 1.85rem;
}

#presentation .section-title,
#presentation .section-title--left {
  text-align: center;
}

#presentation .section-text,
#presentation .section-text--left {
  margin-inline: auto;
  text-align: center;
  margin-bottom: 0.2rem;
}

.presentation-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0;
}

.presentation-discord {
  margin-top: 0;
  gap: 0.55rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.presentation-discord:hover {
  background: rgba(255, 255, 255, 0.96);
  color: #000;
  border-color: rgba(255, 255, 255, 0.95);
}

.presentation-discord__icon {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.presentation-discord:hover .presentation-discord__icon {
  filter: invert(1);
}

.presentation-divider {
  width: min(320px, 72vw);
  height: 1px;
  margin: 0.15rem auto 0.85rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

#partenariat .section-title,
#partenariat .section-title--left {
  text-align: center;
}

#partenariat .section-head {
  margin-inline: auto;
  text-align: center;
}

.section-panel {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.history-timeline {
  margin-top: 1rem;
  margin-bottom: 3.2rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  scroll-behavior: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.history-timeline.is-dragging {
  cursor: grabbing;
  user-select: none;
}

body.is-history-dragging {
  user-select: none;
  -webkit-user-select: none;
}

.history-timeline::-webkit-scrollbar {
  display: none;
}

.history-hint {
  margin: 0;
  color: rgba(210, 222, 247, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
}

.history-hint::after {
  content: "";
}

.history-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin: 1.45rem 0 0.35rem;
  padding: 0;
}

.history-arrow {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0.05rem 0.25rem;
  transition: opacity 160ms ease, transform 160ms ease;
}

.history-arrow:hover {
  opacity: 0.72;
}

.history-arrow:active {
  transform: scale(0.96);
}

.history-schema {
  position: relative;
  --history-pad-top: 1.4rem;
  --history-line-y: 8.2rem;
  width: max-content;
  min-width: 100%;
  min-height: 18.5rem;
  padding: var(--history-pad-top) 1rem 0.35rem;
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.history-schema::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--history-pad-top) + var(--history-line-y) - 1px);
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.62;
  z-index: 1;
}

.history-schema__line {
  display: none;
}

.history-node {
  position: relative;
  top: 0;
  transform: none;
  flex: 0 0 clamp(220px, 19vw, 280px);
  width: clamp(220px, 19vw, 280px);
  min-height: 16.5rem;
}

.history-node--1,
.history-node--2,
.history-node--3,
.history-node--4 {
  left: auto;
}

.history-node__dot {
  position: absolute;
  left: 50%;
  top: var(--history-line-y);
  transform: translate(-50%, -50%);
  display: block;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: #ffffff;
  border: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.history-node__content {
  position: relative;
  margin-top: calc(var(--history-line-y) + 1rem);
  padding: 0.78rem 0.82rem 0.72rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  box-shadow: none;
}

.history-node__content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.8rem;
  width: 1px;
  height: 0.8rem;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.72);
}

.history-node--top .history-node__content {
  margin-top: 0;
  transform: translateY(calc(var(--history-line-y) - 100% - 1rem));
}

.history-node--top .history-node__content::before {
  top: auto;
  bottom: -0.8rem;
}

.history-node__year {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.history-node h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8efff;
}

.history-node p {
  margin: 0.28rem 0 0;
  color: rgba(192, 205, 230, 0.8);
  line-height: 1.5;
  font-size: 0.76rem;
}

.presentation-layout,
.partners-layout,
.reviews-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.presentation-stack {
  display: grid;
  gap: 1rem;
}

.card--featured,
.card--partner-hero {
  padding: 1.5rem;
  border-radius: 28px;
  background: #000;
}

.card--soft {
  padding: 1.25rem;
  border-radius: 24px;
  background: #000;
}

.card--featured h3,
.card--partner-hero h3,
.review-card h3 {
  margin-top: 0.85rem;
  font-size: 1.45rem;
}

.card--featured p,
.card--soft p,
.card--partner-hero p,
.review-card__quote {
  color: var(--muted);
  line-height: 1.75;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.mini-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text);
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--cyan);
}

.partner-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.partner-points div {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.2rem;
}

.partner-points strong {
  font-size: 1rem;
}

.partner-points span {
  color: var(--muted);
}

.partners-grid--stacked {
  grid-template-columns: 1fr;
}

.partners-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 0.5rem 0 0.9rem;
}

.partners-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partners-marquee 26s linear infinite;
}

.partners-marquee__group {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline: 0.5rem;
}

.partners-marquee__item {
  flex: 0 0 auto;
  width: clamp(240px, 25vw, 350px);
  height: clamp(116px, 11.5vw, 150px);
  display: grid;
  place-items: center;
  border-radius: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.partners-marquee__item img {
  width: clamp(194px, 20vw, 270px);
  height: clamp(78px, 8vw, 108px);
  object-fit: contain;
  object-position: center;
}

.partners-marquee__link {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

@keyframes partners-marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.review-card {
  padding: 1.4rem;
  border-radius: 26px;
  background: #000;
  display: grid;
  gap: 0.9rem;
}

.review-card--large {
  background: #000;
}

.review-card__quote {
  margin: 0;
  font-size: 1.05rem;
}

.review-card__meta {
  display: grid;
  gap: 0.2rem;
}

.review-card__meta span {
  color: var(--muted);
}

@media (max-width: 1000px) {
  .presentation-layout,
  .partners-layout,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .partners-marquee__track {
    animation-duration: 22s;
  }
}

@media (max-width: 780px) {
  .section-block {
    padding-top: 3.5rem;
  }

  .section-wave {
    height: 40px;
    margin-top: -0.1rem;
    margin-bottom: -0.05rem;
  }

  #presentation.section-block {
    padding-top: 2.6rem;
  }

  #reviews.section-block {
    padding-top: 2.6rem;
  }

  #partenariat.section-block {
    padding-top: 1rem;
  }

  .section-panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .partners-marquee__item {
    width: clamp(186px, 48vw, 250px);
    height: 108px;
  }

  .partners-marquee__item img {
    width: 176px;
    height: 74px;
  }

  .history-schema {
    width: max-content;
    min-width: 100%;
    --history-pad-top: 1.2rem;
    --history-line-y: 7rem;
    min-height: 17.4rem;
    gap: 0.85rem;
    padding: var(--history-pad-top) 0.5rem 0;
  }

  .history-timeline {
    padding-inline: 0.6rem;
    padding-bottom: 0;
    cursor: default;
    scroll-snap-type: none;
    scroll-padding-left: 0.6rem;
    scroll-padding-right: 0.6rem;
    overscroll-behavior-x: contain;
    touch-action: auto;
  }

  .history-hint::after {
    content: "";
  }

  .history-hint {
    margin: 0.5rem 0 0.5rem;
    font-size: 0.78rem;
  }

  .history-controls {
    margin: 1.2rem 0 0.3rem;
    gap: 0.55rem;
  }

  .history-arrow {
    font-size: 1.2rem;
    padding: 0.04rem 0.2rem;
  }

  .history-node {
    flex: 0 0 clamp(200px, 74vw, 250px);
    width: clamp(200px, 74vw, 250px);
    min-height: auto;
    scroll-snap-align: start;
  }

  .history-node--top .history-node__content {
    margin-top: 0;
    transform: translateY(calc(var(--history-line-y) - 100% - 1rem));
  }

  .history-node--bottom .history-node__content {
    margin-top: calc(var(--history-line-y) + 1rem);
    transform: none;
  }

  .history-node--top .history-node__content::before {
    top: auto;
    bottom: -0.8rem;
  }

  .history-node--bottom .history-node__content::before {
    top: -0.8rem;
    bottom: auto;
  }

  .history-node__content {
    margin-top: calc(var(--history-line-y) + 1rem);
    padding: 0.72rem 0.76rem;
  }

  .history-node h3 {
    font-size: 1rem;
  }

  .history-node p {
    font-size: 0.72rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track {
    animation: none;
  }

  .reviews-marquee__track {
    animation: none;
  }
}

.nav-toggle {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0;
  border: 0;
  background: transparent;
}

.submenu {
  border-radius: 0;
  border: 0;
  background: rgba(8, 12, 22, 0.98);
  padding: 0.35rem;
}

.submenu a {
  border-radius: 0;
  border: 0;
}

@media (max-width: 780px) {
  .topbar {
    padding: 0.4rem 0.7rem 0.35rem;
  }

  .topbar__brand-row {
    padding-right: 2.5rem;
    min-height: 2.2rem;
  }

  .topbar__nav {
    gap: 0.3rem;
  }

  .nav a,
  .nav-link {
    padding: 0.45rem 0.2rem;
  }
}

/* --- Refinement: better centering + modern polish --- */
.topbar__brand-row,
.topbar__separator,
.topbar__nav {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
}

.topbar__brand-row {
  min-height: 2.25rem;
}

.brand__text strong {
  font-size: 0.9rem;
  letter-spacing: 0.045em;
}

.topbar__nav {
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background: transparent;
}

.nav a,
.nav-link {
  padding: 0.34rem 0.16rem;
}

.hero-video {
  min-height: min(62vh, 520px);
}

.hero-video__content {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 2.4rem 0;
}

.hero-video__logo-card {
  justify-self: center;
  width: auto;
}

.hero-video__logo {
  width: clamp(7rem, 14vw, 10rem);
}

.hero-video__copy h1 {
  font-size: clamp(2.2rem, 6.2vw, 4rem);
  letter-spacing: -0.045em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.section-shell {
  width: min(1080px, calc(100% - 2rem));
  position: relative;
  z-index: 2;
  background: #000;
}

#presentation,
#partenariat,
#reviews {
  background: #000;
}

#partenariat.section-shell {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  background: #fff;
}

#partenariat .section-title,
#partenariat .section-title--left {
  color: #000;
}

.section-title {
  text-align: center;
}

.section-text {
  margin-inline: auto;
  text-align: center;
}

.card {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 220, 255, 0.34);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

@media (max-width: 780px) {
  .topbar__brand-row,
  .topbar__separator,
  .topbar__nav {
    width: 100%;
  }

  .topbar__brand-row {
    min-height: 2.1rem;
  }

  .hero-video {
    min-height: 52vh;
  }

  .hero-video__content {
    padding: 2rem 0;
  }
}

/* --- Final alignment pass --- */
.topbar {
  padding-left: 0;
  padding-right: 0;
}

.topbar__brand-row,
.topbar__separator,
.topbar__nav {
  width: min(1120px, calc(100% - 1.2rem));
  margin-inline: auto;
}

.topbar__brand-row {
  display: grid;
  place-items: center;
}

.brand {
  justify-content: center;
}

.brand__text {
  justify-items: center;
}

.topbar__separator {
  margin: 0.42rem auto;
}

.topbar__nav,
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.topbar__nav {
  min-height: 2.35rem;
  padding: 0.18rem 0.6rem;
  background: transparent;
}

.nav-item {
  display: flex;
  align-items: center;
}

.submenu {
  left: 50%;
}

.hero-video {
  min-height: 100vh;
}

.hero-video__content {
  min-height: 100vh;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 0;
}

.hero-video__hero-image {
  width: clamp(360px, 60vw, 920px);
  max-width: 96vw;
  height: auto;
  object-fit: contain;
  filter: none;
  background: transparent;
  transform: scale(0.95);
  transform-origin: center;
}

/* cache les anciens blocs du hero si présents */
.hero-video__copy,
.hero-video__logo-card,
.hero-video__logo-wrap {
  display: none;
}

@media (max-width: 780px) {
  .topbar__brand-row,
  .topbar__separator,
  .topbar__nav {
    width: calc(100% - 1rem);
  }

  .hero-video__hero-image {
    width: clamp(300px, 92vw, 760px);
    transform: scale(1.08);
  }

  .topbar__nav {
    background: rgba(255, 255, 255, 0.025);
  }
}

/* --- Header final override --- */
.topbar__separator {
  display: none;
}

.topbar {
  --topbar-height: clamp(5.8rem, 9vw, 7.8rem);
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  gap: 0 !important;
  transition: background-color 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.topbar.is-scrolled {
  background: rgba(7, 9, 20, 0.42) !important;
  border-bottom: 0 !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 12px 30px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}

main,
.hero-video {
  margin-top: 0 !important;
}

main > .hero-video:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  min-height: 100vh !important;
  overflow: visible !important;
}

main > .hero-video:first-child .hero-video__bg,
main > .hero-video:first-child .hero-video__overlay {
  position: absolute !important;
  inset: 0 !important;
}

main > .hero-video:first-child .hero-video__content {
  min-height: 100vh !important;
  padding-top: var(--topbar-height) !important;
}

.hero-video {
  min-height: 100vh !important;
  overflow: visible !important;
}

.hero-video__bg {
  z-index: 0 !important;
}

.hero-video__overlay {
  z-index: 1 !important;
}

.hero-video__content {
  position: relative !important;
  z-index: 2 !important;
}

.hero-video__hero-image {
  position: relative !important;
  z-index: 3 !important;
}

.hero-video__media {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  filter: saturate(115%) brightness(88%) !important;
}

.hero-video__overlay {
  background:
    radial-gradient(circle at 70% 0%, rgba(126, 220, 255, 0.08), transparent 34%),
    radial-gradient(circle at 12% 24%, rgba(45, 98, 255, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(4, 6, 14, 0), rgba(4, 6, 14, 0.72)) !important;
}

.topbar__brand-row {
  margin-bottom: 0 !important;
}

.brand__text {
  display: none !important;
}

.brand__logo--wide {
  width: min(16rem, 72vw);
  height: auto;
}

.topbar__nav {
  background: transparent !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: stretch;
  margin-top: 0 !important;
}

.topbar__nav > * {
  margin: 0 !important;
}

.nav a,
.nav-link {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0.72rem 1rem !important;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.nav a:hover,
.nav-link:hover {
  background: #fff !important;
  color: #000 !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.nav-item--dropdown.is-open .nav-link {
  background: #fff !important;
  color: #000 !important;
  border: 0 !important;
}

.nav-item,
.nav-item--dropdown {
  align-self: stretch;
}

.nav-item--dropdown .nav-link {
  height: 100%;
}

@media (min-width: 781px) {
  .nav-item--dropdown {
    position: relative;
  }

  .submenu {
    top: 100% !important;
    left: 0 !important;
    right: auto;
    transform: none !important;
    background: #000 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .nav-item--dropdown:hover .submenu,
  .nav-item--dropdown.is-open .submenu {
    transform: none !important;
  }

  .submenu a {
    background: transparent !important;
    color: #fff !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
}

@media (max-width: 780px) {
  .topbar {
    width: 100% !important;
    left: 0;
    right: 0;
    border-radius: 0 !important;
    padding: 0.45rem 0.65rem !important;
  }

  .topbar__brand-row {
    width: 100% !important;
    min-height: 2.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-right: 0 !important;
  }

  .brand {
    justify-content: flex-start !important;
  }

  .brand__logo--wide {
    width: min(11rem, 68vw) !important;
  }

  .nav-toggle {
    display: inline-grid !important;
    place-items: center !important;
    width: 2.8rem !important;
    height: 2.8rem !important;
    border-radius: 14px !important;
    border: 0 !important;
    background: transparent !important;
    flex: 0 0 auto;
  }

  .nav-toggle span {
    background: #fff !important;
    width: 1rem !important;
    height: 2px !important;
    margin: 0.16rem auto !important;
  }

  .topbar__nav {
    display: none !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.45rem !important;
    margin-top: 0.55rem !important;
    padding-top: 0 !important;
  }

  .topbar__nav.is-open {
    display: flex !important;
  }

  .nav,
  .topbar__nav {
    justify-content: stretch !important;
  }

  .nav-item,
  .nav-item--dropdown {
    width: 100% !important;
    align-self: stretch !important;
  }

  .nav-item--dropdown {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .nav a,
  .nav-link {
    width: 100% !important;
    justify-content: center !important;
    border-radius: 14px !important;
    padding: 0.9rem 1rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .nav a::after,
  .nav-link::after {
    display: none !important;
  }

  .submenu {
    position: static !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0.45rem !important;
    padding: 0.45rem !important;
    border-radius: 14px !important;
    display: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .nav-item--dropdown.is-open .submenu {
    display: grid !important;
  }

  .nav-link--dropdown {
    width: 100% !important;
  }

  .submenu a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 12px !important;
  }
}

.nav a:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
}
