/* ========================= HABITANTS ET BÉNÉVOLES PAGE ==================================================================================================================================== */

/* Conteneur principal */
.resident-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
}

/* Titre principal */
.resident-container h1 {
    font-size: 2.5rem;
    margin: 0 0 4rem 0;
    color: #000;
}

/* Section d'introduction */
.resident-intro {
    margin-bottom: 60px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.resident-intro h2 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    font-family: 'Causten', sans-serif;
}

.resident-intro p {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    font-family: 'Causten', sans-serif;
    margin: 0;
}

/* Grille des cafés */
.cafes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.cafe-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cafe-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    font-family: 'Causten', sans-serif;
}

.cafe-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    margin: 0 0 8px 0;
    font-family: 'Causten', sans-serif;
}

.cafe-card p:last-child {
    margin-bottom: 0;
}

/* Grille des autres sections */
.other-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.section-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    font-family: 'Causten', sans-serif;
}

.section-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #000;
    font-family: 'Causten', sans-serif;
    margin: 0;
}

/* Formulaire de contact */
.contact-form {
    background: #d3d3d3;
    padding: 40px 45px;
    border-radius: 20px;
    margin: 60px auto 0 auto;
    max-width: 800px;
}

.contact-form h2 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    font-family: 'Causten', sans-serif;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Causten', sans-serif;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
    border-radius: 20px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #000;
}

/* Responsive */
@media (max-width: 992px) {
    .resident-container {
        padding: 40px 60px;
    }

    .cafes-grid,
    .other-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .resident-container {
        padding: 30px 20px;
    }

    .resident-container h1 {
        font-size: 32px;
    }

    .cafes-grid,
    .other-sections {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form {
        padding: 25px;
    }
}
