/* ---- Reset simple ---- */
* { box-sizing: border-box; }
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto;
}
a { color: #7a1fa2; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---- Bandeau parodie ---- */
.banniere-parodie {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}
.banniere-parodie a { color: #ffd166; }

/* ---- Header ---- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.25rem;
  color: #1a1a1a;
  font-weight: 600;
}
.logo strong { color: #7a1fa2; }
.tld { color: #999; font-weight: 400; }

.nav {
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: #1a1a1a;
  font-size: 0.95rem;
}

/* Menu burger CSS pur (checkbox hack) - masqué en desktop */
.menu-toggle-checkbox { display: none; }
.menu-toggle-label {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.menu-toggle-label span {
  width: 24px;
  height: 2px;
  background: #1a1a1a;
}

@media (max-width: 720px) {
  .menu-toggle-label { display: flex; }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .menu-toggle-checkbox:checked ~ .nav {
    display: flex;
  }
}

/* ---- Hero ---- */
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 2rem;
}
.cta {
  display: inline-block;
  background: #7a1fa2;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
}
.cta:hover { background: #611a80; text-decoration: none; }

/* ---- Stats preview ---- */
.stats-preview {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.stat-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.5rem;
}
.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #7a1fa2;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: #555;
}

/* ---- Disclaimer ---- */
.disclaimer-box {
  max-width: 800px;
  margin: 2rem auto 4rem;
  padding: 1.5rem;
  background: #fff3cd;
  border: 1px solid #ffe69c;
  border-radius: 10px;
}
.disclaimer-box h2 { margin-top: 0; }

/* ---- Pages génériques ---- */
.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.page h1 { font-size: 1.9rem; }
.content h2 { margin-top: 2rem; }
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.content th, .content td {
  border: 1px solid #e5e5e5;
  padding: 0.6rem;
  text-align: left;
}
.content th { background: #f5f5f5; }

/* ---- Cartes catalogue ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}
.card {
  display: block;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.2rem;
  color: #1a1a1a;
}
.card:hover { border-color: #7a1fa2; text-decoration: none; }
.card h3 { margin: 0 0 0.4rem; }
.card__prix {
  display: inline-block;
  background: #f3e5f9;
  color: #7a1fa2;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.9rem;
  color: #555;
  margin: 0.4rem 0 0;
}

/* ---- Footer ---- */
.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}
.site-footer .small { font-size: 0.8rem; }
