:root {
  /* Palette "Sunrise" — corail / or / lime sur fond chaud profond */
  --bg: #0a0807;
  --bg-2: #0e0b09;
  --bg-elev: #15110d;
  --bg-soft: #1c1712;
  --border: #261f17;
  --border-strong: #3a2f23;
  --text: #fef3e8;
  --text-dim: #c2b5a8;
  --text-muted: #80766c;

  --coral: #fb7185;
  --coral-2: #fca5a8;
  --gold: #fbbf24;
  --gold-2: #fcd34d;
  --lime: #a3e635;
  --lime-2: #bef264;
  --cream: #fef3e8;

  --grad-1: linear-gradient(135deg, #fef3e8 0%, #fcd34d 40%, #fb7185 100%);
  --grad-2: linear-gradient(135deg, #fb7185 0%, #fbbf24 100%);
  --grad-3: linear-gradient(135deg, #fcd34d 0%, #fb7185 100%);
  --grad-cool: linear-gradient(135deg, #a3e635 0%, #fbbf24 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  --glow-coral: 0 0 60px rgba(251, 113, 133, 0.45);
  --glow-gold: 0 0 60px rgba(251, 191, 36, 0.4);
  --max: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  background:
    radial-gradient(900px 600px at 12% 25%, rgba(251, 113, 133, 0.18), transparent 60%),
    radial-gradient(1100px 700px at 88% 55%, rgba(251, 191, 36, 0.13), transparent 65%),
    radial-gradient(700px 500px at 50% 110%, rgba(163, 230, 53, 0.08), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ---------- Starfield ---------- */
.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(254,243,232,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 28% 42%, rgba(254,243,232,0.7) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 47% 22%, rgba(252,211,77,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 64% 70%, rgba(252,165,168,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 82% 32%, rgba(254,243,232,0.95) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 18% 78%, rgba(190,242,100,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 38% 88%, rgba(254,243,232,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 12%, rgba(252,211,77,0.7) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 92% 82%, rgba(254,243,232,0.95) 50%, transparent 100%),
    radial-gradient(1px 1px at 8% 56%, rgba(251,113,133,0.85) 50%, transparent 100%),
    radial-gradient(1px 1px at 56% 50%, rgba(254,243,232,0.9) 50%, transparent 100%),
    radial-gradient(1px 1px at 22% 8%, rgba(254,243,232,0.6) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 6%, rgba(254,243,232,0.95) 50%, transparent 100%),
    radial-gradient(1px 1px at 4% 92%, rgba(252,211,77,0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 92%, rgba(254,243,232,0.9) 50%, transparent 100%);
  background-size: 600px 600px;
  background-repeat: repeat;
  opacity: 0.85;
  animation: drift 120s linear infinite;
}

.starfield::before, .starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
}

.starfield::before {
  background-size: 900px 900px;
  opacity: 0.5;
  animation: drift-slow 200s linear infinite, twinkle 5s ease-in-out infinite;
}

.starfield::after {
  background-size: 400px 400px;
  opacity: 0.35;
  animation: drift-fast 80s linear infinite, twinkle 7s ease-in-out infinite;
}

@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-300px,-150px,0); }
}
@keyframes drift-slow {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(200px,-100px,0); }
}
@keyframes drift-fast {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-500px,250px,0); }
}
@keyframes twinkle {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.6); }
}

/* Floating orbs / particles */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: orb-float 18s ease-in-out infinite;
}
.orb.b1 { width: 380px; height: 380px; background: var(--coral); top: 8%; left: -120px; animation-delay: -2s; }
.orb.b2 { width: 460px; height: 460px; background: var(--gold); top: 35%; right: -160px; animation-delay: -8s; }
.orb.b3 { width: 320px; height: 320px; background: var(--lime); bottom: -120px; left: 30%; opacity: 0.22; animation-delay: -14s; }

@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(40px, -30px, 0) scale(1.1); }
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 1.1rem;
}

.brand .logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--grad-2);
  display: grid;
  place-items: center;
  color: #1a0808;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(251, 113, 133, 0.45);
  position: relative;
  overflow: hidden;
}

.brand .logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-2);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px;
  background: rgba(21, 17, 13, 0.7);
}

.lang-switch a {
  padding: 5px 13px;
  font-size: 0.78rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-switch a.active {
  background: var(--grad-2);
  color: #1a0808;
  box-shadow: 0 4px 12px rgba(251, 113, 133, 0.35);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-2);
  color: #1a0808;
  box-shadow: 0 10px 30px rgba(251, 113, 133, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(251, 113, 133, 0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost {
  background: rgba(21, 17, 13, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--coral);
  background: rgba(251, 113, 133, 0.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
}

.hero-visual .glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(251, 113, 133, 0.55), rgba(251, 191, 36, 0.3) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.08); }
}

.hero-visual .mockup-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
  animation: floaty 7s ease-in-out infinite;
}

.hero-visual .mockup-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual .mockup-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,8,7,0.6) 100%);
  pointer-events: none;
}

.hero-visual .float-chip {
  position: absolute;
  z-index: 3;
  background: rgba(21, 17, 13, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floaty 6s ease-in-out infinite;
}

.float-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px var(--coral);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.float-chip.violet .dot { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.float-chip.cyan .dot { background: var(--lime); box-shadow: 0 0 12px var(--lime); }

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.7; }
}

.hero-visual .c1 { top: -3%; right: -6%; animation-delay: -1s; }
.hero-visual .c2 { bottom: 18%; left: -8%; animation-delay: -3s; }
.hero-visual .c3 { bottom: -4%; right: 8%; animation-delay: -5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  background: rgba(251, 113, 133, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(251, 113, 133, 0.3);
  backdrop-filter: blur(8px);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 26px 0 22px;
}

.hero h1 .grad {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero h1 .grad-blue {
  background: var(--grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta-item strong {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.hero-meta-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  z-index: 3;
}

.scroll-indicator svg {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(8px); opacity: 1; }
}

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
  scroll-margin-top: 80px;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow { color: var(--gold); background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.section-head .eyebrow::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 18px 0 16px;
}

.section-head h2 .grad {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  color: var(--text-dim);
  font-size: 1.08rem;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* Variant: 2x2 grid (4 cartes) */
.cards.cards-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 0 auto;
  gap: 24px;
}

.card {
  background: linear-gradient(180deg, rgba(21,17,13,0.92), rgba(14,11,9,0.78));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(circle, rgba(251,113,133,0.18), transparent 60%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

.card:hover::before, .card:hover::after { opacity: 1; }

.card .icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(251,113,133,0.18), rgba(251,191,36,0.18));
  border: 1px solid rgba(251,113,133,0.3);
  color: var(--coral);
  margin-bottom: 22px;
  position: relative;
}

.card .icon svg { width: 24px; height: 24px; }

.card h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.card p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.62;
}

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.approach-grid h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 18px 0 18px;
}
.approach-grid h2 .grad {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.approach-grid > div > p {
  color: var(--text-dim);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(21,17,13,0.85), rgba(14,11,9,0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
}

.step-num {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-2);
  color: #1a0808;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(251,113,133,0.4);
}

.step h4 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.approach-visual {
  background: linear-gradient(180deg, rgba(21,17,13,0.95), rgba(14,11,9,0.8));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--text-dim);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.approach-visual::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 36px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.approach-visual::after {
  content: "● ● ●";
  position: absolute;
  top: 9px;
  left: 18px;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 4px;
}

.approach-visual .code-body {
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.approach-visual .line { display: block; padding: 2px 0; }
.approach-visual .k { color: var(--coral); }
.approach-visual .s { color: var(--lime); }
.approach-visual .c { color: var(--text-muted); font-style: italic; }
.approach-visual .n { color: var(--gold); }

.approach-visual .glow-corner {
  position: absolute;
  width: 300px;
  height: 200px;
  bottom: -50px;
  right: -50px;
  background: radial-gradient(circle, rgba(251,113,133,0.25), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(251,113,133,0.13), rgba(251,191,36,0.13)),
    linear-gradient(180deg, rgba(21,17,13,0.92), rgba(14,11,9,0.75));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(251,113,133,0.28), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 18px 0 14px;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.cta-band h2 .grad {
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-band p {
  color: var(--text-dim);
  margin: 0 auto 32px;
  max-width: 600px;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 64px 0 36px;
  margin-top: 80px;
  color: var(--text-dim);
  font-size: 0.92rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 44px;
}

.foot-col h5 {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 700;
}

.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { color: var(--text-dim); transition: color 0.2s ease; }
.foot-col a:hover { color: var(--coral); }

.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 80px 0 100px;
  position: relative;
  z-index: 2;
}

.legal-page .container { max-width: 860px; }

.legal-page .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.legal-page .breadcrumb a { color: var(--coral); }

.legal-page h1 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  font-weight: 900;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 44px;
}

.legal-page h2 {
  font-size: 1.45rem;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 700;
}

.legal-page h3 {
  font-size: 1.12rem;
  margin: 30px 0 10px;
  color: var(--text);
}

.legal-page p, .legal-page li {
  color: var(--text-dim);
  font-size: 0.98rem;
}

.legal-page a:not(.btn) { color: var(--coral); border-bottom: 1px solid rgba(251,113,133,0.3); }
.legal-page a:not(.btn):hover { border-color: var(--coral); }

.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }

.legal-page .info-card {
  background: linear-gradient(180deg, rgba(21,17,13,0.92), rgba(14,11,9,0.75));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 26px;
  margin: 18px 0 32px;
  backdrop-filter: blur(8px);
}

.legal-page .info-card dl {
  display: grid;
  grid-template-columns: minmax(200px, auto) 1fr;
  gap: 12px 28px;
  margin: 0;
}

.legal-page .info-card dt {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.legal-page .info-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

/* ---------- Reveal ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 56px 0 80px; min-height: auto; }
  .hero-grid, .approach-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { aspect-ratio: 4/3; max-width: 540px; margin: 0 auto; }
  section { padding: 72px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 48px 28px; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elev);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 28px;
    gap: 16px;
  }
  .scroll-indicator { display: none; }
}

@media (max-width: 720px) {
  .cards.cards-2col { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-actions .btn-primary { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); }
  .hero-meta { gap: 24px; }
  .legal-page .info-card dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal-page .info-card dt { margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== ANIMATIONS PRO ========== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-2);
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 100;
  box-shadow: 0 0 14px rgba(251,113,133,0.7);
  will-change: transform;
}

/* Cursor spotlight (suit la souris) */
.cursor-spotlight {
  position: fixed;
  top: -250px; left: -250px;
  width: 500px; height: 500px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(251,113,133,0.18), rgba(251,191,36,0.08) 35%, transparent 65%);
  filter: blur(30px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
.cursor-spotlight.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-spotlight { display: none; } }

/* Gradient text shimmer */
.hero h1 .grad, .hero h1 .grad-blue,
.section-head h2 .grad, .approach-grid h2 .grad,
.cta-band h2 .grad, .legal-page h1 {
  background-size: 220% 220%;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Hero visual perspective container */
.hero-visual { perspective: 1200px; }
.hero-visual .mockup-frame {
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.hero-visual .float-chip {
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

/* Card tilt prep */
.card {
  transform-style: preserve-3d;
  will-change: transform;
}
.card .icon, .card h3, .card p { transform: translateZ(20px); }

/* Magnetic buttons prep */
.btn-primary { will-change: transform; }

/* Marquee — bandeau défilant de trust signals */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: marquee 45s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.marquee-item svg { width: 18px; height: 18px; opacity: 0.75; }
.marquee-item .sep {
  color: var(--coral);
  font-size: 0.55rem;
  opacity: 0.7;
}
.marquee-item.glow {
  background: var(--grad-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 0.02em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Code typing reveal — lignes invisibles initialement */
.approach-visual .code-body .line {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.approach-visual .code-body .line.shown {
  opacity: 1;
  transform: translateX(0);
}

/* Hero meta value scramble (effet chiffres qui défilent) */
.hero-meta-item strong[data-scramble] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Float chip subtle pulse glow */
.float-chip { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.float-chip:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 50px rgba(251,113,133,0.25);
}

/* Card hover : icon glow */
.card .icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.card:hover .icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 28px rgba(251,113,133,0.3);
  background: linear-gradient(135deg, rgba(251,113,133,0.3), rgba(251,191,36,0.3));
}

/* Step number subtle bounce on hover */
.step-num { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.step:hover .step-num { transform: scale(1.1) rotate(-5deg); }

/* Reveal-up word effect (utilisable via JS) */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.split-word.in {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle background grid that pulses slowly */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(251,113,133,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,191,36,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  animation: grid-pulse 14s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}
@keyframes grid-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}

/* Mobile : disable expensive effects */
@media (max-width: 720px) {
  body::before { display: none; }
  .cursor-spotlight { display: none; }
}
