/* ============================================
   FCPE César Lemaître - Vernon
   Design inspiré du site FCPE de l'Eure (27.fcpe.asso.fr)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&family=Roboto+Slab:wght@500;700&display=swap');

:root {
  /* Couleurs officielles FCPE */
  --bleu-fcpe: #003d7e;
  --bleu-fcpe-fonce: #002a59;
  --bleu-fcpe-clair: #1e5bab;
  --rouge-fcpe: #e30613;
  --rouge-fcpe-fonce: #b30410;

  /* Couleurs neutres */
  --gris-tres-clair: #f5f7fa;
  --gris-clair: #e6ebf0;
  --gris-bordure: #d4dce4;
  --gris-texte: #5a6c7d;
  --texte: #1a2533;
  --blanc: #ffffff;

  /* Accents */
  --jaune: #f9b233;
  --vert: #5ba43a;

  /* Ombres */
  --ombre-douce: 0 2px 8px rgba(0, 61, 126, 0.06);
  --ombre-moy: 0 4px 16px rgba(0, 61, 126, 0.10);
  --ombre-forte: 0 8px 28px rgba(0, 61, 126, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bleu-fcpe); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--rouge-fcpe); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', 'Open Sans', serif;
  color: var(--bleu-fcpe);
  line-height: 1.25;
}

/* ===== BARRE UTILITAIRE (top bar) ===== */
.topbar {
  background: var(--bleu-fcpe-fonce);
  color: white;
  font-size: 0.85rem;
}

.topbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-location {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.topbar-location::before {
  content: '📍 ';
  margin-right: 0.25rem;
}

.topbar-menu {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.topbar-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.topbar-menu a:hover {
  color: white;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-social {
  display: flex;
  gap: 0.5rem;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.topbar-social a:hover {
  background: var(--rouge-fcpe);
}

.topbar-adherent {
  background: var(--rouge-fcpe);
  color: white !important;
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}

.topbar-adherent:hover {
  background: var(--rouge-fcpe-fonce);
  color: white !important;
}

/* ===== EN-TÊTE PRINCIPAL ===== */
.header {
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-bordure);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--ombre-douce);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand img {
  height: 100px;
}

.brand-text h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  color: var(--bleu-fcpe);
  font-weight: 700;
  margin-bottom: 0.15rem;
  line-height: 1.1;
}

.brand-text .location {
  background: var(--rouge-fcpe);
  color: white;
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-text p {
  font-size: 0.85rem;
  color: var(--gris-texte);
  margin-top: 0.25rem;
}

.nav-toggle {
  display: none;
  background: var(--bleu-fcpe);
  border: none;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 3px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
}

/* ===== NAVIGATION PRINCIPALE ===== */
.nav {
  background: var(--bleu-fcpe);
  border-bottom: 4px solid var(--rouge-fcpe);
  position: sticky;
  top: 133px;
  z-index: 99;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: stretch;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: block;
  padding: 1rem 1.2rem;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: background 0.2s ease;
}

.nav-item > a:hover,
.nav-item > a.actif,
.nav-item:hover > a {
  background: var(--bleu-fcpe-fonce);
  color: white;
}

.nav-item.actif > a {
  background: var(--bleu-fcpe-fonce);
}

.nav-item.actif > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: white;
}

/* Sous-menu déroulant */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: var(--ombre-forte);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  border-top: 4px solid var(--rouge-fcpe);
  margin-top: 4px;
  z-index: 100;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 0.85rem 1.2rem;
  color: var(--texte);
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gris-clair);
  text-transform: none;
  letter-spacing: 0;
}

.nav-submenu a:hover {
  background: var(--gris-tres-clair);
  color: var(--rouge-fcpe);
  padding-left: 1.5rem;
}

.nav-submenu li:last-child a { border-bottom: none; }

/* ===== HERO (bandeau d'accueil) ===== */
.hero {
  background: linear-gradient(135deg, var(--bleu-fcpe) 0%, var(--bleu-fcpe-clair) 100%);
  color: white;
  padding: 3.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: var(--rouge-fcpe);
  border-radius: 50%;
  opacity: 0.08;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content h2 {
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-cta {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--ombre-forte);
  color: var(--texte);
  border-left: 5px solid var(--rouge-fcpe);
}

.hero-cta h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--bleu-fcpe);
}

.hero-cta p {
  font-size: 0.95rem;
  color: var(--gris-texte);
  margin-bottom: 1rem;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primaire {
  background: var(--rouge-fcpe);
  color: white;
}

.btn-primaire:hover {
  background: var(--rouge-fcpe-fonce);
  color: white;
  transform: translateY(-1px);
}

.btn-secondaire {
  background: white;
  color: var(--bleu-fcpe);
  border: 2px solid white;
}

.btn-secondaire:hover {
  background: transparent;
  color: white;
  border-color: white;
}

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

.btn-outline:hover {
  background: var(--bleu-fcpe);
  color: white;
}

/* ===== SECTIONS DE LA PAGE D'ACCUEIL ===== */
.section-bandeau {
  background: var(--gris-tres-clair);
  padding: 3rem 1.5rem;
}

.section-blanc {
  background: white;
  padding: 3rem 1.5rem;
}

.section-bleu {
  background: var(--bleu-fcpe);
  color: white;
  padding: 3rem 1.5rem;
}

.section-bleu h2,
.section-bleu h3 { color: white; }

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-titre {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-titre::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--rouge-fcpe);
}

.section-soustitre {
  color: var(--gris-texte);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ===== CONTENU PRINCIPAL ===== */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.page-titre-section {
  background: linear-gradient(135deg, var(--bleu-fcpe) 0%, var(--bleu-fcpe-clair) 100%);
  color: white;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.page-titre-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: var(--rouge-fcpe);
  opacity: 0.15;
  transform: skewX(-15deg) translateX(50px);
}

.page-titre-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-titre {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.fil-ariane {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.fil-ariane a {
  color: white;
  text-decoration: underline;
}

.fil-ariane a:hover {
  color: rgba(255,255,255,0.7);
}

.page-soustitre {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
}

/* ===== SECTIONS DE CONTENU ===== */
.section {
  margin-bottom: 2.5rem;
}

.section h3 {
  color: var(--bleu-fcpe);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gris-clair);
  position: relative;
}

.section h3::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--rouge-fcpe);
}

.section h4 {
  color: var(--bleu-fcpe-clair);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
}

.section p {
  margin-bottom: 1rem;
}

.section ul, .section ol {
  margin: 1rem 0 1rem 1.5rem;
}

.section li {
  margin-bottom: 0.5rem;
}

/* ===== CARTES D'ACTUALITÉS / FONCTIONNALITÉS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--ombre-douce);
  transition: all 0.25s ease;
  border-top: 4px solid var(--bleu-fcpe);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-moy);
}

.card-rouge { border-top-color: var(--rouge-fcpe); }
.card-jaune { border-top-color: var(--jaune); }
.card-vert { border-top-color: var(--vert); }

.card-image {
  background: linear-gradient(135deg, var(--bleu-fcpe) 0%, var(--bleu-fcpe-clair) 100%);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.card-image.rouge {
  background: linear-gradient(135deg, var(--rouge-fcpe) 0%, #ff4757 100%);
}

.card-image.jaune {
  background: linear-gradient(135deg, var(--jaune) 0%, #ffc568 100%);
}

.card-image.vert {
  background: linear-gradient(135deg, var(--vert) 0%, #7bbf5a 100%);
}

.card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.95);
  color: var(--bleu-fcpe);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-date {
  color: var(--gris-texte);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--bleu-fcpe);
  font-family: 'Open Sans', sans-serif;
}

.card p {
  color: var(--gris-texte);
  font-size: 0.93rem;
  margin-bottom: 1rem;
  flex: 1;
}

.card-lien {
  color: var(--rouge-fcpe);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-lien::after {
  content: ' →';
  transition: transform 0.2s ease;
  display: inline-block;
}

.card-lien:hover::after {
  transform: translateX(4px);
}

.card-vide .card-image { opacity: 0.6; filter: grayscale(50%); }
.card-vide .card-lien {
  color: var(--gris-texte);
  font-style: italic;
}

/* ===== ENCARTS ===== */
.encart {
  background: var(--gris-tres-clair);
  border-left: 4px solid var(--bleu-fcpe);
  padding: 1.5rem;
  border-radius: 3px;
  margin: 1.5rem 0;
}

.encart-rouge { border-left-color: var(--rouge-fcpe); background: #fff5f5; }
.encart-jaune { border-left-color: var(--jaune); background: #fffaf0; }
.encart-vert { border-left-color: var(--vert); background: #f4faf0; }

.encart h4 {
  margin-top: 0;
  color: var(--bleu-fcpe);
}

.encart p:last-child { margin-bottom: 0; }

/* ===== TABLEAUX ===== */
.tableau-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--gris-bordure);
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

th {
  background: var(--bleu-fcpe);
  color: white;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gris-clair);
  font-size: 0.93rem;
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--gris-tres-clair); }
tr:hover td { background: #e8eef5; }

/* ===== FORMULAIRE ===== */
.formulaire {
  background: white;
  padding: 2rem;
  border: 1px solid var(--gris-bordure);
  border-radius: 4px;
  max-width: 700px;
  margin: 2rem auto;
  box-shadow: var(--ombre-douce);
}

.champ {
  margin-bottom: 1.25rem;
}

.champ label {
  display: block;
  font-weight: 600;
  color: var(--bleu-fcpe);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.champ label .obligatoire { color: var(--rouge-fcpe); }

.champ input,
.champ textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gris-bordure);
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
}

.champ input:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--bleu-fcpe);
  box-shadow: 0 0 0 3px rgba(0, 61, 126, 0.1);
}

.champ textarea {
  min-height: 130px;
  resize: vertical;
}

/* ===== STATISTIQUES ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--gris-bordure);
  border-top: 4px solid var(--rouge-fcpe);
}

.stat-chiffre {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bleu-fcpe);
  font-family: 'Roboto Slab', serif;
  display: block;
  line-height: 1;
}

.stat-libelle {
  color: var(--gris-texte);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* ===== BUREAU (membres) ===== */
.bureau-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.membre {
  background: white;
  padding: 1.5rem;
  border: 1px solid var(--gris-bordure);
  border-radius: 4px;
  text-align: center;
  border-top: 4px solid var(--bleu-fcpe);
  transition: all 0.25s ease;
}

.membre:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-moy);
}

.membre-avatar {
  width: 80px;
  height: 80px;
  background: var(--bleu-fcpe);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-family: 'Roboto Slab', serif;
}

.membre h4 {
  color: var(--bleu-fcpe);
  margin-bottom: 0.25rem;
  font-family: 'Open Sans', sans-serif;
}

.membre .role {
  color: var(--rouge-fcpe);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.membre p { font-size: 0.92rem; color: var(--gris-texte); margin: 0.25rem 0; }

/* ===== LIENS UTILES ===== */
.liens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.lien-card {
  background: white;
  padding: 1.5rem;
  border: 1px solid var(--gris-bordure);
  border-radius: 4px;
  transition: all 0.25s ease;
  text-align: center;
  display: block;
  color: var(--texte);
  border-top: 4px solid var(--bleu-fcpe);
}

.lien-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre-moy);
  border-top-color: var(--rouge-fcpe);
  color: var(--texte);
}

.lien-card .icone {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.lien-card h4 {
  color: var(--bleu-fcpe);
  margin-bottom: 0.5rem;
  font-family: 'Open Sans', sans-serif;
}

.lien-card .url {
  color: var(--gris-texte);
  font-size: 0.82rem;
  word-break: break-all;
  margin-top: 0.5rem;
  display: block;
}

/* ===== KITS DE FOURNITURES ===== */
.kit {
  background: white;
  border: 1px solid var(--gris-bordure);
  border-left: 5px solid var(--rouge-fcpe);
  border-radius: 3px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.kit h4 {
  color: var(--rouge-fcpe);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-family: 'Roboto Slab', serif;
}

.kit ul {
  columns: 2;
  gap: 2rem;
}

@media (max-width: 600px) {
  .kit ul { columns: 1; }
}

.kit li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}

/* ===== APPEL À ADHÉRER ===== */
.adhesion-cta {
  background: linear-gradient(135deg, var(--rouge-fcpe) 0%, #c8050f 100%);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
  margin: 3rem -1.5rem -2.5rem;
  position: relative;
  overflow: hidden;
}

.adhesion-cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: white;
  border-radius: 50%;
  opacity: 0.05;
}

.adhesion-cta h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.adhesion-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* ===== PIED DE PAGE ===== */
.footer {
  background: var(--bleu-fcpe-fonce);
  color: rgba(255,255,255,0.85);
  padding: 3rem 1.5rem 0;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 880px) {
  .footer-container { grid-template-columns: repeat(2, 1fr); }
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 75px;
  background: white;
  padding: 5px;
  border-radius: 4px;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 3px solid var(--rouge-fcpe);
  padding-left: 0.75rem;
}

.footer p, .footer a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
  display: block;
}

.footer a:hover { color: white; }

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: background 0.2s ease;
}

.footer-social a:hover { background: var(--rouge-fcpe); }

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== MENU MOBILE ===== */
@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }

  .nav { top: 0; }

  .nav-container {
    display: none;
    flex-direction: column;
    padding: 0;
    background: var(--bleu-fcpe-fonce);
  }

  .nav-container.ouvert {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-item > a {
    padding: 0.9rem 1.5rem;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0;
    box-shadow: none;
    border-top: none;
    background: rgba(0,0,0,0.2);
    min-width: auto;
  }

  .nav-submenu a {
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0.7rem 2.5rem;
  }

  .nav-submenu a:hover {
    background: rgba(0,0,0,0.3);
    color: white;
    padding-left: 2.5rem;
  }

  .topbar-menu { display: none; }

  .brand-text h1 { font-size: 1.05rem; }
  .brand-text .location { font-size: 0.65rem; padding: 0.1rem 0.4rem; }
  .brand-text p { font-size: 0.75rem; }
  .brand img { height: 65px; }

  .hero-container { grid-template-columns: 1fr; }
}

/* ===== UTILITAIRES ===== */
.texte-centre { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.badge {
  display: inline-block;
  background: var(--rouge-fcpe);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-bleu {
  background: var(--bleu-fcpe);
}

.tarif {
  background: var(--vert);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  font-weight: 700;
  display: inline-block;
  font-size: 0.9rem;
}

/* ===== APERÇU PDF INTÉGRÉ ===== */
.pdf-viewer {
  margin: 1.5rem 0;
  border: 1px solid var(--gris-bordure);
  border-radius: 4px;
  overflow: hidden;
  background: var(--gris-tres-clair);
  box-shadow: var(--ombre-douce);
}

.pdf-viewer iframe {
  width: 100%;
  height: 900px;
  border: none;
  display: block;
  background: white;
}

@media (max-width: 768px) {
  .pdf-viewer iframe { height: 600px; }
}

.pdf-fallback {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--gris-texte);
  background: var(--gris-tres-clair);
  border-top: 1px solid var(--gris-bordure);
  margin: 0;
  text-align: center;
}

/* Tabs (filtres actualités) */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--gris-bordure);
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.tab {
  background: none;
  border: none;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gris-texte);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}

.tab.actif,
.tab:hover {
  color: var(--bleu-fcpe);
  border-bottom-color: var(--rouge-fcpe);
}
