
:root {
  --bg-main: #020617;
  --bg-alt: #020617;
  --bg-card: #0b1120;
  --accent: #22c55e;
  --accent-soft: rgba(34,197,94,0.15);
  --accent-strong: #22c55e;
  --accent-2: #38bdf8;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
main { padding-top: 80px; padding-bottom: 60px; }
section { padding: 40px 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: 0.04em; }
h2 { text-transform: uppercase; font-size: 1.8rem; margin-bottom: 0.75rem; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header p {
  max-width: 650px;
  margin: 0.5rem auto 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* HEADER / NAV */
header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  background: rgba(2,6,23,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}
.logo-text-top {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.logo-text-bottom {
  font-size: 0.9rem;
  font-weight: 700;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}
.nav-links a {
  position: relative;
  padding-bottom: 3px;
  color: var(--text-muted);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.18s ease-out;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text-main); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* HERO ACCUEIL */
.hero { padding: 40px 0 30px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 2rem;
  align-items: center;
}
.hero-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
}
.hero-title {
  font-size: clamp(2rem,3.4vw,2.6rem);
  margin-bottom: 0.7rem;
}
.hero-title span.em { color: var(--accent-strong); }
.hero-subtitle {
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.8);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #020617;
  font-weight: 600;
}
.btn-secondary {
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.9);
  color: var(--text-main);
}
.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero-card {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border-radius: 18px;
  padding: 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  font-size: 0.9rem;
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}
.badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.hero-card ul {
  margin-top: 0.4rem;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

/* CARTES / GRILLES */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1.3rem;
}
.card {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 1.1rem;
  font-size: 0.9rem;
}
.card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.card p { color: var(--text-muted); }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.pill {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* TABLES */
.table-wrapper {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
thead { background: #020617; }
th, td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #111827;
  text-align: left;
}
tbody tr:nth-child(even) { background: #020617; }

/* FORMULAIRE CONTACT */
.form-card {
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
  font-size: 0.9rem;
}
label {
  display: block;
  font-size: 0.83rem;
  margin-bottom: 0.2rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #020617;
  color: var(--text-main);
  font: inherit;
}
textarea { min-height: 100px; resize: vertical; }
.checkbox-row {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.checkbox-row input { margin-top: 2px; }
.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* HÉROS DE PAGES (SOUS-PAGES) */
.page-hero { padding: 40px 0 10px; }
.page-hero h1 {
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.3rem;
}
.page-hero p {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 0.95rem;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 0 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
footer .footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}
footer .brand { color: var(--text-main); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .cards-grid-3 { grid-template-columns: minmax(0,1fr); }
}
