body { font-family: 'Inter', system-ui, sans-serif; }
.brand-title { font-family: 'Playfair Display', serif; }

.ivoire-bar {
    height: 6px;
    background: linear-gradient(to right, #F77F00 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #009A44 66.66%);
}

.hero-bg {
    /* Overlay léger : l'image de fond reste bien visible autour du nuage */
    background: linear-gradient(to bottom, rgba(92,45,10,.25), rgba(0,0,0,.35)),
                url('../images/hero.jpg') center/cover no-repeat;
    background-color: #5C2D0A;
    background-attachment: fixed;
}
.page-hero {
    background: linear-gradient(to bottom, rgba(92,45,10,.88), rgba(20,10,5,.85)),
                url('../images/hero-page.jpg') center/cover no-repeat;
    background-color: #5C2D0A;
}

.nav-link {
    padding-bottom: .25rem;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: #d4af37; border-color: #d4af37; }

.section-heading { position: relative; display: inline-block; margin-bottom: 2rem; }
.section-heading:after {
    content: ''; position: absolute; bottom: -10px; left: 0;
    width: 50px; height: 4px; background: #d4af37; border-radius: 2px;
}
.text-center .section-heading:after { left: 50%; transform: translateX(-50%); }

.card-hover { transition: all .3s ease; }
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(139,69,19,.15);
    border-color: #d4af37;
}

#mobile-menu { transition: max-height .3s ease-in-out, opacity .3s ease-in-out; max-height: 0; opacity: 0; overflow: hidden; }
#mobile-menu.open { max-height: 750px; opacity: 1; }

.list-disc-custom li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.list-disc-custom li::before { content: '✦'; position: absolute; left: 0; color: #d4af37; font-size: .8rem; top: 2px; }

/* Emplacements d'images */
.img-slot {
    background: repeating-linear-gradient(45deg, #fdf6e3, #fdf6e3 12px, #faefd0 12px, #faefd0 24px);
    border: 2px dashed #d4af37;
    color: #8B4513;
    min-height: 180px;
}
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-3-4 { aspect-ratio: 3 / 4; }

/* Prose */
.prose-dk p { margin-bottom: 1.1rem; line-height: 1.8; color: #4b5563; }
.prose-dk strong { color: #8B4513; }

/* Histogramme CSS */
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar { width: 100%; background: linear-gradient(to top, #8B4513, #d4af37); border-radius: 6px 6px 0 0; min-height: 2px; }

/* Timeline */
.timeline { border-left: 3px solid #d4af37; padding-left: 1.5rem; }
.timeline-item { position: relative; padding-bottom: 1.75rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.05rem; top: .35rem;
    width: 14px; height: 14px; border-radius: 50%; background: #8B4513; border: 3px solid #fcfaf8;
}

@media (max-width: 640px) { .hero-bg { background-attachment: scroll; } }

/* Panneau du hero */
.hero-panel {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    padding: 3.5rem 2rem 3rem;
    text-align: center;
    background: rgba(255, 251, 240, .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border-top: 6px solid #d4af37;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.55), 0 0 0 1px rgba(212,175,55,.45);
}
/* Liseré intérieur doré */
.hero-panel::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(139,69,19,.22);
    border-radius: 1.4rem;
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    padding: .35rem 1.1rem;
    border-radius: 999px;
    background: #8B4513;
    color: #f5e8c7;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.hero-title {
    margin: 1.1rem 0 .4rem;
    font-size: clamp(3rem, 9vw, 5.5rem);
    line-height: 1;
    font-weight: 900;
    color: #5C2D0A;
}
.hero-divider { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 1rem 0 1.25rem; color: #d4af37; font-size: .6rem; }
.hero-divider span { display: block; width: 70px; height: 2px; background: linear-gradient(to right, transparent, #d4af37); }
.hero-divider span:last-child { background: linear-gradient(to left, transparent, #d4af37); }
.hero-text {
    max-width: 40rem;
    margin: 0 auto 2rem;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.7;
    color: #4b3a2e;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.hero-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.8rem; border-radius: 999px;
    font-weight: 700; text-decoration: none;
    transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn-primary { background: #8B4513; color: #fff; box-shadow: 0 8px 18px -6px rgba(139,69,19,.6); }
.hero-btn-primary:hover { background: #5C2D0A; }
.hero-btn-secondary { background: transparent; color: #8B4513; border: 2px solid #8B4513; }
.hero-btn-secondary:hover { background: #d4af37; border-color: #d4af37; color: #3b1d06; }
@media (min-width: 768px) { .hero-panel { padding: 4.5rem 4rem 3.75rem; } }
