/* ╔══════════════════════════════════════════════════════════════════╗
   ║  DESIGN TOKENS — modifier ici pour propager partout              ║
   ╚══════════════════════════════════════════════════════════════════╝ */
:root {
  /* ─── Couleurs de marque ─────────────────────────────── */
  --bg:        #0e0f0b;
  --bg2:       #141510;
  --surface:   #1a1c16;
  --green:     oklch(52% 0.17 140);
  --green-hi:  oklch(58% 0.19 140);   /* hover variant */
  --green-dim: oklch(38% 0.12 140);
  --yellow:    oklch(78% 0.17 88);
  --yellow-hi: oklch(82% 0.18 88);    /* hover variant */
  --white:     #f2f1ee;
  --muted:     #8a8a80;

  /* ─── Couleurs alpha (réutilisables) ─────────────────── */
  --w-05:    rgba(255,255,255,0.05);
  --w-07:    rgba(255,255,255,0.07);   /* = --border */
  --w-12:    rgba(255,255,255,0.12);
  --w-15:    rgba(255,255,255,0.15);
  --w-25:    rgba(255,255,255,0.25);
  --b-50:    rgba(0,0,0,0.5);
  --b-70:    rgba(0,0,0,0.7);
  --b-75:    rgba(0,0,0,0.75);
  --b-85:    rgba(0,0,0,0.85);
  --b-90:    rgba(0,0,0,0.9);
  --b-95:    rgba(0,0,0,0.95);
  --bg-nav:        rgba(14,15,11,0.85);
  --bg-nav-scroll: rgba(14,15,11,0.97);
  --border:        var(--w-07);

  /* ─── Typographie ────────────────────────────────────── */
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --t1: 600 normal clamp(60px, 13vw, 160px)/0.9 var(--font-head);
  --t2: 500 normal clamp(16px, 3vw, 32px)/1.1   var(--font-head);
  --t3: 200 normal 15px/1.7                      var(--font-body);

  /* Échelle de letter-spacing */
  --ls-tight:  -0.01em;
  --ls-1:       0.04em;
  --ls-2:       0.06em;
  --ls-3:       0.08em;
  --ls-4:       0.1em;
  --ls-5:       0.12em;
  --ls-6:       0.14em;
  --ls-7:       0.18em;

  /* ─── Espacements ────────────────────────────────────── */
  --section-pad: clamp(64px, 10vw, 120px);
  --pad-x-nav:     clamp(20px, 5vw, 60px);
  --pad-x-section: clamp(20px, 5vw, 80px);
  --pad-x-content: clamp(16px, 9vw, 140px);
  --pad-x-hero:    clamp(16px, 10vw, 160px);

  /* ─── Bordures et radius ─────────────────────────────── */
  --radius:    4px;
  --radius-sm: 2px;

  /* ─── Animations ─────────────────────────────────────── */
  --dur-fast:   0.2s;
  --dur-mid:    0.3s;
  --dur-slow:   0.7s;
  --dur-slower: 1s;
  --ease-out:    ease;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  /* ─── Z-index layers ─────────────────────────────────── */
  --z-bg:      0;
  --z-media:   1;
  --z-overlay: 2;
  --z-content: 3;
  --z-nav:     100;

  /* ─── Ombres et filtres réutilisables ────────────────── */
  --shadow-text-lg: 0 6px 32px var(--b-95), 0 2px 8px var(--b-85);
  --shadow-text-md: 0 3px 16px var(--b-90), 0 1px 4px var(--b-75);
  --shadow-drop-lg: drop-shadow(0 24px 48px var(--b-70));
  --shadow-drop-md: drop-shadow(0 20px 40px var(--b-50));
  --shadow-drop-sm: drop-shadow(0 16px 32px var(--b-70));
  --shadow-drop-xs: drop-shadow(0 12px 24px var(--b-70));

  --filter-video: grayscale(100%) contrast(0.8) brightness(1.3);
  --filter-video-soft: grayscale(100%) contrast(1) brightness(1.1);
  --backdrop-blur: blur(16px);
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  RESET & BASE                                                    ║
   ╚══════════════════════════════════════════════════════════════════╝ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  UTILITIES (motifs partagés)                                     ║
   ╚══════════════════════════════════════════════════════════════════╝ */
/* Couvre entièrement un parent positionné, niveau bg/media/overlay */
.hero__bg, .hero__bg-img, .hero__video, .hero__gradient,
.product-section__bg, .product-section__bg-real,
.product-section__video, .product-section__video-gradient,
.product-section__overlay {
  position: absolute;
  inset: 0;
}

/* Vidéo plein cadre (hero + product) */
.hero__video, .product-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-slower) var(--ease-out);
}
.hero__video.ready,
.product-section__video.ready { opacity: 1; }

/* Gradient associé aux vidéos */
.hero__gradient,
.product-section__video-gradient {
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-slower) var(--ease-out);
}
.hero__video.ready + .hero__gradient,
.product-section__video.ready + .product-section__video-gradient { opacity: 1; }

/* Centrage flex vertical + horizontal */
.nav__cta-wrap, .features-bar__icon, .contact__info-icon,
.hero__robot-placeholder, .product-section__bg-placeholder,
.product-robot-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholders mono (hero + product) */
.hero__robot-placeholder,
.product-section__bg-placeholder,
.product-robot-placeholder {
  font-family: monospace;
  text-align: center;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  SCROLL ANIMATIONS                                               ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.reveal.from-left  { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  NAV                                                             ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x-nav);
  height: 68px;
  background: var(--bg-nav);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-mid);
}
.nav.is-scrolled { background: var(--bg-nav-scroll); }
.nav__logo svg {
  height: 36px;
  width: auto;
  fill: var(--white);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: var(--ls-1);
  text-transform: uppercase;
  transition: color var(--dur-fast);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--green);
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px !important;
  letter-spacing: var(--ls-2);
  text-transform: uppercase;
  transition: background var(--dur-fast) !important;
}
.nav__cta:hover { background: var(--yellow) !important; color: var(--bg) !important; }

/* Burger mobile */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--dur-mid), opacity var(--dur-mid);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav__links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0;
    background: none;
    border-bottom: none;
    padding: 0;
  }
  .nav__links li { width: auto; }
  .nav__links a {
    display: inline-block;
    padding: 0;
    font-size: 13px;
  }
  .nav__cta {
    margin: 0;
    display: inline-block;
    padding: 8px 16px !important;
    font-size: 12px !important;
  }
  .nav__burger { display: none; }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  HERO                                                            ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: 68px;
}

.hero__bg {
  background: var(--surface);
  transform: translateX(100%);
  animation: heroBgIn var(--dur-slower) var(--ease-smooth) 0.2s forwards;
}
@keyframes heroBgIn {
  to { transform: translateX(0); }
}

.hero__bg-img {
  background-image:
    linear-gradient(to bottom, rgba(14,15,11,0.45) 0%, rgba(14,15,11,0.2) 40%, rgba(14,15,11,0.92) 100%),
    url('uploads/Moxy pro background.webp');
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  animation: heroBgFadeIn var(--dur-slower) var(--ease-out) 0.2s forwards;
  z-index: var(--z-bg);
}
@keyframes heroBgFadeIn {
  to { opacity: 1; }
}

.hero__video {
  object-position: center 30%;
  z-index: var(--z-media);
  filter: var(--filter-video);
}

.hero__gradient {
  z-index: var(--z-overlay);
  background: linear-gradient(
    to bottom,
    hsla(135, 100%, 17%, 0.699) 50%,
    var(--bg) 100%
  );
}

.hero__robot-wrap {
  position: absolute;
  right: clamp(20px, 8vw, 120px);
  top: 50%;
  width: clamp(260px, 50vw, 700px);
  opacity: 0;
  transform: translateY(calc(-50% + 20px)) translateX(60px);
  animation: robotIn var(--dur-slower) var(--ease-smooth) 0.7s forwards;
}
@keyframes robotIn {
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.hero__robot-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1e2318 0%, #2a3020 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
  padding: 20px;
}

.hero__content {
  position: relative;
  z-index: var(--z-overlay);
  padding: clamp(20px, 4vw, 48px) var(--pad-x-hero);
  max-width: min(800px, 50vw);
}

.hero__chips {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 0.9s forwards;
}
.hero__chips .product-section__chip { margin-bottom: 0; }

/* Titre principal — partagé avec product-section__name */
.hero__title,
.product-section__name {
  font: var(--t1);
  text-transform: uppercase;
  letter-spacing: var(--ls-tight);
  text-shadow: var(--shadow-text-lg);
}
.hero__title {
  opacity: 0;
  animation: fadeUp var(--dur-slow) var(--ease-out) 1s forwards;
}
.hero__title span { color: var(--green); }

/* Tagline — partagé avec product-section__tagline */
.hero__tagline,
.product-section__tagline {
  font: var(--t2);
  text-transform: uppercase;
  letter-spacing: var(--ls-4);
  color: var(--white);
  margin-top: 8px;
  text-shadow: var(--shadow-text-md);
}
.hero__tagline {
  letter-spacing: var(--ls-5);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 1.1s forwards;
}

.hero__sub {
  font: var(--t2);
  letter-spacing: var(--ls-4);
  color: var(--yellow);
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 1.15s forwards;
}

/* Description — partagée avec product-section__desc */
.hero__desc,
.product-section__desc {
  font: var(--t3);
  color: var(--white);
  margin-top: 24px;
}
.hero__desc {
  max-width: 480px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 1.25s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) 1.35s forwards;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  BUTTONS                                                         ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--ls-2);
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: var(--bg);
}
.btn--primary:hover { background: var(--green-hi); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--w-25);
}
.btn--outline:hover { border-color: var(--white); background: var(--w-05); }
.btn--yellow {
  background: var(--yellow);
  color: var(--bg);
}
.btn--yellow:hover { background: var(--yellow-hi); transform: translateY(-1px); }

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  FEATURES BAR                                                    ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.features-bar {
  background: var(--green-dim);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px var(--pad-x-section);
}
.features-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-bar__tagline {
  font: var(--t2);
  text-transform: uppercase;
  letter-spacing: var(--ls-4);
  color: var(--yellow);
}
.features-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.features-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  color: var(--white);
}
.features-bar__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--w-15);
  flex-shrink: 0;
}
.features-bar__icon svg { width: 11px; height: 11px; fill: var(--white); }

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  PRODUCT SECTIONS                                                ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.product-section {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.product-section:nth-child(even) { flex-direction: row-reverse; }

.product-section__bg            { z-index: var(--z-bg); }
.product-section__bg-placeholder {
  width: 100%;
  height: 100%;
  font-size: 13px;
  color: var(--w-12);
}

/* Background image (Vista + Moxymax) */
.product-section--vista .product-section__bg-real,
.product-section--moxymax .product-section__bg-real {
  width: 100%; height: 100%;
  object-fit: cover;
}
.product-section--vista   .product-section__bg-real { object-position: center 40%; }
.product-section--moxymax .product-section__bg-real { object-position: center 60%; }

.product-section__video {
  object-position: center;
  z-index: var(--z-media);
  filter: var(--filter-video-soft);
}
.product-section__video-gradient { z-index: var(--z-overlay); }
.product-section--vista .product-section__video-gradient {
  background: linear-gradient(to bottom, hsla(44, 89%, 48%, 0.274) 50%, var(--bg) 100%);
}

/* Pile de couches spécifique à Vista */
.product-section--vista .product-section__robot          { z-index: var(--z-media); }
.product-section--vista .product-section__video         { z-index: var(--z-overlay); }
.product-section--vista .product-section__video-gradient { z-index: var(--z-content); }
.product-section--vista .product-section__overlay        { z-index: 4; }
.product-section--vista .product-section__content        { z-index: 5; }

.product-section__overlay {
  z-index: var(--z-media);
  pointer-events: none;
}
.product-section--vista   .product-section__overlay {
  background: linear-gradient(to right, var(--bg) 0%, transparent 55%);
}
.product-section--moxymax .product-section__overlay {
  background: linear-gradient(to left,  var(--bg) 0%, transparent 55%);
}

.product-section__robot {
  position: absolute;
  z-index: var(--z-overlay);
  width: clamp(220px, 46vw, 640px);
  top: 0;
  bottom: 0;
  height: fit-content;
  margin-block: auto;
}
.product-section--vista   .product-section__robot { right: clamp(20px, 6vw, 80px); }
.product-section--moxymax .product-section__robot { left: 0; width: clamp(200px, 38vw, 560px); }

.product-robot-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--w-12);
  border-radius: var(--radius);
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  padding: 16px;
}

.product-section__content {
  position: relative;
  z-index: var(--z-content);
  padding: var(--section-pad) var(--pad-x-content);
  max-width: min(620px, 50vw);
}
.product-section--vista   .product-section__content { margin-right: auto; }
.product-section--moxymax .product-section__content { margin-left: auto; text-align: right; }
.product-section--moxymax .product-section__actions { justify-content: flex-end; }

.product-section__chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-6);
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.product-section--vista   .product-section__chip { background: var(--yellow);  color: var(--bg); }
.product-section--moxymax .product-section__chip { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

.product-section--vista   .product-section__name { color: var(--yellow); }
.product-section--moxymax .product-section__name { color: var(--white); }

.product-section__desc {
  max-width: 400px;
  margin-top: 20px;
  line-height: 1.75;
}

.product-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  CONTACT                                                         ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.contact {
  padding: var(--section-pad) var(--pad-x-section);
  background: var(--bg2);
  border-top: 1px solid var(--border);
  overflow-x: hidden;
}
.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 760px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__inner > * { min-width: 0; }
  .contact__demo-banner { flex-direction: column; align-items: flex-start; }
  .contact__form, .contact__demo-banner { width: 100%; }
}
.contact__label {
  font: var(--t2);
  letter-spacing: var(--ls-7);
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.contact__title {
  font: var(--t1);
  text-transform: uppercase;
}
.contact__subtitle {
  font: var(--t3);
  color: var(--muted);
  margin-top: 16px;
  max-width: 380px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact__info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.contact__info-icon svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 1.5; }
.contact__info-meta {}
.contact__info-label {
  font: var(--t2);
  letter-spacing: var(--ls-5);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact__info-value {
  font: var(--t3);
  color: var(--white);
}
.contact__info-value a { color: var(--white); transition: color var(--dur-fast); }
.contact__info-value a:hover { color: var(--green); }

/* Contact form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--ls-3);
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--dur-fast);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 120px; }

.contact__demo-banner {
  margin-top: 8px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(52,120,52,0.15) 0%, rgba(52,120,52,0.05) 100%);
  border: 1px solid rgba(52,200,80,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact__demo-text {
  font: var(--t3);
  color: var(--white);
}
.contact__demo-text span { color: var(--green); font-weight: 600; }

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  FOOTER                                                          ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px var(--pad-x-section);
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__logo img {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.footer__tagline {
  font: var(--t2);
  letter-spacing: var(--ls-4);
  text-transform: uppercase;
  color: var(--muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.footer__links a {
  font-size: 13px;
  color: var(--muted);
  transition: color var(--dur-fast);
}
.footer__links a:hover { color: var(--white); }
.footer__copy {
  width: 100%;
  font: var(--t3);
  color: rgba(138,138,128,0.5);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

@keyframes robotInMobile {
  to { opacity: 1; transform: translateX(0); }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║  MOBILE RESPONSIVE                                               ║
   ╚══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 720px) {

  .hero {
    min-height: calc(100svh); /* 100% de l'écran moins la hauteur de la barre de navigation */
    flex-direction: column;
    justify-content: flex-end; /* Pousse le bloc de texte vers le bas */
    padding-top: 0;
  }

  .hero__bg-img {
    position: absolute;
    inset: 0;
    height: 100%;
    background-attachment: scroll;
    background-position: center center;
    animation: none;
    opacity: 1;
  }

  .hero__video,
  .hero__gradient,
  .product-section__video,
  .product-section__video-gradient { display: none; }

  .hero__robot-wrap {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    flex: 1;
    min-height: 0;
    padding: 10px 24px;
    z-index: var(--z-content);
    opacity: 0;
    transform: translateX(48px);
    animation: robotInMobile 0.8s var(--ease-smooth) 0.3s forwards;
  }

  .hero__robot-wrap img {
    width: 100%;
    max-width: 240px; /* Robot légèrement plus petit */
    max-height: 100%; /* S'assure qu'il ne coupe pas le texte */
    object-fit: contain;
    filter: var(--shadow-drop-sm);
  }

  /* 4. On resserre les marges autour du texte */
  .hero__content {
    position: relative;
    z-index: var(--z-overlay);
    padding: 16px 24px 32px; /* Espacements réduits */
    max-width: 100%;
    /* On ajoute un léger fond sombre fondu pour garantir que le texte reste lisible sur l'image */
    background: linear-gradient(to top, var(--bg) 00%, transparent 20%); 
  }

  /* 5. On réduit un peu la taille des typographies pour que tout rentre */
  .hero__title {
    font-size: clamp(42px, 13vw, 80px); /* Titre un peu plus petit */
    line-height: 0.95;
  }

  .hero__chips {
    margin-bottom: 12px;
  }

  .hero__desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero__actions {
    margin-top: 20px;
  }

  .product-section {
    min-height: auto;
    flex-direction: column !important;
    padding-bottom: 0;
  }
  .product-section__bg {
    position: absolute; /* Remplacer "relative" par "absolute" */
    inset: 0;
    overflow: hidden;
    /* Supprimer height et min-height */
  }
  .product-section__bg-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-section__robot {
    display: flex;
    position: relative;
    width: clamp(160px, 65vw, 280px);
    top: auto;
    bottom: auto;
    left: auto !important;
    right: auto !important;
    margin-block: 0;
    margin: -40px auto 0;
    z-index: 4;
  }
  .product-section__robot img {
    filter: var(--shadow-drop-xs);
  }
  .product-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%) !important;
  }
  .product-section__content {
    position: relative;
    z-index: var(--z-content);
    padding: 16px 24px 48px;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .features-bar__tagline { font-size: 14px; }
}
