/* ============================================================
   offres-galerie.css — Restauration du design original (Onglets)
   ============================================================ */

/* Conteneur principal des onglets */
.tabs-container {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── NAVIGATION DES ONGLETS (Pilule) ─────────────────────── */
.tabs-nav {
    display: inline-flex;
    background-color: #EBE8E3; /* Gris beige léger */
    padding: 6px;
    border-radius: 50px;
    width: fit-content;
}

.tab-btn {
    font-family: var(--c-font-text);
    font-size: 0.95rem;
    font-weight: 500;
    color: #6B6862;
    background: transparent;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--c-text);
}

.tab-btn.active {
    background-color: #FFFFFF;
    color: var(--c-text);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ── CONTENU DES ONGLETS (Panneaux) ──────────────────────── */
.tabs-content {
    position: relative;
    width: 100%;
}

.tab-panel {
    display: none;
    background-color: #F4F2EE; /* Beige très clair (voir image) */
    border-radius: 16px;
    padding: 64px;
    /* L'animation se fera via GSAP */
}

.tab-panel.active {
    display: block;
}

.tab-panel__inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

/* Partie Texte (Gauche) */
.tab-panel__text {
    flex: 1;
}

.tab-panel__text h3 {
    font-family: var(--c-font-title);
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--c-orange);
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.tab-panel__text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--c-text);
    margin-bottom: 32px;
    max-width: 500px;
}

.tab-panel__list {
    list-style: none;
    padding: 0;
    margin: 0 0 48px 0;
}

.tab-panel__list li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-text);
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
}

/* Carré orange pour les puces */
.tab-panel__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--c-orange);
    border-radius: 1px;
}

/* Partie Visuelle (Droite) */
.tab-panel__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wireframe-mockup {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .tab-panel__inner {
        flex-direction: column;
        gap: 40px;
    }
    .tab-panel {
        padding: 40px 32px;
    }
    .tabs-nav {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .tab-btn {
        flex: 1;
        padding: 12px 16px;
        text-align: center;
    }
}
