*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

:root {
  --mint: #b5f4de;
  --mint-soft: #d6f8e9;
  --mint-strong: #409787;
  --coral: #ff7a59;
  --coral-warm: #fd937c;
  --ink: #0a1e2e;
  --ink-700: #0d2f47;
  --ink-800: #0d1e2d;
  --ink-900: #091422;
  --white: #ffffff;
  --line: rgba(10, 30, 46, 0.12);
  --line-strong: rgba(10, 30, 46, 0.22);
  --muted: rgba(10, 30, 46, 0.6);
  --muted-2: rgba(10, 30, 46, 0.45);
  --f-disp: "Cabinet Grotesk", sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 24px;
  --r-sm: 12px;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--f-disp);
  font-weight: 300;
  background: linear-gradient(180deg, var(--mint-soft) 0%, var(--mint) 60%);
  min-height: 100vh;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(181, 244, 222, 0.82);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(10, 30, 46, 0.1);
  border-radius: 100px;
  padding: 5px 6px 5px 18px;
  box-shadow:
    0 2px 28px rgba(10, 30, 46, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    box-shadow 0.4s var(--ease),
    background 0.3s;
}
.nav.solid {
  box-shadow: 0 8px 40px rgba(10, 30, 46, 0.12);
  background: rgba(181, 244, 222, 0.96);
}
.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: rgba(10, 30, 46, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-back:hover {
  color: var(--ink);
  background: rgba(10, 30, 46, 0.06);
}
.nav-back svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}
.nav-back:hover svg {
  transform: translateX(-3px);
}
.nav-sep {
  width: 1px;
  height: 13px;
  background: rgba(10, 30, 46, 0.15);
  margin: 0 8px;
}
.nav-title {
  font-family: var(--f-serif);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  font-style: italic;
}
.nav-title em {
  color: var(--coral);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-disp);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mint);
  background: var(--ink);
  padding: 9px 18px;
  border-radius: 100px;
  margin-left: 10px;
  transition:
    background 0.3s,
    transform 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--ink-700);
  transform: scale(1.04);
}
.nav-cta-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-disp);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 100px;
  margin-left: 6px;
  border: 1.5px solid rgba(10, 30, 46, 0.2);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.nav-cta-live:hover {
  background: rgba(10, 30, 46, 0.07);
  border-color: rgba(10, 30, 46, 0.38);
  transform: scale(1.04);
}

/* ── HERO ── */
.hero {
  padding: 140px clamp(24px, 5vw, 80px) 80px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 14px;
  background: rgba(10, 30, 46, 0.1);
  border: 1px solid rgba(10, 30, 46, 0.18);
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint-strong);
  box-shadow: 0 0 0 0 rgba(64, 151, 135, 0.5);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(64, 151, 135, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(64, 151, 135, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(64, 151, 135, 0);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: end;
  max-width: 780px;
}
.hero-h1 {
  font-family: var(--f-serif);
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--coral);
}
.hero-lead {
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 400;
  color: rgba(10, 30, 46, 0.78);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-lead strong {
  font-weight: 700;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-disp);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--r-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    background 0.3s,
    border-color 0.3s;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(255, 122, 89, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(10, 30, 46, 0.22);
  font-weight: 500;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(10, 30, 46, 0.07);
  transform: translateY(-3px);
}
.btn-dark {
  background: var(--ink);
  color: var(--mint);
}
.btn-dark:hover {
  background: var(--ink-700);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(10, 30, 46, 0.28);
}

.hero-meta {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-meta-item {
  padding: 0 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item + .hero-meta-item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.hero-meta-val {
  font-family: var(--f-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hero-meta-lbl {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  color: var(--muted-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── SECTION SHELL ── */
.section {
  padding: 80px clamp(24px, 5vw, 80px);
}
.section-inner {
  max-width: 1600px;
  margin: 0 auto;
}
.section-mint {
  background: var(--mint);
}
.section-dark {
  background: var(--ink);
  color: #e5f0e7;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--coral);
}
.section-dark .section-eyebrow {
  color: var(--mint);
}
.section-dark .section-eyebrow::before {
  background: var(--mint);
}
.section-title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 900px;
}
.section-title em {
  font-style: italic;
  color: var(--coral);
}
.section-dark .section-title em {
  color: var(--mint);
}
.section-sub {
  font-family: var(--f-serif);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 400;
  color: var(--muted);
  max-width: 680px;
  margin-top: 20px;
  line-height: 1.55;
}
.section-dark .section-sub {
  color: rgba(229, 240, 231, 0.65);
}
.section-head {
  margin-bottom: 48px;
}

/* ── CINEMATIC SLIDER ── */
.slider-section {
  position: relative;
  width: 100%;
  background: var(--ink-900);
  overflow: hidden;
  padding-top: 0;
}
.slider-viewport {
  position: relative;
  width: 100%;
  height: min(100vh, 900px);
  min-height: 600px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .slider-viewport {
    height: 100svh;
  }
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.slide.is-active img {
  transform: scale(1);
}
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(9, 20, 34, 0.65) 0%,
      rgba(9, 20, 34, 0.38) 45%,
      rgba(9, 20, 34, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 20, 34, 0.3) 0%,
      transparent 30%,
      transparent 65%,
      rgba(9, 20, 34, 0.5) 100%
    );
  pointer-events: none;
}
.slide-label {
  position: absolute;
  bottom: clamp(56px, 8vw, 88px);
  left: max(
    clamp(24px, 5vw, 80px),
    calc((100% - 1440px) / 2 + clamp(24px, 5vw, 80px))
  );
  z-index: 3;
  font-family: var(--f-serif);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.5s 0.3s,
    transform 0.5s 0.3s var(--ease);
  pointer-events: none;
}
.slide.is-active .slide-label {
  opacity: 1;
  transform: translateY(0);
}

.slider-head {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding-top: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(80px, 10vw, 120px);
  padding-left: max(
    clamp(24px, 5vw, 80px),
    calc((100% - 1440px) / 2 + clamp(24px, 5vw, 80px))
  );
  padding-right: max(
    clamp(24px, 5vw, 80px),
    calc((100% - 1440px) / 2 + clamp(24px, 5vw, 80px))
  );
}
.slider-head-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: min(520px, 55%);
  pointer-events: all;
}
.slider-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(181, 244, 222, 0.8);
  margin-bottom: 14px;
}
.slider-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--mint);
  opacity: 0.6;
}
.slider-title {
  font-family: var(--f-serif);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.96;
  color: #fff;
  margin-bottom: 20px;
}
.slider-title em {
  font-style: italic;
  color: var(--mint);
}
.slider-title .coral {
  color: var(--coral);
}
.slider-lead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-bottom: 22px;
  max-width: 420px;
}
.slider-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 22px;
}
.slider-tech span {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 5px 13px;
  background: rgba(181, 244, 222, 0.1);
  border: 1px solid rgba(181, 244, 222, 0.22);
  color: rgba(181, 244, 222, 0.9);
  border-radius: 100px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.slider-tech span:hover {
  background: rgba(181, 244, 222, 0.18);
  border-color: rgba(181, 244, 222, 0.45);
}
.slider-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.slider-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-disp);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--mint);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
  text-decoration: none;
}
.slider-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(181, 244, 222, 0.3);
}
.slider-btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-disp);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  text-decoration: none;
}
.slider-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.slider-bottom {
  position: absolute;
  bottom: clamp(18px, 3vw, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(9, 20, 34, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 18px;
  pointer-events: all;
}
.slider-counter {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  line-height: 1;
}
.slider-counter strong {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--f-serif);
}
.slider-bottom-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}
.slider-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s,
    width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-dot.is-active {
  background: var(--mint);
  width: 22px;
  border-radius: 3px;
}
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.1);
}
.slider-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--mint);
  transition: width linear;
}

@media (max-width: 900px) {
  .slider-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 100px 24px 100px;
  }
  .slider-head-text {
    max-width: 100%;
  }
  .slide::before {
    background: linear-gradient(
      180deg,
      rgba(9, 20, 34, 0.7) 0%,
      rgba(9, 20, 34, 0.5) 40%,
      rgba(9, 20, 34, 0.75) 100%
    );
  }
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 28, 0.94);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  cursor: zoom-out;
}
.lightbox.open {
  display: flex;
  animation: lb-in 0.25s ease;
}
@keyframes lb-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ── DÉFI / PITCH ── */
.pitch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.pitch-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  position: relative;
}
.pitch-num {
  font-family: var(--f-serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.pitch-title {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.pitch-desc {
  font-family: var(--f-disp);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .pitch-grid {
    grid-template-columns: 1fr;
  }
}

/* ── TABS ── */
.tabs-shell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 30, 46, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(181, 244, 222, 0.14);
  border-radius: 100px;
  padding: 5px;
  gap: 2px;
  width: fit-content;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-disp);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.4);
  padding: 9px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.22s var(--ease),
    box-shadow 0.2s;
  background: transparent;
  white-space: nowrap;
}
.tab-num {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  opacity: 0.5;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.tab:hover {
  color: rgba(255, 255, 255, 0.7);
}
.tab.active {
  color: var(--ink-900, #0a1e2e);
  box-shadow: 0 2px 12px rgba(10, 30, 46, 0.22);
  font-weight: 700;
}
.tab.active .tab-num {
  color: inherit;
  opacity: 0.55;
}
.tab[data-tab="t1"].active {
  background: #ffb088;
}
.tab[data-tab="t2"].active {
  background: #b5f4de;
}
.tab[data-tab="t3"].active {
  background: #fde68a;
}
.tab[data-tab="t4"].active {
  background: #93c5fd;
}
.tab[data-tab="t5"].active {
  background: #f9c6d2;
}

.tab-panel-wrap {
  background: var(--ink);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(10, 30, 46, 0.22);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(181, 244, 222, 0.06);
}
.tab-panel-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 65% 50% at 85% 10%,
    rgba(181, 244, 222, 0.055) 0%,
    transparent 70%
  );
}
.tab-panel {
  display: none;
  padding: 40px clamp(24px, 4vw, 52px);
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  animation: tab-in 0.35s var(--ease);
  position: relative;
}
.tab-panel.active {
  display: grid;
}
@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tab-meta-eyebrow {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0.75;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tab-meta-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--mint);
  opacity: 0.5;
}
.tab-meta h3 {
  font-family: var(--f-serif);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 18px;
}
.tab-meta h3 em {
  font-style: italic;
  color: var(--mint);
}
.tab-meta p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(229, 240, 231, 0.7);
  line-height: 1.6;
  margin-bottom: 18px;
}
.tab-meta ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.tab-meta li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--f-disp);
  font-size: 0.86rem;
  color: rgba(229, 240, 231, 0.85);
  line-height: 1.5;
}
.tab-meta li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 8px;
  box-shadow: 0 0 8px rgba(255, 122, 89, 0.5);
}
.tab-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.tab-meta-tags span {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  background: rgba(181, 244, 222, 0.08);
  border: 1px solid rgba(181, 244, 222, 0.18);
  color: rgba(181, 244, 222, 0.85);
  border-radius: 100px;
}

.code-block {
  background: #06101c;
  border: 1px solid rgba(181, 244, 222, 0.12);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  position: relative;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(181, 244, 222, 0.08);
}
.code-dots {
  display: flex;
  gap: 6px;
}
.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.code-dots span:nth-child(1) {
  background: #ff5f56;
}
.code-dots span:nth-child(2) {
  background: #ffbd2e;
}
.code-dots span:nth-child(3) {
  background: #27c93f;
}
.code-file {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: rgba(229, 240, 231, 0.55);
  letter-spacing: 0.05em;
}
.code-copy {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  color: rgba(181, 244, 222, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(181, 244, 222, 0.2);
  transition: all 0.2s;
}
.code-copy:hover {
  background: rgba(181, 244, 222, 0.1);
  color: var(--mint);
}
.code-body {
  padding: 20px 22px;
  overflow-x: auto;
  color: #d6e6dc;
  max-height: 520px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(181, 244, 222, 0.2) transparent;
}
.code-body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.code-body::-webkit-scrollbar-thumb {
  background: rgba(181, 244, 222, 0.2);
  border-radius: 4px;
}
.code-body pre {
  white-space: pre;
  margin: 0;
  font-family: var(--f-mono);
}
.tk-key {
  color: #ff7a59;
}
.tk-fn {
  color: #9bdcfe;
}
.tk-str {
  color: #c5e1a5;
}
.tk-num {
  color: #f5c842;
}
.tk-com {
  color: #5a7a8a;
  font-style: italic;
}
.tk-cls {
  color: #72dfb8;
}
.tk-prop {
  color: #b5f4de;
}
.tk-op {
  color: #cbd5d0;
}

@media (max-width: 900px) {
  .tab-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }
  .tabs-bar {
    gap: 3px;
    padding: 4px;
    overflow-x: auto;
    width: auto;
    max-width: 100%;
  }
  .tab {
    font-size: 0.74rem;
    padding: 8px 14px;
  }
  .tab-num {
    display: none;
  }
}

/* ── SECURITY BAND ── */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.sec-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  position: relative;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    border-color 0.3s;
}
.sec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(10, 30, 46, 0.1);
  border-color: var(--mint-strong);
}
.sec-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.sec-icon svg {
  width: 18px;
  height: 18px;
}
.sec-name {
  font-family: var(--f-disp);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.sec-desc {
  font-family: var(--f-disp);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .sec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── STACK ── */
.stack-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.stack-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s;
}
.stack-pill:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
}
.stack-pill-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.stack-pill-name {
  font-family: var(--f-disp);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stack-pill-role {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}
@media (max-width: 900px) {
  .stack-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── ROADMAP ── */
.road {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.road-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.road-row:hover {
  border-color: var(--mint-strong);
  transform: translateY(-2px);
}
.road-tag {
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--mint);
  color: var(--ink);
  border-radius: 100px;
  font-weight: 700;
  margin-top: 2px;
}
.road-tag.next {
  background: var(--coral);
  color: #fff;
}
.road-tag.later {
  background: rgba(10, 30, 46, 0.08);
  color: var(--muted);
}
.road-tag.done {
  background: var(--mint-strong);
  color: #fff;
}
.road-text h4 {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.road-text p {
  font-family: var(--f-disp);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .road {
    grid-template-columns: 1fr;
  }
}

/* ── Dark card overrides ── */
.section-dark .pitch-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(181, 244, 222, 0.1);
}
.section-dark .pitch-desc {
  color: rgba(229, 240, 231, 0.6);
}
.section-dark .stack-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(181, 244, 222, 0.1);
  color: #e5f0e7;
}
.section-dark .stack-pill-role {
  color: rgba(181, 244, 222, 0.45);
}
.section-dark .sec-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(181, 244, 222, 0.1);
}
.section-dark .sec-name {
  color: #e5f0e7;
}
.section-dark .sec-desc {
  color: rgba(229, 240, 231, 0.6);
}
.section-dark .road-row {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(181, 244, 222, 0.1);
}
.section-dark .road-text h4 {
  color: #e5f0e7;
}
.section-dark .road-text p {
  color: rgba(229, 240, 231, 0.6);
}
.section-dark .road-tag.later {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(229, 240, 231, 0.55);
}

/* ── Défi section overrides ── */
.section-defi {
  background: var(--mint);
}
.section-defi .section-eyebrow {
  color: var(--mint-strong);
}
.section-defi .section-eyebrow::before {
  background: var(--mint-strong);
}
.section-defi .section-title {
  color: var(--ink);
}
.section-defi .section-title em {
  color: var(--coral);
}
.section-defi .section-sub {
  color: var(--muted);
}
.section-defi .pitch-card {
  background: var(--mint-soft);
  border-color: rgba(64, 151, 135, 0.2);
  box-shadow: 0 2px 16px rgba(10, 30, 46, 0.06);
}
.section-defi .pitch-num {
  color: var(--coral);
}
.section-defi .pitch-title {
  color: var(--ink);
}
.section-defi .pitch-desc {
  color: var(--ink-700);
}

/* ── Sécurité section overrides ── */
.section-secu .sec-card {
  background: var(--mint-soft);
  border-color: rgba(64, 151, 135, 0.2);
  box-shadow: 0 2px 16px rgba(10, 30, 46, 0.06);
}
.section-secu .sec-icon {
  background: var(--mint);
  color: var(--ink);
}
.section-secu .sec-name {
  color: var(--ink);
}
.section-secu .sec-desc {
  color: var(--ink-700);
}

/* ── FOOTER ── */
.foot {
  padding: 100px clamp(24px, 5vw, 80px) 60px;
  background: var(--mint);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(255, 122, 89, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.foot-eyebrow {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
  position: relative;
}
.foot-title {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
}
.foot-title em {
  font-style: italic;
  color: var(--coral);
}
.foot-sub {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}
.foot-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.foot-bottom {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--muted-2);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.foot-bottom a {
  color: var(--ink);
  transition: color 0.2s;
}
.foot-bottom a:hover {
  color: var(--coral);
}

/* ── CD HERO overrides ── */
.slider-viewport {
  height: min(660px, 100svh) !important;
  min-height: 340px !important;
}
@media (max-width: 900px) {
  .slider-viewport {
    height: min(560px, 100svh) !important;
  }
}
@media (max-width: 600px) {
  .slider-viewport {
    height: min(480px, 100svh) !important;
  }
  .nav-back-label,
  .nav-cta-label {
    display: none;
  }
  .nav-back {
    padding: 8px 10px;
  }
  .nav-cta-live {
    padding: 9px 10px;
  }
  .nav-cta {
    padding: 9px 10px;
    margin-left: 6px;
  }
  .nav-title {
    font-size: 0.82rem;
  }
}

.cd-logo-float {
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  left: max(
    clamp(24px, 5vw, 80px),
    calc((100% - 1440px) / 2 + clamp(24px, 5vw, 80px))
  );
  z-index: 4;
}
.cd-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 18px rgba(10, 30, 46, 0.65));
}

.slide.cd-slide::before {
  background:
    linear-gradient(
      90deg,
      rgba(9, 20, 34, 0.9) 0%,
      rgba(9, 20, 34, 0.68) 34%,
      rgba(9, 20, 34, 0.28) 60%,
      rgba(9, 20, 34, 0.06) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 20, 34, 0.5) 0%,
      rgba(9, 20, 34, 0.1) 20%,
      transparent 55%,
      rgba(9, 20, 34, 0.72) 100%
    );
}

.slider-head {
  align-items: center;
}
.slider-head-text {
  max-width: min(820px, 75%);
}

.cd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(181, 244, 222, 0.85);
  margin-bottom: 20px;
}
.cd-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(181, 244, 222, 0.9);
  animation: pulse 2.4s ease infinite;
}

.cd-h1 {
  font-family: var(--f-serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 4.6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}
.cd-h1 em {
  font-style: italic;
  font-weight: 300;
}

.cd-lead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 440px;
}

.cd-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 22px;
}
.cd-tech span {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(181, 244, 222, 0.1);
  border: 1px solid rgba(181, 244, 222, 0.22);
  color: rgba(181, 244, 222, 0.9);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cd-tech span:hover {
  background: rgba(181, 244, 222, 0.18);
  border-color: rgba(181, 244, 222, 0.45);
}

.cd-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cd-btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-disp);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 122, 89, 0.38);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.cd-btn-coral:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 122, 89, 0.55);
}
.cd-btn-ghost3 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-disp);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.3s var(--ease);
}
.cd-btn-ghost3:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .slider-head-text {
    max-width: 100%;
  }
  .cd-h1 {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
  }
  .cd-lead {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .cd-ctas {
    flex-direction: column;
    align-items: flex-start;
  }
  .cd-tech span {
    font-size: 0.58rem;
    padding: 4px 10px;
  }
}
