/* ==========================================================================
   MaxiFrog — Softkit Optimize
   Site vitrine (HTML/CSS/JS natifs), sans framework.
   Direction artistique : fond noir quadrillé, grands aplats colorés,
   boîte produit 3D, maquette d'interface, formes organiques.
   Palette : noir #000000 · blanc #FFFFFF · anthracite #312F30
             violet #7477FF · corail #F66554 · jaune #F9CD61
             sauge #C5D4CA · accent menthe #2EE585
   ========================================================================== */

/* ------------------------------ 1. Variables ---------------------------- */
:root {
  --black: #f7f1e3;
  --white: #25351b;
  --charcoal: #e8dfc9;
  --violet: #86a92f;
  --coral: #d98d32;
  --yellow: #e8c94f;
  --sage: #b5ca72;
  --mint: #92c83e;

  --muted: #777b63;
  --line: #dfd6bf;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;
}

/* ------------------------------ 2. Base --------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2.5px;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

ul {
  margin: 0;
  padding: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}

::selection {
  background: var(--mint);
  color: #062513;
}

.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.section-index {
  color: var(--muted);
}

.mint-text {
  color: var(--mint);
}

.to-complete {
  color: var(--yellow);
}

/* Grille noire discrète : trait de fond, pas de décor. */
.grid-ground {
  background-image: linear-gradient(#25351b12 1px, transparent 1px),
    linear-gradient(90deg, #25351b12 1px, transparent 1px);
  background-size: 48px 48px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--mint);
  color: #062513;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

/* ------------------------------ 3. Boutons ------------------------------ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  font-weight: 800;
  transition: background-color 0.22s ease, transform 0.25s var(--ease);
}

.button .icon {
  transition: transform 0.25s var(--ease);
}

.button:not(:disabled):hover .icon:last-child {
  transform: translateX(4px);
}

.button-mint {
  background: var(--mint);
  color: #0c1210;
}

.button-mint:disabled {
  background: #3d4448;
  color: #8d9399;
}

.button-mint:not(:disabled):hover {
  background: #a5d64f;
  transform: translateY(-3px);
}

/* ------------------------------ 4. Header ------------------------------- */
.site-header {
  position: relative;
  z-index: 30;
  height: 88px;
  background: var(--black);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  
  padding: 12px 0;
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: var(--mint);
}

.header-cta {
  min-height: 42px;
  margin-left: 4px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 12.5px;
}

.header-cta:disabled {
  background: #34353b;
  color: #8e8d94;
}

.header-cta:not(:disabled):hover {
  background: #a5d64f;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid #424044;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--white);
  transition: transform 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ------------------------------ 5. Hero --------------------------------- */
.hero {
  padding: 44px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}

.hero-figure {
  margin: 0;
  min-width: 0;
  animation: hero-arrive 0.9s var(--ease) both;
}

/* La composition est dimensionnée en unités de conteneur (cqw) :
   elle se met à l'échelle du bloc, de l'ordinateur au mobile. */
.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.02;
  container-type: inline-size;
  overflow: hidden;
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transition: transform 0.5s var(--ease);
}

/* ---- Aplats en arrière-plan ---- */
.blob {
  position: absolute;
  z-index: 1;
}

.blob-violet {
  left: 6cqw;
  top: 10cqw;
  width: 29cqw;
  height: 56cqw;
  background: var(--violet);
  border-radius: 36% 36% 44% 40% / 46% 44% 52% 48%;
  transform: rotate(-8deg);
}

.blob-sage {
  left: 10cqw;
  top: 38cqw;
  width: 24cqw;
  height: 44cqw;
  background: var(--sage);
  border-radius: 48% 52% 55% 45% / 52% 46% 54% 48%;
}

.blob-yellow {
  left: 42cqw;
  top: 10cqw;
  width: 32cqw;
  height: 36cqw;
  background: var(--yellow);
  border-radius: 52% 48% 58% 42% / 46% 58% 42% 54%;
  transform: rotate(9deg);
}

.blob-coral {
  left: 62cqw;
  top: 24cqw;
  width: 26cqw;
  height: 52cqw;
  background: var(--coral);
  border-radius: 18% 20% 24% 22%;
  transform: rotate(4deg);
}

/* ---- Boîte produit (CSS 3D) ---- */
.box-scene {
  position: absolute;
  z-index: 2;
  left: 22cqw;
  top: 15cqw;
  width: 46cqw;
  height: 74cqw;
  perspective: 160cqw;
  transform: translate3d(calc(var(--tx, 0px) * 1.6), calc(var(--ty, 0px) * 1.6), 0);
}

.box-shadow {
  position: absolute;
  left: 10%;
  bottom: -4%;
  width: 78%;
  height: 9%;
  background: #000000;
  opacity: 0.55;
  border-radius: 50%;
  filter: blur(2.4cqw);
}

.product-box {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(16deg);
}

.box-front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 6cqw 5.5cqw;
  background: #101013;
  border: 1px solid #26272c;
  border-left: 0.5cqw solid var(--mint);
  border-radius: 1cqw;
  box-shadow: -1cqw 0 3cqw -0.4cqw rgba(46, 229, 133, 0.4),
    3cqw 5cqw 10cqw -4cqw rgba(0, 0, 0, 0.6);
  transform: translateZ(5.5cqw);
}

.box-side {
  position: absolute;
  top: 0;
  left: 0;
  width: 11cqw;
  height: 100%;
  background: #0a0a0c;
  border-radius: 1cqw 0 0 1cqw;
  transform: translateZ(5.5cqw) rotateY(90deg);
  transform-origin: left center;
}

.box-kicker {
  font-size: 2.2cqw;
  font-weight: 700;
  letter-spacing: 0.8cqw;
  color: var(--white);
}

.box-title {
  margin-top: 1.2cqw;
  font-family: var(--font-display);
  font-size: 7.4cqw;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.2cqw;
  color: var(--white);
}

.box-tag {
  margin-top: 2cqw;
  max-width: 24cqw;
  font-size: 2.8cqw;
  line-height: 1.45;
  color: #c9c9cf;
}

.box-icon {
  margin-top: auto;
  width: 13cqw;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #0c0c0e;
  border: 0.45cqw solid var(--mint);
  border-radius: 4cqw;
  box-shadow: 0 0 5cqw rgba(46, 229, 133, 0.45),
    inset 0 0 3cqw rgba(46, 229, 133, 0.12);
  color: var(--mint);
}

.box-icon svg {
  width: 55%;
  height: 55%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Pastilles de couleurs ---- */
.swatch-pill {
  position: absolute;
  z-index: 5;
  left: 74cqw;
  top: 27cqw;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.8cqw 2.8cqw;
  background: #1b1c1f;
  border: 1px solid #313338;
  border-radius: 999px;
}

.sw {
  width: 3cqw;
  height: 3cqw;
  border-radius: 50%;
}

.sw-violet { background: var(--violet); }
.sw-coral { background: var(--coral); }
.sw-yellow { background: var(--yellow); }
.sw-sage { background: var(--sage); }
.sw-mint { background: var(--mint); }
.sw-white { background: var(--white); box-shadow: inset 0 0 0 0.4cqw #4a4c52; }

/* ---- Carte « votre marque » ---- */
.card-brand {
  position: absolute;
  z-index: 6;
  left: 56cqw;
  top: 33cqw;
  width: 18cqw;
  padding: 2.2cqw 2.4cqw;
  background: var(--white);
  border-radius: 1.6cqw;
  transform: rotate(-4deg);
  box-shadow: 2cqw 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.5);
}

.card-brand-chip {
  position: absolute;
  top: -2.2cqw;
  left: -1.4cqw;
  display: inline-flex;
  align-items: center;
  gap: 1cqw;
  padding: 1cqw 1.8cqw;
  background: #1b1c1f;
  border-radius: 999px;
  font-size: 1.8cqw;
  font-weight: 700;
  color: var(--white);
}

.card-brand-chip i {
  width: 1.2cqw;
  height: 1.2cqw;
  background: var(--mint);
  border-radius: 50%;
}

.card-brand-body {
  display: flex;
  align-items: center;
  gap: 1.8cqw;
}

.card-brand-logo {
  flex: none;
  width: 6cqw;
  height: 6cqw;
  display: grid;
  place-items: center;
  background: #101013;
  border-radius: 1.4cqw;
  color: var(--mint);
}

.card-brand-logo svg {
  width: 55%;
  height: 55%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-brand-lines {
  flex: 1;
  display: grid;
  gap: 1cqw;
}

.card-brand-lines i {
  display: block;
  height: 1.1cqw;
  background: #dcdde2;
  border-radius: 1cqw;
}

.card-brand-lines i:last-child {
  width: 55%;
}

/* ---- Maquette de l'application (illustrative) ---- */
.app-window {
  position: absolute;
  z-index: 4;
  left: 58cqw;
  bottom: 1cqw;
  width: 44cqw;
  padding: 2.4cqw 2.6cqw 2.8cqw;
  background: #17181b;
  border: 1px solid #313338;
  border-radius: 2cqw;
  box-shadow: 3cqw 4cqw 8cqw -3cqw rgba(0, 0, 0, 0.6);
}

.app-head {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  font-size: 1.9cqw;
  font-weight: 600;
  color: var(--white);
}

.app-head > i {
  width: 1.8cqw;
  height: 1.8cqw;
  background: var(--mint);
  border-radius: 50%;
}

.app-dots {
  margin-left: auto;
  display: flex;
  gap: 1cqw;
}

.app-dots i {
  width: 1.2cqw;
  height: 1.2cqw;
  background: #4a4c52;
  border-radius: 50%;
}

.app-body {
  display: grid;
  grid-template-columns: 16cqw 1fr;
  gap: 2cqw;
  margin-top: 2.4cqw;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
}

.app-side b {
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.1cqw 1.6cqw;
  border-radius: 1.2cqw;
  font-size: 2cqw;
  font-weight: 500;
  color: #b7b9be;
}

.app-side b.active {
  background: var(--mint);
  color: #0b1310;
  font-weight: 800;
}

.app-ico {
  flex: none;
  width: 2.6cqw;
  height: 2.6cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-gauge {
  position: relative;
  width: 15cqw;
}

.app-gauge svg {
  display: block;
  width: 100%;
  transform: rotate(-90deg);
}

.app-gauge .track {
  fill: none;
  stroke: #2c2e34;
  stroke-width: 8;
}

.app-gauge .progress {
  fill: none;
  stroke: var(--mint);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 186.2 238.8;
  filter: drop-shadow(0 0 1cqw rgba(46, 229, 133, 0.5));
}

.app-gauge span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 4.6cqw;
  font-weight: 700;
  color: var(--white);
}

.app-btn {
  margin-top: 2.2cqw;
  padding: 1.4cqw 3.2cqw;
  background: var(--mint);
  border-radius: 999px;
  font-size: 1.6cqw;
  font-weight: 800;
  white-space: nowrap;
  color: #0b1310;
}

.app-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4cqw;
  width: 100%;
  margin-top: 2.4cqw;
}

.app-tiles i {
  display: flex;
  flex-direction: column;
  gap: 0.9cqw;
  padding: 1.1cqw 1.2cqw;
  background: #202227;
  border-radius: 1.2cqw;
}

.app-tiles b {
  font-size: 1.35cqw;
  font-weight: 700;
  color: #f1f1f4;
}

.app-tiles u {
  display: block;
  width: 78%;
  height: 0.9cqw;
  background: #3a3d44;
  border-radius: 1cqw;
}

/* ---- Carte « personnalisez / modifiez / revendez » ---- */
.card-actions {
  position: absolute;
  z-index: 4;
  left: 5cqw;
  top: 42cqw;
  width: 16.5cqw;
  display: flex;
  flex-direction: column;
  gap: 0.9cqw;
  padding: 2.2cqw 2.4cqw;
  background: #1b1c1f;
  border: 1px solid #2e3035;
  border-radius: 1.8cqw;
  font-size: 1.9cqw;
  font-weight: 600;
  color: var(--white);
}

.card-actions .icon {
  width: 3.4cqw;
  height: 3.4cqw;
  margin-top: 1cqw;
  color: var(--mint);
}

/* ---- Annotation manuscrite ---- */
.hand-note {
  position: absolute;
  z-index: 5;
  left: 66cqw;
  top: 8cqw;
  width: 24cqw;
  transform: rotate(2deg);
  font-family: var(--font-hand);
  font-size: 4cqw;
  line-height: 1.15;
  color: var(--white);
}

.hand-arrow {
  margin: 0.6cqw 0 0 2cqw;
  width: 7cqw;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Formes de bordure ---- */
.corner {
  position: absolute;
  z-index: 0;
}

.corner-sage {
  top: -10cqw;
  right: -6cqw;
  width: 17cqw;
  height: 26cqw;
  background: var(--sage);
  border-radius: 6cqw;
}

.corner-sage i {
  position: absolute;
  left: 24%;
  top: 18%;
  width: 3cqw;
  height: 3cqw;
  background: #16171a;
  border-radius: 50%;
}

.corner-coral {
  left: -8cqw;
  bottom: 0;
  width: 18cqw;
  height: 18cqw;
  background: var(--coral);
  border-radius: 50%;
}

.corner-violet {
  right: -4cqw;
  bottom: -6cqw;
  width: 15cqw;
  height: 15cqw;
  background: var(--violet);
  border-radius: 50%;
}

.hero-figure figcaption {
  margin-top: 14px;
  font-size: 11px;
  color: #98959d;
}

/* ---- Colonne produit et achat ---- */
.hero-copy {
  min-width: 0;
  animation: hero-arrive 0.9s 0.12s var(--ease) both;
}

.pill-kit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 9px 16px;
  background: #1d1e21;
  border: 1px solid #34353b;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e9e9ec;
}

.pill-kit i {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(46, 229, 133, 0.8);
}

.hero-copy h1 {
  font-size: clamp(64px, 7.6vw, 112px);
  line-height: 0.92;
  letter-spacing: -5px;
}

.hero-description {
  max-width: 470px;
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: #c7c6cc;
}

.hero-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 18px;
}

.hero-price strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #1d1e21;
  border: 1px solid #34353b;
  border-radius: 999px;
  font-size: 12px;
  color: #c9c7cd;
}

.price-pill .icon {
  width: 15px;
  height: 15px;
}

.order-button {
  width: 100%;
  max-width: 480px;
  min-height: 64px;
  justify-content: flex-start;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 16px;
}

.order-button > span {
  flex: 1;
  text-align: left;
}

.order-button:disabled .icon {
  opacity: 0.5;
}

.order-note {
  margin-top: 10px;
  font-size: 12px;
  color: #a8a4ac;
}

.receive-box {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 18px 20px;
  
}

.receive-box .cube {
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--mint);
}

.receive-box strong {
  font-size: 14.5px;
  color: var(--white);
}

.receive-box p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #c7c6cc;
}

/* ------------------------------ 6. Cartes kit --------------------------- */
.kit-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 64px;
}

.kit-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 196px;
  padding: 24px;
  color: #17171a;
  transition: transform 0.3s var(--ease);
}

.kit-card:hover {
  transform: translateY(-6px);
}

.card-violet {
  background: var(--violet);
  border-radius: 26px 70px 30px 22px;
}

.card-coral {
  background: var(--coral);
  border-radius: 22px 26px 64px 28px;
}

.card-yellow {
  background: var(--yellow);
  border-radius: 64px 24px 26px 70px;
}

.card-sage {
  background: var(--sage);
  border-radius: 26px 62px 24px 60px;
}

.kit-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 11px;
  color: var(--white);
}

.kit-ico .icon {
  width: 20px;
  height: 20px;
}

.kit-card h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.kit-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.82);
}

/* ------------------------------ 7. Barre slogan ------------------------- */
.slogan-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  padding-bottom: 52px;
}

.slogan-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.slogan-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.slogan {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #b5b3ba;
  white-space: nowrap;
}

.slogan i {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
}

/* ------------------------------ 8. Licence ------------------------------ */
.licence-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.licence-head h2 {
  font-size: clamp(36px, 3.8vw, 52px);
  letter-spacing: -2.5px;
}

.licence-head p {
  max-width: 350px;
  margin: 22px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.licence-panels {
  display: grid;
  gap: 14px;
}

.licence-panel {
  padding: 26px 28px;
  border-radius: 20px;
  color: #161616;
}

.licence-panel h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.licence-panel ul {
  list-style: none;
}

.licence-panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.55;
}

.licence-panel li + li {
  border-top: 1px solid #00000024;
}

.licence-panel li .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.licence-panel.allowed {
  background: var(--violet);
}

.licence-panel.limited {
  background: var(--coral);
}

/* ------------------------------ 9. Footer -------------------------------- */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding-top: 65px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 45px;
}

.footer-brand .eyebrow {
  margin-bottom: 11px;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #bcb8c3;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -7px;
}

.footer-contact {
  padding-right: 16px;
}

.footer-contact h2 {
  font-size: 27px;
  letter-spacing: -1px;
}

.footer-contact p {
  margin: 9px 0 0;
  font-size: 13px;
  color: #b8b4bf;
}

.contact-address {
  margin-top: 17px !important;
}

.footer-legal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.footer-legal details {
  background: var(--charcoal);
  border-radius: 14px;
  padding: 16px 18px;
}

.footer-legal summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.footer-legal summary::-webkit-details-marker {
  display: none;
}

.footer-legal summary .icon {
  width: 18px;
  height: 18px;
  color: var(--mint);
  transition: transform 0.3s var(--ease);
}

.footer-legal details[open] summary .icon {
  transform: rotate(45deg);
}

.footer-legal p {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: #c5c1cb;
}

.footer-notice {
  max-width: 950px;
  font-size: 11px;
  line-height: 1.9;
  color: #aaa4b0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
}

.footer-copyright,
.footer-privacy {
  font-size: 11px;
  color: var(--muted);
}

.back-top {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #605a65;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.back-top .icon {
  width: 16px;
  height: 16px;
}

.back-top:hover {
  background: var(--mint);
  color: #062513;
}

/* Signature finale : les couleurs du système, en part égale. */
.color-finish {
  display: flex;
  height: 8px;
}

.color-finish span {
  flex: 1;
  background: var(--white);
}

.color-finish span:nth-child(2) { background: var(--charcoal); }
.color-finish span:nth-child(3) { background: var(--violet); }
.color-finish span:nth-child(4) { background: var(--coral); }
.color-finish span:nth-child(5) { background: var(--yellow); }
.color-finish span:nth-child(6) { background: var(--sage); }

/* ------------------------------ 10. Animations --------------------------- */
/* Le contenu reste visible sans JavaScript : l'animation est un bonus. */
.is-enhanced .reveal {
  opacity: 0;
  transform: translateY(23px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.is-enhanced .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.kit-cards .reveal:nth-child(2) { transition-delay: 70ms; }
.kit-cards .reveal:nth-child(3) { transition-delay: 140ms; }
.kit-cards .reveal:nth-child(4) { transition-delay: 210ms; }

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------ 11. Responsive --------------------------- */
@media (max-width: 1150px) {
  .container { width: calc(100% - 72px); }
  .hero-grid { gap: 40px; }
  .hero-copy h1 { font-size: 92px; letter-spacing: -4px; }
  .hero-description { font-size: 16px; }
  .kit-cards { gap: 14px; }
  .licence-layout { gap: 55px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .main-nav { gap: 22px; }
  .hero { padding-top: 30px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-figure {
    width: min(640px, 100%);
    margin-inline: auto;
  }
  .hero-copy {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }
  .hero-copy h1 { font-size: clamp(58px, 9vw, 76px); }
  .order-button { max-width: 440px; }
  .kit-cards { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 52px; }
  .kit-card { min-height: 180px; }
  .licence-layout { grid-template-columns: 1fr; gap: 40px; }
  .licence-head h2 { font-size: 40px; }
  .footer-top { display: block; padding-bottom: 34px; }
  .footer-contact { margin-top: 30px; }
  .footer-wordmark { font-size: 82px; letter-spacing: -5px; }
  .footer-legal { grid-template-columns: 1fr 1fr; }
  .section { padding: 78px 0; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 30px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 77px; }
  .wordmark { font-size: 24px; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 25px;
    background: #151415;
    border-bottom: 1px solid #4e4753;
    display: none;
  }
  .main-nav.is-open {
    display: flex;
    animation: hero-arrive 0.22s var(--ease) both;
  }
  .nav-link {
    padding: 14px 5px;
    font-size: 14px;
    border-bottom: 1px solid #37323b;
  }
  .header-cta {
    margin: 17px 0 0;
    justify-content: center;
    min-height: 46px;
    font-size: 12.5px;
  }

  .hero { padding-top: 22px; }
  .hero-grid { gap: 36px; }
  .hero-figure { width: min(520px, 100%); }
  .hero-figure figcaption { font-size: 10px; }
  .hero-copy { max-width: 460px; }
  .hero-copy h1 { font-size: clamp(60px, 15vw, 80px); letter-spacing: -3.5px; }
  .hero-description { font-size: 15.5px; margin-top: 20px; }
  .hero-price { margin: 24px 0 16px; gap: 12px; }
  .hero-price strong { font-size: 38px; }
  .order-button { max-width: none; min-height: 58px; font-size: 14.5px; }
  .order-note { font-size: 11px; }
  .receive-box { padding: 16px 18px; }
  .receive-box p { font-size: 13px; }

  .kit-cards { margin-top: 44px; }
  .kit-card { padding: 20px; }
  .kit-card h2 { font-size: 19px; }
  .slogan-bar { margin-top: 38px; padding-bottom: 44px; gap: 14px; }
  .slogan { font-size: 9px; letter-spacing: 0.25em; }

  .section { padding: 65px 0; }
  .licence-head h2 { font-size: 36px; }
  .licence-head p { font-size: 14px; }
  .licence-panel { padding: 22px; }
  .licence-panel li { font-size: 13px; }

  .site-footer { padding-top: 49px; }
  .footer-top .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .footer-wordmark { font-size: clamp(70px, 17vw, 100px); letter-spacing: -5px; }
  .footer-contact { margin-top: 28px; }
  .footer-contact h2 { font-size: 25px; }
  .footer-legal { grid-template-columns: 1fr; margin-bottom: 22px; }
  .footer-row { flex-wrap: wrap; gap: 14px; padding-top: 20px; }
}

@media (max-width: 480px) {
  .kit-cards { grid-template-columns: 1fr; }
  .kit-card { min-height: 0; }
  .slogan { white-space: normal; }
}

/* ------------------------------ 12. Mouvement réduit --------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .is-enhanced .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-art {
    transform: none;
  }
  .box-scene {
    transform: none;
  }
  .kit-card:hover,
  .button:not(:disabled):hover {
    transform: none;
  }
}
