/* ============================================================
   jij-ouesse-2026.css
   À charger après style.css et components.css.
   ============================================================ */

/* ============================================
   HERO
============================================ */
.hero {
    min-height: 560px;
    background-image: url("https://res.cloudinary.com/nyke7lhc/image/upload/f_auto,q_auto,w_1600/v1788559768/jij_2026_7_gdg3pu.jpg");
    background-position: center;
}

.hero-content {
    max-width: 780px;
}

.hero-title {
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-text {
    max-width: 640px;
    margin-top: 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0ede7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--forest);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.btn-hero:hover {
    background: var(--forest-dark);
    transform: translateY(-1px);
}

.btn-hero-light {
    background: #ffffff;
    color: var(--forest-dark);
}

.btn-hero-light:hover {
    background: var(--forest-soft);
}

/* ============================================
   COMPTE-RENDU
============================================ */
.texte {
    margin-top: 40px;
}

.texte .intro {
    flex: 1 1 100%;
}

.texte .intro h2 {
    text-align: left;
}

.texte .intro h3 {
    margin: 2rem 0 1rem;
    font-size: 1.3rem;
    color: var(--forest);
}

.texte .intro a {
    font-weight: 700;
    color: var(--forest);
    transition: color 0.2s ease;
}

.texte .intro a:hover {
    color: var(--forest-dark);
}

.texte .intro .encart {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--forest-soft);
}

.texte .intro ul {
    margin: 0 0 2rem 2rem;
    list-style: disc;
    color: var(--ink);
}

.texte .intro li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ============================================
   GALERIE (grille de style.css)
============================================ */
.gallery h2 {
    margin-bottom: 8px;
    font-size: 1.8rem;
    color: var(--terracotta-dark);
}

/* ============================================
   POPUP MESSAGE DU DR AKPO
============================================ */
.akpo-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.akpo-modal-overlay[hidden] {
    display: none;
}

.akpo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.akpo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 30, 20, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.akpo-modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    padding: 2.2rem;
    overflow-y: auto;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.akpo-modal-overlay.active .akpo-modal-content {
    transform: scale(1) translateY(0);
}

.akpo-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--forest-soft);
    color: var(--forest-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.akpo-modal-close:hover {
    background: #d3e8dc;
    transform: rotate(90deg);
}

.akpo-modal-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    padding-right: 3rem;
}

.akpo-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--forest);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.akpo-modal-date {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-text);
}

.akpo-modal-date i {
    margin-right: 4px;
    color: var(--forest);
}

.akpo-modal-title {
    margin: 0.9rem 0 0 0;
    font-size: clamp(1.3rem, 3.2vw, 1.65rem);
    line-height: 1.3;
    color: var(--forest-dark);
}

.akpo-modal-desc {
    margin: 1rem 0;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--ink);
}

.akpo-modal-quote {
    margin: 1.2rem 0;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--forest-soft);
    font-size: 0.98rem;
    font-style: italic;
    line-height: 1.65;
    color: var(--ink);
}

.akpo-modal-quote i {
    margin-right: 6px;
    color: var(--forest);
}

.akpo-modal-file-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.2rem 0;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    background: var(--gray-soft);
}

.akpo-modal-file-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--forest-soft);
    color: var(--forest);
    font-size: 1.25rem;
}

.akpo-modal-file-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.akpo-modal-file-meta {
    font-size: 0.82rem;
    color: var(--gray-text);
}

.akpo-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.akpo-btn-download,
.akpo-btn-portrait {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.akpo-btn-download {
    flex: 1 1 220px;
    background: var(--forest);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(11, 107, 68, 0.3);
}

.akpo-btn-download:hover {
    background: var(--forest-dark);
    transform: translateY(-2px);
}

.akpo-btn-portrait {
    flex: 1 1 190px;
    background: var(--forest-soft);
    color: var(--forest-dark);
}

.akpo-btn-portrait:hover {
    background: #d3e8dc;
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE — 3 BREAKPOINTS
============================================ */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .hero {
        background-image: url("https://res.cloudinary.com/nyke7lhc/image/upload/f_auto,q_auto,w_800/v1788559768/jij_2026_7_gdg3pu.jpg");
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .hero {
        background-image: url("https://res.cloudinary.com/nyke7lhc/image/upload/f_auto,q_auto,w_600/v1788559768/jij_2026_7_gdg3pu.jpg");
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .btn-hero {
        width: 100%;
    }

    .texte .intro ul {
        margin-left: 1.2rem;
    }

    .akpo-modal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .akpo-btn-download,
    .akpo-btn-portrait {
        flex: 1 1 100%;
        width: 100%;
    }
}