:root {
  /* Charte graphique PAALF 2024 */
  --primary: #273375;   /* Bleu PAALF */
  --accent: #e30613;    /* Rouge PAALF */
  --background: #ffffff;
  --text: #1f2933;
  --muted: #6b7280;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.2rem;
}

/* Titres */

h1 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

h2 {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 1.6rem;
  margin-bottom: 0.5rem;
}

/* Liens */

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Header commun */

.header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tagline {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Navigation ancrée (mentions / politique) */

nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

nav ul li {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

/* Sections */

section {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Boutons type Linktree */

.links {
  display: grid;
  gap: 0.9rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  background: #fff;
  padding: 1rem;
  border-radius: var(--radius);

  font-weight: 600;
  text-decoration: none;
  color: var(--primary);

  border: 1px solid rgba(39, 51, 117, 0.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-card i {
  color: var(--accent);
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* Partenaires */

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.partner-logos img {
  max-height: 40px;
  opacity: 0.85;
}

/* Footer */

footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  text-align: center;
  color: var(--muted);
}

/* Responsive */

@media (max-width: 700px) {
  nav ul li {
    display: block;
  }

  h1 {
    font-size: 1.5rem;
  }

}

/* ===============================
   Page d'accueil (Linktree PAALF)
   =============================== */

body.home .intro {
  text-align: center;
}

body.home .partners {
  text-align: center;
}

body.home .partners h2 {
  text-align: center;
}