/* Défilement fluide vers les ancres + petit décalage haut */
html{ scroll-behavior: smooth; }
:target{ scroll-margin-top: 20px; }

/* ============================================================
   Actualités — ossature commune : ancres + contenu
   ============================================================ */
.actualites{
    display: flex;
    justify-content: center;
    gap: 4%;
    padding: 0 0 5% 0;
}

/* ===== Barre latérale d'ancres ===== */
.actualites .ancres{
    width: 210px;
    background: #ffffff;
    padding: 30px 16px;
    align-self: flex-start;
    position: sticky;
    top: 90px;
}
.actualites .ancres nav ul{
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: rgb(245, 245, 245);
}
.actualites .ancres nav li{ margin-bottom: 14px; }
.actualites .ancres nav a{
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 14px 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    text-align: center;
    color: #8a8a8a;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.actualites .ancres nav a:hover{ color: #111; }
.actualites .ancres nav a.active{
    background: #fff;
    color: #111;
    text-shadow: 0 0 .6px currentColor, 0 0 .6px currentColor;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* ===== Zone de contenu ===== */
.actualites .sections{ width: 66%; padding-top: 2%; }
.actualites .sections > div + div{ margin-top: var(--espace-rubriques); }
.actualites .sections h2{
    margin: 0 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 34px;
    color: #2e9b8a;
}
.actualites .sections hr{
    border: none;
    border-top: 1px solid #e3e3e3;
    margin: 0 0 22px;
}

/* Étiquette de catégorie */
.actualites .categorie{
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #1c9b8e;
    background: #eefaf8;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ===== Article à la une ===== */
.actualites .une_carte{
    background: #f4f4f4;
    padding: 30px 34px;
}
.actualites .une_carte h3{
    margin: 0 0 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.3;
}
.actualites .une_carte p{
    margin: 0 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #6a6a6a;
}
.actualites .lire{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1c9b8e;
    text-decoration: none;
    transition: color .2s ease;
}
.actualites .lire:hover{ color: #147a70; }

/* ===== Grille des derniers articles ===== */
.actualites .grille_articles{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.actualites .article{
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-top: 3px solid #1c9b8e;
    padding: 22px 22px 24px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.actualites .article:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}
.actualites .article time{
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #a0a0a0;
    margin-bottom: 8px;
}
.actualites .article h4{
    margin: 0 0 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #2b2b2b;
    line-height: 1.35;
}
.actualites .article p{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #8a8a8a;
}

/* ===== Liste des événements ===== */
.actualites .evenements_liste{
    list-style: none;
    margin: 0;
    padding: 0;
}
.actualites .evenements_liste li{
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}
.actualites .evenements_liste li:last-child{ border-bottom: none; }
.actualites .evt_date{
    flex: 0 0 110px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #8dc63f;
}
.actualites .evt_txt{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #5a5a5a;
}

/* ===== Newsletter ===== */
.actualites .newsletter_bloc{
    background: #f1f2f2;
    padding: 32px 36px;
}
.actualites .newsletter_bloc p{
    margin: 0 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #6a6a6a;
}
.actualites .newsletter_form{
    display: flex;
    gap: 12px;
    max-width: 480px;
}
.actualites .newsletter_form input{
    flex: 1;
    border: 1px solid #d9dadb;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    color: #2b2b2b;
}
.actualites .newsletter_form input:focus{
    outline: none;
    border-color: #1c9b8e;
}
.actualites .newsletter_form button{
    border: none;
    background: #8dc63f;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s ease;
}
.actualites .newsletter_form button:hover{ background: #7ab52f; }

/* Message de confirmation (affiché après inscription) */
.actualites .newsletter_merci{
    display: none;
    margin: 16px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #047173;
}
.actualites .newsletter_bloc.is-sent .newsletter_form{ display: none; }
.actualites .newsletter_bloc.is-sent .newsletter_merci{ display: block; }

/* Réduction sur petits écrans */
@media (max-width: 900px){
    .actualites .grille_articles{ grid-template-columns: 1fr; }
    .actualites .newsletter_form{ flex-direction: column; }
}
