@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@300;400;500;600&display=swap');

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

:root {
  --bg:       #010e24;
  --bg2:      #011530;
  --bg3:      #011d3e;
  --card:     #011b3a;
  --accent:   #0150BE;
  --accent2:  #8E9AFA;
  --rose:     #C791AE;
  --text:     #eef2ff;
  --muted:    #7a8ab0;
  --border:   rgba(142,154,250,0.12);
  --border-a: rgba(142,154,250,0.3);
  --r:        14px;
  --nav-h:    68px;
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body:  'Manrope', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(1,14,36,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.logo {
  font-family: var(--font-title);
  font-weight: 800; font-size: 1.25rem;
  letter-spacing: -0.02em; color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent2); }

nav ul { display: flex; gap: 1.8rem; list-style: none; }
nav a {
  color: var(--muted); text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px; background: var(--accent2);
  transition: right 0.25s ease;
}
nav a:hover { color: var(--text); }
nav a:hover::after, nav a.active::after { right: 0; }
nav a.active { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.45rem 1.2rem;
  border-radius: 8px;
  font-size: 0.82rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.85; }

/* HAMBURGER MOBILE */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 4px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}
.nav-menu { display: flex; }

@media(max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(1,14,36,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: center;
    padding: 2rem; gap: 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  nav ul { flex-direction: column; align-items: center; gap: 1.5rem; }
}

/* Tout visible par defaut */

/* SECTION */
section { padding: 5.5rem 3rem; }
.container { max-width: 1100px; margin: 0 auto; }

@media(max-width: 768px) {
  section { padding: 4rem 1.5rem; }
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 600;
  color: var(--accent2); letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent2);
}
h2.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted); font-size: 1rem;
  max-width: 480px; margin-bottom: 3rem;
  font-weight: 300; line-height: 1.8;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 28px rgba(1,80,190,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(1,80,190,0.6); }
.btn-outline { border: 1px solid var(--border-a); color: var(--text); }
.btn-outline:hover { border-color: var(--accent2); background: rgba(142,154,250,0.08); }

/* CARDS */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.8rem;
  transition: border-color 0.25s, transform 0.25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0; transition: opacity 0.25s;
}
.card:hover { border-color: var(--border-a); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

/* PAGE HERO */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 3rem 5rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(142,154,250,0.08), transparent 65%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 1rem;
}
.page-hero p {
  color: var(--muted); font-size: 1.05rem;
  max-width: 520px; font-weight: 300;
}

@media(max-width: 768px) {
  .page-hero { padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem; }
}

/* FOOTER */
footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand p {
  color: var(--muted); font-size: 0.85rem;
  margin-top: 0.6rem; max-width: 260px;
  font-weight: 300; line-height: 1.7;
}
.footer-links-group h4 {
  font-family: var(--font-title);
  font-size: 0.78rem; font-weight: 700;
  color: var(--accent2); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group a {
  color: var(--muted); text-decoration: none;
  font-size: 0.875rem; transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--muted); font-size: 0.8rem; }
.footer-bottom a { color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }

@media(max-width: 768px) {
  footer { padding: 2.5rem 1.5rem; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
