* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #020617;
  --bg-alt: #030712;
  --card: #020617;
  --border: rgba(148, 163, 184, 0.35);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #22c55e;
  --accent-soft: #22c55e22;
  --accent-strong: #16a34a;
  --danger: #ef4444;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #22c55e08, #020617);
  color: var(--text);
  line-height: 1.6;
}

/* Layout de base */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.75), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1rem;
}
.nav-link {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.15s;
}
.nav-link:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.5);
}
.nav-link.active {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text);
}

/* Hero */
.hero {
  padding: 3rem 0 2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.hero .highlight {
  color: var(--accent);
}

.lead {
  font-size: 1.02rem;
  color: #d1d5db;
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.badge {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: radial-gradient(circle at top left, #22c55e11, #020617);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.btn-primary,
.btn-secondary {
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary {
  background: radial-gradient(circle at top left, #22c55e, #16a34a);
  color: #020617;
  border: none;
  box-shadow: 0 18px 35px rgba(34, 197, 94, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.6);
}
.btn-primary:hover {
  filter: brightness(1.03);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.trust {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Cards */
.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: radial-gradient(circle at top left, var(--accent-soft), #020617);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.pill {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}
.list {
  list-style: none;
  font-size: 0.95rem;
}
.list li + li {
  margin-top: 0.35rem;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}
.section-alt {
  background: radial-gradient(circle at top right, #22c55e08, #020617);
}
.section-header {
  margin-bottom: 1.5rem;
}
.section-header h2 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}
.section-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.article-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #020617, #020617);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.65);
}
.article-card.placeholder {
  border-style: dashed;
  opacity: 0.8;
}
.article-tag {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.article-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.article-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.article-card h3 a:hover {
  color: var(--accent);
}
.article-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.article-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Newsletter */
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.newsletter-form input[type="email"] {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  color: var(--text);
  min-width: 220px;
}
.newsletter-form input::placeholder {
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.8rem 0 2.2rem;
  background: radial-gradient(circle at bottom, #22c55e08, #020617);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0.9rem;
}
.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .hero {
    padding-top: 2.4rem;
  }
  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* (Optionnel) Spécifique pour les cartes type “pack” si tu en ajoutes d’autres plus tard */
.card-pack {
  border-color: rgba(34, 197, 94, 0.6);
}
