/* ============================================================
   Nexus-One — Base CSS
   Palette de référence, reset, typographie
   Chargé en premier sur toutes les pages, après fonts.css
   ============================================================ */

/* ── Variables — palette unifiée ── */
:root {
  --navy:   #1B3A6B;   /* navy principal */
  --navy-d: #122850;   /* navy foncé (hover) */
  --green:  #3DC88A;   /* accent vert */
  --green-d:#2DAF74;   /* vert foncé (hover) */
  --text:   #111827;   /* corps de texte */
  --muted:  #4B5E80;   /* texte secondaire */
  --light:  #F3F6FB;   /* fond clair */
  --mid:    #E8EEF8;   /* bordures, séparateurs */
  --white:  #FFFFFF;
  --radius: 10px;
}

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

/* ── Base typographique ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Manrope', sans-serif;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 72px 2rem 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo-img {
  width: 36px; height: 36px;
  object-fit: contain;
  opacity: 0.9;
}

.footer-logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: rgba(255,255,255,0.9);
}

.footer-logo-text em {
  color: var(--green);
  font-style: normal;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 240px;
}

.footer-editor {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-editor a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-editor a:hover { color: var(--green); }

.footer-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--green); }

.footer-address {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin-top: 14px;
}

.footer-contact-link {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-contact-link:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 2rem;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ── Responsive footer ── */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 1.5rem 32px;
  }
  .footer-brand { grid-column: span 2; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

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