/* ==========================================================================
   TLT06 — Feuille de style moderne optimisée & sécurisée
   Palette : bleu nuit + lime (héritée de l'ancienne identité) + cyan
   Optimisations : suppression des doublons, regroupement, commentaires clairs.
   Sécurité : aucune expression CSS, aucune URL pouvant contenir du JS,
               utilisation de propriétés standards, respect de CSP.
   ========================================================================== */

/* ---------------------------- Variables racines ---------------------------- */
:root {
  --bg: #0b1020;
  --bg-soft: #0f1730;
  --surface: #141d38;
  --surface-2: #1a2547;
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8edf7;
  --muted: #9aa7c0;
  --accent: #a3e635;
  --accent-dark: #223500;
  --accent-2: #22d3ee;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------------------------- Reset & base ------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  /* Dégradés de fond fixes pour performance */
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(800px 450px at -10% 0%, rgba(163, 230, 53, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Images responsives */
img {
  max-width: 100%;
  height: auto;
}

/* Réduction des mouvements pour accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover,
  .card:hover { transform: none; }
}

/* ---------------------------- Typographie & liens ------------------------ */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--accent-2); }

::selection {
  background: var(--accent);
  color: var(--accent-dark);
}

/* ---------------------------- Layout containers -------------------------- */
.shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Lien d'évitement (accessibilité) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-dark);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Focus visible personnalisé */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ======================= En-tête / navigation ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 68px;
}

/* Marque */
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand-mark {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--muted);
}

/* Navigation principale */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.main-nav a:hover { background: var(--surface-2); color: var(--accent); }
.main-nav a.active {
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
}

/* Bouton burger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

/* =========================== Héro (accueil) =========================== */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Dégradés d'animation de fond (pas de JS) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(163, 230, 53, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Grid deux colonnes */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Kicker (petit badge) */
.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Titre principal */
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Description */
.hero-desc { max-width: 55ch; color: var(--muted); font-size: 18px; }

/* Boutons d'action */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

/* Métadonnées (adresse, téléphone, mail) */
.hero-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}
.hero-meta li { padding: 3px 0; }
.hero-meta li::before { content: "— "; color: var(--accent); }

/* Conteneur média héro */
.hero-media {
  position: relative;
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,16,32,0.4) 0%, rgba(11,16,32,0) 70%);
  pointer-events: none;
  border-radius: var(--radius);
}
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: block;
}

/* ============================= Boutons =============================== */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(163, 230, 53, 0.25);
}
.btn-primary:hover { color: var(--accent-dark); background: #b8f04e; }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* ====================== Cartes / sections d'accueil ==================== */
.section-title {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 700;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Grille de 4 cartes (desktop) */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  padding-block: 24px;
}

/* Carte générique */
.card {
  display: block;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Effet de survol (optimisé : pseudo‑élément unique) */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(163, 230, 53, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.03) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover::before { opacity: 1; }

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(163, 230, 53, 0.4);
  box-shadow: var(--shadow);
  color: var(--text);
}

/* Contenu carte */
.card h3 { margin: 0 0 8px; font-size: 17px; color: var(--accent); }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .card-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

/* ============================ Page d'accueil ========================== */
.home-main {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 24px;
  width: 100%;
  padding-block: 28px 56px;
}
.home-main .news-panel { width: auto; text-align: left; }
.home-main > div { width: 100%; }

/* ----------------------- Actualités (aside) -------------------------- */
.news-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.news-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(163, 230, 53, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.02) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.news-panel:hover::before { opacity: 1; }

.news-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-panel li {
  display: block;               /* on abandonne le flex horizontal */
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.news-panel li:last-child { border-bottom: 0; }

.news-panel li small.date {
  display: inline-block;
  margin: 0 0 8px;              /* la date passe au-dessus du texte */
}

.news-panel .date {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 600;
}

.news-panel p {
  margin: 0;
  font-size: 15px;
  text-align: left;             /* fini le justify et ses trous */
}

/* ---------------------- À la une & vidéos -------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(163, 230, 53, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.02) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover::before { opacity: 1; }
.feature-card img { width: 100%; height: 130px; object-fit: cover; }
.feature-card .feature-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.feature-card h3 { margin: 0; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.feature-card .btn { align-self: flex-start; padding: 7px 16px; font-size: 13px; }

.video-panel {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.video-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.video-panel-head .section-title { margin-bottom: 0; }
.video-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.video-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.video-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(163, 230, 53, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(34, 211, 238, 0.02) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-item:hover::before { opacity: 1; }
.video-item:hover {
  transform: translateY(-2px);
  border-color: rgba(163, 230, 53, 0.4);
}
.video-item p { margin: 0; font-size: 14px; }
.video-item a { font-weight: 700; font-size: 13px; white-space: nowrap; }

/* =================== Pages intérieures : grille latérale ============= */
.page-grid {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  padding-block: 36px 64px;
}

/* Navigation latérale */
.side-nav {
  flex: 0 0 250px;
  width: 250px;
  max-width: 100%;
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.side-nav h2 {
  margin: 0 0 10px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
.side-nav ul { margin: 0; padding: 0; list-style: none; }
.side-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.side-nav a:hover { background: var(--surface-2); color: var(--accent); }
.side-nav li.active > a {
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
}

/* Contenu principal */
#contenu {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
}

/* Titres */
#contenu h1 {
  margin: 0 0 24px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
}
#contenu h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
#contenu h2 { font-size: 22px; margin: 28px 0 12px; }
#contenu h3 { font-size: 19px; margin: 28px 0 12px; color: var(--accent); }
#contenu h4 { font-size: 16px; margin: 20px 0 10px; color: var(--accent-2); }
#contenu h4 u,
#contenu h3 u { text-decoration: none; }

/* Paragraphes & listes */
#contenu p { margin: 0 0 16px; color: #ccd6e8; }
#contenu li { margin: 0 0 10px; color: #ccd6e8; }
#contenu ol,
#contenu ul { padding-left: 22px; }

/* Images éditoriales héritées */
.imaged { float: left; margin: 4px 18px 10px 0; }
.imageg { float: right; margin: 4px 0 10px 18px; }
.cadreImage {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* ======================= Tableaux (cotisations, etc.) ================= */
#contenu table {
  width: 100%;
  margin: 18px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 15px;
}
#contenu table caption { padding: 8px 0 14px; }
#contenu th,
#contenu td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text) !important;
}
#contenu th,
#contenu tr:first-child td h3,
#contenu td h3 {
  margin: 0;
  color: var(--accent);
}
#contenu th { background: rgba(163, 230, 53, 0.12); font-weight: 700; }
#contenu tr:nth-child(even) td { background: var(--surface); }
#contenu tr:last-child td { border-bottom: 0; }
#contenu td p { margin: 0 0 6px; }

.table-scroll { overflow-x: auto; }

/* ====================== Embeds externes (Facebook, etc.) ============= */
.embed-fftt {
  width: 760px;
  max-width: 100%;
  display: block;
  margin-inline: auto;
  border: 0;
}

/* ============================ Galeries photos ======================== */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.album-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.album-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.album-card:hover img { transform: scale(1.05); }
.album-card .album-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(5, 8, 18, 0.9));
  color: #fff;
  font-weight: 700;
}

/* Grille photos + lightbox */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.photo-grid a {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.photo-grid a img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.photo-grid a:hover img { transform: scale(1.06); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 8, 18, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ======================= Table des matières ========================= */
.toc {
  margin: 0 0 28px;
  padding: 18px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.toc h2 { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; columns: 2; }
.toc li { margin: 0 0 6px; break-inside: avoid; }

/* ====================== Blocs d'actualité (internes) ================ */
.news-block {
  display: grid;
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  width: 100%;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.news-block:last-of-type { border-bottom: 0; }
.news-block img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.news-block h2 { margin: 0 0 10px; }
.news-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.news-gallery img {
  width: 160px;
  height: 110px;
  object-fit: cover;
}

/* ========================== Formulaires de contact ==================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}
.contact-aside {
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-aside h2 { margin: 0 0 10px; font-size: 16px; }
.contact-aside p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }

/* ============================ Styles de formulaire ==================== */
.form-modern { max-width: 560px; }
.form-modern .field { margin-bottom: 18px; }
.form-modern label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 15px;
}
.form-modern .required { color: var(--accent); }
.form-modern input[type="text"],
.form-modern input[type="email"],
.form-modern textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-modern textarea { min-height: 150px; resize: vertical; }
.form-modern input:focus,
.form-modern textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.18);
}
.form-actions { display: flex; gap: 12px; }

/* Champ anti‑robots (invisible pour humains) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================ Alertes ============================== */
.alert {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 15px;
}
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}
.alert-success {
  background: rgba(163, 230, 53, 0.1);
  border-color: rgba(163, 230, 53, 0.4);
  color: var(--accent);
}

/* ============================= Pied de page ========================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(rgba(11, 16, 32, 0.4), rgba(5, 8, 18, 0.9));
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  width: 100%;
  padding-block: 44px 32px;
}
.footer-grid h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
.footer-grid p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { padding: 3px 0; font-size: 14px; }
.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--text) !important;
}
.footer-brand span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom {
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { margin: 0; color: var(--muted); font-size: 13px; }

/* ============================= Responsives ========================= */
@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .home-main {
    display: flex;
    flex-direction: column;
  }
  .home-main .news-panel,
  .home-main > div {
    flex: 1 1 auto;
    width: 100%;
  }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .page-grid { flex-direction: column; }
  .side-nav { position: static; flex: 1 1 auto; width: 100%; }
  #contenu { flex: 1 1 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: rgba(11, 16, 32, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { border-radius: var(--radius-sm); }

  .hero { padding: 36px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  body { background-attachment: scroll; }
  .cards-4,
  .feature-grid,
  .video-list,
  .home-main { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: 1fr; }

  #contenu table { display: block; overflow-x: auto; }
  .imaged, .imageg { float: none; display: block; margin: 0 0 14px; }
}