/*
Theme Name: AGP-vignes
Author: jdallies
Description: Thème AGP vignes
Requires at least: 6.0
Requires PHP: 8.0
Version: 0.1
Text Domain: hello-elementor-child
Template: hello-elementor
Tags: with layout and reset css
*/

:root {
    font-size: 18px;
    --var-font-family-title: "Playfair Display SC", serif;
    --var-font-family-subtitle: "Playfair", serif;
    --var-font-family-content: "Open Sans", sans-serif;
    --var-color-vert: #4AAE4D;
    --var-color-vert-clair: #BCD0BD;
    --var-color-gris-clair: #D9D9D9;
    --var-color-gris-clair-fond: #EDEDED;
    --var-color-gris-clair-alpha-fond: #edededc2;
    --var-color-gris: #868686;
    --var-color-gris-fonce: #1D1D1F;
    --var-color-blanc: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

html body {
    font-family: var(--var-font-family-content);
}

main#content {
    position: relative;
}

section#accueil,
section#concept,
section#contact {
    position: relative;
    z-index: 2;
}

div.decoBg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/stripe-left.png'), url('img/stripe-right.png');
    background-repeat: repeat;
    background-size: 0.5rem;
    background-attachment: fixed;
    opacity: 0.05;
}

body.page::after {
    content: '';
    background-image: url('img/stripe-left.png'), url('img/stripe-right.png');
    background-repeat: repeat;
    background-size: 0.5rem;
    background-attachment: fixed;
    opacity: 0.05;
}

div.colorBg {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--var-color-gris-fonce);
    opacity: 0.2;
    mix-blend-mode: hard-light;
}

section#apropos div.decoBg,
section#installation div.decoBg {
    opacity: 0.08;
}

main#content section {
    min-height: 100vh;
    overflow: hidden;
}

main#content section#domaine {
    min-height: auto;
}

main#content section#domaine .wrap {
    background-color: var(--var-color-blanc);
}

main#content section#accueil,
main#content section#concept,
main#content section#contact {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
}

main#content section#installation {
    position: relative;
    z-index: 2;
}

section#accueil div.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

section#accueil div.row {
    min-height: 100vh;
    align-content: center;
    justify-content: center;
}

header#site-header {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.90);
    position: fixed;
    top: 0;
    z-index: 4;
    max-width: none;
    padding: 0.25rem 0;
}

header#site-header .site-branding {
    max-width: 12rem;
}

.site-header .header-inner a.custom-logo-link {
    display: flex;
}

header#site-header nav.site-navigation ul.menu li a {
    font-family: var(--var-font-family-content);
    color: var(--var-color-gris-fonce);
    font-weight: 500;
    transition: 0.4s;
}

header#site-header nav.site-navigation ul.menu li a:hover {
    color: var(--var-color-vert);
}

header#site-header nav.site-navigation ul.menu li a.active {
    color: var(--var-color-vert);
    text-decoration: underline;
}

.site-header .header-inner {
    align-items: center;
}

section .freezer {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.70);
    border: 1px solid var(--var-color-blanc);
}

section#accueil img {
    max-width: 90%;
    display: block;
    padding: 1.1rem;
    border-radius: 1rem;
    margin: 0 auto;
    margin-bottom: 2rem;
}

section#installation .wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

section div.row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
}

div.wrap {
    position: relative;
    z-index: 2;
    max-width: 85%;
    margin: auto;
}

section#apropos .wrap,
section#installation .wrap,
section#domaine .wrap,
main#content.type-page section .wrap,
body.error404 main#content section .wrap {
    box-sizing: border-box;
    max-width: none;
    background-color: var(--var-color-gris-clair-alpha-fond);
    box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 2rem solid var(--var-color-vert-clair);
    border-top: 2rem solid var(--var-color-vert-clair);
}

main#content.type-page section .wrap .page-content,
body.error404 main#content section .wrap .page-content {
    padding: 2rem;
}

main#content.type-page,
body.error404 main#content {
    position: relative;
    top: 6rem;
    max-width: none;
}

body.page-template-default.page footer#site-footer,
body.error404 footer#site-footer {
    position: relative;
    top: 6rem;
}

section#apropos .row,
section#installation .row,
section#domaine .row {
    max-width: 80%;
    margin: auto;
    padding: 1rem 0;
}

section#domaine .row:nth-child(1) {
    justify-content: center;
}

section#concept .wrap .row:nth-child(2) {
    flex-direction: column;
}

section#concept .wrap .row:nth-child(3),
section#installation .wrap .row:nth-child(2),
section#domaine .wrap .row:nth-child(2) {
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

section#domaine .wrap .row:nth-child(2) {
    align-items: center;
}

section#installation div.container.etape,
section#concept div.container.freezer,
section#domaine div.container.domaine {
    width: 90%;
}

/* MENU */
.site-header .header-inner {
    position: relative;
}

nav.site-navigation {
    width: 100%;
    height: calc(100vh - 60.75px);
    transform-origin: top center;
    transform: translateX(100vw);
    transition: 0.4s;
    align-items: flex-start;
    position: fixed;
    top: 60.75px;
    left: 0;
    right: 0;
    z-index: 3;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.90);
}

nav.site-navigation.open {
    transform: translateX(0);
}

nav.site-navigation ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.site-navigation ul.menu li {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* LAYOUT IMG */
section#apropos .container.img {
    position: relative;
    z-index: 2;
    right: auto;
}

section#apropos .container.img a img {
    box-shadow: -4px 4px 10px 2px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

section#apropos .container.img.left a img {
    box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, 0.25);
}

section#apropos .container.left {
    right: auto;
    left: auto;
}

section#apropos .container.img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

section#installation .container img {
    border-radius: 1.2rem;
    max-height: 280px;
    object-fit: cover;
}

section#contact h1 {
    margin-top: 2rem;
}

/* CONTENT */
#site-header.site-header .header-inner {
    max-width: 90%;
    padding: 0;
}

/* TITRES */
main#content h1 {
    font-family: var(--var-font-family-title);
    font-weight: 700;
    text-align: center;
    font-size: 1.5rem;
}

main#content h2,
main#content h3 {
    font-family: var(--var-font-family-subtitle);
    font-weight: 500;
}

main#content section#apropos h2,
main#content section#installation h3 {
    font-family: var(--var-font-family-title);
    font-weight: 700;
    font-size: 1.25rem;
}

main#content #concept h2 {
    font-size: 1.25rem;
}

main#content #installation .etape h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--var-color-vert);
}

main#content #contact h2 {
    font-size: 1.5rem;
}

main#content #contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

main#content #concept div.row:nth-child(2) h2,
main#content #concept div.row:nth-child(1) h2 {
    color: var(--var-color-blanc);
    font-size: 1.1rem;
    font-family: var(--var-font-family-subtitle);
}
main#content #concept div.row:nth-child(1) h2 {
    text-align: center;
}

main#content #concept div.row:nth-child(3) h2 {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--var-font-family-title);
    margin-top: 1rem;
}

main#content #concept .row:nth-child(2) .container:nth-child(1),
main#content #concept .row:nth-child(2) .container:nth-child(3) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main#content #concept div.container.freezer {
    border-radius: 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
}

main#content #installation div.container.etape {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    margin: 1rem 0;
}

main#content #concept div.row:nth-child(2) div.container:nth-child(2) img {
    max-width: 90%;
    margin: auto;
    position: relative;
    z-index: 2;
}

section#concept h1,
section#accueil h1,
section#contact h1 {
    color: var(--var-color-blanc);
}

main#content #concept .row:nth-child(2) .container {
    text-align: center;
    position: relative;
}

main#content #concept div.row:nth-child(2) div.container:nth-child(2) .deco.freezer {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 10%;
    right: 10%;
    bottom: 0;
    border-radius: 50%;
    margin: 0 1rem;
}

/* CONTENU */
main#content p {
    font-family: var(--var-font-family-content);
    font-size: 0.9rem;
    font-weight: 400;
}

main#content #domaine p {
    font-family: var(--var-font-family-subtitle);
    font-size: 1.25rem;
    font-weight: 500;
}

section .container strong {
    color: var(--var-color-vert);
    font-weight: inherit;
}

section#contact .wrap-container .container p strong {
    color: var(--var-color-blanc);
    font-weight: 600;
}

section#contact h1,
section#contact h2 {
    color: var(--var-color-blanc);
}

section#contact p {
    color: var(--var-color-gris-clair);
}

section#concept p {
    font-weight: 500;
}

section#sidebar-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

h2.wp-block-heading {
    font-family: var(--var-font-family-subtitle);
    font-size: 1rem;
    font-weight: 700;
}

#site-footer ul.menu {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
}

#site-footer ul.menu li {
    margin-right: 0.75rem;
}

#site-footer ul.menu li a,
.page-content a {
    font-family: var(--var-font-family-content);
    color: var(--var-color-gris);
    font-weight: 400;
    font-size: 0.8rem;
    text-decoration: underline;
    transition: 0.4s;
}

#site-footer ul.menu li a:hover,
.page-content a:hover {
    color: var(--var-color-vert);
}

footer#site-footer div.widget.widget_block:nth-child(1) {
    width: 50%;
}

footer#site-footer .is-layout-flex,
section#sidebar-footer {
    align-items: center;
}

footer#site-footer div.widget.widget_block {
    margin-bottom: 1rem;
}

footer#site-footer div.widget.widget_text,
footer#site-footer div.widget.widget_nav_menu {
    width: 100%;
    text-align: center;
}

footer#site-footer div.widget.widget_nav_menu ul.menu {
    justify-content: center;
}

footer#site-footer div.widget.widget_nav_menu .menu-menu-principal-container ul.menu {
    justify-content: flex-start;
}

footer#site-footer div.widget.widget_text p {
    font-size: 0.8rem;
}

section#contact {
    display: flex;
    flex-direction: column;
}

section#domaine .container.domaine a {
    display: flex;
    justify-content: center;
}

section#contact .wrap-container {
    position: relative;
    z-index: 2;
    max-width: 85%;
    margin: auto;
    display: flex;
    flex-direction: column;
}

section#contact .wpcf7 {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.70);
    border: 2px solid var(--var-color-blanc);
    padding: 1rem 1rem 0 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

section#contact .wpcf7 p {
    color: var(--var-color-gris-fonce);
    margin-bottom: 0.25rem;
}

section#contact .wpcf7 label {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

section#contact .wpcf7 input,
section#contact .wpcf7 textarea {
    border: none;
    border-radius: 1rem;
    padding: 0.25rem;
    max-width: 435px;
}

section#contact .wpcf7 .wpcf7-submit {
    color: var(--var-color-blanc);
    width: 100%;
    background-color: var(--var-color-vert);
    font-family: var(--var-font-family-subtitle);
    font-size: 1.1rem;
    padding: 0.5rem;
    border-radius: 1rem;
    margin-top: 0.5rem;
}

.wpcf7-form-control-wrap {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

section#contact .wpcf7-form p:nth-child(9) {
    margin-bottom: 0;
}

section#contact .wrap-container .wrap {
    width: 100%;
    max-width: none;
}

.burger-icon {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

form.wpcf7-form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: stretch;
    align-items: stretch;
}

/* TITRES SUR LE COTE */
section#apropos .wrap {
    position: relative;
}

section#apropos .wrap:nth-child(1)::before,
section#concept .wrap:nth-child(1)::before,
section#installation .wrap:nth-child(1)::before,
section#contact .wrap-container .wrap:nth-child(1)::before,
section#domaine .wrap:nth-child(1)::before {
    content: 'à propos';
    position: absolute;
    bottom: 0;
    left: 1rem;
    color: var(--var-color-vert-clair);
    font-family: var(--var-font-family-title);
    font-size: 3rem;
    transform-origin: bottom left;
    transform: rotate(-90deg);
}

section#apropos .wrap:nth-child(1)::before,
section#installation .wrap:nth-child(1)::before,
section#domaine .wrap:nth-child(1)::before {
    bottom: 1rem;
    left: 3rem;
}

section#concept .wrap:nth-child(1)::before,
section#contact .wrap-container .wrap:nth-child(1)::before {
    bottom: 2rem;
}

section#concept .wrap:nth-child(1)::before {
    content: 'concept';
}

section#installation .wrap:nth-child(1)::before {
    content: 'installation';
}

section#contact .wrap-container .wrap:nth-child(1)::before {
    content: 'contact';
}

section#domaine .wrap:nth-child(1)::before {
    content: 'domaines';
}

#nav-icon2 {
    width: 30px;
    height: 30px;
    position: relative;
    margin: 0 auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon2 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 50%;
    background: var(--var-color-vert);
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon2 span:nth-child(even) {
    left: 50%;
    border-radius: 0 3px 3px 0;
}

#nav-icon2 span:nth-child(odd) {
    left: 0px;
    border-radius: 3px 0 0 3px;
}

#nav-icon2 span:nth-child(1),
#nav-icon2 span:nth-child(2) {
    top: 0px;
}

#nav-icon2 span:nth-child(3),
#nav-icon2 span:nth-child(4) {
    top: 12px;
}

#nav-icon2 span:nth-child(5),
#nav-icon2 span:nth-child(6) {
    top: 24px;
}

#nav-icon2.open span:nth-child(1),
#nav-icon2.open span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon2.open span:nth-child(2),
#nav-icon2.open span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon2.open span:nth-child(1) {
    left: 0px;
    top: 8px;
}

#nav-icon2.open span:nth-child(2) {
    left: calc(50% - 5px);
    top: 8px;
}

#nav-icon2.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
}

#nav-icon2.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
}

#nav-icon2.open span:nth-child(5) {
    left: 0px;
    top: 20px;
}

#nav-icon2.open span:nth-child(6) {
    left: calc(50% - 5px);
    top: 20px;
}

section#contact .wrap-container .wrap:nth-child(1)::before {
    content: '';
}

section#domaine .row {
    max-width: 75%;
    justify-content: center;
}

section#domaine .row p {
    text-align: center;
}

section#contact .wrap-container a.wp-block-button__link {
    font-family: var(--var-font-family-subtitle);
    font-size: 1rem;
    font-weight: 700;
    color: var(--var-color-blanc);
    background-color: var(--var-color-vert);
    text-decoration: none;
    transition: 0.4s;
}

section#contact .wrap-container a.wp-block-button__link:hover {
    color: var(--var-color-gris-fonce);
    background-color: var(--var-color-vert-clair);
    text-decoration: none;
}

/* GALLERY */

.container.img {
    position: relative;
    /* Nécessaire pour le positionnement absolu des enfants */
    width: 300px;
    /* Ajustez en fonction de vos besoins */
    height: 400px;
    /* Hauteur de la pile */
    margin: 20px auto;
    /* Centre la pile dans la page */
}

/* Images empilées */
.container.img a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* S'adapte à la taille du conteneur */
    height: 100%;
    z-index: 1;
    transition: all 0.4s ease;
    /* Animation douce pour l'apparition */
}

/* Effet visible */
.container.img a:nth-child(1) {
    z-index: 8;
    /* Image la plus haute */
    transform: rotate(0deg);
}

.container.img a:nth-child(2) {
    z-index: 7;
    transform: rotate(-2.5deg);
    top: 10px;
    left: 10px;
}

.container.img a:nth-child(3) {
    z-index: 6;
    transform: rotate(2.5deg);
    top: 20px;
    left: 20px;
}

.container.img a:nth-child(4) {
    z-index: 5;
    transform: rotate(-1.5deg);
    top: 30px;
    left: 30px;
}

.container.img a:nth-child(5) {
    z-index: 4;
    transform: rotate(1.5deg);
    top: 40px;
    left: 40px;
}

/* Effet de survol */
.container.img a:nth-child(1):hover {
    transform: scale(1.05) rotate(0deg);
    /* Annule la rotation et ajoute un zoom */
    transition: all 0.3s ease-in-out;
}

@media screen and (min-width: 1000px) {

    main#content h1 {
        font-size: 2.5rem;
    }

    section#contact .wrap-container .wrap:nth-child(1)::before {
        content: 'contact';
    }

    section#apropos .wrap:nth-child(1)::before,
    section#installation .wrap:nth-child(1)::before,
    section#domaine .wrap:nth-child(1)::before {
        bottom: 1rem;
        left: 3.5rem;
    }

    section#concept .wrap:nth-child(1)::before,
    section#contact .wrap-container .wrap:nth-child(1)::before {
        left: 3rem;
    }

    #site-header.site-header .header-inner {
        max-width: 1280px;
    }

    section#apropos .wrap,
    section#installation .wrap,
    section#domaine .wrap,
    main#content.type-page section .wrap,
    body.error404 main#content section .wrap {
        max-width: 1280px;
    }

    section#installation .row {
        max-width: 90%;
    }

    section#contact .wpcf7 .wpcf7-submit {
        max-width: none;
    }

    section#concept .wrap .row:nth-child(3),
    section#installation .wrap .row:nth-child(2),
    section#domaine .wrap .row:nth-child(2) {
        flex-direction: row;
    }

    section#concept .wrap .row:nth-child(3) {
        max-width: 90%;
    }

    footer#site-footer .is-layout-flex,
    section#sidebar-footer {
        align-items: flex-start;
    }

    .burger-icon {
        display: none;
    }

    #site-header nav.site-navigation {
        display: flex;
        width: auto;
        transform: translateY(0);
        position: relative;
        top: auto;
        background: rgba(255, 255, 255, 0);
        backdrop-filter: none;
        transition: 0.5s;
    }

    /* MENU */
    nav.site-navigation {
        width: auto;
        height: auto;
        transform: translateY(0);
    }

    nav.site-navigation ul {
        flex-direction: row;
    }

    main#content section {
        max-height: none;
    }

    section#apropos .wrap {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    div.wrap,
    section#contact .wrap-container {
        max-width: 1280px;
    }

    section#installation div.container.etape,
    section#concept div.container.freezer,
    section#domaine div.container.domaine {
        width: 95%;
    }

    section#contact .wrap-container {
        justify-content: space-between;
        flex-direction: row;
        min-width: 1280px;
    }

    section#apropos .container.img {
        right: -15%;
    }

    section#apropos .container.left {
        right: auto;
        left: -15%;
    }

    section#contact .wrap-container .wrap {
        width: 45%;
        margin: 0;
    }

    section#contact .wrap-container .wrap:nth-child(1) {
        width: 35%;
    }

    section#contact .wrap-container .wrap:nth-child(2) {
        width: 60%;
    }

    section#contact .wrap-container .wrap .container {
        width: 100%;
    }

    section#contact .wrap-container .wrap:nth-child(1) .row:nth-child(1) {
        margin-bottom: 2rem;
    }

    section#accueil img {
        max-width: 70%;
    }

    section#apropos div.row,
    section#concept .row:nth-child(3),
    section#installation .row:nth-child(2) {
        justify-content: space-between;
        margin: 0;
    }

    section#installation .row:nth-child(2) {
        align-items: flex-start;
        margin: auto;
    }

    section#apropos .container {
        width: 49%;
    }

    section#concept .container.freezer {
        width: 24%;
    }

    section#apropos .row.left {
        flex-direction: row-reverse;
    }

    section#apropos .container.img {
        right: -10%;
    }

    section#apropos .container.img a img {
        box-shadow: -4px 4px 10px 2px rgba(0, 0, 0, 0.25);
        border-radius: 16px 0 0 16px;
    }

    section#apropos .container.img.left a img {
        box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, 0.25);
        border-radius: 0 16px 16px 0;
    }

    section#apropos .container.left {
        right: auto;
        left: -10%;
    }

    section#concept div.wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100vh;
        justify-content: space-between;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    section#installation div.wrap {
        min-height: 100vh;
        justify-content: space-evenly;
    }

    section#concept .row {
        justify-content: space-evenly;
    }

    section#concept .wrap .row:nth-child(2) {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    section#concept div.row:nth-child(2) .container:nth-child(2) {
        width: 40%;
    }

    section#concept div.row:nth-child(2) .container:nth-child(1),
    section#concept div.row:nth-child(2) .container:nth-child(3) {
        width: 30%;
    }

    section#concept div.row:nth-child(2) .container:nth-child(1) h2:nth-child(1),
    section#concept div.row:nth-child(2) .container:nth-child(1) h2:nth-child(3),
    section#concept div.row:nth-child(2) .container:nth-child(3) h2:nth-child(2) {
        margin-left: 3rem;
    }

    section#concept div.row:nth-child(2) .container:nth-child(3) h2:nth-child(1),
    section#concept div.row:nth-child(2) .container:nth-child(3) h2:nth-child(3),
    section#concept div.row:nth-child(2) .container:nth-child(1) h2:nth-child(2) {
        margin-right: 3rem;
    }

    #concept .row:nth-child(2) .container h2 {
        position: relative;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    #concept .row:nth-child(2) .container h2::after {
        position: absolute;
        right: -1rem;
        bottom: -0.5rem;
        content: "";
        width: 1rem;
        height: 1rem;
        background-color: rgba(255, 255, 255, 1);
        border-radius: 50%;
    }

    #concept .row:nth-child(2) .container:nth-child(3) h2::after {
        right: auto;
        left: -1rem;
    }

    section#concept div.row:nth-child(3) .container,
    main#content #installation div.container.etape {
        width: 22%;
    }

    main#content #domaine div.container.domaine {
        width: 33%;
    }

    main#content #concept .row:nth-child(2) .container h2 {
        border-bottom: 1px solid var(--var-color-blanc);
    }

    main#content #concept .row:nth-child(2) .container:nth-child(1) {
        text-align: left;
    }

    main#content #concept .row:nth-child(2) .container:nth-child(3) {
        text-align: right;
    }

    footer#site-footer div.widget.widget_block:nth-child(1) {
        width: 25%;
    }

    footer#site-footer div.widget.widget_block:nth-child(2) {
        width: 35%;
    }

    footer#site-footer div.widget.widget_block:nth-child(3) {
        width: 35%;
    }

    section#sidebar-footer {
        flex-direction: row;
        justify-content: space-between;
    }

    .wpcf7-form-control-wrap {
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
}

@media (max-height: 600px) and (orientation: landscape) and (hover: none) {
    section#accueil img {
        max-width: 50%;
        margin-bottom: 0.5rem;
        margin-top: 3rem;
    }

    section#installation div.container.etape,
    section#concept div.container.freezer,
    section#domaine div.container.domaine {
        width: 45%;
    }

    section#concept .wrap .row:nth-child(3),
    section#installation .wrap .row:nth-child(2),
    section#domaine .wrap .row:nth-child(2),
    section#concept .wrap .row:nth-child(2) {
        flex-direction: row;
    }

    section#concept .wrap .row:nth-child(2) {
        justify-content: space-between;
        align-items: center;
    }

    main#content #concept .row:nth-child(2) .container:nth-child(1),
    main#content #concept .row:nth-child(2) .container:nth-child(3) {
        width: 25%;
    }

    main#content #concept .row:nth-child(2) .container:nth-child(2) {
        width: 45%;
    }

    main#content #concept div.row:nth-child(2) div.container:nth-child(2) .deco.freezer {
        height: 50%;
    }

    section#contact .wrap-container .wrap:nth-child(2) .row:nth-child(2) .container {
        width: 100%;
    }

    section#contact .wpcf7 .wpcf7-submit {
        max-width: none;
    }

    [data-aos-delay] {
        transition-delay: 0s !important;
    }

    .site-navigation ul.menu li {
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }

    section#installation .container img {
        max-height: 200px;
    }

    main#content #installation .etape h2 {
        margin-bottom: 0.25rem;
    }

    section#concept .wrap:nth-child(1)::before,
    section#contact .wrap-container .wrap:nth-child(1)::before {
        left: -0.5rem;
    }
}