html {
    scroll-behavior: smooth;
}

body {
     color: #50002d;
    background-image: url("marbre.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.accueil {
    text-align: center;
    padding: 50px;
}

.logo {
    width: 350px;
}

.titre-prestation {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.photo-realisation {
    width: 500px;
    border-radius: 10px;
}

.description {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 30px;
}

header {
    width: 100%;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #e5e5e5;
}

nav {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

nav a {
    color: #50002d;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 50px auto;
}

.galerie {
    display: flex;
    align-items: center;
    gap: 15px;
}

.photos {
    width: 600px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.photo-galerie {
    width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.fleche {
    background-color: #50002d;
    color: white;
    border: none;
    font-size: 30px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.fleche:hover {
    background-color: white;
    color: #50002d;
}

.fleche span {
    position: relative;
    top: -2px;
}

.menu-prestations {
    position: relative;
}

.sous-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 8px;
}

.menu-prestations:hover .sous-menu {
    display: block;
}

.sous-menu a {
    display: block;
    padding: 10px 15px;
    white-space: nowrap;
}

#peinture-interieure {
    text-align: center;
    max-width: 1000px;
    margin: 100px auto;
    padding: 40px;
}

#peinture-interieure h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#peinture-interieure p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

#peinture-interieure img {
    width: 500px;
    max-width: 100%;
    border-radius: 10px;
}

#papiers-peints {
    text-align: center;
    max-width: 1000px;
    margin: 100px auto;
    padding: 40px;
}

#papiers-peints h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#papiers-peints p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

#papiers-peints img {
    width: 500px;
    max-width: 100%;
    border-radius: 10px;
}

.photos-papiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.photos-papiers img {
    width: 350px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.photos-peinture {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.photos-peinture img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

#enduits-decoratifs {
    text-align: center;
    max-width: 1000px;
    margin: 100px auto;
    padding: 40px;
}

#enduits-decoratifs h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#enduits-decoratifs p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

#enduits-decoratifs img {
    width: 500px;
    max-width: 100%;
    border-radius: 10px;
}

#travaux-exterieurs {
    text-align: center;
    max-width: 1000px;
    margin: 100px auto;
    padding: 40px;
}

#travaux-exterieurs h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#travaux-exterieurs p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

#travaux-exterieurs img {
    width: 500px;
    max-width: 100%;
    border-radius: 10px;
}

.photos-enduits {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.photos-enduits img {
    width: 450px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.photos-exterieur {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

#travaux-exterieurs img {
    width: 80%;
    max-width: 100%;
}

#bandes-placo {
    text-align: center;
    max-width: 1000px;
    margin: 100px auto;
    padding: 40px;
}

#bandes-placo h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#bandes-placo p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.photos-placo {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.photos-placo img {
    height: 300px;
    width: auto;
    border-radius: 20px;
}

.sous-menu a {
    text-transform: none;
    letter-spacing: 0;
}

.presentation-textes {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto;
}

.bloc-presentation {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(80, 0, 45, 0.2);
}

#peinture-interieure h2,
#papiers-peints h2,
#enduits-decoratifs h2,
#travaux-exterieurs h2,
#bandes-placo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 600;
}

.btn-devis {
    background-color: #5A1748 !important;
    color: white !important;
    padding: 5px 15px;
    border: none;
    font-size: 18px;
    border-radius: 8px;
    margin-top: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-devis:hover {
    background-color: white !important;
    color: #5A1748 !important;
}

#realisations {
    scroll-margin-top: 80px;
}

#realisations h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-devis {
    max-width: 700px;
    margin: 80px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    text-align: center;
}

.page-devis h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.page-devis p {
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-devis form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.page-devis label {
    margin: 12px 0 6px;
    font-weight: 600;
}

.page-devis input,
.page-devis textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding: 12px;
    border: 1px solid rgba(80, 0, 45, 0.3);
    border-radius: 8px;
}

.page-devis textarea {
    resize: vertical;
}

.page-devis .btn-devis {
    align-self: center;
    margin-top: 25px;
    text-decoration: none;
}

.icone-contact {
    color: #777;
    font-size: 20px;
    margin-right: 5px;
}

#contact {
    text-align: center;
    max-width: 1000px;
    margin: 100px auto;
    padding: 40px;
}

#contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 30px;
}

#contact h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#contact > p {
    margin-bottom: 35px;
}

.contact-infos {
    display: flex;
    justify-content: center;
    gap: 25px;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(80, 0, 45, 0.2);
}

.contact-bloc {
    flex: 1;
}

.contact-bloc p {
    line-height: 1.6;
}

.contact-bloc a {
    color: #50002d;
    text-decoration: none;
}

.contact-bloc a:hover {
    text-decoration: underline;
}

.icone-contact {
    color: #777;
    font-size: 20px;
    margin-right: 5px;
}

#contact .btn-devis {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
}

.accueil h2 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 3px;
}

.btn-devis-accueil {
    position: relative;
    top: 27px;
}

@media screen and (max-width: 768px) {

    .accueil {
    width: 100%;
    box-sizing: border-box;
}

    .logo {
    width: 220px;
    max-width: 100%;
}

  .presentation-textes {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 20px;
    padding: 0 !important;
}

.bloc-presentation {
    width: 100% !important;
    margin: 0 !important;
    padding: 18px !important;
    box-sizing: border-box !important;
}

    .bloc-presentation p {
    font-size: 13px;
    line-height: 1.4;
    margin: 8px 0;
}

  nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

nav a {
    font-size: 11px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.menu-prestations {
    display: flex;
    align-items: center;
}

    .btn-devis {
    font-size: 14px;
    padding: 4px 12px;
}

    .galerie {
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.photos {
    width: 260px;
    height: 200px;
    flex-shrink: 0;
}

.photo-galerie {
    width: 260px;
    height: 200px;
}

 #realisations h2 {
    font-size: 28px;
}

   section {
        padding-left: 15px;
        padding-right: 15px;
    }

    section h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    section p {
        font-size: 13px;
        line-height: 1.4;
    }

    .presentation {
        margin: 30px auto;
        gap: 15px;
    }

    .photos-papiers,
    .photos-peinture,
    .photos-exterieur {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .photos-papiers img,
    .photos-peinture img,
    .photos-exterieur img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

    .photos-enduits {
        gap: 15px;
        margin-top: 20px;
    }

    .photos-enduits img {
        width: 100%;
        height: 200px;
    }

    .photos-placo {
        gap: 15px;
        margin-top: 20px;
    }

    .photos-placo img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    #contact {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #realisations {
    padding-top: 80px;
}

   #travaux-exterieurs img {
    display: block;
    margin: 0 auto;
}

   .page-contact {
    width: 90%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

   #contact {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.contact-infos {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.contact-bloc {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

   .fleche {
    width: 34px;
    height: 34px;
    font-size: 16px;
}

  #hym7fk {
    width: calc(100% + 100px);
    margin-left: -50px;
}

  .bloc-presentation {
    width: 90vw !important;
    max-width: none !important;
    align-self: center;
}

#realisations {
    width: 100vw;
    box-sizing: border-box;
    margin-left: calc(50% - 50vw);
    padding: 80px 5vw 0 5vw;
}

#realisations h2 {
    font-size: 28px;
}

.galerie {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photos {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
}

.photo-galerie {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.galerie .fleche {
    position: absolute;
    z-index: 10;
    width: 34px;
    height: 34px;
    font-size: 16px;
}

.galerie .gauche {
    left: 8px;
}

.galerie .droite {
    right: 8px;
}

   #peinture-interieure,
#papiers-peints,
#enduits-decoratifs,
#travaux-exterieurs,
#bandes-placo {
    width: 90vw !important;
    max-width: none !important;
    box-sizing: border-box;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

  #peinture-interieure p,
#papiers-peints p,
#enduits-decoratifs p,
#travaux-exterieurs p,
#bandes-placo p {
    font-size: 12.5px;
    line-height: 1.4;
}
}
