/* ═══════════ RESET & VARIABLES ═══════════ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #0dc2a5;
  --accent-light: #0ae3c0;
  --bg-dark: #0f2622;
  --bg-card-1: #2d5a52;
  --bg-card-2: #1e3f39;
  --bg-secondary: #436a64;
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-faint: rgba(255, 255, 255, 0.4);
  --border-accent: rgba(13, 194, 165, 0.25);
  --radius: 16px;
  --max-width: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(160deg, #0f2622 0%, #16332e 50%, #0f2622 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 90px 0; }

.kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }

h1 { font-size: 48px; }
h2 { font-size: 34px; margin-bottom: 16px; }
h3 { font-size: 20px; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header p { color: var(--text-muted); font-size: 16px; }

.text-center { text-align: center; }

/* ═══════════ BOUTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 194, 165, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block { width: 100%; }

/* ═══════════ CARDS GÉNÉRIQUES ═══════════ */
.card {
  background: linear-gradient(145deg, var(--bg-card-1), var(--bg-card-2));
  border: 2px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 194, 165, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(13, 194, 165, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 38, 34, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}
.navbar-logo { width: 32px; height: 32px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--text-light); }

.navbar-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
}
.navbar-cta:hover { background: var(--accent-light); }

.navbar-lang {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 4px;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-faint);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-btn.active { background: var(--accent); color: #fff; }

.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.navbar-burger span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.25s ease;
}
.navbar-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-burger.open span:nth-child(2) { opacity: 0; }
.navbar-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .navbar-burger { display: flex; }
  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #0f2622;
    padding: 20px 24px 28px;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .navbar-links.open { max-height: 400px; }
  .navbar-cta { width: 100%; text-align: center; }
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: #0a1a17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 0;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 280px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.footer-logo { width: 28px; height: 28px; }

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 24px;
  text-align: center;
}
.footer-bottom p { color: var(--text-faint); font-size: 13px; }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ═══════════ UTILITAIRES RESPONSIVE ═══════════ */
@media (max-width: 760px) {
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  section { padding: 60px 0; }
}
