/* ============ zury® — DA ============
   Noir profond #0B0B0C / Ivoire #F1EEE6 / Lime signature #D4FF3F
   Typo : Inter, graisse 800, tracking -0.05em, uppercase display
====================================== */

:root {
  --bg: #0b0b0c;
  --surface: #131315;
  --ink: #f1eee6;
  --muted: #85827a;
  --accent: #d4ff3f;
  --line: rgba(241, 238, 230, 0.1);
  --font: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scrollbar-width: thin;
  scrollbar-color: var(--muted) var(--bg);
  /* Lenis pilote le scroll : l'ancrage natif du navigateur créerait des micro-corrections */
  overflow-anchor: none;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; }
em { font-style: normal; color: var(--accent); }

/* Étincelle — le mark zury */
.spark { width: 0.5em; height: 0.5em; fill: var(--accent); }

/* Étincelles 3D : derrière tout le contenu, jamais interactives */
.webgl {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
main, .nav, .menu, .marquee {
  position: relative;
  z-index: 1;
}

/* Grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(4) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 4vw;
}
.preloader__logo {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}
.preloader__count {
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.preloader__spark-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Hauteur explicite plutôt qu'aspect-ratio : compatibilité vieux mobiles (iOS < 15) */
  width: clamp(130px, 22vw, 280px);
  height: clamp(130px, 22vw, 280px);
  margin: calc(clamp(130px, 22vw, 280px) / -2) 0 0 calc(clamp(130px, 22vw, 280px) / -2);
  will-change: transform;
}
.preloader__spark-wrap svg,
.preloader__spark-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.preloader__spark-wrap svg { fill: var(--accent); }
.preloader__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Curseur ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(241, 238, 230, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
  mix-blend-mode: difference;
}
.cursor.is-hover {
  width: 72px; height: 72px;
  background: rgba(241, 238, 230, 0.9);
  border-color: transparent;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
@media (hover: none) {
  .cursor, .cursor-dot { display: none; }
  body, a, button { cursor: auto; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover { background: var(--ink); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4vw;
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 1.3rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav__links a { position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__cta {
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  transition: background 0.4s var(--ease);
}
.nav__cta:hover { background: var(--ink); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 0;
}
.nav__burger span {
  display: block;
  width: 28px; height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  gap: 1rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0% 0); }
.menu a {
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16vh 4vw 10vh;
  position: relative;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4vh;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero__title {
  font-size: clamp(2.6rem, 9.6vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}
.spark--title {
  width: 0.45em; height: 0.45em;
  margin-left: 0.08em;
  animation: sparkle 2.4s var(--ease) infinite;
}
@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.25) rotate(45deg); }
}
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 6vh;
  gap: 3rem;
}
.hero__desc {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
}
.hero__actions { display: flex; gap: 1rem; flex-shrink: 0; }

/* Mockup builder */
.hero__mockup {
  margin-top: 10vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  will-change: transform;
}
.mockup__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.mockup__bar > span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.mockup__url {
  margin-left: 1rem;
  flex: 1;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(241, 238, 230, 0.04);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  max-width: 340px;
}
.mockup__publish {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border-radius: 100px;
  padding: 0.4rem 1rem;
}
.hero__mockup { --m-accent: #ffb03f; }
.mockup__body { padding: clamp(1.5rem, 4vw, 4rem); }
.mockup__site {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  /* Hauteur fixe : le cycle des variantes ne doit jamais changer la hauteur de la page */
  height: clamp(230px, 26vw, 380px);
}
.mockup__text { align-self: center; min-width: 0; }
.mockup__heroimg {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}
.mockup__heroimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mockup__kicker {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--m-accent);
  margin-bottom: 1rem;
}
.mockup__name {
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}
.mockup__tagline {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  margin: 0.8rem 0 1.6rem;
  max-width: 50ch;
}
.mockup__cta {
  display: inline-block;
  background: var(--m-accent);
  color: var(--bg);
  border-radius: 100px;
  padding: 0.7rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.mockup__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mockup__card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: rgba(241, 238, 230, 0.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.2rem;
  overflow: hidden;
}
.mockup__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mockup__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.8), rgba(11, 11, 12, 0.1) 55%);
}
.mockup__card span {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.mockup__note {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* --- Variantes de DA des sites fictifs : chaque métier a sa propre identité --- */

/* v1 — élégant (restaurant) : centré, serif, image panoramique */
.mockup--v1 .mockup__site {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mockup--v1 .mockup__name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.05;
}
.mockup--v1 .mockup__tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  margin-left: auto;
  margin-right: auto;
}
.mockup--v1 .mockup__text { flex-shrink: 0; }
.mockup--v1 .mockup__heroimg {
  width: 100%;
  flex: 1;
  min-height: 0;
  height: auto;
  border-radius: 12px;
}
.mockup--v1 .mockup__cta { border-radius: 100px; }
.mockup--v1 .mockup__card { border-radius: 12px; }

/* v2 — brut (artisan) : typographie massive, angles droits, image carrée */
.mockup--v2 .mockup__name {
  font-weight: 900;
  letter-spacing: -0.07em;
}
.mockup--v2 .mockup__kicker { letter-spacing: 0.38em; }
.mockup--v2 .mockup__tagline { max-width: 34ch; }
.mockup--v2 .mockup__heroimg { border-radius: 0; }
.mockup--v2 .mockup__cta { border-radius: 0; }
.mockup--v2 .mockup__card { border-radius: 0; }

/* v3 — aventure (montagne) : image d'abord, Space Grotesk, miroir */
.mockup--v3 .mockup__site { grid-template-columns: 1fr 1.1fr; }
.mockup--v3 .mockup__heroimg {
  order: 1;
  border-radius: 8px;
}
.mockup--v3 .mockup__text { order: 2; }
.mockup--v3 .mockup__name {
  font-family: "Space Grotesk", var(--font);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.mockup--v3 .mockup__kicker { font-family: "Space Grotesk", var(--font); }
.mockup--v3 .mockup__cta { border-radius: 8px; }
.mockup--v3 .mockup__card { border-radius: 8px 8px 40px 8px; }

/* Reveal par lignes — le padding-top laisse la place aux accents (Ê, É…) */
.line {
  display: block;
  overflow: hidden;
  padding-top: 0.12em;
  margin-top: -0.12em;
}
.line__inner { display: inline-block; transform: translateY(115%); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.6rem 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  will-change: transform;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 3rem;
}

/* ---------- Manifesto ---------- */
.manifesto {
  padding: 22vh 4vw;
  max-width: 1200px;
}
.manifesto__text {
  font-size: clamp(1.7rem, 4.2vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.manifesto__text .word { opacity: 0.12; transition: none; }

/* ---------- Features / Bento ---------- */
.features { padding: 8vh 4vw 14vh; }
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.bento__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2.2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: border-color 0.5s var(--ease);
}
.bento__card:hover { border-color: rgba(212, 255, 63, 0.5); }
.bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
              rgba(212, 255, 63, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.bento__card:hover::before { opacity: 1; }
.bento__card--wide { grid-column: span 2; }
.bento__card h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.bento__card p { color: var(--muted); font-size: 0.95rem; max-width: 44ch; }
.bento__num {
  position: absolute;
  top: 1.6rem; right: 1.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Steps ---------- */
.steps { padding: 10vh 4vw; }
.steps__list { list-style: none; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: baseline;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { padding-left: 1.5rem; }
.step__num { color: var(--accent); font-size: 0.8rem; font-weight: 600; }
.step__name {
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transition: color 0.4s var(--ease);
}
.step:hover .step__name { color: var(--accent); }
.step__desc { color: var(--muted); max-width: 40ch; }

/* ---------- Pricing ---------- */
.pricing { padding: 10vh 4vw; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
  max-width: 1100px;
}
.pricing__note {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.price {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.price:hover { border-color: rgba(241, 238, 230, 0.3); }
.price--featured {
  border-color: var(--accent);
  transform: translateY(-8px);
}
.price--featured:hover { border-color: var(--accent); }
.price__badge {
  position: absolute;
  top: -0.8rem; right: 1.6rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
}
.price h3 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.price__amount {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price__amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.price ul li::before {
  content: "✦";
  color: var(--accent);
  margin-right: 0.7rem;
  font-size: 0.7rem;
}
.price .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq {
  padding: 10vh 4vw 14vh;
  max-width: 1100px;
}
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.7rem 0;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: none;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--muted);
  padding: 0 0 1.8rem;
  max-width: 72ch;
}

/* ---------- Contact / Démo ---------- */
.contact {
  padding: 14vh 4vw;
  border-top: 1px solid var(--line);
  /* Garde sa hauteur quand le formulaire est remplacé par la confirmation,
     pour que le scroll post-envoi puisse amener le titre en haut d'écran */
  min-height: 100svh;
}
.contact__title {
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 20ch;
  margin-bottom: 5rem;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 900px;
}
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
  cursor: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(133, 130, 122, 0.6); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field select { appearance: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input.is-invalid { border-color: #ff5c3f; }
.form__submit {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.form__submit .btn { border: none; font-family: var(--font); font-size: 0.9rem; }
.form__hint { color: var(--muted); font-size: 0.8rem; }
/* hidden doit gagner contre les display grid/flex ci-dessous */
.form[hidden],
.form__success[hidden] { display: none; }
/* Honeypot : hors écran, jamais display:none (certains bots l'ignorent) */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form__error { color: #ff5c3f; font-size: 0.85rem; }
.form__success {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
}
.form__success .spark { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.form__success p {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 14vh 4vw;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---------- Footer ---------- */
.footer {
  padding: 16vh 4vw 4vh;
  border-top: 1px solid var(--line);
}
.footer__cta {
  display: inline-block;
  font-size: clamp(3.4rem, 12vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
  transition: color 0.5s var(--ease);
}
.footer__cta:hover { color: var(--accent); }
.footer__cta:hover em { color: var(--ink); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 14vh;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.footer__socials { display: flex; gap: 2rem; }
.footer__socials a, .footer__bottom > a { transition: color 0.3s; }
.footer__socials a:hover, .footer__bottom > a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--wide { grid-column: span 2; }
  .pricing__grid { grid-template-columns: 1fr; }
  .price--featured { transform: none; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: 1fr; }
  .form__submit { flex-direction: column; align-items: flex-start; }
  .step { grid-template-columns: 48px 1fr; }
  .step__desc { grid-column: 2; }
  .stats { grid-template-columns: 1fr; gap: 4rem; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  /* En 1 colonne, la hauteur mini + ancrage bas créent un grand vide au-dessus du texte */
  .bento__card {
    min-height: 0;
    padding: 1.8rem;
    padding-right: 4.5rem; /* réserve la place du numéro en haut à droite */
  }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  /* Mobile : layout uniforme (texte puis image), hauteur fixe pour toutes les variantes */
  .mockup__site,
  .mockup--v1 .mockup__site,
  .mockup--v3 .mockup__site {
    display: flex;
    flex-direction: column;
    height: 430px;
  }
  .mockup__text { flex-shrink: 0; order: 1; align-self: stretch; }
  .mockup__heroimg,
  .mockup--v1 .mockup__heroimg,
  .mockup--v3 .mockup__heroimg {
    order: 2;
    width: 100%;
    flex: 1;
    min-height: 0;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .line__inner { transform: none; }
  .manifesto__text .word { opacity: 1; }
  .spark--title { animation: none; }
}
