/* ==============================
   RÉINITIALISATION
   ============================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background-color: #ffffff;
    line-height: 1.6;
}

/* ==============================
   HERO
   ============================== */

.hero {
    min-height: 100vh;

    background-image: url("hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}

.hero-overlay {
    min-height: 100vh;

    background: rgba(0, 0, 0, 0.55);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 35px;
}

.btn-contact {
    display: inline-block;

    padding: 14px 30px;

    background-color: #ffffff;
    color: #222;

    text-decoration: none;
    font-weight: bold;

    border-radius: 6px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.btn-contact:hover {
    background-color: #222;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ==============================
   SECTIONS
   ============================== */

.section {
    padding: 80px 20px;
}

.section-light {
    background-color: #f4f5f6;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1f2933;

    position: relative;
    padding-bottom: 12px;
}

.section h2::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 55px;
    height: 4px;

    background-color: #333;
    border-radius: 2px;
}

.section p {
    font-size: 1.1rem;
}

/* ==============================
   INFORMATIONS PRATIQUES
   ============================== */

.info-list {
    list-style: none;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.info-list li {
    background-color: #ffffff;

    padding: 20px 24px;

    border-left: 4px solid #333;
    border-radius: 5px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-light .info-list li {
    background-color: #ffffff;
}

/* ==============================
   FAQ
   ============================== */

.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #d8dce0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
}

.faq-question {
    width: 100%;

    border: none;
    background-color: #f1f3f5;

    padding: 20px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    text-align: left;

    font-size: 1rem;
    font-weight: bold;
    color: #222;

    cursor: pointer;

    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e5e7e9;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: normal;

    margin-left: 20px;

    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    padding: 0 22px;

    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 18px 22px;
}

.faq-answer p {
    font-size: 1rem;
}

/* ==============================
   CONTACT
   ============================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 35px;
    align-items: start;
}

.contact-info {
    background-color: #ffffff;

    padding: 25px;

    border-radius: 6px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: #222;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: none;
}

.map-container {
    width: 100%;
    min-height: 350px;

    overflow: hidden;
    border-radius: 6px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
    width: 100%;
    height: 350px;

    border: 0;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 768px) {

    .section {
        padding: 60px 20px;
    }

    .info-list {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-contact {
        padding: 12px 24px;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 17px;
    }

    .faq-answer {
        padding-left: 17px;
        padding-right: 17px;
    }

    .faq-item.active .faq-answer {
        padding-left: 17px;
        padding-right: 17px;
    }
}