/* MON LOGEMENT FACILE - Light Startup DA */
:root {
  --color-bg: #fafbfc;
  --color-bg-warm: #fff9f7;
  --color-bg-card: #ffffff;
  --color-accent: #f63e3e;
  --color-accent-2: #ff6b35;
  --color-accent-3: #f4a261;
  --color-accent-hover: #d62839;
  --color-accent-muted: rgba(246, 62, 62, 0.12);
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: rgba(15, 23, 42, 0.08);
  --font-sans: 'Sora', system-ui, sans-serif;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 40px;
  --radius-full: 9999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 60px rgba(230, 57, 70, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Skip link - accessibilité / SEO */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-accent);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Gradient mesh background - orbs */
.gradient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.gradient-orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #ff9a9e 0%, #f63e3e 50%);
  bottom: -150px;
  left: -100px;
  animation-delay: -7s;
}

.gradient-orb-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #ffecd2 0%, #ff9a9e 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.35;
  animation-delay: -14s;
}

@media (max-width: 640px) {
  .gradient-orb {
    opacity: 0.35;
    filter: blur(56px);
  }

  .gradient-orb-1 {
    width: 420px;
    height: 420px;
  }

  .gradient-orb-2 {
    width: 350px;
    height: 350px;
  }

  .gradient-orb-3 {
    width: 280px;
    height: 280px;
    opacity: 0.245;
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 48px;
  }
}

/* Boutons partagés */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: white;
  color: var(--color-text-muted);
  border: 2px solid var(--color-border);
}

.btn-ghost:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.8);
}

.btn-ghost svg {
  transition: transform var(--transition);
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

[data-animate]:nth-child(1) { animation-delay: 0.1s; }
[data-animate]:nth-child(2) { animation-delay: 0.2s; }
[data-animate]:nth-child(3) { animation-delay: 0.3s; }
[data-animate]:nth-child(4) { animation-delay: 0.4s; }
[data-animate]:nth-child(5) { animation-delay: 0.5s; }
[data-animate]:nth-child(6) { animation-delay: 0.6s; }
[data-animate]:nth-child(7) { animation-delay: 0.7s; }
[data-animate]:nth-child(8) { animation-delay: 0.8s; }
[data-animate]:nth-child(9) { animation-delay: 0.9s; }
[data-animate]:nth-child(10) { animation-delay: 1s; }

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