* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: hidden;
}

html {
    overflow-y: auto;
}

body {
    font-family: Arial, sans-serif;
    background-color: #F2E5DE;
}

.flex-row {
    display: flex;
    flex-direction: row;
    column-gap: 0.3.25rem;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.flex-row-gap-1 {
    row-gap: 1rem;
}

.header-container {
    background-color: #FFFBF8;
    position: relative;
    width: 100%;
    height: 75px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    padding: 1rem;
    border-color: #D5AA48;
    border-style: solid;
    border-left-style: none;
    z-index: 3;
    right: 0;
}

* {
    font-family: 'Poppins', serif;
}

.header-container *,
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.header-container>div {
    position: relative;
}

.logo {
    width: 120px;
    color: #D5AA48;
    position: fixed;
    top: 7px;
    left: 7px;
    z-index: 6;
    border-radius: 50%;
}

.circle-logo {
    position: fixed;
    top: 4.5rem;
    left: 0;
    z-index: 4;
}

.desktop-menu {
    display: none;
    gap: 2rem;
    width: 80%;
    justify-content: space-around;
}

.desktop-menu a {
    color: #D5AA48;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.desktop-menu a:hover {
    opacity: 0.7;
}

.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #D5AA48;
    border-radius: 2px;
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: #FFFBF8;
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
    max-height: 500px;
    padding: 1rem 0;
}

header:has(.mobile-menu.active) .circle-logo {
    display: none;
}

.mobile-menu a {
    color: #D5AA48;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(213, 170, 72, 0.2);
    transition: opacity 0.3s;
    text-align: end;
    padding-right: 2rem;
    z-index: 5;
}

.mobile-menu a:hover {
    opacity: 0.7;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

main {
    margin-top: 5rem;
}

section {
    margin: 2rem;
    margin-left: 5%;
    margin-right: 5%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

h1,
h2 {
    color: #D5AA48;
    text-align: center;
}

p {
    color: #8C7063;
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 3.25rem;
}

a {
    color: #8C7063;
    text-decoration: none;
}

a:hover {
    color: #D5AA48;
}

.presentation-container {
    background-color: #F9F8F4;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 3.25rem;
}

.device-col-row {
    display: flex;
    flex-direction: column;
    row-gap: 3.25rem;
}

.rectangle-box,
.square-box {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 1rem;
    border-color: #D5AA48;
    border-style: solid;
    row-gap: 40px;
    padding: 36px;
}

.square-box {
    justify-content: space-evenly;
    align-items: center;
}

.content-box {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 36px;
    background-color: #FFFFFF;
    border-radius: 1rem;
    border-color: #D5AA48;
    border-style: solid;
}

.content-box>.flex-col>h2 {
    text-align: left;
}

.content-box>.flex-col>p {
    margin-top: 1rem;
}

.golden-separator {
    width: 100%;
    height: 2px;
    background-color: #D5AA48;
    margin: 2rem 0;
}

.benefits-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefits-title {
    flex: auto;
    white-space: nowrap;
    text-align: center;
    text-align: center;
}

.benefits-line {
    flex: 2.5;
    height: 2px;
    background-color: #D5AA48;
    max-width: 200px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
    width: 100%;
}

.benefit-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    column-gap: 1rem;
}

.benefit-item>*:last-child {
    flex: 1;
}

.benefit-icon {
    color: #D5AA48;
    font-size: 2.5rem;
}

.importance-color-for-square-box {
    color: #E5C1AE;
}

.font-24 {
    font-size: 1.25rem;
}

.font-36 {
    font-size: 2rem;
}

.border-text {
    border-color: #D5AA48;
    border-radius: 2rem;
    border-style: solid;
    padding: 1.3rem;
    margin: 0 !important;
}

.golden-line-container {
    position: relative;
    width: 100%;
    margin: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.golden-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #D5AA48;
    z-index: 1;
}

.centered-box {
    position: relative;
    background-color: #FFFFFF;
    border: 2px solid #D5AA48;
    padding: 1rem;
    z-index: 2;
}

.centered-box h2 {
    color: #D5AA48;
    text-align: center;
    /* white-space: nowrap; */
}

.section-btn-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
    width: 100%;
}

.section-btn {
    background-color: #D5AA48;
    border-radius: 2rem;
    border-style: none;
    color: #F9F8F4;
    padding: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-width: 15rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-line-header {
    flex: 1;
    height: 1px;
    background-color: #E5C1AE;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#object,
#objects-list p {
    color: #D5AA48;
}

#objects-list {
    flex-direction: column;
    row-gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.objects-list {
    display: none;
}

.display-flex-objects-list {
    display: flex;
}

#objects-list p {
    text-align: center;
    padding: 0.25rem;
}

.flex-end-last {
    justify-content: space-between;
}

.flex-end-last p:last-child {
    border-radius: 50%;
    background-color: #D5AA48;
    color: #FFFFFF;
    min-width: 1rem;
    max-width: 1rem;
    min-height: 1.1rem;
    max-height: 1.1rem;
    text-align: center;
}

.border-display {
    border-color: #D5AA48;
    border-style: solid;
}

footer {
    background-color: #FFFFFF;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

footer h2,
p,
a {
    text-align: left;
}

.footer-content {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
}

.foot-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.foot-box>*:first-child {
    margin-bottom: 1rem;
}

.description-contact {
    background-color: #FFFFFF;
    border-color: #D5AA48;
    border-style: solid;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1rem;
}

.description-contact>h2,
.description-contact>a {
    margin-left: 0.75rem;
}

.description-contact>a {
    margin-top: 1rem;
}

.img-illustration,
.img-illustration-2 {
    background-image: url(assets/Image_pc.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    min-height: 18rem;
    background-color: transparent;
}

.img-illustration-2 {
    background-image: url(assets/Image_tasse.png);
}

.logo-contact {
    background-image: url(assets/Logo\ Site.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    min-height: 18rem;
    border-color: #D5AA48;
    border-style: solid;
    border-style: 2px;
    background-color: #FFFFFF;
}

.input-form-contact input {
    background-color: transparent;
    border-style: none;
    width: 80%;
}

*::placeholder {
    color: #D5AA48;
}

.input-form-contact {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
}

.form-contact {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.form-contact textarea {
    border-color: #D5AA48;
    border-width: 3px;
    padding: 1rem;
    height: 10rem;
}

.data-form {
    background-color: #FFFFFF;
    padding: 1rem;
    border-color: #D5AA48;
    border-style: solid;
}

.form-contact .service-line-header {
    background-color: #D5AA48;
    height: 2px;
}

.boxes-form label {
    color: #D5AA48;
}

.tarif-presentation {
    padding: 0.5rem;
}

.tarif-presentation * {
    text-align: left;
}

.tarif-presentation .bold-n-big {
    color: #D5AA48;
    font-size: 2rem;
    font-weight: bold;
    text-align: end;
}

.accordion-head .bold-n-big {
    font-size: 1.5rem;
}

.card-tarif {
    background-color: #E5C1AE;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 2rem;
    align-items: center;
    min-height: 10rem;
    padding: 2rem;
    border-radius: 1rem;
}

.card-tarif p {
    text-align: center;
    color: #FFFFFF;
}

.accordion-tarif {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.accordion-tarif p {
    color: #D5AA48;
}

.accordion-head {
    display: flex;
    flex-direction: row;
    column-gap: 0.75rem;
}

.accordion-head>div:first-child {
    flex: content;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.75rem;
    border-color: #D5AA48;
    border-style: solid;
    flex-wrap: wrap;
}

.accordion-head>div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-color: #D5AA48;
    border-style: solid;
    width: 3rem;
    min-width: 3rem;
}

.accordion-description {
    display: none;
    flex-direction: column;
    row-gap: 1rem;
    padding: 1rem;
    border-color: #D5AA48;
    border-style: solid;
    border-top-style: none;
    flex: content;
}

.btn-oppen-tarif {
    background-color: #D5AA48;
}

.btn-oppen-tarif p {
    color: #FFFFFF;
}

.display-flex {
    display: flex;
}

.space-boxes-4rem {
    width: 3.75rem;
    min-width: 3.75rem;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.bi-check-lg {
    font-size: 4rem;
    color: #FFFFFF;
}

.accordion-description .bi-check-lg {
    font-size: 1.5rem;
    color: #D5AA48;
    min-width: 2rem;
}

.accordion-description *:has(.bi-check-lg) {
    justify-content: flex-start;
    align-items: center;
}

.accordion-description .flex-row:has(.bi-check-lg) {
    column-gap: 0.5rem;
}

.form-contact .bi {
    color: #D5AA48;
}

.avis-container {
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
}

.avis-box {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    padding: 2rem;
}

.avis-container .avis-box {
    width: 90%;
    align-self: flex-start;
}

.avis-container .avis-box:nth-child(2n) {
    align-self: flex-end;
}

.avis-container .avis-box * {
    text-align: left;
}

.avis-container .avis-box:nth-child(2n) * {
    text-align: right;
}

/* Animation pour les éléments qui viennent de la gauche */
@keyframes slideLeft {
    from {
        transform: translateX(-120px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation pour les éléments qui viennent de la droite */
@keyframes slideRight {
    from {
        transform: translateX(120px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Base */
.avis-box {
    opacity: 0;
    animation-fill-mode: both;
    animation-duration: 1s;
    animation-timing-function: ease-out;

    /* Animation liée au scroll */
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

/* Impairs → animation gauche */
.avis-box:nth-child(odd) {
    animation-name: slideLeft;
}

/* Pairs → animation droite */
.avis-box:nth-child(even) {
    animation-name: slideRight;
}

/* Version Desktop */
@media (min-width: 1280px) {
    .burger-menu {
        display: none;
    }

    .desktop-menu {
        display: flex;
    }

    .mobile-menu {
        display: none !important;
    }

    section {
        margin-left: 5%;
        margin-right: 5%;
        padding-left: 1em;
        padding-right: 1rem;
    }

    .presentation-container {
        padding: 3.25rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .device-col-row {
        flex-direction: row;
        column-gap: 3.25rem;
    }

    .device-col-row>* {
        flex: 1;
    }

    .content-box p {
        color: #8C7063;
        text-align: left;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .img-illustration {
        width: 35%;
    }

    .reverse-pos-pc {
        flex-direction: row-reverse;
    }

    .section-btn-container {
        flex-direction: row;
        width: 50%;
    }

    .section-btn-container-oposite-placement {
        align-self: flex-end;
    }

    .tarif-presentation {
        padding: 36px;
    }

    .footer-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}