
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f8fa;
    color: #263238;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 6%;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px #00000010;
}

.logo {
    font-size: 32px;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 2px;
    margin-left: 40px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #263238;
    font-weight: 500;
    font-size: 24px;
}

nav a:hover {
    color: #287b96;
}

.hero {
    min-height: 75vh;
    background-color: #344b5a;
    background-image: linear-gradient(
        #00000040, #00000040
    ), url("images/Background.png");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 70px);
    margin-bottom: 15px;
}

.hero p {
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 35px;
}

.bouton, button {
    background: #287b96;
    color: white;
    padding: 15px 28px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}

.bouton:hover, button:hover {
    background: #1d596e;
}

.contenu {
    max-width: 1200px;
    margin: auto;
    padding: 80px 30px;
    scroll-margin-top: 100px;
}

h2 {
    font-size: 34px;
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    margin-bottom: 12px;
}

.services {
    display: grid;
    grid-template-columns: repeat(
        auto-fit, minmax(230px, 1fr)
    );
    gap: 25px;
}

article {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px #00000008;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 30px auto;
    background: white;
    padding: 35px;
    border-radius: 10px;
}

label {
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccd3d8;
    border-radius: 5px;
    font: inherit;
}

textarea {
    resize: vertical;
}

form button {
    margin-top: 25px;
}

footer {
    background: #263238;
    color: white;
    text-align: center;
    padding: 30px;
}

@media (max-width: 700px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        gap: 20px;
    }

    .contenu {
        padding: 50px 20px;
    }

    form {
        padding: 20px;
    }
}

.separation {
    width: 100%;
    height: 3px;
    background-color: #344b5a;
    border: none;
    margin: 0;
}

#contact {
    position: relative;
}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 4px;
    background-color: #287b96;
}

#contact > p {
    text-align: center;
}

#apropos h3 {
    text-align: center;
}

#apropos {
    position: relative;
}

#apropos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 4px;
    background-color: #287b96;
}

.presentation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    max-width: 850px;
    margin: 30px auto;
}

.photo-profil {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

#apropos .presentation p {
    flex: 1;
    font-size: 20px;
    line-height: 1.8;
    text-align: justify;
}

@media (max-width: 700px) {
    .presentation {
        flex-direction: column;
    }
}


/* Prestations déroulantes */

.prestations-detail {
    max-width: 1000px;
    margin: auto;
}

.prestations-detail details {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px #00000010;
    overflow: hidden;
}

.prestations-detail summary {
    position: relative;
    list-style: none;
    padding: 25px 65px 25px 30px;
    cursor: pointer;
    color: #344b5a;
    transition: background-color 0.2s;
}

.prestations-detail summary::-webkit-details-marker {
    display: none;
}

.prestations-detail summary h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.prestations-detail summary p {
    font-size: 17px;
    font-weight: normal;
    line-height: 1.6;
}

.prestations-detail summary::after {
    content: "";
    position: absolute;
    right: 30px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s ease;
}

.prestations-detail details[open] summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.prestations-detail summary:hover {
    background-color: #eaf3f6;
}

.prestations-detail details[open] summary {
    background-color: #287b96;
    color: white;
}

.prestations-detail ul {
    padding: 25px 50px;
    font-size: 18px;
    line-height: 2;
}

.devis {
    text-align: center;
    font-style: italic;
    margin-top: 35px;
    font-size: 18px;
}

nav {
    flex-wrap: wrap;
    justify-content: center;
}


.email-contact {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 25px;
    font-size: 22px;
}

.email-contact a {
    color: #287b96;
    text-decoration: none;
}

.email-contact a:hover {
    text-decoration: underline;
}