/* ============================================================
   ZARONDI — feuille de style
   Thème : bleu nuit & or (élégant, moderne, lisible sur mobile)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0B1730;          /* fond principal (bleu nuit) */
  --bg-2: #12203F;        /* fond des cartes */
  --bg-3: #182A4F;        /* fond des blocs en relief */
  --ink: #F5F7FC;         /* texte principal (presque blanc) */
  --ink-2: #A9B4CE;       /* texte secondaire (gris bleuté) */
  --gold: #E9B94E;        /* or : boutons, titres, accents */
  --gold-dark: #0B1730;   /* texte foncé posé sur fond or */
  --border: rgba(233, 185, 78, 0.22);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ---------- En-tête / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 23, 48, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 2px;
  color: var(--ink);
}

.logo .logo-z {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--gold-dark);
  font-weight: 800;
  margin-right: 10px;
  vertical-align: middle;
}

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

.nav-links a {
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: var(--bg-3);
  text-decoration: none;
}

/* ---------- Bandeau transparence affiliation ---------- */

.affil-banner {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--ink-2);
  text-align: center;
  padding: 7px 12px;
}

/* ---------- Héros (page d'accueil) ---------- */

.hero {
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(233, 185, 78, 0.14), transparent),
    var(--bg);
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero h1 .gold { color: var(--gold); }

.hero p.lead {
  color: var(--ink-2);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 30px;
}

.hero-cards {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 38px auto 8px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 2rem;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.hero-card:nth-child(2) { transform: rotate(2deg) translateY(-8px); }
.hero-card:nth-child(3) { transform: rotate(-1deg); }
.hero-card:nth-child(4) { transform: rotate(3deg) translateY(-6px); }

.hero-card small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-2);
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-gold {
  background: var(--gold);
  color: var(--gold-dark);
}

.btn-gold:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 185, 78, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-ghost:hover { text-decoration: none; background: var(--bg-3); }

/* ---------- Sections ---------- */

.section { padding: 56px 0; }

.section h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.section .section-sub {
  color: var(--ink-2);
  margin-bottom: 32px;
}

.section h2 .gold { color: var(--gold); }

/* ---------- Grille de produits ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-visual {
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--ink-2);
}

.tag-shop { color: var(--gold); border: 1px solid var(--border); background: transparent; }

.product-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-body p {
  font-size: 0.88rem;
  color: var(--ink-2);
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}

.product-price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  white-space: nowrap;
}

.btn-product {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.affil-note {
  font-size: 0.78rem;
  color: var(--ink-2);
  margin-top: 26px;
  text-align: center;
}

/* ---------- Filtres par catégorie ---------- */

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.filter-btn:hover { background: var(--bg-3); }

.filter-btn.active {
  background: var(--gold);
  color: var(--gold-dark);
  border-color: var(--gold);
}

/* ---------- Points forts (accueil) ---------- */

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

.feature {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.feature .feature-icon { font-size: 1.8rem; margin-bottom: 10px; }

.feature h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }

.feature p { font-size: 0.88rem; color: var(--ink-2); }

/* ---------- Pages de contenu (À propos, Contact, Mentions) ---------- */

.page-content {
  max-width: 720px;
  padding: 48px 0 64px;
}

.page-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-content h1 .gold { color: var(--gold); }

.page-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 30px 0 10px;
  color: var(--gold);
}

.page-content p, .page-content li { color: var(--ink-2); margin-bottom: 12px; }

.page-content ul { padding-left: 22px; }

.page-content strong { color: var(--ink); }

.callout {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}

/* ---------- Formulaire de contact ---------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: -8px;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 34px 0 26px;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--gold); }

.footer-affil {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 0.78rem;
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .nav { justify-content: center; }
  .hero { padding: 48px 0 40px; }
  .hero-cards { gap: 12px; }
  .hero-card { padding: 14px 16px; font-size: 1.6rem; }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; }
}
