@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg:       #06080f;
  --bg2:      #0b0f1a;
  --card:     #0f1520;
  --border:   #1c2a40;
  --accent:   #2d8fff;
  --accent2:  #0affef;
  --text:     #dce8ff;
  --muted:    #4d6484;
  --font-h:   'Rajdhani', sans-serif;
  --font-b:   'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── HEADER ─────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 64px;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}

header.scrolled {
  box-shadow: 0 2px 30px rgba(45, 143, 255, 0.08);
}

.logo {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

.logo span { color: var(--accent); }

nav { display: flex; gap: 32px; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-nav:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── HERO ─────────────────────────────────*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,143,255,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.btn-secondary:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ─── STATS BAND ───────────────────────────*/
.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.stat {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-h);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* ─── OFFRES ───────────────────────────────*/
#offres {
  padding: 100px 60px;
  text-align: center;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 56px;
}

.cartes {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.carte {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.carte:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(45, 143, 255, 0.12);
}

.icone { font-size: 30px; }

.carte h3 {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.carte > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}

.prix {
  font-family: var(--font-h);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.prix span { font-size: 13px; color: var(--muted); font-family: var(--font-b); font-weight: 400; }

.btn-carte {
  display: block;
  text-align: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.carte:hover .btn-carte {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── SERVICES ─────────────────────────────*/
#services {
  padding: 100px 60px;
  background: var(--bg2);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: left;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: var(--accent); }

.service-icon {
  font-size: 26px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ─── CONTACT ──────────────────────────────*/
#contact {
  padding: 100px 60px;
  text-align: center;
}

.formulaire {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.formulaire label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.formulaire input,
.formulaire textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-b);
  outline: none;
  transition: border-color 0.2s;
}

.formulaire input:focus,
.formulaire textarea:focus { border-color: var(--accent); }

.formulaire textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--font-b);
}

.btn-submit:hover { opacity: 0.85; }

/* ─── LEGAL PAGES ──────────────────────────*/
.legal-page {
  padding: 100px 20px 60px;
  min-height: 100vh;
}

.legal-inner {
  max-width: 780px;
  margin: 0 auto;
}

.legal-inner h1 {
  font-family: var(--font-h);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 32px;
}

.legal-toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 40px;
  display: block;
}

.legal-toc-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.legal-toc ol { padding-left: 20px; }
.legal-toc li { margin-bottom: 6px; font-size: 14px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--text); }

.legal-inner h2 {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.5px;
}

.legal-inner p { font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.legal-inner ul { padding-left: 20px; margin-bottom: 14px; }
.legal-inner li { font-size: 14px; color: var(--muted); margin-bottom: 6px; line-height: 1.7; }
.legal-inner a { color: var(--accent); }
.legal-inner strong { color: var(--text); }
.legal-credit { font-size: 12px; color: var(--border); margin-top: 40px; }

/* ─── FOOTER ───────────────────────────────*/
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 60px 24px;
}

.footer-content {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-col .logo { font-size: 18px; margin-bottom: 4px; }

.footer-col p { color: var(--muted); font-size: 13px; max-width: 200px; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-col a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bas {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* ─── RESPONSIVE ───────────────────────────*/
@media (max-width: 768px) {
  header { padding: 0 20px; }
  nav { display: none; }
  #offres, #services, #contact, footer { padding: 60px 20px; }
  .stats { flex-wrap: wrap; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); min-width: 50%; }
  .footer-content { gap: 32px; }
}
