:root{
    --neutral--50: #E6E6E6;
    --neutral--200: #c8c8c8;
    --neutral--900: #363636;
    --primary--800: #4D8EB3;
    --red--600: #B83434;

    --font--default-font: "Work Sans", sans-serif;
    --font--display-font: Arapey, sans-serif;
}

/* Reset */
* {
    box-sizing: border-box;
}

/* Global */
.main {
    min-height: 50dvh;
    position: relative;
    overflow: visible;
}

.max-width {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Section d'en-tête */
.section-head-page {
    padding: 45px 20px 60px;
    text-align: center;
}

.section-head-page .paragraphe {
    font-size: 1.125rem;
    color: var(--neutral--900);
    margin: 20px auto;
    max-width: 700px;
    line-height: 1.6;
}

.image-10 {
    display: block;
    margin: 30px auto 0;
    max-width: 360px;
}

/* Section FAQ */
.section-page {
    padding: 60px 20px 80px;
}

.section-page.gray {
    background-color: var(--neutral--50);
}

/* Conteneur de questions */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 850px;
    margin: 0 auto;
}

/* Style des accordéons (details/summary) */
.faq-container details {
    background-color: white;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #d0d0d0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-container details:hover {
    border-color: #a0a0a0;
}

.faq-container details[open] {
    border-color: var(--primary--800);
}

.faq-container details summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding: 20px 60px 20px 25px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--neutral--900);
    line-height: 1.5;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-container details summary::-webkit-details-marker {
    display: none;
}

.faq-container details summary::marker {
    display: none;
}

.faq-container details summary:hover {
    color: var(--primary--800);
    background-color: #f8f9fa;
}

.faq-container details[open] summary {
    color: var(--red--600);
    border-bottom: 1px solid var(--neutral--50);
    margin-bottom: 0;
}

/* Icône + / - pour les dropdowns */
.faq-container details summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: var(--primary--800);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    line-height: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.faq-container details[open] summary::after {
    content: '−';
    background-color: var(--red--600);
    transform: translateY(-50%) rotate(180deg);
}

.faq-container details summary:hover::after {
    background-color: var(--red--600);
}

.faq-container details[open] summary:hover::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Contenu des réponses */
.faq-container details p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    padding: 20px 25px 25px 25px;
    text-align: justify;
    background-color: #fafbfc;
}

.faq-container details[open] p {
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Liens dans les réponses */
.faq-container .lien-red,
.faq-container a.lien-red {
    color: var(--red--600);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.faq-container .lien-red:hover,
.faq-container a.lien-red:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Section Header */
.section-header {
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
}

.h2-page {
    font-family: var(--font--display-font);
    font-size: 2rem;
    color: var(--neutral--900);
    margin: 0 0 15px 0;
    font-weight: 400;
}

/* Section Contact */
.section-page .paragraphe {
    max-width: 700px;
    margin: 0 auto;
}

.section-page .paragraphe p {
    text-align: center;
    line-height: 1.8;
    margin: 10px 0;
    font-size: 1rem;
}

/* Footer */
.section-footer {
    border-radius: 8px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://www.hotel-daumesnil.com/img/nivoslider/quartier/01.jpg);
    background-position: center;
    background-size: cover;
    min-height: 460px;
    margin: 15px;
    padding: 60px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.footer-btn {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background-color: white;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    min-height: 250px;
    padding: 10px;
    text-decoration: none;
    color: var(--neutral--900);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.footer-btn:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.paragraph-4 {
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

.footer-btn__arrow {
    width: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral--50);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

a.footer-btn:hover .footer-btn__arrow {
    background-color: var(--primary--800);
}

.footer-btn__embed {
    width: 50px;
    height: 50px;
    background-color: var(--primary--800);
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

a.footer-btn:hover .footer-btn__embed {
    background-color: var(--red--600);
}

.footer-btn-text {
    display: none;
}

.svg-footer-section {
    transform: scale(0.7);
}

/* Responsive */
@media screen and (max-width: 767px) {
    .section-head-page {
        padding: 30px 15px 40px;
    }

    .section-page {
        padding: 40px 15px 60px;
    }

    .h2-page {
        font-size: 1.75rem;
    }

    .faq-container {
        gap: 12px;
    }

    .faq-container details summary {
        padding: 18px 55px 18px 20px;
        font-size: 0.95rem;
    }

    .faq-container details summary::after {
        width: 28px;
        height: 28px;
        font-size: 24px;
        line-height: 28px;
        right: 15px;
    }

    .faq-container details p {
        font-size: 0.9rem;
        padding: 18px 20px 20px 20px;
    }

    .section-footer {
        min-height: 350px;
        padding: 30px 15px;
    }

    a.footer-btn {
        flex-direction: column;
        min-height: auto;
    }

    .footer-info {
        padding: 20px;
    }

    .footer-btn__arrow {
        width: 100%;
        padding: 15px;
    }

    .footer-btn-text {
        display: block;
        text-transform: uppercase;
        font-weight: 600;
    }

    .footer-btn__embed {
        width: 100%;
        height: 40px;
        border-radius: 4px;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .section-head-page {
        padding: 20px 15px 30px;
    }

    .section-page {
        padding: 30px 15px 40px;
    }

    .h2-page {
        font-size: 1.5rem;
    }

    .faq-container details summary {
        padding: 16px 50px 16px 18px;
        font-size: 0.9rem;
    }

    .faq-container details summary::after {
        width: 26px;
        height: 26px;
        font-size: 22px;
        line-height: 26px;
        right: 12px;
    }

    .faq-container details p {
        padding: 16px 18px 18px 18px;
    }
}