/*Fond d'écran principal*/
.page-masthead {
    position: relative;
    padding: 0px 0;
    min-height: 200px;
    z-index: 1;
}

.page-masthead::before {
    content: "";
    position: absolute !important;
    display: block;
    inset: 0;
    background-image: url('/images/background_2025.png');/* Chemin vers l'image de fond */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -2;
}

.page-masthead::after {
    content: "";
    position: absolute;
    display: block;
    inset: 0;
    background-color: rgba(223, 223, 223, 0.7); /* Voile blanc à 50% */
    z-index: -1;
}

/* Animation d'entrée simple pour remplacer AnimateIt */
.my-animation {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 1s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/*description Tableau du Mois*/
.description p {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/*ligne séparation Tableau du Mois*/
.separation {
    border: none;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
    width: 100%; /* si tu veux une ligne sur toute la largeur */
}

/* Animation d'entrée par paliers pour plusieurs lignes */
.my-animation p {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out forwards;
}

.my-animation p:nth-child(1) {
    animation-delay: 0.5s;
}
.my-animation p:nth-child(2) {
    animation-delay: 0.7s;
}
.my-animation p:nth-child(3) {
    animation-delay: 0.9s;
}
.my-animation p:nth-child(4) {
    animation-delay: 1.1s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Liens des temps forts */
.temps_forts {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(145deg, #e0c3fc, #8ec5fc);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 10px 10px;
}

.temps_forts:hover {
    background: linear-gradient(145deg, #d4a3f0, #79b7f4);
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
}

/* Ta mise en forme spécifique si besoin */
.tableau_du_mois {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/*Accordéon pour mentions légales et politique de confidentialité*/
.accordion {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s ease-out forwards;
    animation-delay: 0.8s;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion input {
    display: none;
}

.accordion-title {
    display: block;
    padding: 12px 20px;
    background-color: #f0e9dd; /* beige / écru clair */
    color: #4a4a4a;
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.05);
}

.accordion-title:hover {
    background-color: #e4d8c9; /* léger assombrissement au hover */
    color: #222;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #f5f0ea; /* fond très clair pour le contenu */
    padding: 0 20px;
    border-radius: 0 0 20px 20px;
    color: #333;
    font-size: 0.95rem;
}

.accordion input:checked ~ .accordion-content {
    max-height: 800px;
    padding: 15px 20px;
}

/*gallerie photos*/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    justify-items: center;
    margin: 20px 0;
}

.gallery-grid img {
    width: 100%;
    max-width: 220px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/*Ajustements */
.t3-copyright{
    display: none !important;
    background-color: rgb(60, 60, 60);
    color: white !important;
    border-top: #181818ce solid 10px;
}

.t3-mainbody{
    padding-bottom:0 !important;
}