/* ------------------------------------------------------------------ */
/*  Variables & Reset                                                   */
/* ------------------------------------------------------------------ */
:root {
  --bg:        #F8F3EC;
  --surface:   #FFFFFF;
  --primary:   #5C3317;
  --accent:    #A0522D;
  --light:     #DEB887;
  --text:      #2C1810;
  --text-soft: #6B5042;
  --border:    #E8DDD2;
  --success:   #4CAF50;
  --error:     #E53935;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(92,51,23,.12);
  --transition: .25s ease;
}

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

button, input, select, textarea { font-family: inherit; }
button { line-height: inherit; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary);
  line-height: 1.25;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------------------------------------------------ */
/*  Navigation                                                          */
/* ------------------------------------------------------------------ */
.navbar {
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(92,51,23,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--primary);
  line-height: 1;
}
.nav-logo { width: 44px; height: 44px; flex-shrink: 0; }
.nav-wordmark { display: flex; flex-direction: column; }
.nav-wordmark-small {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .2rem;
}
.nav-wordmark-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 25px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--surface);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 2px solid var(--border);
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
}

/* ------------------------------------------------------------------ */
/*  Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  background:
    linear-gradient(135deg, rgba(40,20,6,.82) 0%, rgba(61,32,8,.6) 55%, rgba(61,32,8,.35) 100%),
    url("../img/hero.jpg") center / cover no-repeat,
    var(--primary);
  color: #fff;
  padding: 9rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content { position: relative; max-width: 700px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.hero p {
  font-size: 1.15rem;
  opacity: .9;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ------------------------------------------------------------------ */
/*  Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: .65rem 1.6rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: .02em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.btn-sm { padding: .4rem 1rem; font-size: .85rem; }

.btn-danger {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}
.btn-danger:hover { background: #a93226; border-color: #a93226; }

.btn-group { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------------ */
/*  Sections                                                            */
/* ------------------------------------------------------------------ */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .5rem;
}

.section-subtitle {
  color: var(--text-soft);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-title { margin-bottom: .5rem; }

.divider {
  width: 50px; height: 3px;
  background: var(--accent);
  margin: .75rem auto 1rem;
  border-radius: 2px;
}

/* ------------------------------------------------------------------ */
/*  Gallery grid                                                        */
/* ------------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--border);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,24,16,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay p {
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}

.gallery-empty {
  text-align: center;
  color: var(--text-soft);
  padding: 3rem;
  grid-column: 1 / -1;
}

/* ------------------------------------------------------------------ */
/*  Lightbox                                                            */
/* ------------------------------------------------------------------ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-caption {
  color: #fff;
  margin-top: .75rem;
  text-align: center;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: .6;
  transition: opacity var(--transition);
  user-select: none;
  padding: .5rem;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }

@media (max-width: 600px) {
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

/* ------------------------------------------------------------------ */
/*  Stages / Calendar                                                   */
/* ------------------------------------------------------------------ */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.stage-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-left: 4px solid var(--accent);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(92,51,23,.18);
}

.stage-card-header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 1.25rem 1.5rem;
}

.stage-card-header h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .25rem;
}

.stage-dates {
  font-size: .85rem;
  opacity: .9;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.stage-card-body { padding: 1.25rem 1.5rem; }

.stage-desc { color: var(--text-soft); font-size: .95rem; margin-bottom: 1rem; }

.stage-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 20px;
  background: var(--bg);
  color: var(--text-soft);
  border: 1px solid var(--border);
}

.stage-badge.available { color: #2E7D32; background: #E8F5E9; border-color: #A5D6A7; }
.stage-badge.full { color: #C62828; background: #FFEBEE; border-color: #EF9A9A; }

.stage-past { opacity: .6; border-left-color: var(--border); }
.stage-past .stage-card-header {
  background: #888;
}

.stages-info-box {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.stages-info-icon { font-size: 2rem; flex-shrink: 0; }

/* Texte saisi dans l'admin et mis en forme par le filtre rich_text */
.rich-text { color: var(--text-soft); }
.rich-text p { margin-bottom: 1rem; }
.rich-text-lead { display: inline-block; margin-bottom: .25rem; color: var(--primary); font-size: 1.15rem; font-weight: 600; line-height: 1.4; }

@media (max-width: 600px) {
  .stages-info-box { padding: 1.5rem 1.25rem; }
  .stages-info-icon { display: none; }
}
.rich-text ul { margin: 0 0 1rem 1.25rem; }
.rich-text li { margin-bottom: .35rem; }
.rich-text li::marker { color: var(--accent); }
.rich-text > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ */
/*  About page                                                          */
/* ------------------------------------------------------------------ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.about-image {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

/* Accueil : deux vignettes de la section « L'Art du Tournage » */
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .intro-layout { grid-template-columns: 1fr; gap: 2rem; }
}
.intro-photos { display: flex; gap: 1rem; }
.intro-photos img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.intro-photos img:nth-child(2) { margin-top: 1.5rem; }

.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.25rem; color: var(--text-soft); }

.about-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.about-card h4 { margin-bottom: .5rem; font-size: 1rem; }
.about-card p { color: var(--text-soft); font-size: .95rem; margin: 0; }

/* ------------------------------------------------------------------ */
/*  Contact                                                             */
/* ------------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item p { margin: 0; color: var(--text-soft); }

.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-card + .contact-card { margin-top: 1.5rem; }
.contact-card h3 { margin-bottom: 1.5rem; }
.contact-card p { color: var(--text-soft); margin-bottom: 1.5rem; }

.contact-form-card { margin-top: 3rem; }
.contact-form-card h2 { margin-bottom: .5rem; }
.contact-form-card .contact-form-intro { margin-bottom: 2rem; }
.contact-form .form-control {
  border-width: 1px;
  padding: .75rem 1rem;
  font-size: 1rem;
  background: var(--bg);
}
.contact-form .form-row { gap: 1.25rem; }
.contact-form textarea.form-control { min-height: 150px; }
.contact-form .btn { margin-top: .5rem; }
.contact-form .contact-form-note { margin: 1rem 0 0; font-size: .82rem; }
.required { color: var(--accent); }

.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

@media (max-width: 600px) {
  .contact-card { padding: 1.5rem 1.25rem; }
  .contact-form-card { margin-top: 2rem; }
  .contact-form .btn { width: 100%; }
  .contact-form .form-row { gap: 0; }
  .contact-map iframe { height: 300px; }
}
.contact-item strong { display: block; color: var(--text); }

/* ------------------------------------------------------------------ */
/*  Flash messages                                                      */
/* ------------------------------------------------------------------ */
.flash-container { padding: .75rem 0; }

.flash {
  padding: .8rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: .5rem;
  font-weight: 500;
  font-size: .95rem;
}
.flash-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.flash-error   { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }

/* ------------------------------------------------------------------ */
/*  Admin                                                               */
/* ------------------------------------------------------------------ */
.admin-body { background: #F0EBE4; }

.admin-nav {
  background: var(--primary);
  color: #fff;
  padding: .5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}

.admin-nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  white-space: nowrap;
}
.admin-nav-brand:hover { color: #fff; }
.admin-nav-brand img { flex-shrink: 0; }
.admin-nav-links { display: flex; gap: 1.5rem; list-style: none; }
.admin-nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.admin-nav-links a:hover { color: #fff; }
.admin-nav-links a.active { color: #fff; border-bottom-color: var(--light); }

.admin-main { max-width: 1000px; margin: 2.5rem auto; padding: 0 1.5rem; }

@media (max-width: 900px) {
  /* Menu sur deux lignes : titre, puis une grille de liens faciles à toucher */
  .admin-nav { flex-direction: column; align-items: stretch; padding: .75rem 1rem; gap: .6rem; }
  .admin-nav-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .admin-nav-links a {
    display: block;
    text-align: center;
    padding: .55rem .25rem;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,.08);
    font-size: .85rem;
  }
  .admin-nav-links a.active { background: var(--accent); }
}

.admin-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.admin-stat {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--accent);
}

.admin-stat .number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
}

.admin-stat .label { color: var(--text-soft); font-size: .9rem; margin-top: .25rem; }

.admin-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.admin-quick-link {
  display: block;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  color: var(--text);
  font-weight: 600;
  transition: var(--transition);
}

.admin-quick-link:hover {
  border-color: var(--accent);
  color: var(--primary);
  background: #fff;
}

.admin-quick-link .icon { font-size: 2rem; margin-bottom: .5rem; }

/* Admin sur mobile (après les règles de base pour bien les surcharger) */
@media (max-width: 600px) {
  .admin-nav-brand-site { display: none; }
  .admin-main { margin: 1.25rem auto; padding: 0 .75rem; }
  .admin-card { padding: 1.25rem 1rem; margin-bottom: 1.25rem; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
  .admin-stat { padding: 1rem .5rem; }
  .admin-quick-links { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .admin-quick-link { padding: 1rem .5rem; font-size: .9rem; }
}

/* ------------------------------------------------------------------ */
/*  Forms                                                               */
/* ------------------------------------------------------------------ */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: .6rem .9rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control { resize: vertical; min-height: 100px; }
.form-help { margin-top: .4rem; font-size: .82rem; color: var(--text-soft); }
.admin-subtitle { font-size: 1.05rem; margin: 1.5rem 0 .25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  /* En dessous de 16px, Safari iOS zoome sur le champ à chaque saisie */
  .form-control { font-size: 16px; }
}

/* ------------------------------------------------------------------ */
/*  Admin photo grid                                                    */
/* ------------------------------------------------------------------ */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--border);
  box-shadow: var(--shadow);
}

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

.admin-photo-actions {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.admin-photo-item:hover .admin-photo-actions,
.admin-photo-item:focus-within .admin-photo-actions { opacity: 1; }

/* Écrans tactiles : pas de survol, le bouton Supprimer reste visible en haut de la vignette */
@media (hover: none) {
  .admin-photo-actions {
    opacity: 1;
    inset: auto 0 auto 0;
    top: 0;
    background: none;
    align-items: flex-end;
    padding: .4rem;
  }
}

@media (max-width: 600px) {
  .admin-photo-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 1rem; }
}

.admin-photo-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .8rem;
  padding: .3rem .5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------------ */
/*  Admin table                                                         */
/* ------------------------------------------------------------------ */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}

.admin-table th {
  background: var(--bg);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
}

.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #faf6f2; }
.admin-table-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Mobile : chaque ligne devient une carte, avec le libellé de colonne devant la valeur */
@media (max-width: 700px) {
  .admin-table--stack thead { display: none; }
  .admin-table--stack, .admin-table--stack tbody,
  .admin-table--stack tr, .admin-table--stack td { display: block; width: 100%; }
  .admin-table--stack tr {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    margin-bottom: .75rem;
  }
  .admin-table--stack tr:hover td { background: none; }
  .admin-table--stack td { border: none; padding: .3rem 0; }
  .admin-table--stack td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-soft);
  }
  .admin-table--stack td.admin-table-actions { display: flex; align-items: center; padding-top: .6rem; }
  .admin-table--stack .admin-table-actions > * { flex: 1; }
  .admin-table--stack .admin-table-actions .btn { width: 100%; text-align: center; }
}

/* ------------------------------------------------------------------ */
/*  Login                                                               */
/* ------------------------------------------------------------------ */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3D2008 0%, #7A4520 100%);
  padding: 1rem;
}

.login-box {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.login-box h1 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: .3rem;
}

.login-box p {
  text-align: center;
  color: var(--text-soft);
  margin-bottom: 2rem;
  font-size: .9rem;
}

/* ------------------------------------------------------------------ */
/*  Footer                                                              */
/* ------------------------------------------------------------------ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--light);
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: .75rem;
  font-size: 1rem;
}

.footer-col p, .footer-col a { font-size: .9rem; color: rgba(255,255,255,.7); }
.footer-col a:hover { color: var(--light); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-credit { margin-bottom: .5rem; color: rgba(255,255,255,.6); font-style: italic; }
.footer-credit strong { color: var(--light); font-style: normal; font-weight: 600; }

/* ------------------------------------------------------------------ */
/*  Page header                                                         */
/* ------------------------------------------------------------------ */
.page-header {
  --header-img: none;
  background:
    linear-gradient(135deg, rgba(40,20,6,.8) 0%, rgba(74,40,16,.6) 100%),
    var(--header-img) center / cover no-repeat,
    linear-gradient(135deg, #4A2810 0%, #8B4513 100%);
  color: #fff;
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.page-header h1, .page-header p { text-shadow: 0 2px 10px rgba(0,0,0,.35); }

.page-header--galerie { --header-img: url("../img/header-galerie.jpg"); }
.page-header--stages  { --header-img: url("../img/header-stages.jpg"); background-position: center, center 60%, center; }
.page-header--apropos { --header-img: url("../img/header-apropos.jpg"); }
.page-header--contact { --header-img: url("../img/header-contact.jpg"); }

.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-header p { color: rgba(255,255,255,.8); margin-top: .5rem; font-size: 1.05rem; }

/* ------------------------------------------------------------------ */
/*  Utilities                                                           */
/* ------------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-none { display: none; }
