/* ── VARIABLES ────────────────────────────────────────────────── */
:root {
  /* Base */
  --bg:       #f7f9ff;
  --bg-alt:   #eef3ff;
  --surface:  #ffffff;
  --surface-2: #f0f5ff;
  --border:   rgba(15,23,42,0.07);
  --border-h: rgba(15,23,42,0.13);

  /* Text */
  --text:   #0f172a;
  --muted:  #94a3b8;
  --muted2: #64748b;

  /* Hero (always dark) */
  --hero-bg: #060810;

  /* Spacing */
  --section-pad: 140px;

  /* Brand — inspiré du burst coloré du logo */
  --warm:   #FF6B35;
  --coral:  #FF3D57;
  --violet: #8B5CF6;
  --sky:    #0EA5E9;
  --green:  #10B981;

  /* Gradients */
  --grad:   linear-gradient(135deg, #FF6B35 0%, #FF3D57 30%, #8B5CF6 65%, #0EA5E9 100%);
  --grad-2: linear-gradient(135deg, #FF6B35, #8B5CF6);
  --grad-3: linear-gradient(135deg, #8B5CF6, #0EA5E9);

  /* Typography */
  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --nav-h:    72px;
  --radius:   20px;
  --radius-sm: 12px;
  --max-w:    1200px;
}

/* ── RESET ────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: var(--font-head); letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── LAYOUT ───────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }

/* ── TYPOGRAPHY UTILITIES ─────────────────────────────────────── */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm);
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted2);
  line-height: 1.7;
  font-weight: 300;
}
.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header .section-sub {
  max-width: 520px;
  margin: 0 auto;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad-2);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
  box-shadow: 0 4px 30px rgba(139,92,246,0.3);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(139,92,246,0.45);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 30px;
  border-radius: 100px;
  border: 1px solid var(--border-h);
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: rgba(139,92,246,0.4);
  background: rgba(139,92,246,0.05);
  transform: translateY(-1px);
}
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }
.btn-nav {
  background: var(--grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid rgba(139,92,246,0.3) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700 !important;
  transition: border-color 0.2s, background-color 0.2s !important;
}
.btn-nav:hover { border-color: var(--violet) !important; background-color: rgba(139,92,246,0.08); }

/* ── PRELOADER ─────────────────────────────────────────────────── */
#loader {
  background: var(--hero-bg) !important;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loader.out {
  animation: loaderOut 0.9s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes loaderOut {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.loader-logo-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  animation: loaderLogoIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes loaderLogoIn {
  0%   { opacity: 0; transform: scale(0.55) rotate(-15deg); filter: blur(14px); }
  75%  { opacity: 1; transform: scale(1.08) rotate(2deg);   filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
.loader-progress {
  width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--grad-2);
  border-radius: 2px;
  width: 0;
  animation: loaderBarFill 1.6s ease forwards 0.25s;
}
@keyframes loaderBarFill {
  to { width: 100%; }
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────────── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--warm);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border 0.2s ease;
  will-change: left, top;
}
#cursor.big {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1.5px solid rgba(139,92,246,0.7);
}
@media (hover: none), (pointer: coarse) { #cursor { display: none; } }

/* ── REVEAL ANIMATION ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR ───────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
#navbar.scrolled {
  background: rgba(247,249,255,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
/* Links: white over dark hero, dark when scrolled over light content */
.nav-links a { color: rgba(255,255,255,0.78); }
.nav-links a:hover { color: #fff; }
#navbar.scrolled .nav-links a { color: var(--muted2); }
#navbar.scrolled .nav-links a:hover { color: var(--text); }
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.nav-logo-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255,107,53,0.45));
  transition: filter 0.3s;
}
/* Sur fond clair (navbar scrollée) : ombre sombre pour rendre le texte blanc lisible */
#navbar.scrolled .nav-logo-img {
  filter: drop-shadow(0 1px 3px rgba(15,23,42,0.25));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,8,16,0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.close-menu {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted2);
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.close-menu:hover { color: var(--text); }
.mob-link {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  transition: color 0.2s;
}
.mob-link:hover { color: var(--warm); }
.mob-cta {
  background: var(--grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HERO ─────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--hero-bg);
  color: #f0f2f8;
}
/* Video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(6,8,16,0.55) 0%,
    rgba(6,8,16,0.3)  50%,
    rgba(6,8,16,0.65) 100%
  );
}
/* Hero text overrides for dark bg */
#hero .hero-eyebrow,
#hero .hero-sub,
#hero .avail-badge,
#hero .hero-socials a,
#hero .hero-socials span { color: rgba(240,242,248,0.75); }
#hero .avail-badge { border-color: rgba(16,185,129,0.25); background: rgba(16,185,129,0.07); }
#hero .btn-ghost { border-color: rgba(255,255,255,0.22); color: #fff; }
#hero .btn-ghost:hover { border-color: rgba(139,92,246,0.6); background: rgba(139,92,246,0.12); }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
  animation: floatOrb 10s ease-in-out infinite alternate;
}
.orb1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,107,53,0.35), transparent 70%);
  top: -250px; right: -150px;
  animation-delay: 0s;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.3), transparent 70%);
  bottom: -150px; left: -100px;
  animation-delay: 3s;
}
.orb3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(14,165,233,0.25), transparent 70%);
  top: 45%; left: 42%;
  animation-delay: 6s;
}
@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -40px) scale(1.08); }
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-h);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted2);
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.8;
}
.br-desktop { display: inline; }
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted2);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(16,185,129,0.2);
  background: rgba(16,185,129,0.05);
  margin-bottom: 16px;
}
.avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pulse 2s ease-in-out infinite;
}
.hero-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 0.8rem;
  justify-content: center;
}
.hero-socials a {
  color: var(--muted);
  transition: color 0.2s;
}
.hero-socials a:hover { color: var(--warm); }
.hero-socials span { color: var(--muted); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-line {
  display: block;
  width: 2px;
  height: 52px;
  background: linear-gradient(to bottom, var(--warm), transparent);
  margin: 0 auto;
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── MARQUEE ──────────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  background: var(--hero-bg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track .sep { color: var(--warm); font-size: 0.6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* ── CREATOR CONTENT ──────────────────────────────────────────── */
#creations { background: var(--bg); }
.creation-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.creation-stat {
  display: flex;
  gap: 40px;
  align-items: center;
  padding-bottom: 8px;
}
.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-block strong {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-block span { font-size: 0.72rem; color: var(--muted); text-align: center; max-width: 80px; line-height: 1.3; }
.creation-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
}
.creation-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.creation-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,0.25);
  box-shadow: 0 20px 60px rgba(139,92,246,0.12);
}
.creation-visual {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s;
}
.card-large .creation-visual { height: 340px; }
.creation-card:hover .creation-visual { transform: scale(1.04); }
.creation-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}
.creation-info {
  padding: 24px;
}
.creation-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.creation-info > p {
  font-size: 0.85rem;
  color: var(--muted2);
  margin-bottom: 16px;
  line-height: 1.5;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-list li {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,107,53,0.08);
  border: 1px solid rgba(255,107,53,0.15);
  color: var(--warm);
}

/* ── PORTFOLIO / BENTO ────────────────────────────────────────── */
#portfolio {}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 260px);
  gap: 16px;
}
/* Explicit placement for bento layout */
.bento-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.bento-item:nth-child(2) { grid-column: 3;     grid-row: 1 / 3; }
.bento-item:nth-child(3) { grid-column: 1;     grid-row: 2; }
.bento-item:nth-child(4) { grid-column: 2;     grid-row: 2; }
.bento-item:nth-child(5) { grid-column: 1;     grid-row: 3; }
.bento-item:nth-child(6) { grid-column: 2 / 4; grid-row: 3; }

.bento-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.bento-item img,
.bento-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-item img {
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.7s, opacity 0.5s;
}
.bento-item video {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
/* Overlay cinématique au hover */
.bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,107,53,0.15) 0%,
    rgba(139,92,246,0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.bento-item:hover::after { opacity: 1; }
/* Si la vidéo se charge, elle remplace l'image */
.bento-item:hover img { transform: scale(1.07); filter: brightness(0.75) saturate(1.15); }
.bento-item:hover video { opacity: 1; }
/* Quand la vidéo joue, on cache l'image dessous */
.bento-item video:not([src=""]):not([src$=".mp4"]) + .bento-label,
.bento-item:hover:has(video[src]) img { opacity: 0; }
.bento-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 100px;
}
.portfolio-footer {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ── MANAGEMENT / FLOW ────────────────────────────────────────── */
#services { background: var(--bg); }
.flow-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.flow-left {}
.flow-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.flow-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-2);
  flex-shrink: 0;
  margin-top: 7px;
}
.flow-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.flow-list p { font-size: 0.875rem; color: var(--muted2); line-height: 1.6; }
.flow-cta { margin-top: 44px; }

/* Platforms card */
.flow-right {}
.platforms-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.platforms-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}
.platforms-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: -8px;
}
.platform-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.platform-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.platform-item strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
}
.platform-item span {
  font-size: 0.8rem;
  color: var(--muted2);
}
.platforms-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted2);
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

/* ── POUR QUI ─────────────────────────────────────────────────── */
#clients {}
.who-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.who-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.who-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,107,53,0.3);
  box-shadow: 0 16px 40px rgba(255,107,53,0.1);
}
.who-icon { font-size: 2.4rem; margin-bottom: 18px; }
.who-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.who-card p { font-size: 0.83rem; color: var(--muted2); line-height: 1.65; }

/* ── CONTACT ──────────────────────────────────────────────────── */
#contact { background: var(--bg); }
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-left {}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted2);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--text); }
.contact-link svg { color: var(--warm); flex-shrink: 0; }

/* Form */
.contact-right {}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 32px rgba(15,23,42,0.07);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-alt);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select { color: var(--muted); cursor: pointer; }
.form-group select:valid { color: var(--text); }
.form-group select option { background: var(--surface); color: var(--text); }

/* ── ILS NOUS FONT CONFIANCE ──────────────────────────────────── */
#trust { background: var(--bg-alt); }
.trust-marquee-wrap {
  overflow: hidden;
  padding: 48px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.trust-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 55s linear infinite;
}
.trust-marquee-wrap:hover .trust-marquee-track { animation-play-state: paused; }
.trust-mq-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  height: 52px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.trust-mq-logo {
  max-height: 28px;
  max-width: 90px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.45;
  transition: opacity 0.35s, filter 0.35s;
}
.trust-mq-item:hover .trust-mq-logo {
  filter: none;
  opacity: 1;
}
.trust-mq-name {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.trust-mq-item:hover .trust-mq-name { color: var(--text); }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: var(--hero-bg);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 60px 0 36px;
  color: rgba(240,242,248,0.7);
}
.footer-brand p,
.footer-bottom p { color: rgba(240,242,248,0.4); }
.footer-links a { color: rgba(240,242,248,0.55); }
.footer-links a:hover { color: rgba(240,242,248,0.9); }
.footer-socials a { color: rgba(240,242,248,0.45); }
.footer-socials a:hover { color: var(--warm); }
.footer-bottom { border-top-color: rgba(255,255,255,0.07); }
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  background: var(--grad-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.8rem; color: var(--muted); }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a { font-size: 0.875rem; color: var(--muted2); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-socials a {
  color: var(--muted2);
  transition: color 0.2s, transform 0.2s;
  display: block;
}
.footer-socials a:hover { color: var(--warm); transform: scale(1.1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .creation-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-large { grid-column: span 2; }
  .card-large .creation-visual { height: 280px; }

  .who-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-socials { flex-direction: row; }
}

@media (max-width: 900px) {
  .creation-header { grid-template-columns: 1fr; gap: 32px; }
  .creation-stat { justify-content: flex-start; }

  .flow-section { grid-template-columns: 1fr; gap: 48px; }
  .flow-right { order: -1; }

  .contact-split { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  section { padding: 96px 0; }

  .nav-links { display: none; }
  .burger { display: flex; }
  #navbar { padding: 0 20px; }

  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .br-desktop { display: none; }
  .hero-sub { font-size: 0.95rem; }

  .creation-grid { grid-template-columns: 1fr; }
  .card-large { grid-column: span 1; }
  .card-large .creation-visual { height: 240px; }

  /* Bento mobile: 2 columns, reset explicit placement */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
  .bento-item:nth-child(1),
  .bento-item:nth-child(6) { grid-column: span 2; }
  .bento-item { height: 200px; }

  .section-header { margin-bottom: 48px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-socials { flex-direction: row; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.6rem, 14vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { justify-content: center; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .bento-item { height: 220px; }

  .who-grid { grid-template-columns: repeat(2, 1fr); }

  .stat-block strong { font-size: 1.6rem; }
  .creation-stat { flex-wrap: wrap; gap: 24px; }
}

/* ── ACCESSIBILITY ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
