/* ============================================================
   Webvance — Style vanilla (HTML/CSS/JS pur)
   Auteur : Webvance
   ============================================================ */

/* ====== VARIABLES ====== */
:root {
  --color-noir: #000000;
  --color-anthracite: #0a0a0a;
  --color-anthracite-clair: #141414;
  --color-blanc: #ffffff;

  --font-body: "Geist", system-ui, -apple-system, sans-serif;

  --radius-pill: 999px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);

  --max-w: 1152px;
  --max-w-narrow: 768px;
  --max-w-prose: 700px;

  --pad-x: 24px;
}

@media (min-width: 768px) {
  :root { --pad-x: 40px; }
}

/* ====== RESET LÉGER ====== */
*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--color-noir);
}

body {
  color: var(--color-blanc);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }

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

button { font: inherit; cursor: pointer; }

ul { list-style: none; padding: 0; margin: 0; }

/* Sélection */
::selection { background: var(--color-blanc); color: var(--color-noir); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-noir); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }

/* ====== BACKGROUND VIDÉO ====== */
.bg-video-wrapper {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background: var(--color-noir);
  pointer-events: none;
}
.bg-video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 55%, rgba(0,0,0,0.45) 100%);
}

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  gap: 16px;
}

.logo {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.logo-dot { color: var(--color-blanc); }

.nav-pill {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
@media (min-width: 768px) { .nav-pill { display: flex; } }

.nav-pill a {
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  transition: color 0.25s ease;
}
.nav-pill a:hover { color: var(--color-blanc); }

/* ====== BOUTONS ====== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.btn-sm { padding: 10px 20px; }

.btn svg { transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
  background: var(--color-blanc);
  color: var(--color-noir);
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-blanc);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* Effet shine sur boutons */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
}
.btn:hover::before {
  animation: shine-sweep 0.9s ease;
}
@keyframes shine-sweep {
  0% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(250%) skewX(-20deg); }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 128px var(--pad-x) 80px;
  overflow: hidden;
  text-align: center;
}

.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* Orbes lumineuses animées */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  background: rgba(255, 255, 255, 0.04);
}
.orb-1 {
  top: -15%;
  right: -10%;
  width: 700px;
  height: 700px;
  animation: orb-drift 14s ease-in-out infinite;
}
.orb-2 {
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  animation: orb-drift 14s ease-in-out -7s infinite;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate(20px, -30px) scale(1.05); opacity: 0.7; }
}

/* Badge (pilule en haut du hero) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 40px;
}
.badge > span:last-child {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
}

/* Dot pulsé */
.dot-pulse {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}
.dot-pulse.small { width: 6px; height: 6px; }
.dot-pulse > span:first-child {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-blanc);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot-pulse > span:last-child {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-blanc);
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Hero title */
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 40px;
  max-width: 1080px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.55), 0 8px 30px rgba(0,0,0,0.45);
}
.hero-title .line { display: block; }
.hero-title .italic {
  font-style: italic;
  font-weight: 200;
}
.hero-title .light, .italic.light {
  font-style: italic;
  font-weight: 200;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}

.hero-note {
  margin: 24px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Stats compteurs */
.hero-stats {
  margin-top: 96px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.stat-value {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 300;
  color: var(--color-blanc);
}
.stat-label {
  margin-top: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
}

/* Scroll down arrow */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-blanc);
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}
.scroll-down:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ====== SECTIONS ====== */
.section {
  position: relative;
  padding: 96px var(--pad-x);
}
@media (min-width: 768px) {
  .section { padding: 128px var(--pad-x); }
}
.section-bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head, .section-head-flex { margin-bottom: 64px; max-width: 768px; margin-left: auto; margin-right: auto; }
.section-head-flex { display: flex; flex-direction: column; gap: 32px; max-width: var(--max-w); }
@media (min-width: 768px) {
  .section-head, .section-head-flex { margin-bottom: 80px; }
  .section-head-flex { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-head.narrow { max-width: var(--max-w-narrow); }
.section-head, .section-head-flex { max-width: var(--max-w); }
.section-head > *, .section-head-flex > div { max-width: 768px; }

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 24px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.55), 0 8px 30px rgba(0,0,0,0.45);
}
.section-title .italic { font-style: italic; font-weight: 200; }
.section-title .light { font-weight: 200; }

.subtitle {
  margin: 24px 0 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-weight: 200;
}

.side-note {
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0;
}

/* Gradient text */
.text-gradient-white {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section flottante (À propos, Méthode) */
.section-float {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.30) 100%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 50px 120px -30px rgba(0,0,0,0.75),
    0 20px 50px -16px rgba(0,0,0,0.55);
}
@media (min-width: 768px) { .section-float { padding: 56px; } }
@media (min-width: 1024px) { .section-float { padding: 80px; } }

/* Grilles */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
.grid-2.cards { gap: 24px; }
@media (min-width: 768px) { .grid-2.cards { gap: 32px; } }

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* Raisons (À propos) */
.reason h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 300;
  margin: 0 0 16px;
}
.reason p {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blanc);
  flex-shrink: 0;
}

/* ====== GLASS CARDS ====== */
.glass {
  background: linear-gradient(135deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 100%);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 30px 80px -20px rgba(0,0,0,0.7),
    0 12px 36px -12px rgba(0,0,0,0.5);
  transition: transform 0.6s var(--ease-smooth), border-color 0.4s ease, box-shadow 0.6s ease;
}
.glass:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 45px 100px -20px rgba(0,0,0,0.85),
    0 20px 50px -12px rgba(0,0,0,0.7),
    0 0 80px -20px rgba(255, 255, 255, 0.15);
}

/* Service card */
.card {
  padding: 32px;
}
@media (min-width: 768px) { .card { padding: 40px; } }
.card-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.card-num {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  letter-spacing: 0.15em;
}
.card h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 300;
  margin: 0;
}
.card p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 32px;
  line-height: 1.7;
}
.card ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.card ul li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  flex-shrink: 0;
}

/* Steps (Méthode) */
.step-num {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}
.step h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 300;
  margin: 0 0 20px;
}
.step p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

/* Projets (Réalisations) */
.project {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.project-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, var(--color-noir), rgba(0,0,0,0.8), transparent);
}
.project-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
}
.project h3 {
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 4px;
}
.project-year {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ====== FAQ ====== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}
.faq-item {
  padding: 20px 24px;
  transition: border-color 0.3s ease;
}
@media (min-width: 768px) { .faq-item { padding: 24px 32px; } }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary > span:first-child {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
}
.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-blanc);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ====== CONTACT ====== */
.contact {
  position: relative;
  overflow: hidden;
}
.contact-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  animation: orb-drift 14s ease-in-out infinite;
}
.contact-inner {
  position: relative;
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  text-align: center;
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}
.contact-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.55), 0 8px 30px rgba(0,0,0,0.45);
}
.contact-title .italic { font-style: italic; font-weight: 200; }
.contact-title .light { font-weight: 200; }
.contact-lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.contact-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ====== FOOTER ====== */
.site-footer {
  position: relative;
  padding: 48px var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .footer-top { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin: 8px 0 0;
}
.footer-email {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
.footer-email:hover { color: var(--color-blanc); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}
.social-icon:hover {
  color: var(--color-blanc);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.3s ease; }
.footer-links a:hover { color: rgba(255, 255, 255, 0.6); }

/* ====== PAGES LÉGALES ====== */
.legal-page {
  max-width: var(--max-w-prose);
  margin: 0 auto;
  padding: 128px var(--pad-x) 80px;
}
@media (min-width: 768px) { .legal-page { padding: 160px var(--pad-x) 80px; } }
.legal-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 48px;
}
.legal-title .italic { font-style: italic; font-weight: 200; }
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.legal-content h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 300;
  margin: 0 0 16px;
  color: var(--color-blanc);
}
.legal-content p, .legal-content ul {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0;
}
.legal-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.legal-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
}
.legal-content a { color: var(--color-blanc); }
.legal-content a:hover { text-decoration: underline; }
.legal-content section { padding: 0; }

/* ====== 404 ====== */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 128px var(--pad-x) 80px;
}

/* ====== WORD REVEAL (titre hero) ====== */
.word-reveal {
  display: inline-block;
  margin-right: 0.2em;
  opacity: 0;
  transform: translateY(14px);
  animation: word-fade-up 0.7s var(--ease-smooth) forwards;
  animation-delay: calc(0.08s * var(--word-index, 0));
}
@keyframes word-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="250"] { transition-delay: 0.25s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="350"] { transition-delay: 0.35s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

/* ====== ACCESSIBILITÉ (reduced motion) ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .word-reveal { opacity: 1; transform: none; }
}
