:root {
  --max-width: 1200px;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --secondary: #f59e0b;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 16px;
}

* {
  box-sizing: border-box
}

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 0;
  color: #111;
  background: var(--bg-light);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
}

.brand a {
  display: block;
  width: 150px;
  /* largeur du cadre du logo */
  height: 60px;
  /* hauteur du cadre */
  overflow: hidden;
  line-height: 0;
  /* évite tout décalage parasite */
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* parfaitement centré */
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Mobile Menu Toggle - Hidden on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #111;
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

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

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

/* Desktop Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav .btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav .btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  animation: float 20s linear infinite;
}

@keyframes float {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-100px)
  }
}

.hero-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero h2 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
  color: #fef3c7;
}

.hero p {
  font-size: 16px;
  margin: 0 0 20px;
  opacity: 0.95;
}

.hero-img {
  width: 400px;
  max-width: 45%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.02)
  }
}

.hero-img:hover {
  transform: scale(1.05) rotate(-2deg);
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-top: 32px !important;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn.primary {
  background: #fff;
  color: #667eea;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn.outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn.outline:hover {
  background: #fff;
  color: #667eea;
  transform: translateY(-3px);
}

.guarantee {
  font-size: 14px;
  font-weight: 600;
  color: #fef3c7;
  margin-top: 24px !important;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 80px 24px;
}

.feature-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.feature-card h3 {
  font-size: 22px;
  margin: 0 0 12px;
  color: #111;
}

.feature-card p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.feature-badge {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  padding: 80px 0;
}

.stats-section h2 {
  text-align: center;
  font-size: 36px;
  margin: 0 0 48px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 14px;
  opacity: 0.95;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 24px;
}

.testimonials h2 {
  text-align: center;
  font-size: 36px;
  margin: 0 0 48px;
  color: #111;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--accent);
  margin: 0;
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial p {
  font-size: 16px;
  font-style: italic;
  color: #374151;
  margin: 0 0 16px;
  line-height: 1.7;
}

.testimonial cite {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

/* Footer */
.site-footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #93c5fd;
}

.site-footer p {
  margin: 8px 0;
}

.footer-joke {
  margin-top: 24px !important;
  font-size: 13px;
  color: #fbbf24;
  font-style: italic;
}

/* Responsive */
@media (max-width:1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .testimonial-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:800px) {

  /* Mobile Header */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    margin: 0 0 24px 0;
    font-size: 18px;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .nav .btn {
    margin-top: 16px;
    text-align: center;
  }

  .logo {
    width: 100%;
  }

  .hero {
    padding: 48px 0
  }

  .hero h2 {
    font-size: 32px
  }

  .hero-inner {
    flex-direction: column
  }

  .hero-img {
    max-width: 80%;
    width: 100%
  }

  .features {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr
  }

  .testimonial-grid {
    grid-template-columns: 1fr
  }

  .cta-row {
    flex-direction: column
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}