/* =============================================
   style.css – Salle des Fêtes Paul Cornu
   Saint-Pierre-de-Varennes
   ============================================= */

:root {
  --vert-principal: #3a7d3a;
  --vert-fonce: #2a5c2a;
  --gris-bg: #f4f5f7;
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--gris-bg);
  color: #333;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--vert-principal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ===========================================
   TOPBAR
   =========================================== */
.topbar {
  background: var(--vert-fonce);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  padding: .35rem 0;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: white; }

/* ===========================================
   HEADER
   =========================================== */
header {
  background: white;
  border-bottom: 3px solid var(--vert-principal);
  padding: .85rem 0;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header-logo img { height: 60px; width: auto; }
.header-title { flex: 1; min-width: 0; }
.header-title h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vert-fonce);
  line-height: 1.2;
}
.header-title p { font-size: .82rem; color: #777; margin-top: .15rem; }
.header-contact { text-align: right; font-size: .82rem; color: #555; white-space: nowrap; }
.header-contact strong { display: block; color: var(--vert-fonce); font-size: .9rem; }

/* ===========================================
   NAV + HAMBURGER
   =========================================== */
.main-nav { background: var(--vert-principal); position: relative; }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: stretch;
}
/* Hamburger – caché par défaut sur desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .6rem .3rem;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
/* Animation hamburger -> croix */
.main-nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.main-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.main-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-links { display: flex; align-items: stretch; flex: 1; }
.nav-links a {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1rem;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(255,255,255,.12); text-decoration: none; color: white; }
.nav-links a.active { background: rgba(255,255,255,.18); color: white; box-shadow: inset 0 -3px 0 white; }
.nav-right { margin-left: auto; display: flex; align-items: stretch; }
.btn-admin {
  background: rgba(255,255,255,.12) !important;
  border-radius: 4px;
  margin: .35rem 0;
  padding: .35rem .85rem !important;
}
.btn-admin:hover { background: rgba(255,255,255,.25) !important; }

/* ===========================================
   PAGE HERO
   =========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert-principal));
  color: white;
  padding: 2rem 1.25rem;
  text-align: center;
}
.page-hero h2 { font-family: 'Raleway', sans-serif; font-size: 1.5rem; font-weight: 800; }
.page-hero p { font-size: .9rem; opacity: .85; margin-top: .3rem; }

/* ===========================================
   PAGE WRAPPER
   =========================================== */
.page-wrapper { max-width: 1200px; margin: 1.5rem auto; padding: 0 1.25rem; }
.page-wrapper-narrow { max-width: 820px; }

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--vert-principal); color: white; }
.btn-primary:hover { background: var(--vert-fonce); color: white; }
.btn-secondary { background: #e9ecef; color: #555; }
.btn-secondary:hover { background: #dee2e6; color: #333; }
.btn-danger { background: #f8d7da; color: #c0392b; }
.btn-danger:hover { background: #f1b0b7; color: #a93226; }
.btn-sm { padding: .32rem .75rem; font-size: .8rem; }
.btn-lg { font-size: 1rem; padding: .75rem 2rem; }
.btn-submit { width: 100%; padding: .85rem; font-size: 1rem; justify-content: center; }

/* ===========================================
   CARDS
   =========================================== */
.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vert-fonce);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid #e8f3e8;
}

/* ===========================================
   ALERTS
   =========================================== */
.alert { padding: .85rem 1.1rem; border-radius: 5px; font-size: .88rem; margin-bottom: 1rem; line-height: 1.6; }
.alert-lg { font-size: .95rem; padding: 1.25rem 1.5rem; }
.alert ul { margin: .4rem 0 0 1.2rem; }
.alert a { font-weight: 700; }
.alert-info    { background: #e8f3e8; border-left: 4px solid var(--vert-principal); color: #1a3a1a; }
.alert-success { background: #d4edda; border-left: 4px solid #28a745; color: #155724; }
.alert-error   { background: #f8d7da; border-left: 4px solid #c0392b; color: #721c24; }
.alert-warning { background: #fff3cd; border-left: 4px solid #e67e22; color: #7d4e00; }

/* ===========================================
   FORMS
   =========================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.form-group { margin-bottom: .85rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: #555; margin-bottom: .3rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .55rem .75rem; border: 1.5px solid #ccc; border-radius: 4px;
  font-family: inherit; font-size: .9rem; transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--vert-principal); box-shadow: 0 0 0 3px rgba(58,125,58,.15);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.req { color: #c0392b; }
.reglement-text { font-size: .88rem; line-height: 1.8; color: #555; margin-bottom: 1rem; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: .6rem;
  text-transform: none; letter-spacing: 0; font-size: .9rem; cursor: pointer;
}
.checkbox-label input { width: auto; margin-top: .2rem; flex-shrink: 0; }

/* Captcha */
.captcha-box { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.captcha-question { font-size: .95rem; color: #333; text-transform: none; letter-spacing: 0; }
.captcha-question strong { font-size: 1.15rem; color: var(--vert-fonce); }
.captcha-input {
  width: 100px; padding: .5rem .75rem; border: 1.5px solid #ccc; border-radius: 4px;
  font-family: inherit; font-size: 1rem; text-align: center; font-weight: 700;
}
.captcha-input:focus { outline: none; border-color: var(--vert-principal); box-shadow: 0 0 0 3px rgba(58,125,58,.15); }

/* ===========================================
   BADGES
   =========================================== */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 3px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge-demande    { background: #cfe2ff; color: #084298; }
.badge-blocage    { background: #e2e8e2; color: #2a5c2a; }
.badge-en_attente { background: #fff3cd; color: #7d4e00; }
.badge-acceptee   { background: #d4edda; color: #155724; }
.badge-refusee    { background: #f8d7da; color: #c0392b; }
.badge-bloquee    { background: #e2e8e2; color: #2a5c2a; }

/* ===========================================
   CALENDRIER – VUE GRILLE (Desktop)
   =========================================== */
.cal-legende {
  display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 1.25rem; background: white; padding: .9rem 1.25rem;
  border-radius: 6px; border: 1px solid #ddd; font-size: .85rem;
}
.cal-legende strong { color: #444; margin-right: .25rem; }
.cal-legende-item { display: flex; align-items: center; gap: .4rem; }
.cal-legende-btn { margin-left: auto; }
.cal-ldot { display: inline-block; border-radius: 2px; }
.cal-ldot-reserve { width: 14px; height: 14px; background: #d4edda; border-left: 3px solid #3a7d3a; }
.cal-ldot-bloque  { width: 14px; height: 14px; background: #e2e8e2; border-left: 3px solid #2a5c2a; }
.cal-ldot-dispo   { width: 10px; height: 10px; background: #3a7d3a; border-radius: 50%; }
.cal-ldot-indispo { width: 10px; height: 10px; background: #c0392b; border-radius: 50%; }

.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.cal-nav h2 { font-family: 'Raleway', sans-serif; font-size: 1.35rem; font-weight: 800; color: #2a5c2a; }
.cal-nav-btns { display: flex; gap: .4rem; }

.cal-wrap {
  background: white; border-radius: 6px; border: 1px solid #ddd;
  overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-head {
  background: #3a7d3a; color: white; text-align: center; padding: .6rem .25rem;
  font-family: 'Raleway', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.cal-head.we { background: #4a8c4a; }
.cal-head-short { display: none; }
.cal-cell {
  min-height: 80px; border: 1px solid #eee; padding: .35rem .4rem;
  position: relative; background: white;
}
.cal-cell.empty { background: #f9f9f9; }
.cal-cell.today { background: #e8f3e8; }
.cal-cell.past  { opacity: .55; }

.day-num {
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .82rem;
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
}
.day-num.today-num { background: #3a7d3a; color: white; border-radius: 50%; font-weight: 800; }

.cal-dot { position: absolute; top: .3rem; right: .35rem; width: 8px; height: 8px; border-radius: 50%; }
.cal-dot.dispo   { background: #3a7d3a; }
.cal-dot.indispo { background: #c0392b; }

.cal-ev {
  font-size: .68rem; padding: .15rem .35rem; border-radius: 3px; margin-top: .2rem;
  font-weight: 600; color: #1a3a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-ev.reserve { background: #d4edda; border-left: 3px solid #3a7d3a; }
.cal-ev.blocage { background: #e2e8e2; border-left: 3px solid #2a5c2a; }
.cal-info { margin-top: 1.5rem; }

/* ===========================================
   CALENDRIER – VUE SEMAINES (Mobile) – cachée par défaut
   =========================================== */
.cal-mobile { display: none; }

/* Bloc semaine (accordéon) */
.cal-week {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: .5rem;
  overflow: hidden;
}
.cal-week-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: .65rem .85rem;
  background: white;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .85rem;
  font-weight: 700;
  color: var(--vert-fonce);
  gap: .5rem;
  text-align: left;
}
.cal-week-header:active { background: #f5faf5; }
.cal-week-label { flex: 1; }
.cal-week-badge {
  background: #c0392b;
  color: white;
  font-size: .65rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cal-week-arrow {
  font-size: 1.1rem;
  color: #aaa;
  transition: transform .2s;
  line-height: 1;
}
.cal-week.open .cal-week-arrow { transform: rotate(90deg); }

/* Corps de la semaine (caché par défaut) */
.cal-week-body {
  display: none;
  border-top: 1px solid #eee;
  padding: .6rem .75rem .75rem;
}
.cal-week.open .cal-week-body { display: block; }

/* Mini grille 7 colonnes */
.cal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: .5rem;
}
.cal-week-head {
  text-align: center;
  font-size: .65rem;
  font-weight: 700;
  color: white;
  background: var(--vert-principal);
  padding: .25rem 0;
  text-transform: uppercase;
}
.cal-week-cell {
  text-align: center;
  padding: .4rem .2rem;
  position: relative;
  background: white;
  border: 1px solid #f0f0f0;
}
.cal-week-cell.empty { background: #f9f9f9; }
.cal-week-cell.today { background: #e8f3e8; }
.cal-week-cell.past  { opacity: .45; }
.cal-week-num {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  display: block;
  line-height: 1;
}
.cal-week-num.today-num {
  background: var(--vert-principal);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.cal-week-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 3px auto 0;
}
.cal-week-dot.dispo   { background: var(--vert-principal); }
.cal-week-dot.indispo { background: #c0392b; }

/* Événements sous la grille */
.cal-week-events {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.cal-week-empty {
  text-align: center;
  font-size: .78rem;
  color: #aaa;
  font-style: italic;
  padding: .25rem 0;
}

/* Ligne d'événement (partagée) */
.cal-list-ev {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .6rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
}
.cal-list-ev.reserve { background: #d4edda; border-left: 3px solid #3a7d3a; color: #1a3a1a; }
.cal-list-ev.blocage { background: #e2e8e2; border-left: 3px solid #2a5c2a; color: #2a5c2a; }
.cal-list-ev-day {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: .75rem;
  background: rgba(0,0,0,.07);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cal-list-ev-icon { flex-shrink: 0; }
.cal-list-ev-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-list-ev-time { font-size: .7rem; color: #777; white-space: nowrap; }

/* ===========================================
   PAGE INFOS & TARIFS
   =========================================== */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: center; margin-bottom: 1rem; }
.stat-box { background: #e8f3e8; border-radius: 6px; padding: 1rem; }
.stat-box-num { font-size: 2rem; font-weight: 800; color: #2a5c2a; font-family: 'Raleway', sans-serif; }
.stat-box-label { font-size: .8rem; color: #555; }
.feature-list { font-size: .9rem; line-height: 2; list-style: none; padding: 0; }
.tarifs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tarifs-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.tarifs-table thead tr { background: #e8f3e8; }
.tarifs-table th { padding: .6rem .75rem; text-align: left; font-family: 'Raleway', sans-serif; color: #2a5c2a; }
.tarifs-table th:last-child { text-align: right; }
.tarifs-table td { padding: .55rem .75rem; border-bottom: 1px solid #eee; }
.tarifs-table tr.odd { background: #f9f9f9; }
.tarif-prix { text-align: right; font-weight: 700; color: #2a5c2a; white-space: nowrap; }
.tarifs-note { font-size: .8rem; color: #777; margin-top: .75rem; }
.tarifs-warning {
  background: #fff3cd; border-left: 3px solid #e67e22;
  padding: .75rem 1rem; border-radius: 0 4px 4px 0; margin-top: 1rem; font-size: .85rem;
}
.tarifs-cle { font-size: .83rem; color: #555; margin-top: .9rem; }
.infos-actions {
  text-align: center; margin-top: 1.5rem;
  display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap;
}

/* ===========================================
   FOOTER
   =========================================== */
footer { background: var(--vert-fonce); color: rgba(255,255,255,.85); margin-top: 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 2rem 1.25rem;
  display: grid; grid-template-columns: auto 1fr 1fr; gap: 2rem; align-items: start;
}
.footer-logo img { height: 55px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-info h4 { font-family: 'Raleway', sans-serif; font-size: .9rem; font-weight: 700; margin-bottom: .4rem; }
.footer-info p { font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.75); }
.footer-info a { color: rgba(255,255,255,.75); }
.footer-info a:hover { color: white; text-decoration: underline; }
.footer-bottom {
  text-align: center; padding: .85rem 1.25rem; font-size: .78rem;
  color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.12);
}

/* Admin table */
.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ===========================================
   RESPONSIVE – Tablette (< 768px)
   =========================================== */
@media (max-width: 768px) {

  .topbar-inner { font-size: .72rem; }
  .header-inner { flex-wrap: wrap; gap: .75rem; }
  .header-contact { display: none; }
  .header-title h1 { font-size: 1.05rem; }
  .header-logo img { height: 48px; }

  /* === HAMBURGER MENU === */
  .nav-toggle { display: flex; }
  .nav-inner { flex-wrap: wrap; padding: 0; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--vert-principal);
  }
  .main-nav.open .nav-links { display: flex; }
  .nav-links a {
    padding: .7rem 1.25rem;
    font-size: .9rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-links a.active { box-shadow: inset 4px 0 0 white; }
  .nav-right {
    margin-left: 0;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.2);
  }
  .nav-right a { padding: .7rem 1.25rem; }
  .nav-toggle { margin: .5rem 1rem; }
  .btn-admin { margin: .3rem 1rem !important; border-radius: 4px; }

  /* Hero */
  .page-hero { padding: 1.25rem 1rem; }
  .page-hero h2 { font-size: 1.15rem; }
  .page-hero p { font-size: .78rem; }
  .page-wrapper { padding: 0 .75rem; margin: 1rem auto; }

  /* === CALENDRIER : grille cachée, liste visible === */
  .cal-desktop { display: none; }
  .cal-mobile  { display: block; }

  .cal-nav h2 { font-size: 1.1rem; }
  .cal-nav-btns .btn { font-size: .75rem; padding: .28rem .6rem; }

  /* Légende compacte */
  .cal-legende {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: .5rem .75rem; padding: .65rem .85rem; font-size: .78rem;
  }
  .cal-legende strong { grid-column: 1 / -1; }
  .cal-legende-btn { grid-column: 1 / -1; justify-self: stretch; text-align: center; margin-left: 0; }

  /* Infos */
  .infos-grid { grid-template-columns: 1fr; }
  .stat-box-num { font-size: 1.6rem; }
  .infos-actions { flex-direction: column; align-items: stretch; }
  .infos-actions .btn { justify-content: center; }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .card { padding: 1rem; }
  .btn-lg { font-size: .9rem; padding: .6rem 1.25rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .footer-logo { display: flex; justify-content: center; }
  .footer-logo img { height: 45px; }

  /* Admin */
  .admin-layout { grid-template-columns: 1fr !important; }
  .admin-sidebar { display: flex; flex-wrap: wrap; gap: 0; padding: .5rem 0; }
  .admin-sidebar a { padding: .4rem .65rem; font-size: .78rem; }
  .admin-sidebar .who { width: 100%; padding: .35rem .65rem; }
  .admin-sidebar .sep { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .filters { flex-direction: column; align-items: stretch; }
  .sbox { margin-left: 0; }
  .admin-main { padding: 1rem; }
}

/* ===========================================
   RESPONSIVE – Mobile (< 480px)
   =========================================== */
@media (max-width: 480px) {

  .topbar-inner { flex-direction: column; gap: .15rem; text-align: center; font-size: .7rem; }
  .header-inner { gap: .4rem; padding: 0 .75rem; }
  .header-logo img { height: 36px; }
  .header-title h1 { font-size: .9rem; }
  .header-title p  { display: none; }

  .page-hero { padding: 1rem .75rem; }
  .page-hero h2 { font-size: 1rem; }
  .page-wrapper { padding: 0 .5rem; margin: .75rem auto; }

  /* Vue semaines mobile plus compacte */
  .cal-week-header { padding: .5rem .65rem; font-size: .8rem; }
  .cal-week-body { padding: .5rem .5rem .6rem; }
  .cal-week-num { font-size: .78rem; }
  .cal-week-num.today-num { width: 22px; height: 22px; }
  .cal-week-head { font-size: .6rem; }
  .cal-list-ev { font-size: .75rem; padding: .3rem .5rem; }
  .cal-list-ev-time { font-size: .65rem; }
  .cal-list-ev-day { width: 20px; height: 20px; font-size: .7rem; }

  /* Légende */
  .cal-legende { grid-template-columns: 1fr; gap: .35rem; font-size: .72rem; padding: .5rem .65rem; }

  /* Infos */
  .stats-grid { gap: .5rem; }
  .stat-box { padding: .5rem; }
  .stat-box-num { font-size: 1.3rem; }
  .stat-box-label { font-size: .7rem; }
  .feature-list { font-size: .82rem; line-height: 1.8; }
  .tarifs-table { font-size: .8rem; }
  .tarifs-table th, .tarifs-table td { padding: .4rem .5rem; }
  .tarifs-warning { font-size: .78rem; padding: .6rem .75rem; }

  /* Forms */
  .card { padding: .75rem; }
  .card h3 { font-size: .95rem; }
  .form-group label { font-size: .72rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: .85rem; padding: .5rem .6rem; }
  .checkbox-label { font-size: .82rem; gap: .4rem; }
  .reglement-text { font-size: .82rem; line-height: 1.6; }
  .btn-submit { font-size: .9rem; padding: .7rem; }
  .alert { font-size: .82rem; padding: .7rem .85rem; }

  /* Admin */
  .stats { grid-template-columns: 1fr; }
  .stat-n { font-size: 1.4rem; }
  .admin-main { padding: .6rem; }

  /* Footer */
  .footer-inner { padding: 1.25rem .75rem; gap: 1rem; }
  .footer-info h4 { font-size: .82rem; }
  .footer-info p { font-size: .75rem; }
  .footer-bottom { font-size: .7rem; padding: .6rem .75rem; }
  .footer-logo img { height: 38px; }
  .btn-lg { font-size: .85rem; padding: .55rem 1rem; }
}
