/* --- PAGE TARIFS MOBILES (complète style.css) --- */

.tarifs-hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    color: var(--light);
    padding: 5rem 20px 3rem;
    text-align: center;
}

.tarifs-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0px var(--primary);
    margin-bottom: 10px;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}
.back-link:hover { background: var(--primary); }

.tarifs-main { padding: 4rem 0 5rem; }

/* --- DEUX COLONNES --- */
.tarifs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.brand-panel {
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--light);
}

.brand-panel h2 {
    color: var(--light);
    text-shadow: 3px 3px 0px var(--primary);
    margin-bottom: 5px;
}
.brand-panel h2 i { margin-right: 8px; }

.panel-sub {
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* --- ONGLETS ANDROID --- */
.brand-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.tab {
    padding: 8px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}
.tab:hover { background: rgba(255,255,255,0.2); }
.tab.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(128,0,0,0.5);
}

/* --- PLANCHES --- */
.board { margin-bottom: 20px; }
.board:last-child { margin-bottom: 0; }

.board img {
    display: block;
    width: 100%;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    cursor: zoom-in;
    transition: transform 0.3s, border-color 0.3s;
}
.board img:hover { transform: scale(1.02); border-color: var(--primary); }

.board figcaption {
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 8px;
}

/* Image manquante : encart "à venir" */
.board.missing img { display: none; }
.board.missing::before {
    content: "Planche tarifaire bientôt disponible";
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 20px;
    text-align: center;
    color: #cbd5e1;
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 10px;
}

/* --- NOTE & CTA --- */
.tarifs-note {
    text-align: center;
    margin: 35px 0 25px;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.tarifs-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- ZOOM PLEIN ECRAN --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--light);
    background: none;
    border: none;
    cursor: pointer;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 900px) {
    .tarifs-split { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .tarifs-hero { padding: 5rem 15px 2.5rem; }
    .back-link { position: static; display: inline-block; margin-bottom: 20px; }
    .brand-panel { padding: 25px 15px; }
}
