:root {
  --color-bg: #050509;
  --color-bg-elevated: #0b0c12;
  --color-surface: #10121b;
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --color-accent: #0ea5e9;
  --color-accent-soft: rgba(14, 165, 233, 0.12);
  --color-gold: #f5c451;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 20px;
  --radius-full: 999px;
  --transition-fast: 0.22s ease-out;
  --transition-med: 0.35s ease-out;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 40%, #000 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.brand-mark {
  width: 34px; height: 34px;
  border-radius: 14px;
  background: conic-gradient(from 210deg, #0ea5e9, #22c55e, #f5c451, #0ea5e9);
  box-shadow: 0 0 22px rgba(14, 165, 233, 0.7);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 0, rgba(255,255,255,0.3), transparent 40%), #020617;
}

.brand-text { display: flex; flex-direction: column; gap: 0.1rem; }
.brand-name { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.brand-sub { font-size: 0.7rem; color: var(--color-text-muted); }

/* ── NAVIGATION ── */
.main-nav { display: flex; align-items: center; gap: 1.5rem; font-size: 0.8rem; }
.main-nav a {
  position: relative;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.35rem;
  width: 0; height: 1px;
  background: linear-gradient(to right, var(--color-accent), var(--color-gold));
  transition: width var(--transition-fast);
}
.main-nav a:hover { color: var(--color-text); }
.main-nav a:hover::after { width: 100%; }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.22s ease-out, opacity 0.22s ease-out;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero { padding: 4rem 0 4rem; }

.hero-inner {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin: 0 0 0.75rem;
}

.hero-content h1 {
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
}

.hero-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 32rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
  font-size: 0.75rem;
}

.hero-highlights span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--color-text-muted);
}

/* ── HERO MEDIA ── */
.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(248,250,252,0.06), transparent 60%), var(--color-bg-elevated);
  border-radius: 24px;
  padding: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.38);
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: 300px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(14,165,233,0.7), rgba(248,250,252,0.05), rgba(245,196,81,0.8));
  opacity: 0.3;
  z-index: -1;
}

.hero-image {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 340px;
}

.hero-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  transition: transform var(--transition-med);
}

.hero-card:hover .hero-image img {
  transform: scale(1.04);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #22c55e);
  color: #0b1120;
  box-shadow: 0 18px 38px rgba(15, 118, 230, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(15, 118, 230, 0.75);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.6);
  color: var(--color-text);
}
.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.95);
}

.btn-whatsapp {
  background: radial-gradient(circle at 0 0, #bbf7d0 0, transparent 50%), #16a34a;
  color: #ecfdf5;
  border-color: rgba(34, 197, 94, 0.7);
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.5);
}
.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.7);
}

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

/* ── SECTIONS ── */
.section { padding: 3.25rem 0; }

.section-header {
  text-align: left;
  margin-bottom: 1.8rem;
}
.section-header h2 { font-size: 1.4rem; margin: 0 0 0.4rem; letter-spacing: -0.02em; }
.section-header p { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); }

.section-products {
  background: radial-gradient(circle at top, rgba(15,23,42,0.8), rgba(15,23,42,0.2) 40%, transparent 70%);
}

/* ── PRODUCT GRID ── */
.product-grid { display: grid; gap: 1.4rem; }

.product-card {
  background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,23,42,0.85));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.85rem;
  display: grid;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 0 0, rgba(14,165,233,0.19), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}
.product-card:hover::before { opacity: 1; }

/* ── PRODUCT IMAGE ── */
.product-image-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image {
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.45s ease-out;
  display: block;
}
.product-card:hover .product-image img { transform: scale(1.06); }

/* Badges */
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}
.badge-standard { background: rgba(14,165,233,0.9); color: #fff; }
.badge-premium { background: linear-gradient(135deg, #b45309, #f59e0b); color: #fff; }
.badge-top { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }

.product-model-badge {
  display: inline-block;
  background: rgba(14,165,233,0.12);
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(14,165,233,0.25);
  margin-bottom: 6px;
}

.product-content h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.product-tag { margin: 0 0 0.5rem; font-size: 0.8rem; color: var(--color-text-muted); }

.product-price {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold);
}
.product-price span { font-weight: 400; font-size: 0.78rem; color: var(--color-text-muted); }

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  font-size: 0.83rem;
  color: var(--color-text-muted);
  display: grid;
  gap: 0.25rem;
}
.product-features li::before { content: "•"; color: var(--color-accent); margin-right: 0.4rem; }

/* ── AVANTAGES ── */
.section-benefits {
  background: radial-gradient(circle at top right, rgba(245,196,81,0.2), transparent 55%);
}
.benefits-grid { display: grid; gap: 1rem; }

.benefit-card {
  background: rgba(15,23,42,0.86);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(148,163,184,0.4);
  position: relative;
  overflow: hidden;
}
.benefit-card::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(148,163,184,0.35);
  opacity: 0.3;
}
.benefit-card h3 { margin: 0 0 0.4rem; font-size: 0.98rem; }
.benefit-card p { margin: 0; font-size: 0.85rem; color: var(--color-text-muted); }

/* ── CONTACT ── */
.section-contact { padding-bottom: 3.5rem; }
.contact-inner { display: grid; gap: 1.5rem; }
.contact-content h2 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.contact-content p { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); }

.contact-items { margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.1rem; }
.contact-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-text-muted); }
.contact-link { font-size: 0.9rem; }
.contact-link:hover { color: var(--color-accent); }

.contact-card {
  background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(15,23,42,0.95));
  border-radius: 22px;
  padding: 1.1rem;
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: var(--shadow-soft);
}
.contact-card-title { margin: 0 0 0.35rem; font-size: 0.95rem; }
.contact-card-text { margin: 0; font-size: 0.85rem; color: var(--color-text-muted); }

.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: grid;
  gap: 0.25rem;
}
.contact-bullets li::before { content: "—"; margin-right: 0.3rem; color: var(--color-gold); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(148,163,184,0.2);
  padding: 1.3rem 0 1.6rem;
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
}
.footer-inner { text-align: center; }
.footer-links { margin-bottom: 0.5rem; font-size: 0.78rem; }
.footer-links a { color: var(--color-text-muted); margin: 0 0.3rem; }
.footer-links a:hover { color: var(--color-accent); }
.footer-inner p { margin: 0; font-size: 0.8rem; color: var(--color-text-muted); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  right: 1.1rem; bottom: 1.1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #bbf7d0 0, transparent 50%), #16a34a;
  color: #ecfdf5;
  box-shadow: 0 18px 40px rgba(22,163,74,0.8);
  border: 1px solid rgba(22,163,74,0.6);
  font-size: 0.8rem;
}
.whatsapp-icon {
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 2px solid #ecfdf5;
  position: relative;
}
.whatsapp-icon::before, .whatsapp-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 2px solid #ecfdf5;
  transform: rotate(25deg);
}
.whatsapp-icon::after {
  inset: 5px;
  border-width: 0 0 2px 2px;
  border-color: transparent transparent #ecfdf5 #ecfdf5;
}
.whatsapp-label { font-weight: 600; }
.whatsapp-float:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(22,163,74,1);
}

/* ── REVEAL ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-med), transform var(--transition-med);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── À PROPOS ── */
.section-about {
  background: radial-gradient(circle at bottom left, rgba(14,165,233,0.08), transparent 60%);
}

.about-inner {
  display: grid;
  gap: 2.5rem;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.about-text p:last-child { margin: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-stat {
  background: rgba(15,23,42,0.86);
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 16px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ── FAQ ── */
.section-faq {
  background: radial-gradient(circle at top right, rgba(245,196,81,0.06), transparent 55%);
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: rgba(15,23,42,0.86);
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 16px;
  padding: 1.2rem 1.3rem;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(14,165,233,0.4);
}

.faq-question {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.faq-answer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── RESPONSIVE MOBILE (< 640px) ── */
@media (max-width: 639px) {
  /* Hamburger visible, nav cachée par défaut */
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(5, 5, 9, 0.98);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    z-index: 19;
  }
  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.7rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(148, 163, 184, 0.07);
    font-size: 0.88rem;
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
}

/* ── RESPONSIVE TABLETTE (≥ 640px) ── */
@media (min-width: 640px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }
  .hero { padding-top: 5rem; }
  .hero-content h1 { font-size: 2.25rem; }

  .section { padding: 3.75rem 0; }
  .section-header {
    text-align: center;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
  }

  .product-card {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
    padding: 1rem;
    gap: 1.25rem;
  }
  .product-image { height: 100%; min-height: 200px; border-radius: 12px; }
  .product-image img { max-height: 220px; }

  .contact-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .about-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .header-inner { padding-inline: 0; }
  .main-nav { gap: 2rem; font-size: 0.82rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .product-grid { gap: 1.6rem; }
  .benefits-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .hero-content h1 { font-size: 2.8rem; }
  .section { padding: 4.25rem 0; }
}
