@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,800;1,400&display=swap');

/* ── Playfair Display pour tous les titres de page ── */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
}
/* Exceptions : conserver Grandstander pour la marque et la sidebar admin */
.brand-name {
  font-family: "Grandstander", cursive !important;
}
.sidebar-header h1 {
  font-family: "Grandstander", cursive !important;
}

:root {
  --blue: #063a5b;
  --blue-dark: #021b30;
  --blue-soft: #0f456f;
  --gold: #f2b544;
  --gold-soft: #f7cf76;
  --cream: #fdf7f0;
  --white: #ffffff;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --green: #16a34a;
  --orange: #ea580c;
  --red: #dc2626;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-soft: 0 10px 40px rgba(0,0,0,0.1);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Header */
header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  padding: 14px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(2,27,48,0.98), rgba(6,58,91,0.96));
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  transition: all var(--transition);
}

header.scrolled {
  padding: 10px 5vw;
  background: rgba(2,27,48,0.99);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

/* Icônes réseaux sociaux dans le header */
.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: white;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.nav-social a:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .nav-social { display: none; }
}

.brand-name {
  font-family: "Grandstander", cursive;
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.3px;
}

.brand-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-nav {
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(242,181,68,0.4);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(242,181,68,0.5);
}

/* Footer Pro */
.footer-pro {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  padding: 60px 5vw 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-section h3 {
  font-family: "Grandstander", cursive;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-section p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.footer-section h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-section a {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  nav .nav-links {
    display: none;
  }
}
