/* ───────────────────────────────────────────────────────────────
   SLA Valloire — base.css : design system PARTAGÉ des pages statiques.
   Tokens, navbar, footer, boutons, layout commun, page-hero + responsive
   commun. Importé AVANT la feuille spécifique de chaque page.
   ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --sla-pink: #D4226E;
  --sla-pink-light: #F5C0D8;
  --sla-blue: #5B8FA8;
  --sla-blue-dark: #2D5F78;
  --sla-yellow: #F5C400;
  --sla-gray: #F2F4F6;
  --sla-dark: #1A2535;
}
body { font-family: 'Nunito', sans-serif; background: #F5F7FA; color: var(--sla-dark); display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; }

/* ── NAVBAR ── */
.navbar {
  background: var(--sla-dark); padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; position: sticky; top: 0; z-index: 200;
}
.navbar-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.brand-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 20px; color: white; letter-spacing: 0.5px; line-height: 1.1; }
.brand-sub { font-size: 11px; color: var(--sla-pink-light); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; color: rgba(255,255,255,0.7); transition: all 0.18s;
  border: none; background: none; font-family: 'Nunito', sans-serif; text-decoration: none;
  display: inline-block;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.nav-link.active { color: white; background: var(--sla-pink); }
.nav-link.gold { color: var(--sla-yellow); }
.nav-link.gold:hover { background: rgba(245,196,0,0.12); }
.nav-sep { width: 1px; height: 24px; background: rgba(255,255,255,0.15); margin: 0 6px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; color: white; font-size: 22px; line-height: 1; padding: 4px 8px; align-items: center; }
.nav-burger::before { content: "\2630"; }
.navbar.open .nav-burger::before { content: "\2715"; }
/* Menu déroulant de navigation (sans JS : ouverture au survol / focus) */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; color: rgba(255,255,255,0.7); transition: all 0.18s;
  border: none; background: none; font-family: 'Nunito', sans-serif;
  display: flex; align-items: center; gap: 6px;
}
.nav-dropdown:hover .nav-dropdown-btn,
.nav-dropdown:focus-within .nav-dropdown-btn { color: white; background: rgba(255,255,255,0.08); }
.nav-dropdown-btn .chevron { font-size: 10px; transition: transform 0.2s; }
.nav-dropdown:hover .chevron, .nav-dropdown:focus-within .chevron { transform: rotate(180deg); }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #243040; border-radius: 10px; min-width: 200px; padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 300;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-item {
  display: block; width: 100%; padding: 9px 14px; border-radius: 7px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  color: rgba(255,255,255,0.75); background: none; border: none;
  text-align: left; transition: all 0.15s; font-family: 'Nunito', sans-serif;
  text-decoration: none;
}
.dropdown-item:hover { background: rgba(255,255,255,0.08); color: white; }
.dropdown-item.active { background: var(--sla-pink); color: white; }

/* ── FOOTER ── */
footer {
  background: var(--sla-dark); color: rgba(255,255,255,0.6);
  padding: 2.5rem 3rem; margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 18px; color: white; line-height: 1.1; }
.footer-brand-sub { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all 0.18s; font-family: 'Nunito', sans-serif;
}
.social-btn:hover { border-color: rgba(255,255,255,0.4); color: white; background: rgba(255,255,255,0.06); }
.social-btn svg { flex-shrink: 0; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.25rem; margin-top: 0.5rem; }
.footer-cta { width: 100%; text-align: center; }
.footer-cta a { display: inline-block; background: var(--sla-pink); color: white; padding: 11px 26px; border-radius: 8px; font-weight: 700; font-size: 14px; text-decoration: none; transition: background 0.18s; }
.footer-cta a:hover { background: #b8195c; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--sla-pink); color: white; border: none;
  padding: 13px 28px; border-radius: 8px; font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: all 0.18s; text-decoration: none;
}
.btn-primary:hover { background: #b8195c; transform: translateY(-1px); }
.btn-outline-dark {
  display: inline-block; background: transparent; color: var(--sla-dark);
  border: 1.5px solid var(--sla-dark); padding: 13px 28px; border-radius: 8px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all 0.18s; text-decoration: none;
}
.btn-outline-dark:hover { background: var(--sla-dark); color: white; }
.btn-outline {
  display: inline-block; background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.35); padding: 13px 28px; border-radius: 8px;
  font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all 0.18s; text-decoration: none;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ── SHARED LAYOUT ── */
.section { padding: 4rem 3rem; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 38px; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--sla-dark); }
.section-title span { color: var(--sla-pink); }
.section-lead { font-size: 16px; color: #666; max-width: 820px; line-height: 1.75; margin-bottom: 2rem; }
.page-hero { padding: 4rem 3rem; color: white; }
.page-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 56px; text-transform: uppercase; line-height: 1; margin-bottom: 0.75rem; }
.page-hero h1 span { color: var(--sla-yellow); }
.page-hero p { font-size: 17px; opacity: 0.85; max-width: 760px; line-height: 1.7; }

/* ── RESPONSIVE COMMUN (navbar, sections, footer) ── */
@media (max-width: 860px) {
  .navbar { padding: 0 1rem; }
  .nav-burger { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--sla-dark); padding: 8px; gap: 2px; box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
  .navbar.open .nav-links { display: flex; }
  .nav-sep { display: none; }
  .nav-link { width: 100%; text-align: left; }
  .section, .page-hero { padding: 2.5rem 1.25rem; }
  footer { padding: 2rem 1.25rem; justify-content: center; text-align: center; }
  /* menu déroulant : sous-liens affichés en ligne (pas de survol sur mobile) */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-btn { width: 100%; justify-content: flex-start; }
  .dropdown-menu { display: block; position: static; background: none; box-shadow: none; padding: 0 0 4px 14px; min-width: 0; }
}
