/* base-template.css – socle commun léger pour tous les templates */
:root {
  --container: 1180px;
  --radius: 22px;
  /* Couleurs par défaut (seront souvent surchargées par chaque template) */
  --bg: #ffffff;
  --text: #0f172a;
  --text-light: #5b6472;
  --border: #e8edf3;
  --primary: #193d71;
  --accent: #00a9cc;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* NAVBAR (identique à votre site) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.logo span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--text-light);
  transition: 0.2s ease;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--primary);
  color: white !important;
  font-weight: 700;
  transition: 0.2s ease;
}
.nav-cta:hover {
  background: var(--primary-light, #2b5ea8);
}
.mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  cursor: pointer;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  background: white;
  padding: 40px 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-content p {
  color: var(--text-light);
}

/* MOBILE (navbar responsive) */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 30px;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-btn {
    display: block;
  }
  .nav-cta {
    width: 100%;
    text-align: center;
  }
}
