/* --- Mise en page globale --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(to bottom, #0EB062, #0EB062);
    color: #333;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.main-container {
    width: 100%;  
    max-width: 2000px;  
    margin: auto; 
    padding: 30px 20px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    background-color: #fff; 
    border-radius: 0px; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); 
    box-sizing: border-box;
}

section {
    width: 90%;
    max-width: 1200px;
    margin-bottom: 30px;
}

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');

/* --- Encart principal blanc --- */
.message-dynamique {
    border-radius: 10px;
    width: 85%;
    max-width: 950px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    padding: 35px 30px;
    text-align: center;
    box-sizing: border-box;
}

/* --- Formulaire Mot de passe --- */
.texte-intro-verrou {
    font-family: 'Oswald', sans-serif;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-verrou {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.form-verrou label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    color: #2C5E2E;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

#passwordCivil {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    text-transform: uppercase;
}

.btn-deverrouiller {
    background-color: #ffd226;
    color: #000;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 12px;
    width: 100%;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-deverrouiller:hover {
    background-color: #e7cf6f;
}

.erreur-mdp {
    color: #c0392b;
    font-size: 0.9rem;
    margin-top: 8px;
    font-weight: bold;
}

/* --- Contenu déverrouillé --- */
.texte-civil-programme {
    font-family: 'Oswald', sans-serif;
    color: #222;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 35px;
    text-align: center;
}

.texte-civil-programme strong {
    color: #2C5E2E;
}

.titre-conseils {
    font-family: 'Oswald', sans-serif;
    color: #2C5E2E;
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 20px;
    text-decoration: underline;
}

/* --- Grille des 4 conseils --- */
.conseils-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.conseil-card {
    border: 1.5px solid #bbb;
    border-radius: 4px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 240px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.card-icon-header {
    margin-bottom: 12px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body-content p {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #333;
    margin: 0;
}

.card-body-content p + p {
    margin-top: 10px;
}

/* Badge bleu Parking */
.badge-parking-p {
    width: 38px;
    height: 38px;
    background-color: #0066cc;
    color: white;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* Pictogrammes téléphone / photo */
.mini-pictos {
    width: 95px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.detox-note {
    font-size: 0.85rem !important;
    color: #555 !important;
}

/* --- Témoignage --- */
.temoignage {
    margin-top: 40px;
    font-style: italic;
    text-align: center;
    font-size: 18px;
    color: #555;
}

/* --- Adaptation Responsive --- */
@media screen and (max-width: 900px) {
    .conseils-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 550px) {
    .conseils-grid {
        grid-template-columns: 1fr;
    }
    .message-dynamique {
        width: 95%;
        padding: 20px 15px;
    }
}


.surligne-jaune {
    background-color: #ffd226; /* Exactement le même jaune que le bandeau */
    color: #000000;            /* Texte en noir pour garder une bonne lisibilité */
    padding: 2px 6px;          /* Léger espace autour du mot pour faire propre */
    border-radius: 4px;        /* Coins très légèrement arrondis */
    font-weight: bold;
}