/* ============================================================
   MAIN2.CSS — Style magazine page d'accueil
   ============================================================ */

.hero--parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .hero--parallax { background-attachment: scroll; }
}

.magazine-wrap {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .magazine-wrap { grid-template-columns: 1fr; }
}

.mag-sidebar__bloc {
    background: #fff;
    border: 1px solid var(--c-bordure);
    border-radius: var(--rayon);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.mag-sidebar__titre {
    font-family: var(--f-titre);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-texte-doux);
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--c-bordure);
    background: #f8f9fb;
}

.lien-rapide-v {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: opacity 0.15s;
}
.lien-rapide-v:last-child { border-bottom: none; }
.lien-rapide-v:hover { opacity: 0.85; }

.mag-evt {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--c-bordure);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.mag-evt:hover { background: #f8f9fb; }
.mag-evt__jour {
    display: block;
    font-family: var(--f-titre);
    font-size: 1.2rem;
    color: var(--c-primaire);
    line-height: 1;
    text-align: center;
    width: 32px;
}
.mag-evt__mois {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--c-texte-doux);
    text-align: center;
}
.mag-evt__titre {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-primaire);
    line-height: 1.3;
}
.mag-evt__lieu { font-size: 0.75rem; color: var(--c-texte-doux); }

.mag-actu-une {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--c-bordure);
    border-radius: var(--rayon);
    overflow: hidden;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}
.mag-actu-une:hover { box-shadow: var(--ombre); }
.mag-actu-une img { width: 100%; height: 240px; object-fit: cover; }
.mag-actu-une__corps { padding: 1.25rem; }
.mag-actu-une__date { font-size: 0.78rem; color: var(--c-texte-doux); margin-bottom: 0.4rem; }
.mag-actu-une__titre {
    font-family: var(--f-titre);
    font-size: 1.4rem;
    color: var(--c-primaire);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.mag-actu-une__extrait { font-size: 0.875rem; color: var(--c-texte-doux); line-height: 1.6; }

.mag-actu-item {
    display: flex;
    border: 1px solid var(--c-bordure);
    border-radius: var(--rayon);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
    margin-bottom: 1rem;
}
.mag-actu-item:hover { box-shadow: var(--ombre); }
.mag-actu-item img { width: 110px; height: 80px; object-fit: cover; flex-shrink: 0; }
.mag-actu-item__corps {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mag-actu-item__date { font-size: 0.72rem; color: var(--c-texte-doux); }
.mag-actu-item__titre {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--c-primaire);
    line-height: 1.3;
}
