:root {
    --gold: #C9A040;
    --gold-light: #E8C870;
    --black: #111111;
    --white: #ffffff;
    --off-white: #F8F6F0;
    --gray-light: #f4f4f4;
    --gray-border: #e5e5e5;
    --text-dark: #111111;
    --text-mid: #444444;
    --text-muted: #888888;
}

* { box-sizing: border-box; }

body {
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Georgia', serif;
    margin: 0;
}

/* ── Navbar ── */
.navbar {
    background: var(--white) !important;
    border-bottom: 1.5px solid var(--black);
    padding: 0.6rem 0;
}
.navbar-brand {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--black) !important;
    letter-spacing: 0.5px;
}
.nav-link {
    color: var(--text-muted) !important;
    font-family: sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--black) !important; }
.nav-heart {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    text-decoration: none;
    transition: background .2s;
}
.nav-heart:hover { background: var(--gold); color: var(--white); }

/* ── Hero split ── */
.hero-split { display: flex; min-height: 92vh; }
.hero-photo-side {
    flex: 3; position: relative; overflow: hidden;
    background: #3D5066; min-height: 400px;
}
.hero-photo-side img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

/* ── Slideshow ── */
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center; justify-content: center;
}
.hero-slide img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.hero-slide.active { opacity: 1; }
.slide-overlay {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.75rem;
}
.slide-icon { font-size: 5rem; color: rgba(255,255,255,0.18); line-height: 1; }
.slide-label {
    font-family: sans-serif; font-size: 0.72rem; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(255,255,255,0.35); margin: 0;
}
.slideshow-dots {
    position: absolute; bottom: 3.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 2;
}
.dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.35); border: none; cursor: pointer;
    padding: 0; transition: background .3s, transform .3s;
}
.dot.active { background: var(--white); transform: scale(1.3); }

.hero-photo-placeholder-split {
    width: 100%; height: 100%; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #2C3E50, #4A6B8A);
    color: rgba(255,255,255,0.15); font-size: 8rem;
}
.hero-location-tag {
    position: absolute; bottom: 1.5rem; left: 1.5rem;
    background: rgba(255,255,255,0.92); color: var(--text-dark);
    font-family: sans-serif; font-size: 0.75rem;
    padding: 5px 12px; border-radius: 4px;
}
.hero-text-side {
    flex: 1; background: var(--black);
    display: flex; flex-direction: column; justify-content: center;
    padding: 4rem 3rem;
}
.hero-label {
    font-family: sans-serif; font-size: 0.7rem;
    letter-spacing: 3px; color: var(--text-muted); margin-bottom: 1.5rem;
}
.hero-name {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 400; color: var(--white); line-height: 1.1; margin-bottom: 0;
}
.hero-divider { width: 36px; height: 2px; background: var(--gold); margin: 1.2rem 0; }
.hero-subtitle {
    font-family: sans-serif; font-size: 0.85rem;
    color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem;
}
.btn-hero-outline {
    display: inline-block; border: 1px solid var(--white); color: var(--white);
    font-family: sans-serif; font-size: 0.7rem; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 8px 20px; text-decoration: none;
    border-radius: 2px; margin-right: 8px; transition: all .2s;
}
.btn-hero-outline:hover { background: var(--white); color: var(--black); }
.btn-hero-gold {
    display: inline-block; background: var(--gold); color: var(--black);
    font-family: sans-serif; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 20px;
    text-decoration: none; border-radius: 2px; transition: all .2s;
}
.btn-hero-gold:hover { background: var(--gold-light); color: var(--black); }

/* ── Citation pleine largeur ── */
.quote-band {
    background: var(--off-white); border-left: 3px solid var(--gold);
    padding: 2.5rem 0; text-align: center;
}
.quote-band blockquote {
    font-size: 1.25rem; font-style: italic; color: var(--text-dark);
    max-width: 680px; margin: 0 auto 0.75rem; line-height: 1.8; padding: 0 2rem;
}
.quote-band cite {
    font-family: sans-serif; font-size: 0.7rem; letter-spacing: 2px;
    color: var(--text-muted); text-transform: uppercase; font-style: normal;
}

/* ── Bio + stats ── */
.bio-stats-section { padding: 5rem 0; background: var(--white); border-bottom: 1px solid var(--gray-border); }
.section-eyebrow {
    font-family: sans-serif; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 2.5px; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem;
}
.bio-text { font-size: 1rem; line-height: 2; color: var(--text-mid); }
.bio-link {
    font-family: sans-serif; font-size: 0.85rem; color: var(--gold);
    text-decoration: none; margin-top: 1rem; display: inline-block;
}
.bio-link:hover { color: var(--black); }
.stat-block { text-align: center; padding: 1.5rem 0; border-left: 1px solid var(--gray-border); }
.stat-number { font-size: 2.5rem; font-weight: 400; color: var(--black); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-family: sans-serif; font-size: 0.65rem; letter-spacing: 1.5px; color: var(--text-muted); text-transform: uppercase; }

/* ── Publications ── */
.publications-section { padding: 5rem 0; background: var(--gray-light); }
.pub-card {
    background: var(--white); border: 1px solid var(--gray-border);
    border-radius: 4px; overflow: hidden;
    transition: transform .2s, box-shadow .2s; height: 100%;
}
.pub-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.pub-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.pub-card-img-placeholder {
    width: 100%; height: 180px;
    background: linear-gradient(135deg, #3D5066, #5A6B7A);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.2); font-size: 3rem;
}
.pub-card-body { padding: 1.25rem; }
.pub-date { font-family: sans-serif; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.pub-title { font-size: 1rem; font-weight: 400; color: var(--black); margin-bottom: 0.5rem; line-height: 1.4; }
.pub-excerpt { font-family: sans-serif; font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }
.btn-load-more {
    display: inline-block; border: 1px solid var(--black); color: var(--black);
    font-family: sans-serif; font-size: 0.75rem; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 10px 32px; background: transparent;
    border-radius: 2px; cursor: pointer; transition: all .2s; margin-top: 2.5rem;
}
.btn-load-more:hover { background: var(--black); color: var(--white); }

/* ── Témoignages ── */
.temoignages-section { padding: 5rem 0; background: var(--white); }
.temoignage-card {
    border: 1px solid var(--gray-border); border-radius: 4px;
    padding: 1.5rem; margin-bottom: 1rem; transition: border-color .2s;
}
.temoignage-card:hover { border-color: var(--gold); }
.temoignage-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--off-white); border: 1px solid var(--gray-border);
    display: flex; align-items: center; justify-content: center;
    font-family: sans-serif; font-size: 0.75rem; font-weight: 600;
    color: var(--text-mid); flex-shrink: 0;
}
.temoignage-nom { font-size: 0.9rem; font-weight: 400; color: var(--black); }
.temoignage-msg { font-size: 0.9rem; font-style: italic; color: var(--text-mid); line-height: 1.8; margin: 0.75rem 0 0.5rem; }
.temoignage-date { font-family: sans-serif; font-size: 0.72rem; color: var(--text-muted); }

/* ── Galerie ── */
.galerie-hero { background: var(--black); padding: 5rem 0 3rem; }
.galerie-title-block { color: var(--white); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 4px;
}
.gallery-item { aspect-ratio: 1; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity .3s, transform .4s; }
.gallery-item:hover img { opacity: 1; transform: scale(1.04); }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white); font-family: sans-serif; font-size: 0.75rem;
    padding: 1rem 0.75rem 0.5rem;
    transform: translateY(100%); transition: transform .3s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── Formulaire ── */
.form-control-modern {
    border: 1px solid var(--gray-border) !important; border-radius: 2px !important;
    padding: 0.75rem 1rem !important; font-family: sans-serif !important;
    font-size: 0.9rem !important; color: var(--text-dark) !important;
    background: var(--white) !important; transition: border-color .2s !important;
}
.form-control-modern:focus { border-color: var(--black) !important; box-shadow: none !important; }
.btn-submit {
    background: var(--black); color: var(--white); border: none; border-radius: 2px;
    font-family: sans-serif; font-size: 0.75rem; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 12px 24px; width: 100%; cursor: pointer; transition: background .2s;
}
.btn-submit:hover { background: var(--gold); }

/* ── Lightbox ── */
#lightboxModal .modal-content { background: rgba(5,5,5,0.97); border: none; border-radius: 0; }
#lightboxModal img { max-height: 85vh; object-fit: contain; }
#lightbox-caption { color: var(--text-muted); font-size: 0.8rem; margin-top: 0.5rem; }

/* ── Page header ── */
.page-header { background: var(--black); padding: 5rem 0 3rem; }
.page-header h1 { color: var(--white); font-size: 2.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.page-header p { font-family: sans-serif; font-size: 0.8rem; letter-spacing: 1px; color: var(--text-muted); }

/* ── Footer ── */
.site-footer { background: var(--black); border-top: 1px solid #222; padding: 3rem 0; text-align: center; }
.site-footer p { color: var(--text-muted); font-family: sans-serif; font-size: 0.82rem; margin-bottom: 0.25rem; }
.site-footer strong { color: var(--white); font-weight: 400; }
.site-footer a { color: #444; font-size: 0.75rem; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-divider { width: 36px; height: 1px; background: #333; margin: 1rem auto; }

/* ── Utilitaires ── */
.spinner-gold { color: var(--gold); }
.text-gold { color: var(--gold); }
.fade-in { animation: fadeIn .5s ease forwards; opacity: 0; }
@keyframes fadeIn { to { opacity: 1; } }

/* ── Admin ── */
.admin-nav-link {
    display: block; padding: .55rem 1rem; border-radius: 6px;
    margin-bottom: .2rem; color: rgba(255,255,255,0.7) !important;
    font-family: sans-serif; font-size: .85rem; text-decoration: none;
    transition: background .2s, color .2s;
}
.admin-nav-link:hover { background: rgba(255,255,255,0.15); color: #fff !important; }
.admin-nav-active { background: rgba(255,255,255,0.2) !important; color: #fff !important; font-weight: 500; }
.table-dark-custom { background-color: #fff; color: #3D2A08; border-color: #E8D8A0; }
.table-dark-custom th { color: #3D2A08; border-color: #E8D8A0; font-family: sans-serif; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; }
.table-dark-custom td { border-color: #F0E8C8; vertical-align: middle; color: #555; }
.table-dark-custom tbody tr:hover { background: #FDF5DC; }
.badge-publie { background-color: rgba(40,167,69,.12); color: #1a6e30; border: 1px solid rgba(40,167,69,.25); border-radius: 20px; padding: 3px 10px; font-size: .75rem; }
.badge-brouillon { background-color: rgba(108,117,125,.12); color: #555; border: 1px solid rgba(108,117,125,.25); border-radius: 20px; padding: 3px 10px; font-size: .75rem; }
.badge-approuve { background-color: rgba(40,167,69,.12); color: #1a6e30; border: 1px solid rgba(40,167,69,.25); border-radius: 20px; padding: 3px 10px; font-size: .75rem; }
.badge-en_attente { background-color: rgba(201,160,64,.15); color: #7A5A10; border: 1px solid rgba(201,160,64,.35); border-radius: 20px; padding: 3px 10px; font-size: .75rem; }
.badge-rejete { background-color: rgba(220,53,69,.12); color: #a02030; border: 1px solid rgba(220,53,69,.25); border-radius: 20px; padding: 3px 10px; font-size: .75rem; }
.form-control-dark { background-color: #fff !important; border: 1px solid #E8D8A0 !important; color: #3D2A08 !important; border-radius: 6px; }
.form-control-dark:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 2px rgba(201,160,64,0.2) !important; }
.form-control-dark::placeholder { color: #B0A080 !important; }
.btn-gold { background-color: var(--gold); border-color: var(--gold); color: #fff; font-weight: 600; }
.btn-gold:hover { background-color: #A07C28; border-color: #A07C28; color: #fff; }
.btn-outline-gold { border: 1px solid var(--gold); color: #7A5A10; background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.card-dark { background-color: #fff; border: 1px solid #E8D8A0; border-radius: 8px; }
.bg-dark-custom { background-color: rgba(10,10,10,0.97) !important; border-bottom: 1px solid #2a2a2a; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-split { flex-direction: column; }
    .hero-photo-side { min-height: 50vw; }
    .hero-text-side { padding: 2.5rem 1.5rem; }
    .hero-name { font-size: 2.2rem; }
    .stat-block { border-left: none; border-top: 1px solid var(--gray-border); }
}
