/* Reset simple */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f9fbff;
  background: radial-gradient(circle at top left, #173bff 0, #050b1a 55%, #020412 100%);
  line-height: 1.5;
}

/* Layout de base */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to right, rgba(5, 12, 36, 0.95), rgba(5, 12, 36, 0.75));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo img {
  height: 56px;
  display: block;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: #e1e9ff;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4fc3ff, #ffd262);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
  align-items: stretch;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(15, 118, 250, 0.25), rgba(59, 130, 246, 0.55));
  border: 1px solid rgba(191, 219, 254, 0.4);
  color: #e0f2fe;
  margin-bottom: 1.6rem;
}

/* Texte hero */
.hero h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-lead {
  max-width: 42rem;
  color: #dbe4ff;
  font-size: 1.02rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-note {
  font-size: 0.9rem;
  color: #c7d2fe;
  max-width: 36rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #4f46e5);
  color: white;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.75);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  color: #e0e7ff;
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.85);
}

/* Panneau stats */
.hero-panel {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
              linear-gradient(to bottom right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
  border-radius: 1.4rem;
  padding: 1.7rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.95);
}

.hero-panel h2 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.hero-panel-text {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 1.3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
              rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.8rem;
  color: #cbd5f5;
}

/* Sections génériques */
.section {
  padding: 3rem 0 3.25rem;
}

.section h2,
.section h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  color: #c7d2fe;
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

/* Cartes */
.info-card {
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.9);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.info-card-sub {
  font-size: 0.85rem;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
}

.info-card p,
.info-card li {
  font-size: 0.92rem;
  color: #e5e7f9;
}

.info-card ul {
  list-style: disc;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.contact-infos {
  list-style: none;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.96rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  font-size: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.6rem 0.7rem;
  color: #e5e7f9;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.6);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.4rem 0 1.8rem;
  margin-top: 1rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.92));
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3e6;
}

.footer-meta {
  margin-top: 0.18rem;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
    margin-bottom: 2rem;
  }

  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .main-nav {
    gap: 1rem;
  }
}
