/* ===== Design tokens — identiques à liguera.com ===== */
:root {
  --color-bg: #0b1220;
  --color-bg-alt: #0f1a2e;
  --color-surface: #ffffff;
  --color-surface-alt: #f5f7fb;
  --color-text: #16213a;
  --color-text-muted: #5a6478;
  --color-border: #e3e7f0;

  --color-primary: #0e6ba8;
  --color-primary-dark: #0a4f80;
  --color-accent: #16c79a;

  --color-danger: #e2564d;
  --color-warning: #e0a422;

  --color-dark-text: #eef2ff;
  --color-dark-muted: #a6b3cc;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(15, 26, 46, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 26, 46, 0.1);
  --shadow-lg: 0 20px 50px rgba(10, 20, 40, 0.35);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

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

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--color-accent);
  color: #06281f;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(22, 199, 154, 0.35); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-dark-text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-nav {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
}
.btn-nav:hover { background: var(--color-primary-dark); transform: none; }

.btn-block { width: 100%; }

/* ===== Barre d'annonce ===== */
.announcement-bar {
  background: var(--color-primary-dark);
  color: #d9ecff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
}

/* ===== En-tête ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--color-dark-text); }
.logo-mark { color: var(--color-accent); display: flex; }
.logo-text { font-weight: 800; font-size: 1.3rem; color: var(--color-dark-text); }
.logo-text span { color: var(--color-accent); }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) {
  color: var(--color-dark-muted);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.15s ease;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.main-nav a:not(.btn):hover { color: var(--color-dark-text); }
.main-nav a.is-active { color: var(--color-dark-text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--color-dark-text); border-radius: 2px; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--color-surface-alt); }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head .eyebrow { color: var(--color-primary); }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 16px; }
.section-lead { color: var(--color-text-muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

/* ===== Pied de page ===== */
.site-footer { background: var(--color-bg); color: var(--color-dark-muted); padding: 50px 0 30px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 30px;
}
.footer-brand p { margin-top: 8px; font-size: 0.88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-size: 0.9rem; font-weight: 600; }
.footer-nav a:hover { color: var(--color-dark-text); }
.footer-copy { text-align: center; padding-top: 22px; font-size: 0.82rem; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px 26px;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
