/* =============================================================
   INNOVATIONS SPEED LAB — CSS Principal
   Charte: Corporate | Bleu ISL + Rouge accent
   Polices: Montserrat + Playfair Display
   ============================================================= */

/* --- Variables & Reset --- */
:root {
  --blue:        #1E4D9B;
  --blue-dark:   #0F2D5E;
  --blue-light:  #3A6CC7;
  --blue-pale:   #EBF0FB;
  --red:         #C0392B;
  --red-light:   #E74C3C;
  --white:       #FFFFFF;
  --off-white:   #F8FAFF;
  --gray-100:    #F2F4F8;
  --gray-200:    #E2E8F0;
  --gray-500:    #6B7280;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --black:       #0A0E1A;

  --font-body:    'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;

  --shadow-sm:  0 2px 8px rgba(30,77,155,.08);
  --shadow-md:  0 8px 32px rgba(30,77,155,.12);
  --shadow-lg:  0 20px 60px rgba(30,77,155,.18);
  --shadow-xl:  0 30px 80px rgba(30,77,155,.22);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .6s cubic-bezier(.4,0,.2,1);

  --nav-h: 80px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Utility --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--blue-dark); color: var(--white); }
.w-100 { width: 100%; }
.mt-1 { margin-top: 1rem; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }

/* --- Typography --- */
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
}
.section-label::before, .section-label::after {
  content: ''; width: 30px; height: 2px; background: var(--red);
}
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  color: var(--blue-dark);
  line-height: 1.2;
}
.section-title { font-size: clamp(1.8rem,4vw,2.8rem); margin-bottom: .75rem; }
.section-sub { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; }
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  transition: var(--transition); white-space: nowrap;
  font-family: var(--font-body); border: 2px solid transparent;
}
.btn--primary {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark); border-color: var(--blue-dark);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn--red {
  background: var(--red); color: var(--white); border-color: var(--red);
}
.btn--red:hover {
  background: var(--red-light); border-color: var(--red-light);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,.3);
}
.btn--outline {
  background: transparent; color: var(--blue); border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue); color: var(--white); transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.6);
}
.btn--outline-white:hover {
  background: var(--white); color: var(--blue); transform: translateY(-2px);
}
.btn--sm { padding: .5rem 1.25rem; font-size: .82rem; }
.btn--lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn--icon {
  width: 44px; height: 44px; padding: 0; justify-content: center;
  border-radius: 50%;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white); display: flex;
  align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__logo { width: 120px; margin: 0 auto 1.5rem; animation: pulse 1.5s ease infinite; }
.preloader__bar {
  width: 200px; height: 4px; background: var(--gray-200);
  border-radius: 2px; overflow: hidden; margin: 0 auto .75rem;
}
.preloader__fill {
  height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--red));
  border-radius: 2px; animation: loadBar 2s ease forwards;
}
.preloader__text { font-size: .8rem; color: var(--gray-500); letter-spacing: .1em; }
@keyframes loadBar { to { width: 100%; } }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(.97)} }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.header__logo img { height: 52px; width: auto; transition: opacity var(--transition); }
.header__logo:hover img { opacity: .8; }

.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  font-weight: 500; font-size: .88rem; color: var(--gray-700);
  transition: var(--transition); position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--blue); border-radius: 1px;
  transition: var(--transition);
}
.nav__link:hover::after, .nav__link.active::after { left: .9rem; right: .9rem; }
.nav__link:hover, .nav__link.active { color: var(--blue); }

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

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--blue-dark);
  border-radius: 2px; transition: var(--transition);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: var(--nav-h); right: 0; bottom: 0;
  width: min(360px, 85vw); background: var(--white);
  z-index: 999; padding: 2rem;
  transform: translateX(100%); transition: transform var(--transition-slow);
  overflow-y: auto; box-shadow: var(--shadow-xl);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav__list { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 2rem; }
.mobile-nav__link {
  display: block; padding: .9rem 1rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: 1rem; color: var(--gray-700);
  transition: var(--transition); border-left: 3px solid transparent;
}
.mobile-nav__link:hover, .mobile-nav__link.active {
  background: var(--blue-pale); color: var(--blue); border-left-color: var(--blue);
}
.mobile-menu__social { display: flex; gap: 1rem; margin-top: 2rem; }
.mobile-menu__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.mobile-menu__social a:hover { background: var(--blue); color: var(--white); }

.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 998; opacity: 0; pointer-events: none;
  transition: opacity var(--transition-slow);
}
.mobile-overlay.visible { opacity: 1; pointer-events: all; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #2563EB 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,.15) 0%, transparent 70%);
  right: -200px; bottom: -200px;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2); border-radius: 100px;
  padding: .4rem 1.1rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}
.hero__badge i { color: var(--red-light); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white); line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--red-light); font-style: italic; }
.hero__text {
  font-size: 1.1rem; color: rgba(255,255,255,.8);
  max-width: 520px; margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.hero__card-float {
  background: rgba(255,255,255,.12); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl); padding: 2.5rem;
  color: var(--white); width: 100%; max-width: 380px;
}
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.hero__stat-item { text-align: center; }
.hero__stat-num {
  display: block; font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 700; color: var(--white);
  line-height: 1;
}
.hero__stat-label { font-size: .78rem; color: rgba(255,255,255,.7); letter-spacing: .05em; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.6); font-size: .78rem; letter-spacing: .08em;
  animation: bounce 2s ease infinite;
}
.hero__scroll i { font-size: 1.2rem; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   OBJECTIFS CARDS
   ============================================================ */
.objectives-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.obj-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative; overflow: hidden;
}
.obj-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 0; background: var(--blue);
  transition: height var(--transition-slow);
}
.obj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-pale); }
.obj-card:hover::before { height: 100%; }
.obj-card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
  transition: var(--transition);
}
.obj-card:hover .obj-card__icon { background: var(--blue); color: var(--white); }
.obj-card h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: .5rem; }
.obj-card p { font-size: .9rem; color: var(--gray-500); }

/* ============================================================
   À PROPOS — STATS
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about__img-wrap {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
}
.about__img-wrap img { width: 100%; border-radius: var(--radius-xl); }
.about__img-badge {
  position: absolute; bottom: 2rem; right: -1.5rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow-lg);
  text-align: center; min-width: 130px;
}
.about__img-badge strong {
  display: block; font-family: var(--font-display);
  font-size: 2rem; color: var(--blue);
}
.about__img-badge span { font-size: .78rem; color: var(--gray-500); }
.about__list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: .75rem; }
.about__list li {
  display: flex; align-items: center; gap: .75rem;
  font-size: .92rem;
}
.about__list li i { color: var(--blue); flex-shrink: 0; }

.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--blue-dark); border-radius: var(--radius-xl);
  padding: 2.5rem; gap: 0;
}
.stat-item { text-align: center; padding: 0 1rem; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,.15); }
.stat-number {
  display: block; font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 700; color: var(--white);
  line-height: 1;
}
.stat-suffix { color: var(--red-light); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: .25rem; letter-spacing: .04em; }

/* ============================================================
   FORMATIONS CARDS
   ============================================================ */
.formations-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.formation-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-200);
  transition: var(--transition); display: flex; flex-direction: column;
}
.formation-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.formation-card__img {
  height: 200px; background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; color: rgba(255,255,255,.3);
  position: relative; overflow: hidden;
}
.formation-card__img img { width: 100%; height: 100%; object-fit: cover; }
.formation-card__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--red); color: var(--white);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  padding: .25rem .75rem; border-radius: 100px; text-transform: uppercase;
}
.formation-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.formation-card__meta {
  display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.formation-card__meta span {
  display: flex; align-items: center; gap: .35rem;
  font-size: .78rem; color: var(--gray-500);
}
.formation-card__meta i { color: var(--blue); }
.formation-card h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: .5rem; }
.formation-card p { font-size: .88rem; color: var(--gray-500); flex: 1; }
.formation-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-200);
}
.formation-card__price { font-weight: 700; color: var(--blue); font-size: 1rem; }
.formation-card__price.free { color: var(--red); }

/* ============================================================
   PROJETS / STARTUPS
   ============================================================ */
.projets-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.projet-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; border: 1px solid var(--gray-200);
  transition: var(--transition); display: flex; flex-direction: column; gap: 1rem;
}
.projet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-pale); }
.projet-card__header { display: flex; align-items: center; gap: 1rem; }
.projet-card__logo {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--blue-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; color: var(--blue); flex-shrink: 0;
}
.projet-card__status {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  padding: .2rem .65rem; border-radius: 100px; text-transform: uppercase;
}
.status--incubation { background: #FEF3C7; color: #92400E; }
.status--accelere { background: #DBEAFE; color: #1E40AF; }
.status--actif { background: #D1FAE5; color: #065F46; }
.status--diplome { background: #F3E8FF; color: #6B21A8; }
.projet-card h3 { font-size: 1.05rem; color: var(--blue-dark); }
.projet-card p { font-size: .88rem; color: var(--gray-500); }
.projet-card__tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: .2rem .6rem; border-radius: 100px;
  background: var(--blue-pale); color: var(--blue);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-200);
  transition: var(--transition); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__img {
  height: 200px; overflow: hidden; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--blue);
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  color: var(--red); text-transform: uppercase; margin-bottom: .5rem;
}
.blog-card h3 { font-size: 1.05rem; color: var(--blue-dark); margin-bottom: .5rem; line-height: 1.35; }
.blog-card p { font-size: .88rem; color: var(--gray-500); flex: 1; }
.blog-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-200);
  font-size: .8rem; color: var(--gray-500);
}
.blog-card__footer a { color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: .25rem; }
.blog-card__footer a:hover { color: var(--blue-dark); }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.temoignages-slider { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.temoignage-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative;
}
.temoignage-card::before {
  content: '\201C'; position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 5rem; color: var(--blue-pale);
  line-height: 1;
}
.temoignage-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.temoignage-card__stars { color: #F59E0B; font-size: .85rem; margin-bottom: 1rem; }
.temoignage-card__text { font-size: .92rem; color: var(--gray-700); margin-bottom: 1.5rem; font-style: italic; }
.temoignage-card__author { display: flex; align-items: center; gap: .75rem; }
.temoignage-card__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-pale); display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: var(--blue);
  font-size: .9rem; flex-shrink: 0; overflow: hidden;
}
.temoignage-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.temoignage-card__name { font-weight: 700; font-size: .9rem; color: var(--blue-dark); }
.temoignage-card__role { font-size: .78rem; color: var(--gray-500); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.cta-section .section-title { color: var(--white); }
.cta-section p { color: rgba(255,255,255,.75); max-width: 540px; margin: .75rem auto 2rem; }
.cta-section .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PARTENAIRES
   ============================================================ */
.partenaires-row {
  display: flex; gap: 2rem; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.partenaire-item {
  padding: 1.25rem 2rem; border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  min-width: 140px; transition: var(--transition);
  filter: grayscale(1); opacity: .6;
}
.partenaire-item:hover { filter: grayscale(0); opacity: 1; box-shadow: var(--shadow-sm); }
.partenaire-item img { max-height: 50px; }
.partenaire-placeholder { font-weight: 700; color: var(--gray-500); font-size: .9rem; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info__item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); margin-bottom: 1rem;
  transition: var(--transition);
}
.contact-info__item:hover { border-color: var(--blue-pale); box-shadow: var(--shadow-sm); }
.contact-info__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-info__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); margin-bottom: .2rem; }
.contact-info__value { font-weight: 600; color: var(--blue-dark); }
.contact-info__social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.contact-info__social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.contact-info__social a:hover { background: var(--blue); color: var(--white); }

.contact-form { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; border: 1px solid var(--gray-200); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: .85rem; color: var(--blue-dark); margin-bottom: .4rem; }
.form-label .required { color: var(--red); margin-left: .2rem; }
.form-control {
  width: 100%; padding: .75rem 1rem; border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200); font-family: inherit; font-size: .9rem;
  color: var(--gray-700); background: var(--white); transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,77,155,.1); }
.form-control::placeholder { color: var(--gray-200); }
.form-control.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.1); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-msg { margin-top: 1rem; padding: 1rem; border-radius: var(--radius-md); font-size: .88rem; display: none; }
.form-msg.success { background: #D1FAE5; color: #065F46; display: block; }
.form-msg.error { background: #FEE2E2; color: #991B1B; display: block; }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}
.newsletter-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.newsletter-box__text h2 { color: var(--white); font-size: clamp(1.3rem,3vw,1.8rem); margin-bottom: .25rem; }
.newsletter-box__text p { color: rgba(255,255,255,.75); font-size: .9rem; }
.newsletter-form { flex: 0 0 auto; min-width: 340px; }
.newsletter-form__group { display: flex; gap: .5rem; }
.newsletter-form__input {
  flex: 1; padding: .75rem 1rem; border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  color: var(--white); font-family: inherit; font-size: .88rem; outline: none;
  transition: var(--transition);
}
.newsletter-form__input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form__input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.15); }
.newsletter-form__msg { margin-top: .5rem; font-size: .82rem; color: rgba(255,255,255,.8); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 5rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer__logo img { filter: brightness(10); }
.footer__tagline { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-light); margin: .75rem 0 .5rem; }
.footer__about { font-size: .85rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: var(--transition);
}
.footer__social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer__heading { font-family: var(--font-display); font-size: 1.05rem; color: var(--white); margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { font-size: .88rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--white); padding-left: .25rem; }
.footer__contact { display: flex; flex-direction: column; gap: .75rem; }
.footer__contact li { display: flex; align-items: flex-start; gap: .75rem; font-size: .88rem; }
.footer__contact i { color: var(--blue-light); margin-top: .15rem; flex-shrink: 0; width: 16px; }
.footer__contact a:hover { color: var(--white); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem; padding: 1.5rem 0;
  font-size: .82rem;
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: var(--transition);
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ============================================================
   PAGE HERO (pages internes)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem,5vw,3rem); color: var(--white); margin-bottom: .75rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 1.25rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; justify-content: center; font-size: .82rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: .65rem; }

/* ============================================================
   EQUIPE
   ============================================================ */
.equipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1.75rem; }
.equipe-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.equipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.equipe-card__avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem; margin: 0 auto 1rem; overflow: hidden;
}
.equipe-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.equipe-card h3 { font-size: 1rem; color: var(--blue-dark); margin-bottom: .2rem; }
.equipe-card__poste { font-size: .82rem; color: var(--red); font-weight: 600; margin-bottom: .75rem; }
.equipe-card__bio { font-size: .85rem; color: var(--gray-500); margin-bottom: 1rem; }
.equipe-card__links { display: flex; gap: .5rem; justify-content: center; }
.equipe-card__links a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-pale); color: var(--blue); display: flex;
  align-items: center; justify-content: center; font-size: .82rem;
  transition: var(--transition);
}
.equipe-card__links a:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination__btn {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .88rem; transition: var(--transition);
  border: 1.5px solid var(--gray-200); color: var(--gray-700); background: var(--white);
}
.pagination__btn:hover, .pagination__btn.active {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}

/* ============================================================
   ADMIN — GLOBAL
   ============================================================ */
.admin-body { background: var(--gray-100); font-family: var(--font-body); }
.admin-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.admin-sidebar {
  width: 260px; flex-shrink: 0; background: var(--blue-dark);
  color: var(--white); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar__brand {
  padding: 1.5rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; gap: .75rem;
}
.sidebar__brand img { height: 36px; filter: brightness(10); }
.sidebar__brand-text { font-size: .8rem; color: rgba(255,255,255,.6); }
.sidebar__nav { padding: 1rem 0; flex: 1; }
.sidebar__section { padding: .5rem 1.25rem; font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: .5rem; }
.sidebar__link {
  display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1.25rem; color: rgba(255,255,255,.7);
  font-size: .88rem; font-weight: 500; transition: var(--transition);
  border-left: 3px solid transparent; border-radius: 0;
}
.sidebar__link i { width: 18px; text-align: center; font-size: .95rem; }
.sidebar__link:hover, .sidebar__link.active {
  background: rgba(255,255,255,.08); color: var(--white);
  border-left-color: var(--red);
}
.sidebar__badge {
  margin-left: auto; background: var(--red); color: var(--white);
  font-size: .68rem; font-weight: 700; padding: .1rem .5rem;
  border-radius: 100px; min-width: 20px; text-align: center;
}
.sidebar__footer { padding: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar__user { display: flex; align-items: center; gap: .75rem; }
.sidebar__user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: .9rem;
}
.sidebar__user-name { font-size: .88rem; font-weight: 600; color: var(--white); }
.sidebar__user-role { font-size: .72rem; color: rgba(255,255,255,.5); }

/* Admin Main */
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 0 2rem; height: 64px; display: flex; align-items: center;
  justify-content: space-between; sticky; top: 0; z-index: 100;
  position: sticky;
}
.admin-topbar__title { font-weight: 700; font-size: 1.1rem; color: var(--blue-dark); }
.admin-topbar__actions { display: flex; align-items: center; gap: 1rem; }
.admin-content { padding: 2rem; flex: 1; }

/* Admin Cards */
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.admin-stat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: .5rem;
  transition: var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.admin-stat-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.admin-stat-card__number { font-size: 2rem; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.admin-stat-card__label { font-size: .8rem; color: var(--gray-500); }
.admin-stat-card__trend { font-size: .78rem; display: flex; align-items: center; gap: .25rem; }
.trend-up { color: #059669; }
.trend-down { color: var(--red); }

.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); overflow: hidden;
}
.admin-card__header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card__title { font-weight: 700; font-size: .95rem; color: var(--blue-dark); }
.admin-card__body { padding: 1.5rem; }

/* Tables admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th { padding: .75rem 1rem; text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-500); background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
.admin-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--blue-pale); }

/* Badges admin */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .2rem .65rem; border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.badge--success { background: #D1FAE5; color: #065F46; }
.badge--warning { background: #FEF3C7; color: #92400E; }
.badge--danger  { background: #FEE2E2; color: #991B1B; }
.badge--info    { background: #DBEAFE; color: #1E40AF; }
.badge--gray    { background: var(--gray-200); color: var(--gray-700); }

/* Forms admin */
.admin-form-card { max-width: 800px; }
.admin-form-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
.admin-form-section:last-child { border-bottom: none; }
.admin-form-section h3 { font-size: .9rem; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.25rem; }

/* ============================================================
   RESPONSIVE — 992px
   ============================================================ */
@media (max-width: 992px) {
  :root { --nav-h: 70px; }
  .hamburger { display: flex; }
  .header__nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__text { margin: 0 auto 2rem; }
  .hero__visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__img-wrap { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(2n+1) { border-right: 1px solid rgba(255,255,255,.15); }
  .newsletter-box { flex-direction: column; text-align: center; }
  .newsletter-form { min-width: 0; width: 100%; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 1.5rem; }
  .admin-sidebar { width: 220px; }
  .admin-content { padding: 1.25rem; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .btn--lg { padding: .875rem 1.75rem; font-size: .9rem; }
  .hero__actions { flex-direction: column; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 0; }
  .newsletter-form__group { flex-direction: column; }
}

/* ============================================================
   ADMIN — Styles supplémentaires modules v2
   ============================================================ */

/* Grille form 2 colonnes (main + sidebar) */
.admin-form-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; align-items: start; }
.form-main { min-width: 0; }
.form-sidebar { min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-block { width: 100%; }
.btn-lg { padding: .875rem 2rem; font-size: 1rem; }
.checkbox-label { display: flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 500; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }

/* Badge-select inline */
.badge-select { border: none; border-radius: 20px; padding: .25rem .75rem; font-size: .8rem; font-weight: 600; cursor: pointer; }
.badge-select.status-non_lu    { background: var(--danger-light, #fef2f2); color: var(--danger); }
.badge-select.status-lu        { background: #f0f9ff; color: #0284c7; }
.badge-select.status-repondu   { background: var(--success-light, #f0fdf4); color: var(--success); }
.badge-select.status-archive   { background: var(--bg-secondary); color: var(--text-muted); }
.badge-select.status-en_attente{ background: #fffbeb; color: #b45309; }
.badge-select.status-confirme  { background: var(--success-light, #f0fdf4); color: var(--success); }
.badge-select.status-annule    { background: var(--danger-light, #fef2f2); color: var(--danger); }

/* Badges */
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 20px; font-size: .775rem; font-weight: 600; letter-spacing: .02em; }
.badge-success   { background: #dcfce7; color: #166534; }
.badge-warning   { background: #fef9c3; color: #713f12; }
.badge-danger    { background: #fee2e2; color: #991b1b; }
.badge-info      { background: #e0f2fe; color: #0c4a6e; }
.badge-primary   { background: #eff6ff; color: var(--primary); }
.badge-secondary { background: #f3f4f6; color: #6b7280; }

/* Stats mini grid (newsletter) */
.stats-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat-mini { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary); }
.stat-mini.success { border-color: var(--success); }
.stat-mini.warning { border-color: #f59e0b; }
.stat-mini.info    { border-color: #0ea5e9; }
.stat-mini i { font-size: 1.5rem; color: var(--primary); width: 32px; text-align: center; }
.stat-mini.success i { color: var(--success); }
.stat-mini.warning i { color: #f59e0b; }
.stat-mini.info    i { color: #0ea5e9; }
.stat-mini strong { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.stat-mini span  { font-size: .8rem; color: var(--text-muted); }

/* Page admin header */
.admin-page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.admin-page-header h1 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.admin-page-header p  { color: var(--text-muted); margin: .25rem 0 0; font-size: .875rem; }

/* Filters bar */
.admin-filters { margin-bottom: 1.25rem; }
.filter-form { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.filter-form input[type="text"],
.filter-form select { flex: 1; min-width: 140px; padding: .5rem .75rem; border: 1px solid var(--border-color); border-radius: 8px; font-size: .875rem; }

/* Table */
.admin-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 1.25rem; }
.table-responsive { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th { padding: .75rem 1rem; text-align: left; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); border-bottom: 2px solid var(--border-color); white-space: nowrap; }
.admin-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-secondary); }

/* Table action buttons */
.table-actions { display: flex; gap: .4rem; align-items: center; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bg-secondary); color: var(--text-muted); text-decoration: none; transition: all .2s; border: 1px solid transparent; font-size: .875rem; }
.btn-icon:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-icon.danger:hover { background: var(--danger); border-color: var(--danger); }

/* Pagination */
.pagination { display: flex; gap: .4rem; padding: 1rem 0 0; justify-content: center; flex-wrap: wrap; }
.pagination a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: var(--bg-secondary); color: var(--text-dark); text-decoration: none; font-size: .875rem; font-weight: 500; transition: all .2s; border: 1px solid var(--border-color); }
.pagination a.active, .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.25rem; border-radius: 8px; font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: none; border: none; transition: all .2s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark, #1a3f80); }
.btn-secondary { background: var(--bg-secondary); color: var(--text-dark); border: 1px solid var(--border-color); }
.btn-secondary:hover { background: var(--border-color); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-warning { background: #f59e0b; color: #fff; }
.btn-warning:hover { background: #d97706; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* Flash messages */
.flash { padding: .875rem 1.25rem; border-radius: 10px; margin-bottom: 1.25rem; font-weight: 500; display: flex; align-items: center; gap: .75rem; }
.flash-success { background: #dcfce7; color: #166534; border-left: 4px solid #16a34a; }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }

/* Admin form groups */
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 600; font-size: .875rem; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  padding: .6rem .875rem; border: 1px solid var(--border-color); border-radius: 8px;
  font-size: .9rem; font-family: inherit; transition: border-color .2s;
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,77,155,.1);
}

@media (max-width: 900px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .stats-mini-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .filter-form { flex-direction: column; }
  .filter-form input, .filter-form select { min-width: 0; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .stats-mini-grid { grid-template-columns: 1fr 1fr; }
  .admin-page-header { flex-direction: column; gap: 1rem; }
}
