﻿
:root {
    --bg-color: #afe0ee; /* Bleu clair turquoise */
    --bg-menu: #280B8B; /* Bleu foncé */
    --hover-bg: rgba(255, 255, 255, 0.1); /* Fond semi-transparent au survol */
}

body {
    font-family: Arial, sans-serif,'Dancing Script', 'Pacifico', cursive;
    font-size: clamp(16px, 2vw, 20px);
    background-color: var(--bg-color);
    padding-top: 40px;
}


/* Navbar */
.navbar {
    font-family: Georgia, serif;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: bold;
}

    /* Liens */
    .navbar a {
        color: white;
        text-decoration: none;
        font-size: clamp(16px, 2vw, 20px);
        padding: 0.5rem 1rem;
        border-radius: 6px; /* coins arrondis pour l'effet hover */
        transition: background-color 0.3s ease, color 0.3s ease;
    }

        .navbar a:hover,
        .navbar a:focus {
            color: orange;
            background-color: var(--hover-bg);
        }

/* Bouton burger blanc (Bootstrap 5) */
.navbar-toggler {
    border-color: white; /* Bordure blanche */
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menu */
.dropdown-menu {
    background-color: var(--bg-menu);
    border: none;
}

.dropdown-item {
    color: white;
    transition: background-color 0.3s ease;
}

    .dropdown-item:hover {
        background-color: var(--hover-bg);
        color: orange;
    }


/* Appliquer un fond blanc et un texte noir aux dropdown */
.custom-dropdown {
    background-color: white !important;
    border: 1px solid #ccc; /* Ajoute une bordure légère */
}

    /* Style des liens du dropdown */
    .custom-dropdown .dropdown-item {
        color: black !important;
    }

        /* Changer la couleur au survol */
        .custom-dropdown .dropdown-item:hover {
            background-color: black !important;
            color: white !important;
        }

/*utiliser font-size: clamp(); pour réduire la taille du texte si nécessaire.*/
.serif {
    font-family: Arial, sans-serif,'Dancing Script', 'Pacifico', cursive;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: lighter;
    background-color: var(--bg-color);
    padding-block-start: 0px;
}

.cadreactualites {
    font-family: 'Dancing Script', 'Pacifico', cursive;
    border: 10px solid #c5dc70;
    text-align: center;
    font-weight: bold;
    padding-block: 20px;
}

.a4-container {
    width: 210mm;
/*    height: 297mm;*/    
margin: auto;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden; /* Empêche le débordement */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Répartit le texte */
}



p {
    line-height: 1.5;
}

/* image avec texte qui commence à samp droite */
.image-text-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.image-wrap {
    flex: 1 1 50%;
    max-width: 50%;
}

.text-wrap {
    flex: 1 1 50%;
}

@media (max-width: 768px) {
    .image-wrap, .text-wrap {
        max-width: 100%;
        flex: 1 1 100%;
    }
        .ratio {
            max-height: 150px; /* Réduit la hauteur sur petits écrans */
        }
    }


    /*.carousel-item img {
    max-height: 400px;
    object-fit: cover;
}*/


/*style pour page témoignages >*/
.testimonial-card {
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*Fin style pour page témoignages >*/


.mef1 .title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(30px, 2vw, 38px);
/*    background-color: #fef3c7;
*/    color: #9d174d;
    padding: 20px;
    text-align: center;
/*    border: 1px dashed red;
*/}

.mef2 .title {
    font-family: 'Caveat', cursive;
    font-size: clamp(26px, 2vw, 34px);
    background-color: #e0e7ff;
    color: #4f46e5;
    padding: 20px;
    border-left: 5px solid #a5b4fc;
/*    border: 1px dashed red;
*/}

.mef2s .title {
    font-family: 'Caveat', cursive;
    font-size: clamp(26px, 2vw, 34px);
    color: #4f46e5;
    padding: 20px;
    /*    border: 1px dashed red;
*/
}

