/* =================================================================
   STUDIO — Sites web immobilier
   Design : minimalisme premium, inspiration Apple
   Noir / blanc / gris, typographie massive, beaucoup d'air
================================================================= */

/* ---------- Tokens ---------- */
:root {
  --black:    #0a0a0b;   /* fond foncé / texte */
  --ink:      #1d1d1f;   /* texte principal */
  --grey-600: #6e6e73;   /* texte secondaire */
  --grey-400: #a1a1a6;   /* texte tertiaire */
  --grey-200: #d2d2d7;   /* bordures */
  --grey-100: #f5f5f7;   /* surfaces claires */
  --white:    #ffffff;
  --accent:   #1d1d1f;   /* l'accent est la sobriété : noir profond */

  --wrap: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --r-pill: 980px;
  --r-lg: 28px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

/* Sélection de texte aux couleurs de la marque */
::selection { background: #1d1d1f; color: #fff; }

/* Focus clavier visible (accessibilité) */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* Scrollbar discrète (desktop) */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--grey-200); border-radius: 10px; border: 3px solid var(--white); }
  ::-webkit-scrollbar-thumb:hover { background: var(--grey-400); }
}

/* Lien d'évitement */
.skip-link {
  position: fixed;
  top: 10px; left: 50%;
  transform: translate(-50%, -150%);
  z-index: 300;
  background: var(--ink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; }

/* ---------- Conteneurs ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 160px 0; }

/* =================================================================
   TYPOGRAPHIE DE SECTION
================================================================= */
.kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grey-400);
  margin-bottom: 22px;
}
.kicker-light { color: rgba(255,255,255,0.5); }

.section-title {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}
.section-title-light { color: var(--white); }

.section-intro { max-width: 760px; margin-bottom: 84px; }
.section-intro-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--grey-600);
  letter-spacing: -0.02em;
  margin-top: 26px;
}

/* =================================================================
   BOUTONS
================================================================= */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s, opacity 0.3s;
  white-space: nowrap;
}
.btn-pill:hover { transform: scale(1.04); }

.btn-pill-dark { background: var(--ink); color: var(--white); }
.btn-pill-dark:hover { background: #000; }

.btn-pill-light { background: var(--white); color: var(--ink); }
.btn-pill-light:hover { background: var(--grey-100); }

.btn-block { width: 100%; padding: 17px; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  transition: gap 0.3s var(--ease), opacity 0.3s;
}
.btn-text span { transition: transform 0.3s var(--ease); }
.btn-text:hover { opacity: 0.6; }
.btn-text:hover span { transform: translateX(4px); }

/* =================================================================
   NAVIGATION
================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: saturate(180%) blur(0px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--grey-200);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.12rem; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 9px; color: var(--ink);
}
.nav-logo .logo-text span { color: var(--grey-400); }
.logo-mark { display: inline-flex; color: inherit; transition: transform 0.4s var(--ease); }
.logo-mark svg { display: block; width: 22px; height: 22px; }
.nav-logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }

/* État actif de la navigation (scroll-spy) */
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--grey-600);
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { font-size: 0.9rem; padding: 9px 20px; background: var(--ink); color: var(--white); }
.nav-cta:hover { background: #000; }

.nav-burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.25s; }

/* =================================================================
   HERO
================================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 28px 80px;
  position: relative;
  background:
    radial-gradient(360px circle at var(--mx, 50%) var(--my, 28%), rgba(20, 32, 56, 0.07), transparent 65%),
    radial-gradient(80% 50% at 50% 0%, #fbfbfd 0%, var(--white) 60%);
  overflow: hidden;
}
.hero-content { max-width: 940px; position: relative; z-index: 2; }

/* Aurora animée en fond du hero */
.hero-aurora {
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  filter: blur(75px);
  opacity: 0.55;
  background:
    radial-gradient(28% 28% at 24% 32%, #e7edf7 0%, transparent 70%),
    radial-gradient(26% 26% at 76% 30%, #efeee8 0%, transparent 70%),
    radial-gradient(24% 24% at 62% 70%, #eaf1ef 0%, transparent 70%);
  animation: auroraDrift 20s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(4%, 3%, 0) scale(1.12); }
}
.hero-scroll { z-index: 2; }

/* Bandeau de specs (réassurance / preuve d'expertise) */
.hero-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
}
.hero-specs li {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--grey-400);
  padding: 0 20px;
}
.hero-specs li:not(:last-child)::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 12px;
  background: var(--grey-200);
}

/* Grain — texture fine sur tout le site */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-eyebrow {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--grey-600);
  font-weight: 500;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}
.hero-title {
  font-size: clamp(2.8rem, 8.5vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--grey-600);
  max-width: 680px;
  margin: 34px auto 0;
  letter-spacing: -0.02em;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

/* Indicateur de scroll animé */
.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--grey-200);
  border-radius: 20px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero-scroll-line {
  width: 3px; height: 8px;
  background: var(--grey-400);
  border-radius: 3px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  70% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; }
}

/* =================================================================
   MANIFESTE (fond noir, grande phrase)
================================================================= */
.manifesto {
  background: var(--black);
  color: var(--white);
  padding: 180px 0;
}
.manifesto-text {
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 1000px;
}
.manifesto-text .muted { color: rgba(255,255,255,0.42); }

/* =================================================================
   POURQUOI C'EST INCONTOURNABLE
================================================================= */
.why-essential { background: var(--white); }

.highlight-line {
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid var(--grey-200);
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.035em;
  max-width: 980px;
  color: var(--ink);
}
.highlight-line .muted { color: var(--grey-400); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 56px;
}
.stat-num {
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 20px;
}
.stat-label {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--grey-600);
  letter-spacing: -0.01em;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 80px;
  margin-top: 110px;
}
.reason h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 16px; letter-spacing: -0.03em; }
.reason p { font-size: 1.08rem; line-height: 1.55; color: var(--grey-600); }

/* =================================================================
   FUTURE (fond noir)
================================================================= */
.future { background: var(--black); color: var(--white); }
.future-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.future-item {
  padding: 56px 48px 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.future-item:nth-child(odd) { padding-right: 64px; border-right: 1px solid rgba(255,255,255,0.12); }
.future-item:nth-child(even) { padding-left: 64px; }
.future-index {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 22px;
  font-weight: 500;
}
.future-item h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); color: var(--white); margin-bottom: 14px; letter-spacing: -0.03em; }
.future-item p { font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,0.6); }
.future-cta { text-align: center; margin-top: 80px; }

/* =================================================================
   APPROCHE / FEATURE LIST
================================================================= */
.approach { background: var(--white); }
.feature-list { border-top: 1px solid var(--grey-200); }
.feature {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 52px 0;
  border-bottom: 1px solid var(--grey-200);
  align-items: start;
  transition: padding-left 0.4s var(--ease);
}
.feature:hover { padding-left: 14px; }
.feature-num { font-size: 1rem; font-weight: 500; color: var(--grey-400); padding-top: 8px; }
.feature-body { max-width: 720px; }
.feature-body h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; letter-spacing: -0.035em; }
.feature-body p { font-size: 1.1rem; line-height: 1.55; color: var(--grey-600); }

/* =================================================================
   RÉALISATIONS
================================================================= */
.work { background: var(--grey-100); }
.project {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}
.project + .project { border-top: 1px solid var(--grey-200); }
.project-reverse { direction: rtl; }
.project-reverse > * { direction: ltr; }
.project-media { perspective: 1200px; }

/* Cadre navigateur (mockup pro) */
.browser {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-200);
  box-shadow: 0 40px 90px -45px rgba(0,0,0,0.4);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.browser:hover { box-shadow: 0 55px 110px -40px rgba(0,0,0,0.45); }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: #f5f5f7;
  border-bottom: 1px solid var(--grey-200);
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--grey-200); }
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.browser-url {
  margin-left: 12px;
  font-size: 0.78rem;
  color: var(--grey-600);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 7px;
  padding: 4px 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { display: block; width: 100%; height: auto; }
.project-tag { font-size: 0.85rem; color: var(--grey-400); font-weight: 500; margin-bottom: 16px; }
.project-info h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; letter-spacing: -0.035em; }
.project-desc { font-size: 1.1rem; line-height: 1.55; color: var(--grey-600); margin-bottom: 26px; }

/* =================================================================
   À PROPOS
================================================================= */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-portrait {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--grey-200);
  box-shadow: 0 50px 100px -45px rgba(0,0,0,0.4);
  position: relative;
}
.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center 22%;
}
/* Repli si la photo n'est pas encore déposée */
.about-portrait.no-photo img { display: none; }
.about-portrait.no-photo::before {
  content: "CM";
  display: grid; place-items: center;
  aspect-ratio: 5 / 6;
  font-size: 4rem; font-weight: 600; color: var(--grey-400);
}
.about-caption {
  text-align: center;
  padding: 20px 22px 26px;
}
.about-name { display: block; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.about-role { display: block; font-size: 0.9rem; color: var(--grey-600); margin-top: 4px; }
.signature {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  line-height: 1;
  color: var(--grey-400);
  margin-top: 10px;
}
.about-text .section-title { margin-top: 14px; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  margin-top: 32px;
}
.about-points li {
  position: relative;
  padding-left: 28px;
  font-size: 1.02rem;
  color: var(--grey-600);
}
.about-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--ink); font-weight: 700;
}

/* =================================================================
   PROCESSUS
================================================================= */
.process { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { padding-top: 28px; border-top: 1.5px solid var(--ink); }
.step-num { font-size: 0.9rem; font-weight: 500; color: var(--grey-400); }
.step h3 { font-size: 1.5rem; margin: 18px 0 10px; letter-spacing: -0.03em; }
.step p { font-size: 1rem; line-height: 1.5; color: var(--grey-600); }

/* =================================================================
   POURQUOI MOI
================================================================= */
.why { background: var(--grey-100); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 64px; }
.why-item h3 { font-size: 1.4rem; margin-bottom: 12px; letter-spacing: -0.03em; }
.why-item p { font-size: 1.02rem; line-height: 1.5; color: var(--grey-600); }

/* =================================================================
   TÉMOIGNAGES
================================================================= */
.testimonials { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testi {
  background: var(--grey-100);
  border-radius: var(--r-lg);
  padding: 40px 36px;
}
.testi p { font-size: 1.3rem; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 28px; }
.testi footer { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--grey-600); }
.testi-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--grey-200); flex: none; }

/* =================================================================
   FAQ
================================================================= */
.faq { background: var(--white); }
.faq-list { max-width: 880px; border-top: 1px solid var(--grey-200); }
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 32px 48px 32px 0;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  position: relative;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--grey-400);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--grey-600); }
.faq-item p {
  padding: 0 48px 34px 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--grey-600);
  max-width: 720px;
}

/* =================================================================
   CONTACT
================================================================= */
.contact { background: var(--black); color: var(--white); }
.contact .kicker { color: rgba(255,255,255,0.5); }
.contact .section-title { color: var(--white); }
.contact .section-lead { color: rgba(255,255,255,0.6); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { position: relative; }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 22px 16px 8px;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field label {
  position: absolute;
  left: 17px; top: 16px;
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  pointer-events: none;
  transition: transform 0.2s var(--ease), font-size 0.2s, color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}
.form .btn-pill { grid-column: 1 / -1; background: var(--white); color: var(--ink); }
.form .btn-pill:hover { background: var(--grey-100); }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; color: rgba(255,255,255,0.4); text-align: center; transition: color 0.25s; }
.form-note.is-error { color: #ff8a8a; }

/* Champs invalides après tentative d'envoi */
.form.was-submitted input:invalid,
.form.was-submitted textarea:invalid { border-color: rgba(255,120,120,0.7); }

/* Message de confirmation */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
}
.form-success-check {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 1.3rem;
}

/* Champ anti-spam masqué (honeypot) */
.hidden-field { display: none !important; }

/* =================================================================
   BANDEAU COOKIES
================================================================= */
.cookie {
  position: fixed;
  left: 50%; bottom: 22px;
  transform: translate(-50%, 24px);
  z-index: 130;
  width: calc(100% - 36px);
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 18px 16px 24px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--grey-200);
  border-radius: 18px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie.is-in { opacity: 1; transform: translate(-50%, 0); }
.cookie p { font-size: 0.9rem; line-height: 1.4; color: var(--grey-600); margin: 0; }
.cookie-ok { flex: none; font-size: 0.9rem; padding: 11px 22px; }

/* =================================================================
   PAGES LÉGALES
================================================================= */
.legal-page { padding: 130px 0 90px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--grey-600); font-size: 0.95rem; margin-bottom: 40px; transition: color 0.25s; }
.legal-back:hover { color: var(--ink); }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; margin-bottom: 14px; }
.legal-updated { color: var(--grey-400); font-size: 0.92rem; margin-bottom: 56px; }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.5rem; letter-spacing: -0.03em; margin: 48px 0 14px; }
.legal-content p, .legal-content li { font-size: 1.05rem; line-height: 1.65; color: var(--grey-600); }
.legal-content ul { padding-left: 1.2em; list-style: disc; margin: 10px 0; }
.legal-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-fill { background: #fff4d6; color: #6b5410; padding: 1px 6px; border-radius: 4px; font-weight: 500; }

/* =================================================================
   BOUTON RETOUR EN HAUT
================================================================= */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 120;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #000; transform: translateY(-2px); }

/* =================================================================
   FOOTER
================================================================= */
.footer { background: var(--black); color: rgba(255,255,255,0.6); border-top: 1px solid rgba(255,255,255,0.1); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 56px;
}
.footer-brand .nav-logo { color: var(--white); display: inline-flex; margin-bottom: 16px; }
.footer-brand p { font-size: 0.95rem; max-width: 280px; line-height: 1.5; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; font-weight: 600; letter-spacing: 0; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.95rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 28px; padding-bottom: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--white); }

/* =================================================================
   BARRE DE PROGRESSION DE LECTURE
================================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #1d1d1f, #6e6e73);
  z-index: 200;
  will-change: transform;
}

/* =================================================================
   RÉVÉLATION DES TITRES MOT PAR MOT
================================================================= */
[data-words] { } /* conteneur */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.word-in {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.words-in .word-in { transform: translateY(0); }

/* =================================================================
   MANIFESTE — illumination au scroll
================================================================= */
.manifesto-text .mw {
  color: rgba(255, 255, 255, 0.16);
  transition: color 0.4s var(--ease);
}
.manifesto-text .mw.lit { color: #ffffff; }

/* =================================================================
   BANDEAU DÉFILANT (marquee)
================================================================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 26px 0;
  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 0 28px;
}
.marquee-dot { color: var(--grey-400); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =================================================================
   BOUTONS — brillance + magnétisme
================================================================= */
.btn-pill { position: relative; overflow: hidden; will-change: transform; }
.btn-pill::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}
.btn-pill:hover::before { left: 130%; }
.btn-pill-light::before { background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent); }

/* Soulignement animé des liens de navigation */
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Parallaxe des visuels */
.project-media img { will-change: transform; }

/* =================================================================
   ANIMATIONS AU SCROLL
================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .hero-scroll-line { animation: none; }
  .btn-pill:hover, .project:hover .project-media, .feature:hover { transform: none; padding-left: 0; }
  .word-in { transform: none !important; }
  .marquee-track { animation: none !important; }
  .manifesto-text .mw { color: #fff !important; }
  .scroll-progress { display: none; }
  .hero-aurora { animation: none !important; }
  .browser { transform: none !important; }
}

/* =================================================================
   RESPONSIVE
================================================================= */
@media (max-width: 1000px) {
  .section { padding: 110px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
  .reasons { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 44px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .section-intro { margin-bottom: 56px; }

  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* Menu mobile déroulant */
  .nav.is-open { background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: var(--grey-200); }
  .nav-burger span { transition: transform 0.35s var(--ease), opacity 0.25s; }
  .nav.is-open .nav-burger span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav-burger span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--grey-200);
    padding: 8px 28px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 1.1rem; padding: 16px 0; border-bottom: 1px solid var(--grey-200); color: var(--ink); }

  .hero { padding-top: 110px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-actions .btn-pill { width: 100%; max-width: 320px; }

  .manifesto { padding: 110px 0; }

  .stats { grid-template-columns: 1fr; gap: 44px; padding-bottom: 72px; }
  .reasons { margin-top: 72px; }

  .future-grid { grid-template-columns: 1fr; }
  .future-item, .future-item:nth-child(odd), .future-item:nth-child(even) {
    padding: 40px 0; border-right: none;
  }

  .feature { grid-template-columns: 1fr; gap: 10px; padding: 38px 0; }
  .feature-num { padding-top: 0; }
  .feature:hover { padding-left: 0; }

  .project, .project-reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; padding: 48px 0; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Bandeau cookies — empilé sur mobile */
@media (max-width: 560px) {
  .cookie { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; padding: 18px; }
  .cookie-ok { width: 100%; }
}

/* À propos — responsive */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 460px) {
  .about-points { grid-template-columns: 1fr; }
}
