/*
========================================
    LETTRES-INFORMATIONS.CSS
    Styles spécifiques à la page Lettres d'informations
    (Doit être inclus après global.css)
========================================
*/

.lettres-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* --- 1. En-tête spécifique --- */

.lettres-header .container {
    max-width: 800px;
}

.lettres-header p {
    margin-bottom: 30px;
}

.btn-inscription {
    font-weight: 700;
    color: white;
    background-color: var(--couleur-secondaire);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-rapide);
}
.btn-inscription:hover {
    background-color: #c93b3e;
}

/* --- 2. Conteneur Iframe / Newsletter --- */
.iframe-container {
    padding-top: 0;
    margin-top: -40px; /* Remonter légèrement sous le header */
    height: 100vh; /* Permet à l'iframe de prendre de la hauteur */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.styled-iframe {
    width: 95%;
    height: 90%;
    max-width: 1000px;
    border: 5px solid var(--couleur-principale-claire);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* --- 3. Pop-up d'inscription (si utilisé) --- */
#popup-inscription {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    overflow: auto;
    z-index: 100000;
}
#popup-inscription.active {
    display: flex !important;
}
#popup-inscription iframe {
    width: 90%;
    height: 700px;
    max-width: 600px;
    border-radius: 10px;
}
#popup-inscription .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--couleur-secondaire-claire);
    color: white;
    border: none;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
#popup-inscription .close-btn i {
    scale: 1.2;
}

@media (max-width: 768px) {
    .iframe-container {
        height: 80vh;
    }
}