﻿/* =========================================================
   Ardenn Web — Feuille de style v2 (Perry Wang inspired)
   Convention : BEM (block__element--modifier)
   Approche : mobile-first, custom properties, dark editorial
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  /* Couleurs */
  --c-bg:        #0a0a0a;
  --c-bg-2:      #111827;
  --c-bg-3:      #0f1623;
  --c-window:    #0d0d0d;
  --c-window-2:  #060606;
  --c-bar:       #2a2a2a;
  --c-bar-2:     #1a1a1a;
  --c-line:      rgba(241, 245, 249, 0.08);
  --c-line-2:    rgba(241, 245, 249, 0.14);
  --c-line-3:    rgba(241, 245, 249, 0.22);
  --c-text:      #f1f5f9;
  --c-muted:     #94a3b8;
  --c-faint:     rgba(148, 163, 184, 0.5);
  --c-accent:    #3b82f6;
  --c-accent-2:  #06b6d4;
  --c-accent-soft: rgba(59, 130, 246, 0.12);

  /* Typographie */
  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body:    "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-serif:   "Instrument Serif", "Times New Roman", Georgia, serif;

  /* Échelle */
  --container: 1200px;
  --container-narrow: 820px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --radius-window: 16px;

  /* Effets */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-soft: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --shadow-window: 0 60px 120px -40px rgba(0,0,0,0.85), 0 30px 60px -20px rgba(59,130,246,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

/* Bruit subtil global */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image:
    radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

/* Couche de profondeur globale — orbes fixes aux coins */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 8% 12%,  rgba(59,130,246,0.06)  0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 92% 88%, rgba(6,182,212,0.05)   0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 78% 8%,  rgba(99,102,241,0.04)  0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 90%, rgba(59,130,246,0.035) 0%, transparent 60%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; background: none; border: none; outline: none; }
ul { list-style: none; }

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

/* ---------- 3. Curseur custom ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 0; height: 0;
  will-change: transform;
}
.cursor__dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--c-text);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), background-color .3s, opacity .3s;
  will-change: transform;
}
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(241, 245, 249, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease-out), height .35s var(--ease-out), border-color .35s, opacity .35s, background .35s;
  will-change: transform;
}
.cursor.is-hover .cursor__dot {
  width: 0; height: 0; opacity: 0;
}
.cursor.is-hover .cursor__ring {
  width: 56px; height: 56px;
  border-color: rgba(241, 245, 249, 0.85);
  background: rgba(241, 245, 249, 0.06);
  backdrop-filter: blur(2px);
}
.cursor.is-press .cursor__ring { transform: translate(-50%, -50%) scale(0.85); }
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- 4. Barre de progression scroll ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  z-index: 200;
  transition: width .15s linear;
  box-shadow: 0 0 12px var(--c-accent);
}

/* ---------- 5. Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
}
.eyebrow__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--c-line-2);
  border-radius: 50%;
  font-size: 0.7rem;
  letter-spacing: 0;
  color: var(--c-text);
  font-feature-settings: "tnum";
}
.eyebrow__line {
  width: 32px;
  height: 1px;
  background: var(--c-line-2);
}

.section-head { max-width: 780px; margin-bottom: 4rem; }
.section-head__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 1.25rem;
}
.section-head__lead {
  font-size: 1.0625rem;
  color: var(--c-muted);
  max-width: 60ch;
}

/* Cartes génériques */
.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,24,39,0.6), rgba(17,24,39,0.3));
  border: 1px solid var(--c-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), background .5s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn > span { position: relative; z-index: 2; transition: transform .35s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); position: relative; z-index: 2; }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--c-text);
  color: #0a0a0a;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  opacity: 0;
  z-index: 1;
  transition: opacity .4s var(--ease);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transform: translate(-50%, -50%);
  transition: width .6s var(--ease-out), height .6s var(--ease-out);
  z-index: 1;
}
.btn--primary:hover { color: var(--c-text); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover::after { width: 360px; height: 360px; }

.btn--ghost {
  color: var(--c-text);
  border: 1px solid var(--c-line-2);
  background: rgba(255,255,255,0.02);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(6,182,212,0.10));
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 1;
}
.btn--ghost:hover {
  border-color: var(--c-text);
}
.btn--ghost:hover::before { opacity: 1; }

.btn--block { width: 100%; }

/* Effet spotlight card sur les boutons hero */
.btn__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.18),
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
  z-index: 1;
}
.btn[data-glow]:hover .btn__glow { opacity: 1; }
.btn[data-glow]:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

/* ---------- 6. Reveal au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   7. NAVBAR (Perry Wang style)
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2rem;
  transition: padding .4s var(--ease), background .4s var(--ease);
  pointer-events: none;
}
.nav.is-scrolled {
  padding: 0.85rem 1.5rem;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(241, 245, 249, 0.07);
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.40);
}

.nav__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  pointer-events: none;
}
.nav__inner > * { pointer-events: auto; }

/* BRAND */
.nav__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  justify-self: start;
  line-height: 1.2;
  position: relative;
  transition: opacity .3s var(--ease);
}
.nav__brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  color: var(--c-text);
}
.nav__brand-role {
  font-size: 0.78rem;
  color: var(--c-muted);
  letter-spacing: 0.01em;
  font-weight: 400;
}
.nav__brand:hover .nav__brand-name { color: var(--c-text); }

/* PILL CENTRALE */
.nav__pill-wrap {
  position: relative;
  background: rgba(20, 20, 22, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  padding: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.4);
}

.nav__pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  z-index: 2;
}

.nav__pill-link {
  position: relative;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color .3s var(--ease);
  z-index: 2;
  white-space: nowrap;
}
.nav__pill-link:hover,
.nav__pill-link.is-active { color: var(--c-text); }

.nav__pill-indicator {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  height: calc(100% - 0.6rem);
  width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: left .45s var(--ease-out), width .45s var(--ease-out), opacity .3s var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1;
}
.nav__pill-indicator.is-active { opacity: 1; }

/* RIGHT */
.nav__right {
  display: flex;
  align-items: center;
  justify-self: end;
}
.nav__cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-line-2);
  backdrop-filter: blur(10px);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.nav__cta-pill:hover {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}

/* Burger */
.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(20, 20, 22, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  justify-self: end;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-text);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 10, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 2rem;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform .55s var(--ease-out);
  z-index: 90;
}
.nav__mobile.is-open { transform: translateX(0); }
.nav__mobile-link {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  position: relative;
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.nav__mobile-link:hover { transform: translateX(8px); color: var(--c-accent-2); }
.nav__mobile-cta {
  margin-top: 1.5rem;
  padding: 1rem 1.6rem;
  background: var(--c-text);
  color: var(--c-bg);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 980px) {
  .nav { padding: 1rem 1.25rem; }
  .nav__inner { grid-template-columns: 1fr auto; gap: 0.75rem; }
  .nav__pill-wrap, .nav__right { display: none; }
  .nav__burger { display: flex; }
}

/* =========================================================
   8. HERO — Fenêtre navigateur (Perry Wang)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  overflow: hidden;
}

/* Lumières d'ambiance */
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Blob supplémentaire centré (via pseudo) */
.hero__ambient::before {
  content: "";
  position: absolute;
  top: 35%; left: 15%;
  width: 720px; height: 360px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.07), transparent 68%);
  filter: blur(90px);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: floatBlob 22s ease-in-out infinite;
  animation-delay: -5s;
}
.hero__ambient::after {
  content: "";
  position: absolute;
  bottom: 5%; right: 10%;
  width: 500px; height: 250px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.09), transparent 65%);
  filter: blur(80px);
  border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
  animation: floatBlob 17s ease-in-out infinite reverse;
  animation-delay: -9s;
}

.hero__ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: floatBlob 14s ease-in-out infinite;
}
.hero__ambient-blob--1 {
  top: -10%; right: -5%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 60%);
}
.hero__ambient-blob--2 {
  bottom: -15%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.13), transparent 60%);
  animation-delay: -7s;
}
@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(35px, -25px) scale(1.08); }
  66%       { transform: translate(-20px, 15px) scale(0.95); }
}

/* Vagues décoratives en bas du hero */
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 180px;
  pointer-events: none;
  z-index: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(59%2C130%2C246%2C0.13)' stroke-width='1.5' d='M0%2C90 C180%2C50 360%2C130 540%2C90 C720%2C50 900%2C130 1080%2C90 C1260%2C50 1440%2C110 1440%2C90'/%3E%3Cpath fill='none' stroke='rgba(6%2C182%2C212%2C0.09)' stroke-width='1' d='M0%2C115 C200%2C75 400%2C155 600%2C115 C800%2C75 1000%2C155 1200%2C115 C1300%2C95 1380%2C130 1440%2C115'/%3E%3Cpath fill='none' stroke='rgba(99%2C102%2C241%2C0.07)' stroke-width='1' d='M0%2C140 C220%2C100 440%2C170 660%2C140 C880%2C110 1100%2C165 1320%2C140 L1440%2C140'/%3E%3C/svg%3E")
    center/cover no-repeat;
}

/* Fenêtre */
.hero__window {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border-radius: var(--radius-window);
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-window) 0%, var(--c-window-2) 100%);
  border: 1px solid var(--c-line-2);
  box-shadow: var(--shadow-window);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  animation: windowIn 2s var(--ease-out) both;
  z-index: 2;
}
@keyframes windowIn {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Barre type macOS */
.hero__window-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, var(--c-bar) 0%, var(--c-bar-2) 100%);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero__window-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.2);
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.dot--red    { background: linear-gradient(180deg, #ff7064, #ff5347); }
.dot--yellow { background: linear-gradient(180deg, #fec352, #ffb01f); }
.dot--green  { background: linear-gradient(180deg, #43d35d, #25b53a); }
.hero__window:hover .dot { filter: brightness(1.15); }

.hero__window-url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: var(--c-muted);
  letter-spacing: 0.01em;
  padding: 0.3rem 0.85rem;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.hero__window-url svg { color: var(--c-accent-2); }

.hero__window-plus {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--c-muted);
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background .25s var(--ease);
}
.hero__window-plus:hover { background: rgba(255,255,255,0.06); }

/* Contenu fenêtre */
.hero__window-content {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem) clamp(4rem, 8vw, 6rem);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Glow derrière le titre */
.hero__title-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.10) 0%, rgba(59,130,246,0.06) 30%, transparent 65%);
  filter: blur(30px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Titre + animation par mots */
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.2vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--c-text);
  position: relative;
  z-index: 2;
  max-width: 16ch;
}
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.04em 0.12em;
  margin: -0.06em -0.04em -0.12em;
}
.hero__title .word--break { display: block; }
.hero__title .word__inner {
  display: inline-block;
  transform: translateY(110%);
  animation: wordRise 1.6s var(--ease-out) both;
  animation-delay: var(--word-delay, 0.3s);
}
.hero__title .word:nth-child(1) .word__inner { --word-delay: 0.30s; }
.hero__title .word:nth-child(2) .word__inner { --word-delay: 0.50s; }
.hero__title .word:nth-child(3) .word__inner { --word-delay: 0.70s; }
.hero__title .word:nth-child(4) .word__inner { --word-delay: 0.90s; }
.hero__title .word:nth-child(5) .word__inner { --word-delay: 1.10s; }
@keyframes wordRise {
  from { transform: translateY(110%); opacity: 0.4; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Italique éditorial pour "vie" */
.hero__title-em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 20%, rgba(241,245,249,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 0.08em;
  margin: 0 -0.04em;
  position: relative;
}
.hero__title-em::after {
  content: "";
  position: absolute;
  inset: -10% -5%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.25) 0%, transparent 65%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}
.hero__title-dot { color: var(--c-accent-2); }

/* Sous-titre aligné à droite (façon Perry) */
.hero__sub {
  align-self: flex-end;
  text-align: right;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  z-index: 2;
  max-width: 50ch;
  animation: fadeUp 1.2s 1.7s var(--ease-out) both;
}
.hero__sub-line {
  font-family: var(--f-body);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--c-text);
  font-weight: 500;
  line-height: 1.5;
}
.hero__sub-line--muted {
  color: var(--c-muted);
  font-weight: 400;
}

/* Actions hero */
.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  align-self: flex-end;
  position: relative;
  z-index: 2;
  animation: fadeUp 1.2s 2.1s var(--ease-out) both;
}

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

/* Flèche scroll dans la fenêtre */
.hero__window-arrow {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-muted);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  transition: color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  animation: bounceArrow 2.4s ease-in-out infinite;
}
.hero__window-arrow svg { width: 18px; height: 18px; }
.hero__window-arrow:hover {
  color: var(--c-text);
  background: rgba(255,255,255,0.05);
}
@keyframes bounceArrow {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50%      { transform: translate(-50%, 6px); opacity: 1; }
}

/* Stats sous le navigateur */
.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 1rem 0;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.hero__stat strong {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  line-height: 1;
}
.hero__stat span {
  font-size: 0.78rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .hero { padding: 6rem 1rem 3rem; gap: 2rem; }
  .hero__window-content { padding: 2.5rem 1.5rem 4rem; }
  .hero__window-url { display: none; }
  .hero__sub, .hero__actions { align-self: stretch; text-align: left; }
  .hero__sub { text-align: left; }
}

/* =========================================================
   9. MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
  padding: 1.25rem 0;
  background: rgba(17, 24, 39, 0.35);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 80s linear infinite;
  width: max-content;
}
/* Pause propre au survol — sans reset de l'animation */
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--c-text);
  transition: color .35s var(--ease);
}
.marquee__track span:hover { color: var(--c-accent-2); }
.marquee__sep { color: var(--c-accent-2) !important; font-size: 1rem !important; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   10. SERVICES
   ========================================================= */
.services {
  position: relative;
  padding: 7rem 0;
  z-index: 2;
}
/* Orbe d'ambiance services */
.services::before {
  content: "";
  position: absolute;
  top: -80px; right: -120px;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(59,130,246,0.07), transparent 60%);
  filter: blur(70px);
  pointer-events: none;
  border-radius: 50%;
  animation: floatBlob 25s ease-in-out infinite;
  animation-delay: -3s;
}
.services::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.06), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  border-radius: 50%;
  animation: floatBlob 20s ease-in-out infinite reverse;
  animation-delay: -12s;
}

.services__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1200px;
}

.service-card {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  cursor: default;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), background .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,0.10), transparent 40%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  border-color: var(--c-line-3);
  background: linear-gradient(180deg, rgba(17,24,39,0.85), rgba(17,24,39,0.45));
  box-shadow: 0 30px 60px -30px rgba(59,130,246,0.18);
}
.service-card:hover::before,
.service-card:hover::after { opacity: 1; }

.service-card--featured {
  border-color: rgba(59,130,246,0.25);
  background:
    radial-gradient(ellipse at top, rgba(59,130,246,0.10), transparent 70%),
    linear-gradient(180deg, rgba(17,24,39,0.7), rgba(17,24,39,0.3));
}

.service-card__icon {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--c-line-2);
  color: var(--c-accent-2);
  background: rgba(255,255,255,0.02);
  transition: transform .5s var(--ease-spring), border-color .35s var(--ease), color .35s var(--ease);
}
.service-card__icon svg { width: 26px; height: 26px; transition: transform .5s var(--ease-spring); }
.service-card:hover .service-card__icon {
  transform: rotate(-6deg) scale(1.05);
  border-color: var(--c-accent);
  color: var(--c-text);
}
.service-card:hover .service-card__icon svg { transform: scale(1.05); }

.service-card__index {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  color: var(--c-faint);
  font-style: italic;
}

.service-card__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

.service-card__desc {
  color: var(--c-muted);
  font-size: 0.97rem;
}

.service-card__list {
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--c-text);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--c-accent-2);
  transition: width .35s var(--ease), background .35s var(--ease);
}
.service-card:hover .service-card__list li:hover {
  transform: translateX(4px);
  color: var(--c-text);
}
.service-card:hover .service-card__list li:hover::before {
  width: 14px;
}

.service-card__price {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.service-card__price-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-faint);
}
.service-card__price-range {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  transition: color .3s var(--ease);
}
.service-card--featured .service-card__price-range {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

@media (max-width: 880px) {
  .services { padding: 5rem 0; }
  .services__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   11. POURQUOI — rangées éditoriales
   ========================================================= */
.pourquoi {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
}
/* Orbe + vague pourquoi */
.pourquoi::before {
  content: "";
  position: absolute;
  top: 50%; left: -100px;
  transform: translateY(-50%);
  width: 500px; height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.07), transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  border-radius: 40% 60% 50% 50%;
  animation: floatBlob 28s ease-in-out infinite;
  animation-delay: -8s;
}
.pourquoi::after {
  content: "";
  position: absolute;
  bottom: -80px; left: 0; right: 0;
  height: 140px;
  pointer-events: none;
  z-index: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(99%2C102%2C241%2C0.1)' stroke-width='1.5' d='M0%2C70 C240%2C30 480%2C110 720%2C70 C960%2C30 1200%2C110 1440%2C70'/%3E%3Cpath fill='none' stroke='rgba(59%2C130%2C246%2C0.07)' stroke-width='1' d='M0%2C95 C200%2C55 400%2C130 600%2C95 C800%2C60 1000%2C130 1200%2C95 L1440%2C95'/%3E%3C/svg%3E")
    center/cover no-repeat;
}

.features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--c-line);
}

.feature {
  display: grid;
  grid-template-columns: 5.5rem 1fr 3.5rem;
  align-items: center;
  gap: 0 3rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--c-line);
  position: relative;
  transition: background .35s var(--ease);
  cursor: default;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59,130,246,0.04), transparent 50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.feature:hover::before { opacity: 1; }

.feature__num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--c-line-2);
  line-height: 1;
  letter-spacing: -0.03em;
  transition: color .4s var(--ease), transform .5s var(--ease-spring);
  user-select: none;
}
.feature:hover .feature__num {
  color: var(--c-faint);
  transform: translateX(6px);
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.feature__title {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--c-text);
  transition: transform .4s var(--ease-out);
}
.feature:hover .feature__title { transform: translateX(6px); }
.feature__desc {
  color: var(--c-muted);
  font-size: 0.96rem;
  max-width: 52ch;
  transition: transform .4s .04s var(--ease-out);
}
.feature:hover .feature__desc { transform: translateX(6px); }

.feature__icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  color: var(--c-muted);
  background: rgba(255,255,255,0.02);
  justify-self: end;
  transition: transform .5s var(--ease-spring), border-color .35s var(--ease), color .35s var(--ease), background .35s var(--ease);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature:hover .feature__icon {
  transform: rotate(-12deg) scale(1.1);
  border-color: var(--c-accent);
  color: var(--c-accent-2);
  background: var(--c-accent-soft);
}

@media (max-width: 760px) {
  .pourquoi { padding: 5rem 0; }
  .feature {
    grid-template-columns: 3rem 1fr;
    gap: 0 1.5rem;
  }
  .feature__icon { display: none; }
  .feature__num { font-size: 2rem; }
}

/* =========================================================
   12. FAQ
   ========================================================= */
.faq {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.accordion__item {
  border-bottom: 1px solid var(--c-line);
  transition: border-color .35s var(--ease);
}
.accordion__item.is-open {
  border-bottom-color: var(--c-line-2);
}

.accordion__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--c-text);
  transition: color .25s var(--ease), padding .35s var(--ease-out);
}
.accordion__head:hover {
  color: var(--c-accent-2);
  padding-left: 0.5rem;
}
.accordion__item.is-open .accordion__head { color: var(--c-text); }

.accordion__icon {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
  transition: transform .35s var(--ease);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .4s var(--ease-spring);
}
.accordion__icon::before {
  top: 50%; left: 0; right: 0;
  height: 1.5px;
  transform: translateY(-50%);
}
.accordion__icon::after {
  left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
}
.accordion__item.is-open .accordion__icon {
  transform: rotate(180deg);
}
.accordion__item.is-open .accordion__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .55s var(--ease-out);
}
.accordion__panel-inner {
  padding: 0 0 1.5rem;
  color: var(--c-muted);
  font-size: 1rem;
  max-width: 60ch;
}

@media (max-width: 760px) {
  .faq { padding: 5rem 0; }
}

/* =========================================================
   13. CONTACT
   ========================================================= */
.contact {
  padding: 7rem 0 8rem;
  position: relative;
  z-index: 2;
}
/* Grand orbe ambiance contact */
.contact::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.09), transparent 60%);
  filter: blur(90px);
  pointer-events: none;
  border-radius: 50%;
  animation: floatBlob 30s ease-in-out infinite;
  animation-delay: -15s;
}
.contact::after {
  content: "";
  position: absolute;
  top: -90px; left: 0; right: 0;
  height: 160px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(59%2C130%2C246%2C0.11)' stroke-width='1.5' d='M0%2C80 C200%2C40 400%2C120 600%2C80 C800%2C40 1000%2C120 1200%2C80 C1300%2C60 1380%2C95 1440%2C80'/%3E%3Cpath fill='none' stroke='rgba(6%2C182%2C212%2C0.07)' stroke-width='1' d='M0%2C105 C180%2C65 360%2C140 540%2C105 C720%2C70 900%2C140 1080%2C105 C1260%2C70 1380%2C120 1440%2C105'/%3E%3C/svg%3E")
    center/cover no-repeat;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--c-text);
}
.contact__title span {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  background: linear-gradient(180deg, #fff 30%, rgba(241,245,249,0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  padding: 0 0.05em;
}

.contact__lead {
  color: var(--c-muted);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__list li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
  transition: padding .35s var(--ease);
}
.contact__list li:last-child { border-bottom: none; }
.contact__list li:hover { padding-left: 0.4rem; }
.contact__label {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact__value {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: -0.005em;
  transition: color .25s var(--ease);
}
a.contact__value:hover { color: var(--c-accent-2); }

/* Form */
.contact__form {
  padding: 2.25rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17,24,39,0.7), rgba(17,24,39,0.35));
  border: 1px solid var(--c-line);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color .4s var(--ease);
}
.contact__form:focus-within { border-color: var(--c-line-3); }

.field { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  transition: color .25s var(--ease);
}
.field:focus-within label { color: var(--c-text); }
.field__opt {
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-faint);
  font-size: 0.78rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line-2);
  background: rgba(10,10,10,0.4);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-faint); }
.field input:focus,
.field textarea:focus {
  border-color: var(--c-accent);
  background: rgba(10,10,10,0.6);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

.contact__notice {
  min-height: 1.25rem;
  font-size: 0.92rem;
  color: var(--c-accent-2);
  text-align: center;
  transition: opacity .35s var(--ease);
}
.contact__notice.is-error { color: #f87171; }

@media (max-width: 880px) {
  .contact { padding: 5rem 0 6rem; }
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact__form { padding: 1.75rem; }
}

/* =========================================================
   14. FOOTER
   ========================================================= */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--c-line);
  position: relative;
  z-index: 2;
  background: rgba(10,10,10,0.6);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
}
.footer__brand .nav__brand-mark,
.footer__brand .nav__brand-accent {
  display: inline-block;
}
.nav__brand-mark {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-2));
  box-shadow: 0 0 16px rgba(59,130,246,0.6);
}
.nav__brand-accent { color: var(--c-accent-2); }

.footer__copy {
  color: var(--c-muted);
  font-size: 0.85rem;
}
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  color: var(--c-muted);
  font-size: 0.9rem;
  position: relative;
  transition: color .25s var(--ease);
}
.footer__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--c-text);
  transition: right .35s var(--ease);
}
.footer__links a:hover { color: var(--c-text); }
.footer__links a:hover::after { right: 0; }

@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   15. PAGE MENTIONS LÉGALES
   ========================================================= */
.legal {
  padding: 9rem 0 6rem;
  position: relative;
  z-index: 2;
}
.legal__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--c-text);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-bottom: 2rem;
  transition: color .25s var(--ease), gap .35s var(--ease);
}
.legal__back:hover { color: var(--c-text); gap: 0.85rem; }
.legal h2 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  color: var(--c-text);
}
.legal p, .legal li {
  color: var(--c-muted);
  margin-bottom: 0.75rem;
  max-width: 70ch;
}
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal a {
  color: var(--c-accent-2);
  border-bottom: 1px dashed var(--c-line-2);
  transition: color .25s var(--ease);
}
.legal a:hover { color: var(--c-text); }
.legal__placeholder {
  display: inline-block;
  padding: 0 0.4rem;
  background: var(--c-accent-soft);
  border: 1px dashed var(--c-line-2);
  border-radius: 4px;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 0.92em;
}

/* ============================================================
   MAINTENANCE / PRICING
   ============================================================ */

.maintenance { padding: 100px 0; }

/* Grid 3 colonnes */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 56px 0 32px;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

/* Card */
.pricing-card {
  position: relative;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-2);
  border-radius: 16px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.pricing-card:hover {
  border-color: rgba(59,130,246,.35);
  transform: translateY(-4px);
}

/* Featured card */
.pricing-card--featured {
  border-color: rgba(59,130,246,.45);
  background: linear-gradient(160deg, rgba(59,130,246,.07) 0%, var(--c-bg-2) 60%);
}
.pricing-card--featured:hover { border-color: rgba(59,130,246,.7); }

/* Badge */
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Header */
.pricing-card__header { display: flex; flex-direction: column; gap: 6px; }
.pricing-card__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.pricing-card__price { display: flex; align-items: baseline; gap: 4px; }
.pricing-card__amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-text);
}
.pricing-card__period {
  font-size: 14px;
  color: var(--c-muted);
  font-weight: 500;
}

/* Features */
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-card__features li {
  font-size: 14px;
  color: var(--c-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
  font-size: 13px;
}
.pricing-card__features li:first-child {
  color: var(--c-text);
  font-weight: 600;
  padding-left: 0;
}
.pricing-card__features li:first-child::before { display: none; }

/* CTA */
.pricing-card__cta {
  display: block;
  text-align: center;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--c-line-2);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pricing-card__cta:hover,
.pricing-card--featured .pricing-card__cta {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}
.pricing-card--featured .pricing-card__cta:hover {
  opacity: .85;
}

/* Note en bas */
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 8px;
}
