﻿:root {
  --bg: #0a0e1a;
  --bg-soft: #0f1525;
  --bg-card: #141b2e;
  --bg-alt: #f9fafb;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --brand: #0d1c2e;
  --accent: #f59e0b;
  --accent-secondary: #3b82f6;
  --accent-dark: #d97706;
  --border: rgba(255, 255, 255, 0.1);
  --glow: rgba(245, 158, 11, 0.4);
  --glow-blue: rgba(59, 130, 246, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  border-radius: 20px;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero {
  padding: 48px 0 120px;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.15), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.12), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.08), transparent 60%),
    linear-gradient(180deg, #0a0e1a 0%, #0f1525 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.03) 50%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, transparent 1px, transparent 80px);
  pointer-events: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
  position: relative;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(15, 21, 37, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 16px 32px;
  margin: -48px -24px 64px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(245, 158, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 44px;
  width: auto;
  padding: 6px 12px;
  background: #ffffff;
  border-radius: 12px;
}

.logo span {
  font-weight: 600;
  letter-spacing: 1px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.link {
  font-weight: 500;
  color: var(--accent);
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--accent-dark);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(59, 130, 246, 0.15));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
  border-color: rgba(245, 158, 11, 0.3);
}

.hero__content h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  margin: 24px 0 20px;
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--text-muted);
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

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

.btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a0e1a;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
}

.btn--ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.btn--small {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn--small:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
}

.metrics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.metrics span {
  display: block;
  font-size: 2rem;
  font-weight: 600;
}

.hero__media .media-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(59, 130, 246, 0.05));
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(245, 158, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.hero__media .media-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(245, 158, 11, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.media-card__note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.05), transparent 70%);
  pointer-events: none;
}

.section--alt {
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  color: #1e293b;
}

.section--alt .eyebrow,
.section--alt .feature-card,
.section--alt .kit__content,
.section--alt .timeline article {
  color: inherit;
}

.section--alt .feature-card,
.section--alt .tech,
.section--alt .kit__content,
.section--alt .impact-grid article,
.section--alt .timeline article {
  background: #ffffff;
  border: 1px solid #e1e6ef;
  box-shadow: 0 25px 55px rgba(15, 22, 45, 0.08);
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}

.section__head h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}

.section h2 {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section--alt h2 {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  display: inline-block;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(20, 27, 46, 0.8), rgba(15, 21, 37, 0.6));
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(245, 158, 11, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: #ffffff;
}

.tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  background: linear-gradient(135deg, rgba(20, 27, 46, 0.9), rgba(15, 21, 37, 0.8));
  padding: 56px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(245, 158, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.tech::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.tech__content ul {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
}

.tech__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tech__media {
  position: relative;
}

.tech__media .tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.kit__list {
  list-style: none;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}

.kit__list li {
  padding-left: 28px;
  position: relative;
}

.kit__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.impact-grid article {
  background: linear-gradient(135deg, rgba(20, 27, 46, 0.9), rgba(15, 21, 37, 0.7));
  padding: 36px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.impact-grid article::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.impact-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(245, 158, 11, 0.2);
}

.impact-grid article:hover::before {
  opacity: 1;
}

.impact-grid span {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.timeline article {
  background: linear-gradient(135deg, rgba(20, 27, 46, 0.8), rgba(15, 21, 37, 0.6));
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.timeline article::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-secondary));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline article:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(245, 158, 11, 0.15);
}

.timeline article:hover::before {
  opacity: 1;
}

.timeline article h3 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.cfa,
.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact__info {
  list-style: none;
  margin-top: 24px;
  color: var(--text-muted);
}

.contact__form {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.section--alt .contact__form {
  background: #ffffff;
  color: #1b1f2f;
  border: 1px solid #e1e6ef;
}

.contact__form label {
  font-size: 0.9rem;
  font-weight: 500;
  display: grid;
  gap: 6px;
}

.contact__form input,
.contact__form textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.section--alt .contact__form input,
.section--alt .contact__form textarea {
  background: #f6f8ff;
  border: 1px solid #d9dfec;
  color: #111428;
}

.contact__form textarea {
  resize: vertical;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.form-status {
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-status--loading,
.form-status--success,
.form-status--error {
  opacity: 1;
}

.form-status--success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status--error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-status--loading {
  background: rgba(246, 166, 35, 0.15);
  color: var(--accent);
  border: 1px solid rgba(246, 166, 35, 0.3);
}

.footer {
  background: linear-gradient(180deg, #0a0e1a 0%, #050810 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.5), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.cta {
  background: radial-gradient(circle at center, rgba(246, 166, 35, 0.15), rgba(5, 8, 15, 0.95));
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }

.impact-grid article:nth-child(1) { transition-delay: 0.1s; }
.impact-grid article:nth-child(2) { transition-delay: 0.2s; }
.impact-grid article:nth-child(3) { transition-delay: 0.3s; }

.timeline article:nth-child(1) { transition-delay: 0.1s; }
.timeline article:nth-child(2) { transition-delay: 0.2s; }
.timeline article:nth-child(3) { transition-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.4);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.8), transparent);
  border-radius: 50%;
  animation: particleFloat 20s infinite ease-in-out;
  opacity: 0;
}

@keyframes particleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(100px) scale(1);
  }
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

body:not(:hover) .cursor-glow {
  opacity: 0;
}

/* Tablettes (portrait et paysage) */
@media (max-width: 1024px) {
  .container {
    width: min(1200px, 95vw);
  }

  .hero {
    padding: 32px 0 80px;
  }

  .section {
    padding: 80px 0;
  }

  .hero__grid {
    gap: 40px;
  }

  .tech,
  .kit {
    padding: 40px;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .impact-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* Tablettes (portrait) */
@media (max-width: 768px) {
  .hero {
    padding: 24px 0 60px;
  }

  .section {
    padding: 60px 0;
  }

  .navbar {
    margin-bottom: 48px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section__head {
    margin-bottom: 48px;
  }

  .feature-grid,
  .impact-grid,
  .timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tech,
  .kit {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer__links {
    align-items: center;
  }

  .metrics {
    gap: 24px;
  }

  .metrics span {
    font-size: 1.5rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Mobiles */
@media (max-width: 720px) {
  .cursor-glow {
    display: none;
  }

  .particles {
    display: none;
  }

  .container {
    width: min(1200px, 92vw);
  }

  .navbar {
    flex-wrap: wrap;
    margin-bottom: 32px;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }

  .logo {
    order: 1;
  }

  .nav-links {
    order: 3;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    background: rgba(8, 13, 23, 0.98);
    border-radius: 16px;
    padding: 0;
  }

  .nav-links.active {
    max-height: 400px;
    opacity: 1;
    padding: 20px;
    margin-top: 16px;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    flex-direction: column;
    padding: 0;
  }

  .nav-cta.active {
    max-height: 200px;
    opacity: 1;
    padding: 16px 0;
  }

  .navbar.scrolled {
    margin: 0 0 32px;
    padding: 16px;
  }

  .hero {
    padding: 16px 0 48px;
  }

  .section {
    padding: 48px 0;
  }

  .section__head {
    margin-bottom: 32px;
  }

  .tech,
  .kit {
    padding: 24px 20px;
  }

  .feature-card,
  .impact-grid article,
  .timeline article {
    padding: 24px;
  }

  .contact__form {
    padding: 24px;
  }

  h1 {
    font-size: 2rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero__content h1 {
    margin: 16px 0 12px;
  }

  .lead {
    font-size: 0.95rem;
  }

  .badge-row {
    gap: 8px;
  }

  .badge {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .hero__cta {
    margin: 24px 0 20px;
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .metrics {
    flex-direction: column;
    gap: 16px;
  }

  .impact-grid span {
    font-size: 2rem;
  }

  .timeline article h3 {
    font-size: 1.5rem;
  }

  .tech__cta,
  .hero__cta {
    width: 100%;
  }

  .tech__cta .btn,
  .tech__cta .link {
    width: 100%;
    text-align: center;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  .container {
    width: min(1200px, 90vw);
  }

  .logo img {
    height: 36px;
  }

  .logo span {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .section {
    padding: 40px 0;
  }

  .feature-card,
  .impact-grid article,
  .timeline article {
    padding: 20px;
  }

  .contact__form {
    padding: 20px;
  }

  .tech,
  .kit {
    padding: 20px 16px;
  }
}
