:root {
  --bg-body: #050816;
  --bg-hero: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  --bg-card: #020617;
  --bg-card-hover: #02081f;
  --accent: #22c55e;
  --accent-alt: #38bdf8;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
  --radius-lg: 18px;
  --transition-fast: 0.25s ease-out;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: #020617;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #22c55e;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .2s ease;
}

.nav-links a:hover {
  color: #22c55e;
}


body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-body);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* HERO */

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3rem;
  background: var(--bg-hero);
  text-align: center;
}

.hero-content {
  max-width: 720px;
  animation: fadeInUp 0.8s var(--transition-fast) forwards;
  opacity: 0;
  transform: translateY(12px);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* SECTION KITS */

.kits-section {
  padding: 3rem 1.5rem 4rem;
  max-width: 1120px;
  margin: 0 auto;
}

.kits-section h2 {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.kits-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 0.98rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.kit-card {
  position: relative;
  background: radial-gradient(circle at top left, #0b1120 0, #020617 55%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.kit-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.kit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, #020617 0, #020617 55%);
}

.kit-card:hover::before {
  opacity: 1;
}

.kit-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  margin-bottom: 0.9rem;
}

.kit-badge-alt {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.4);
}

.kit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.kit-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.kit-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.kit-card ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
}

.kit-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* GRID PRODUITS — 6 PAR LIGNE */
.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1600px;
  margin: auto;
}

/* RESPONSIVE */
@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* CARD PRODUIT — RECTANGLE VERTICAL PREMIUM */
.product-card {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem;
  width: 240px;
  min-height: 380px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative; /* pour le badge */
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* IMAGE — FORMAT RECTANGULAIRE */
.product-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* TITRE */
.product-card h3 {
  font-size: 1rem;
  margin-bottom: .4rem;
  color: #e2e8f0;
}

/* DESCRIPTION */
.product-card .desc {
  font-size: .85rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  min-height: 40px;
}

/* TAGS */
.tags {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1rem;
}

.tags span {
  background: #1e293b;
  padding: .3rem .6rem;
  border-radius: 6px;
  font-size: .75rem;
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.08);
}

/* BOUTON AMAZON */
.btn-amazon {
  background: #ff9900;
  color: #000;
  border: none;
  padding: .6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background .2s ease;
  width: 100%;
}

.btn-amazon:hover {
  background: #e68a00;
}

/* BADGE TOP CHOIX */
.badge-top {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #22c55e;
  color: #000;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* AFFILIATION NOTE */
.affiliation-note {
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 1rem;
}

/* --- BANNIÈRE SIMPLYBOOKME PREMIUM --- */

.simplybook-slider {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 40px auto;
  padding: 30px 20px;
  background: #0b1120;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  overflow: hidden;
}

.simplybook-slider h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 20px;
}

/* Piste continue */
.slider-track {
  display: inline-flex;
  align-items: center;
  gap: 0; /* important pour éviter les “trous” */
  animation: simplybook-marquee 45s linear infinite;
  white-space: nowrap;
}

.slider-track a {
  display: inline-block;
  padding: 0 20px; /* espace entre les bannières */
}

.slider-track img {
  max-height: 180px;
  width: auto;
  border-radius: 10px;
  opacity: 0.92;
  transition: opacity .2s ease, transform .2s ease;
}

.slider-track img:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* Défilement continu */
@keyframes simplybook-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ANIMATIONS */

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- BLOC PREMIUM : Nos meilleurs aspirateurs --- */

.best-products {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px 20px;
  background: #0b1120;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.best-products h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #e2e8f0;
  text-align: center;
}

/* Conteneur centré des cartes */
.best-products-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* --- CARTE PREMIUM --- */
.best-product-card {
  width: 280px;
  background: #0f172a;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.best-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

.best-product-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 12px;
}

.best-product-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.best-product-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 15px;
}

/* Bouton Amazon premium */
.best-product-card a {
  display: inline-block;
  background: #22c55e;
  color: #000;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease;
}

.best-product-card a:hover {
  background: #16a34a;
}

/* Badge TOP CHOIX */
.badge-reco {
  background: #22c55e;
  color: #000;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* --- FOOTER PREMIUM --- */

.site-footer {
  background: #0b1120;
  padding: 35px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 60px;
}

.site-footer p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.site-footer .footer-link {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
}

.site-footer .footer-link:hover {
  color: #16a34a;
}

/* --- SOCIAL ICONS PREMIUM --- */

.footer-socials {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.footer-socials a {
  color: #94a3b8;
  font-size: 1.45rem;
  transition: color .25s ease, transform .25s ease;
}

.footer-socials a:hover {
  color: #22c55e;
  transform: translateY(-4px);
}

/* RESPONSIVE GLOBAL */

/* TABLETTES & PETITS ÉCRANS */
@media (max-width: 768px) {

  /* HERO */
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  /* CARDS DE LA PAGE D'ACCUEIL */
  .cards-container {
    grid-template-columns: 1fr;
  }

  .kit-card {
    padding: 1.5rem 1.3rem 1.4rem;
  }

  /* PRODUITS — 2 PAR LIGNE SUR TABLETTE */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SMARTPHONES */
@media (max-width: 600px) {

  /* PRODUITS — 1 PAR LIGNE SUR MOBILE */
  .products-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
