* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #2C3E50;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container_contact {
    margin: 0 auto;
    padding: 0 20px;
    background-color: #F8F9FA;
    display: flex;
    justify-content: space-between;
}


button {
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    padding: 12px 30px;
    background-color: #FF6B6B;
    color: white;
}

button:hover {
    background-color: #E74C3C;
}

.btn-search {
    background-color: #4ECDC4;
    padding: 10px 25px;
}

.btn-search:hover {
    background-color: #3BBB9F;
}


header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

h1 {
    font-size: 28px;
    color: #FF6B6B;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 500;
}

nav a:hover {
    color: #FF6B6B;
}


.hero {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero button {
    background-color: white;
    color: #FF6B6B;
    font-weight: bold;
    padding: 15px 40px;
    font-size: 18px;
}


.recherche {
    background-color: #F8F9FA;
    padding: 50px 20px;
}

.recherche h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

input, select, textarea {
    padding: 12px 15px;
    border: 1px solid #BDC3C7;
    border-radius: 5px;
    font-size: 15px;
    font-family: Arial, sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #FF6B6B;
}


section:nth-of-type(3) {
    padding: 60px 20px;
}

section:nth-of-type(3) h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h4 {
    font-size: 18px;
    padding: 10px 20px 0 20px;
}

.card p {
    color: #7F8C8D;
    font-size: 14px;
    margin: 10px 20px;
}

.card > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px 20px;
}

.prix {
    font-size: 20px;
    font-weight: bold;
    color: #FF6B6B;
}

.note {
    color: #F39C12;
    font-weight: bold;
}


section:nth-of-type(4) {
    background-color: #F8F9FA;
    padding: 60px 20px;
}

section:nth-of-type(4) h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.box > div {
    font-size: 48px;
    margin-bottom: 15px;
}

.box h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.box p {
    color: #7F8C8D;
    font-size: 14px;
}


section:nth-of-type(5) {
    padding: 60px 20px;
}

section:nth-of-type(5) h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

form:nth-of-type(2) {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

form:nth-of-type(2) > div {
    display: contents;
}

form:nth-of-type(2) textarea {
    resize: vertical;
}

form:nth-of-type(2) button {
    width: 100%;
}

section#contact form {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

section#contact textarea {
    resize: vertical;
}


footer {
    background-color: #2C3E50;
    color: white;
    padding: 40px 20px 20px;
}

footer > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

footer a:hover {
    color: white;
}

footer > p {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}


@media (max-width: 768px) {
    nav {
        gap: 15px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    form {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    form:nth-of-type(2) > div {
        grid-template-columns: 1fr;
    }

    footer > div {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 24px;
    }

    form {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    footer > div {
        grid-template-columns: 1fr;
    }
}
