/* ============================================================
   AlterEgia — Landing clone IA (avatar vidéo)
   Design system premium · thèmes clair & sombre · responsive
   ============================================================ */

/* ----------  Tokens  ---------- */
:root {
  /* Accent — violet/indigo premium + cyan */
  --accent: #6d5efc;
  --accent-2: #22d3ee;
  --accent-soft: rgba(109, 94, 252, 0.14);
  --gold: #e7c98b;

  /* Rayons, ombres, transitions */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.45s var(--ease);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ----------  Thème sombre (défaut)  ---------- */
:root,
:root[data-theme="dark"] {
  --bg: #07070d;
  --bg-2: #0d0d18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --ink: #f4f4fb;
  --ink-soft: #b9b9cc;
  --ink-mute: #8484a0;
  --glow: rgba(109, 94, 252, 0.45);
  --card-grad: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015));
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --mesh-1: rgba(109, 94, 252, 0.30);
  --mesh-2: rgba(34, 211, 238, 0.18);
  --mesh-3: rgba(231, 201, 139, 0.10);
}

/* ----------  Thème clair  ---------- */
:root[data-theme="light"] {
  --bg: #f6f6fb;
  --bg-2: #ffffff;
  --surface: rgba(16, 16, 40, 0.025);
  --surface-2: rgba(16, 16, 40, 0.045);
  --border: rgba(16, 16, 40, 0.10);
  --border-strong: rgba(16, 16, 40, 0.16);
  --ink: #14142b;
  --ink-soft: #4a4a63;
  --ink-mute: #76768f;
  --glow: rgba(109, 94, 252, 0.28);
  --card-grad: linear-gradient(160deg, #ffffff, #fbfbfe);
  --shadow: 0 30px 70px -34px rgba(27, 23, 80, 0.30);
  --mesh-1: rgba(109, 94, 252, 0.22);
  --mesh-2: rgba(34, 211, 238, 0.16);
  --mesh-3: rgba(231, 201, 139, 0.16);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
  -webkit-font-smoothing: antialiased;
}

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

/* ----------  Layout utils  ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 11vw, 140px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); padding: 7px 14px; border: 1px solid var(--border);
  border-radius: var(--r-pill); background: var(--accent-soft);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.h-section { font-size: clamp(2rem, 5vw, 3.3rem); margin-top: 18px; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.grad-text {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----------  Boutons  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: var(--r-pill); font-weight: 600; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), background var(--t), border-color var(--t);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(100deg, var(--accent), #8b7bff);
  color: #fff; box-shadow: 0 14px 40px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 55px -14px var(--glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--surface-2); }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

/* ----------  Header  ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: conic-gradient(from 210deg, var(--accent), var(--accent-2), var(--gold), var(--accent));
  display: grid; place-items: center; box-shadow: 0 6px 20px -6px var(--glow);
  position: relative;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 4px; border-radius: 6px;
  background: var(--bg);
}
.brand .mark span { position: relative; z-index: 1; font-size: 1rem; font-weight: 700; font-family: var(--font-sans); background: linear-gradient(120deg,var(--accent),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.navlink { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.25s; position: relative; }
.nav-links a.navlink:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  display: grid; place-items: center; background: var(--surface); transition: all 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(18deg); }
.theme-toggle svg { width: 19px; height: 19px; color: var(--ink-soft); }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ico-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ico-moon { display: block; }

.burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); place-items: center; }
.burger svg { width: 22px; height: 22px; }

/* ----------  Backgrounds / mesh  ---------- */
.mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; pointer-events: none;
  filter: blur(60px); opacity: 0.9;
}
.mesh::before, .mesh::after {
  content: ""; position: absolute; border-radius: 50%;
}
.mesh::before { width: 55vw; height: 55vw; left: -5vw; top: -10vw; background: radial-gradient(circle, var(--mesh-1), transparent 60%); animation: drift 22s var(--ease) infinite alternate; }
.mesh::after { width: 45vw; height: 45vw; right: -5vw; top: 5vw; background: radial-gradient(circle, var(--mesh-2), transparent 60%); animation: drift2 26s var(--ease) infinite alternate; }
@keyframes drift { to { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-7vw, 9vw) scale(1.15); } }

.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(60px, 9vw, 110px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
.hero .lead { margin-top: 24px; font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-reassure { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--ink-mute); font-size: 0.9rem; }
.hero-reassure span { display: inline-flex; align-items: center; gap: 7px; }
.hero-reassure svg { width: 16px; height: 16px; color: var(--accent-2); }

/* Avatar card */
.avatar-stage { position: relative; display: grid; place-items: center; }
.avatar-card {
  position: relative; width: min(100%, 380px); aspect-ratio: 4/5;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-strong);
  background: var(--card-grad); box-shadow: var(--shadow);
  animation: float 7s var(--ease) infinite alternate;
}
@keyframes float { to { transform: translateY(-14px); } }
.avatar-card .face {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(109,94,252,0.55), transparent 55%),
    radial-gradient(90% 70% at 70% 80%, rgba(34,211,238,0.35), transparent 60%),
    linear-gradient(180deg, #1a1830, #0b0b16);
}
:root[data-theme="light"] .avatar-card .face {
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(109,94,252,0.5), transparent 55%),
    radial-gradient(90% 70% at 70% 80%, rgba(34,211,238,0.4), transparent 60%),
    linear-gradient(180deg, #e9e9fb, #d6d6ef);
}
.avatar-card .silhouette {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 72%;
  color: rgba(255,255,255,0.9); filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}
:root[data-theme="light"] .avatar-card .silhouette { color: rgba(20,20,43,0.82); }
.avatar-card .scan {
  position: absolute; inset: 0; background: linear-gradient(transparent, rgba(34,211,238,0.5), transparent);
  height: 40%; animation: scan 3.6s linear infinite; mix-blend-mode: screen;
}
@keyframes scan { 0% { transform: translateY(-110%); } 100% { transform: translateY(260%); } }
.badge-live {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-pill); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  background: rgba(0,0,0,0.45); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.18);
}
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5470; box-shadow: 0 0 10px #ff5470; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.avatar-card .play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.avatar-card .play::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
  animation: ripple 2.4s var(--ease) infinite;
}
@keyframes ripple { to { transform: scale(1.6); opacity: 0; } }
.avatar-card .play svg { width: 26px; height: 26px; color: #fff; translate: 2px 0; }
.waveform { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 34px; display: flex; align-items: flex-end; gap: 3px; }
.waveform i { flex: 1; background: linear-gradient(var(--accent-2), var(--accent)); border-radius: 3px; height: 30%; animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 50% { height: 100%; } }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px;
  border-radius: 14px; background: var(--card-grad); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); font-size: 0.82rem; font-weight: 600; backdrop-filter: blur(10px);
  animation: float 6s var(--ease) infinite alternate;
}
.chip svg { width: 18px; height: 18px; color: var(--accent); }
.chip.c1 { top: 8%; right: -6%; animation-delay: -1s; }
.chip.c2 { bottom: 14%; left: -10%; animation-delay: -3s; }
.chip.c3 { bottom: -4%; right: 4%; animation-delay: -2s; }
.chip .k { color: var(--ink-mute); font-weight: 500; }

/* ----------  Bande de confiance  ---------- */
.trust { border-block: 1px solid var(--border); padding-block: 30px; }
.trust p { text-align: center; color: var(--ink-mute); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(26px, 5vw, 60px); opacity: 0.75; }
.trust-row span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 9px; }
.trust-row span svg { width: 22px; height: 22px; color: var(--ink-mute); }

/* ----------  Définition  ---------- */
.define .wrap { max-width: 920px; }
.define p.big { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.28; font-weight: 400; letter-spacing: -0.015em; }
.define p.big b { font-weight: 600; }

/* ----------  Cas d'usage  ---------- */
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 20px; margin-top: 54px; }
.uc-card {
  padding: 30px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.4s var(--ease), border-color var(--t), background var(--t); position: relative; overflow: hidden;
}
.uc-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.uc-ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--border); margin-bottom: 20px; }
.uc-ico svg { width: 24px; height: 24px; color: var(--accent); }
.uc-card h3 { font-size: 1.3rem; margin-bottom: 9px; }
.uc-card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ----------  Comment ça marche  ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 24px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 3rem; color: transparent;
  -webkit-text-stroke: 1.3px var(--border-strong); display: block; margin-bottom: 14px; line-height: 1;
}
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }
.step .line { position: absolute; top: 46px; left: 0; height: 1px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0.4; }

/* ----------  Preuve / stats  ---------- */
.proof { background: var(--bg-2); border-block: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 26px; }
.stat { text-align: center; padding: 20px; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 600; line-height: 1; }
.stat .lbl { color: var(--ink-soft); margin-top: 10px; font-size: 0.95rem; }
.guarantees { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 60px; }
.guar { display: flex; gap: 14px; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
.guar svg { width: 24px; height: 24px; color: var(--accent-2); flex: none; margin-top: 2px; }
.guar h4 { font-size: 1.02rem; font-family: var(--font-sans); font-weight: 650; margin-bottom: 4px; }
.guar p { color: var(--ink-soft); font-size: 0.9rem; }

/* ----------  Offre / pricing  ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 56px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: var(--surface); position: relative; transition: transform 0.4s var(--ease), border-color var(--t);
}
.price-card:hover { transform: translateY(-6px); }
.price-card.featured {
  border-color: transparent; background: var(--card-grad);
  box-shadow: var(--shadow); outline: 1.5px solid var(--accent); outline-offset: -1.5px;
}
.price-card.featured::before {
  content: "Le plus choisi"; position: absolute; top: -13px; left: 50%; translate: -50% 0;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; padding: 6px 16px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.price-card .plan { font-family: var(--font-display); font-size: 1.5rem; }
.price-card .tagline { color: var(--ink-mute); font-size: 0.9rem; margin-top: 4px; min-height: 2.6em; }
.price-card .amount { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-card .amount .val { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.price-card .amount .per { color: var(--ink-mute); font-size: 0.92rem; }
.price-card .setup { color: var(--ink-soft); font-size: 0.86rem; margin-top: 8px; }
.price-card ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--ink-soft); }
.price-card li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-note { text-align: center; color: var(--ink-mute); font-size: 0.85rem; margin-top: 26px; }

/* ----------  FAQ  ---------- */
.faq-list { max-width: 820px; margin: 50px auto 0; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color var(--t), background var(--t); }
.faq-item[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 24px; height: 24px; position: relative; transition: transform 0.3s var(--ease); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--accent); }
.faq-item summary .plus::before { width: 14px; height: 2px; }
.faq-item summary .plus::after { width: 2px; height: 14px; }
.faq-item[open] summary .plus { transform: rotate(135deg); }
.faq-item .answer { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.98rem; max-width: 65ch; }

/* ----------  Contact / RDV  ---------- */
.contact { position: relative; }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px);
  padding: clamp(32px, 5vw, 60px); border-radius: var(--r-lg); border: 1px solid var(--border-strong);
  background: var(--card-grad); box-shadow: var(--shadow); align-items: center;
}
.contact-card h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.contact-card .lead { margin-top: 16px; }
.contact-feats { margin-top: 26px; display: grid; gap: 13px; }
.contact-feats li { display: flex; gap: 11px; color: var(--ink-soft); font-size: 0.96rem; list-style: none; }
.contact-feats svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; }
form { display: grid; gap: 15px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border-radius: var(--r-sm); border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 0.95rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 92px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-note { font-size: 0.8rem; color: var(--ink-mute); }
.form-success {
  display: none; padding: 16px 18px; border-radius: var(--r-sm); background: var(--accent-soft);
  border: 1px solid var(--accent); color: var(--ink); font-size: 0.95rem;
}
.form-success.show { display: flex; gap: 10px; align-items: center; }
.form-success svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ----------  Footer  ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 50px 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer .brand { margin-bottom: 14px; }
.footer p.desc { color: var(--ink-soft); font-size: 0.92rem; max-width: 34ch; }
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(30px, 6vw, 72px); }
.footer-col h5 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink-mute); font-size: 0.85rem; }

/* ----------  Reveal animation  ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .avatar-stage { order: -1; margin-bottom: 20px; }
  .avatar-card { width: min(78%, 320px); }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-actions .btn-ghost { display: none; }

  /* Menu mobile */
  .mobile-menu {
    position: fixed; inset: 76px 0 auto 0; z-index: 99; background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); padding: 18px var(--pad) 26px;
    display: none; flex-direction: column; gap: 4px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
  .mobile-menu .btn { margin-top: 16px; }

  .chip.c1 { right: -2%; top: 4%; }
  .chip.c2 { left: -2%; }
  .step .line { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding-block: clamp(54px, 13vw, 90px); }
}
.mobile-menu { display: none; }
@media (min-width: 761px) { .mobile-menu { display: none !important; } }
