/* ✅ Bannière */
#hero-temoignages {
    background: url("../img/temoignages-banner.jpg") center/cover no-repeat;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
}

/* ✅ Conteneur principal */
main {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

/* ✅ Titres des sections */
h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
}

/* ✅ Section Témoignages Vidéo */
.videos-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.video-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.video-item:hover {
    transform: scale(1.03);
}

.video-item video {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

.video-title {
    font-weight: bold;
    margin-top: 8px;
    font-size: 18px;
}

.video-author {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.video-author a {
    text-decoration: none;
    color: #E81E6F;
    font-weight: bold;
}

.video-author a:hover {
    text-decoration: underline;
}

/* ✅ Témoignages écrits */
.temoignages-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ✅ Ajustement de la boîte des témoignages */
.temoignage {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    max-width: 350px;
    transition: transform 0.3s ease-in-out;
    margin-top: 20px;
}

.temoignage:hover {
    transform: translateY(-5px);
}

.temoignage blockquote {
    font-style: italic;
    font-size: 16px;
    color: #444;
    padding: 10px;
}

.temoin-author {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-weight: bold;
}

.temoin-author a {
    color: #E81E6F;
    font-weight: bold;
}

/* ✅ Espacement optimisé */
#text-temoignages {
    padding-bottom: 40px;
    margin-top: 40px;
    padding-top: 20px;
}

/* ✅ Formulaire Témoignage */
#form-temoignage {
    text-align: center;
    padding: 40px;
    background: #f4f4f4;
    border-radius: 10px;
    margin-top: 40px;
}

#form-temoignage p {
    font-size: 16px;
    color: #666;
}

input, textarea, select {
    width: 80%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

textarea {
    height: 120px;
    resize: none;
}

.btn-temoignage {
    background: #E81E6F;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background 0.3s, transform 0.2s;
}

.btn-temoignage:hover {
    background: #C7165A;
    transform: scale(1.05);
}

/* ✅ Style de la notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: bold;
    z-index: 9999;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

/* ✅ Adaptation pour les petits écrans */
@media (max-width: 768px) {
    .videos-container, .temoignages-container {
        flex-direction: column;
        align-items: center;
    }

    .video-item, .temoignage {
        width: 90%;
    }

    input, textarea, select {
        width: 90%;
    }

    #hero-temoignages {
        height: 30vh;
        font-size: 22px;
    }

    .hero-content {
        padding: 10px 20px;
    }

    h2 {
        font-size: 22px;
    }

    .btn-temoignage {
        width: 90%;
    }
}
