/* =========================================================
   COLLÈGE SAINT CHARLES LWANGA — style.css
   -----------------------------------------------------------
   TOUTE la charte graphique du site est pilotée depuis les
   variables ci-dessous (bloc :root). Pour changer une couleur,
   une police ou un arrondi partout sur le site, modifie
   uniquement les valeurs ici — pas besoin d'aller chercher
   dans les autres fichiers.
   ========================================================= */

:root {
  /* Couleurs */
  --color-primary: #B23A32;       /* rouge brique / bordeaux — couleur d'identité */
  --color-primary-dark: #8F2E27;  /* variante foncée, pour le hover et le footer */
  --color-primary-light: #D9847D; /* variante claire, pour les accents discrets */
  --color-bg: #FFFFFF;            /* fond principal */
  --color-bg-soft: #FBEEEC;       /* rose poudré clair — fond des sections "cartes" */
  --color-text: #201A19;          /* texte principal, presque noir */
  --color-text-muted: #6B5F5D;    /* texte secondaire, gris chaud */
  --color-border: #EADEDB;        /* bordures discrètes */
  --color-white: #FFFFFF;

  /* Typographie */
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rayons et ombres */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px -12px rgba(32, 26, 25, 0.18);
  --shadow-soft: 0 4px 16px -4px rgba(32, 26, 25, 0.10);

  /* Largeur de contenu */
  --content-width: 1140px;

  /* Espacements de section (mobile-first) */
  --section-padding-y: 64px;
}

@media (min-width: 900px) {
  :root {
    --section-padding-y: 96px;
  }
}

/* =========================================================
   RESET DE BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p { margin: 0 0 1em 0; }

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

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* =========================================================
   MISE EN PAGE GÉNÉRALE
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding-y) 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section-intro {
  max-width: 640px;
  margin: 0 0 40px 0;
}

.section-intro p {
  color: var(--color-text-muted);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* =========================================================
   BOUTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-primary-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: var(--color-white); }

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn--white:hover { background: var(--color-bg-soft); }

/* =========================================================
   EN-TÊTE / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--content-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .btn { display: none; }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav .btn { margin-top: 16px; align-self: flex-start; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* =========================================================
   HERO (page d'accueil)
   ========================================================= */
.hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  background: linear-gradient(180deg, rgba(32,26,25,0.35) 0%, rgba(32,26,25,0.75) 100%),
              linear-gradient(120deg, #3a2320 0%, #5c3430 100%);
  background-size: cover;
  background-position: center;
  padding-bottom: 90px;
}

.hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
  max-width: 640px;
}

.hero .eyebrow { color: var(--color-primary-light); }

.hero h1 { color: var(--color-white); }

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}

/* Carte de chiffres clés, flottante en overlap sous le hero */
.stats-card {
  position: relative;
  z-index: 5;
  max-width: 900px;
  margin: -70px auto 0;
  padding: 0 20px;
}

.stats-card__inner {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 28px 16px;
  text-align: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary);
}

.stat__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* =========================================================
   CARTES GÉNÉRIQUES
   ========================================================= */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Carte "offre éducative" (séries L/S/STEG) */
.offer-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-soft);
}

.offer-card__label {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  margin: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  width: calc(100% - 32px);
}

.offer-card__label strong {
  display: block;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 2px;
}

.offer-card__label span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Placeholder image générique (dégradé + icône) quand pas de vraie photo */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: rgba(255,255,255,0.85);
}

.placeholder-img svg { width: 40px; height: 40px; }

/* Bloc "Intéressé ? Cliquez ici" */
.cta-box {
  max-width: 380px;
  margin: 40px auto;
  text-align: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.cta-box p {
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-box__arrow {
  display: block;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

/* Bloc "Notre établissement" — texte + image */
.split-block {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .split-block { grid-template-columns: 1.1fr 0.9fr; }
  .split-block--reverse { grid-template-columns: 0.9fr 1.1fr; }
  .split-block--reverse .split-block__media { order: 2; }
}

.split-block__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: var(--shadow-soft);
}

/* Carte actualité */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.news-card__media {
  position: relative;
  height: 220px;       /* hauteur fixe et identique pour toutes les cartes actus */
  overflow: hidden;    /* coupe proprement toute image plus grande/petite que le cadre */
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* recadre l'image pour remplir le cadre sans la déformer */
  object-position: center;
}

.news-card__body { padding: 18px 18px 20px; }

.news-card__date {
  font-size: 0.78rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card h3 { margin: 6px 0 8px; font-size: 1.1rem; }

.news-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Carte membre de l'équipe */
.staff-card {
  text-align: center;
}

.staff-card__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.staff-card__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.staff-card__name {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* =========================================================
   BANDEAU CTA PLEINE LARGEUR
   ========================================================= */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 40px 0;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
}

.cta-banner h2 {
  color: var(--color-white);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0;
}

@media (min-width: 800px) {
  .cta-banner__inner {
    flex-direction: row;
    align-items: center;
  }
}

/* =========================================================
   TIMELINE (page établissement)
   ========================================================= */
.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 28px;
  border-left: 2px solid var(--color-border);
}

.timeline__item {
  position: relative;
  padding-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg-soft);
}

.timeline__year {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* =========================================================
   FORMULAIRES
   ========================================================= */
.form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(178, 58, 50, 0.15);
}

.form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

/* Champ "honeypot" anti-spam : invisible pour un humain, visible pour un robot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status--success { color: #2E7D32; }
.form-status--error { color: var(--color-primary); }

/* =========================================================
   CONTACT — mise en page
   ========================================================= */
.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-soft);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.contact-info-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info-list li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-info-list strong { color: var(--color-text); }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.9);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
}

.footer-brand strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-white);
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a, .footer-col span {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
}

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

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

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

.footer-social a:hover { background: rgba(255,255,255,0.25); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

/* =========================================================
   PAGES INTERNES — en-tête de page générique
   ========================================================= */
.page-header {
  padding: 56px 0 40px;
  background: var(--color-bg-soft);
  text-align: center;
}

.page-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* =========================================================
   GALERIE
   ========================================================= */
.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   UTILITAIRES
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: white;
  padding: 12px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* =========================================================
   GALERIE — sections + lightbox
   ========================================================= */
.galerie-section { margin-bottom: 56px; }
.galerie-section h2 { margin-bottom: 8px; }

.gallery-item {
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
  position: relative;
  display: block;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  background: rgba(20, 14, 13, 0.28);
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 13, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  padding: 24px;
}

.lightbox.is-open { display: flex; }

.lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 80vh;
}

.lightbox__media img,
.lightbox__media video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.lightbox__legende {
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  margin: 16px 0 0;
  font-size: 0.9rem;
  max-width: 600px;
}

.lightbox__fermer {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox__nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; font-size: 1.4rem; }
  .lightbox__fermer { top: 12px; right: 16px; }
}

/* =========================================================
   ADMIN — tableau de bord galerie
   ========================================================= */
.admin-nouvelle-section {
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.admin-section-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.admin-section-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-item-thumb {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-soft);
}

.admin-item-thumb img,
.admin-item-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-thumb__supprimer {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(20, 14, 13, 0.65);
  color: white;
  border: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.admin-item-thumb__supprimer:hover { background: var(--color-primary); }

/* =========================================================
   ADMIN — onglets et liste d'actualités
   ========================================================= */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.admin-tab {
  background: none;
  border: none;
  padding: 10px 4px;
  margin-right: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.admin-tab:hover { color: var(--color-text); }

.admin-tab.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.admin-actu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.admin-actu-row:last-child { border-bottom: none; }
