/* ═══════════════════════════════════════
   OpenPeace — style.css
   Charte : noir #1A1A2E · rose #FFBCD8 · rose vif #E91E8C
═══════════════════════════════════════ */

:root {
  --rose:       #FFBCD8;
  --rose-dark:  #E91E8C;
  --rose-pale:  #FFF0F7;
  --rose-bord:  #F48FB1;
  --noir:       #1A1A2E;
  --gris:       #4A4A6A;
  --gris-light: #9898b0;
  --fond:       #F8F9FC;
  --blanc:      #ffffff;
  --shadow:     0 2px 16px rgba(26,26,46,0.10);
  --radius:     12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Calibri, 'Helvetica Neue', sans-serif;
  background: var(--fond);
  color: var(--noir);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.6;
}

/* ── HEADER ── */
.site-header {
  background: var(--noir);
  border-bottom: 3px solid var(--rose);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blanc);
  letter-spacing: 0.02em;
}

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

.site-nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  transition: background 0.15s, color 0.15s;
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--noir);
  background: var(--rose);
  border-color: var(--rose);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rose);
  color: var(--rose);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  margin-left: auto;
}

/* ── MAIN ── */
main { flex: 1; }

/* ── FOOTER ── */
.site-footer {
  background: var(--noir);
  border-top: 2px solid var(--rose);
  padding: 1.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-credit {
  color: #ccc;
  font-size: 0.82rem;
}

.footer-credit a {
  color: var(--rose);
  text-decoration: none;
}

.footer-legal {
  color: var(--gris-light);
  font-size: 0.72rem;
  line-height: 1.6;
}

.footer-legal a {
  color: var(--gris-light);
  text-decoration: underline;
}

/* ── UTILITAIRES ── */
.card {
  background: var(--blanc);
  border-radius: var(--radius);
  border: 1.5px solid #e8e8f0;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(233,30,140,0.25); }

.btn-primary {
  background: var(--rose-dark);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--rose-dark);
  border: 2px solid var(--rose-dark);
}

.section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gris);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 0.75rem;
  border-left: 4px solid var(--rose);
  margin-bottom: 1.25rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--noir); padding: 1rem; border-bottom: 2px solid var(--rose); }
  .nav-toggle { display: block; }
}
