@font-face {
    font-family: 'BrixtonTc';
    src: url('fonts/BrixtonTc.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ROOT */
:root {

    --couleur-blanc: #ffffff;
    --couleur-noir: #000000;
    --couleur-primaire: #CF152D;
    --couleur-secondaire: #009844;
    --couleur-tierce: #BC8A17;

    --font-family-primaire: 'BrixtonTc', sans-serif;
    /* --font-family-contour: 'Montserrat', sans-serif; */
    /* --font-family-secondaire: "Fira Sans", sans-serif; */

    --global-font-family: var(--font-family-primaire);
    --global-font-size: 1.8rem;
    --global-line-height: 1.4em;
    --global-font-weight: 400;
    --global-letter-spacing: 0.5px;

    --menu-font-family: var(--font-family-primaire);
    --menu-font-size: 1.8rem;
    --menu-line-height: 1.2em;
    --menu-font-weight: 400;
    --menu-letter-spacing: 0.5px;


    --h1-font-family: var(--font-family-primaire);
    --h1-font-size: 3rem;
    --h1-line-height: 1.2em;
    --h1-font-weight: 700;
    --h1-letter-spacing: 0;
    --h1-margin-bottom: 30px;
    /* --h1-webkit-text-stroke: 0.5px; */

    --h2-font-family: var(--font-family-primaire);
    --h2-font-size: 2.8rem;
    --h2-line-height: 1.2em;
    --h2-font-weight: 700;
    --h2-letter-spacing: 0;
    --h2-margin-bottom: 20px;

    --h3-font-family: var(--font-family-primaire);
    --h3-font-size: 2.2rem;
    --h3-line-height: 1.2em;
    --h3-font-weight: 400;
    --h3-letter-spacing: 0;
    --h3-margin-bottom: 10px;

    --h4-font-family: var(--font-family-primaire);
    --h4-font-size: 2rem;
    --h4-line-height: 1.2em;
    --h4-font-weight: 400;
    --h4-letter-spacing: 0;
    --h4-margin-bottom: 10px;

    --cta-font-family: var(--font-family-primaire);
    --cta-font-size: 1.6rem;
    --cta-line-height: 1.2em;
    --cta-font-weight: 500;
    --cta-letter-spacing: 0;

    --header-height: 70px;

    --section-padding: 40px;
}

@media (min-width:992px) {
    :root {

        --menu-font-size: 1.6rem;

        --h1-font-size: 3.8rem;

        --h2-font-size: 3rem;

        --h3-font-size: 2.6rem;

        --h4-font-size: 2.2rem;

        --cta-line-height: 2.2rem;

        --header-height: 70px;

        --section-padding: 70px;
    }
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 10px;
}

body {
    position: relative;
    font-family: var(--global-font-family);
    font-weight: var(--global-font-weight);
    background-color: var(--couleur-blanc);
    color: var(--couleur-noir);
}

h1,
span.h1 {
    position: relative;
    font-family: var(--h1-font-family);
    font-size: var(--h1-font-size);
    line-height: var(--h1-line-height);
    font-weight: var(--h1-font-weight);
    letter-spacing: var(--h1-letter-spacing);
    margin-bottom: var(--h1-margin-bottom);
    color: var(--couleur-primaire);
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8), -1px -1px 0px rgba(255, 255, 255, 0.8), 1px -1px 0px rgba(255, 255, 255, 0.8), -1px 1px 0px rgba(255, 255, 255, 0.8);
}

h2,
span.h2 {
    position: relative;
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    line-height: var(--h2-line-height);
    font-weight: var(--h2-font-weight);
    letter-spacing: var(--h2-letter-spacing);
    margin-bottom: var(--h2-margin-bottom);
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
    /* Effet gravé subtil */
}

h2 span.tres-gros{
    font-size: 40px;
}

@media (min-width:992px){
    h2 span.tres-gros{
        font-size: 70px;
    }
}

p+h2 {
    margin-top: 20px;
}

h3,
span.h3 {
    position: relative;
    font-family: var(--h3-font-family);
    font-size: var(--h3-font-size);
    line-height: var(--h3-line-height);
    font-weight: var(--h3-font-weight);
    letter-spacing: var(--h3-letter-spacing);
    margin-bottom: var(--h3-margin-bottom);
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    /* Encore plus subtil pour h3 */
}

h3+ul li {
    position: relative;
    margin-top: 10px;
    padding-left: 20px;
}

h3+ul li:before {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 5px;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--couleur-primaire);
    border-bottom: 1px solid var(--couleur-primaire);
    transform: rotateZ(-45deg);
}

p+h3,
ul+h3 {
    margin-top: 30px;
}

h4,
span.h4 {
    position: relative;
    font-family: var(--h4-font-family);
    font-size: var(--h4-font-size);
    line-height: var(--h4-line-height);
    font-weight: var(--h4-font-weight);
    letter-spacing: var(--h4-letter-spacing);
    margin-bottom: var(--h4-margin-bottom);
    /* text-transform: uppercase; */
}

p,
a,
span,
li,
i,
label,
button {
    font-family: var(--global-font-family);
    font-size: var(--global-font-size);
    font-weight: var(--global-font-weight);
    line-height: var(--global-line-height);
    letter-spacing: var(--global-letter-spacing);
}

p {
    margin-bottom: 0;
}

p+p {
    margin-top: 20px;
}

p a {
    color: var(--couleur-secondaire);
    text-decoration: underline;
}

strong {
    font-size: var(--global-font-size);
}

ul {
    list-style-type: none;
}


ul li {
    position: relative;
    line-height: 1.5em;
    padding-left: 20px;
}

ul li:before {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 5px;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--couleur-primaire);
    border-bottom: 1px solid var(--couleur-primaire);
    transform: rotateZ(-45deg);
}

/* UNIQUEMENT pour les menus */
.menu,
.menu li,
.menu-item,
.page_item {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.menu,
.menu li:before,
.menu-item:before,
.page_item:before {
    display: none;
}

a {
    display: inline-block;
    color: var(--couleur-secondaire);
    text-decoration: none;
    opacity: 1;
    transition: all .3s ease;
}

a:hover {
    color: inherit;
    transition: all .3s ease;
}

section {
    position: relative;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

section .container>hr {
    margin-top: var(--section-padding);
    ;
}

@media (min-width:992px) {
    section {
        padding-top: var(--section-padding);
        ;
        padding-bottom: var(--section-padding);
        ;
    }

    section .container>hr {
        margin-top: var(--section-padding);
        ;
    }
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin: 20px 0 30px;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
}

th,
td {
    border: 1px solid var(--couleur-noir);
    padding: 8px;
    text-align: center;
}

th {
    background-color: var(--couleur-secondaire);
    color: var(--couleur-noir);
    transition: all .3s ease;
}

tr:hover {
    background-color: var(--couleur-primaire);
    color: var(--couleur-blanc);
    transition: all .3s ease;
}

@media (min-width:768px) {
    table {
        font-size: 12px;
    }
}

@media (min-width:992px) {
    table {
        font-size: 14px;
    }
}

@media (min-width:1200px) {
    table {
        font-size: 16px;
    }
}

/* FORM */

form p {
    margin-top: 2.5rem;
}

label {
    width: 100%;
    color: var(--couleur-secondaire);
    letter-spacing: 1px;
}

input:not([type="submit"]),
.wpcf7-form-control-wrap,
select,
textarea {
    width: 100%;
    color: var(--couleur-blanc);
    border: none;
}

select,
textarea {
    width: 100%;
    background-color: var(--couleur-primaire);
    color: var(--couleur-blanc);
    border: none;
}

.wpcf7-form-control-wrap input,
.wpcf7-submit {
    background-color: var(--couleur-primaire);
}

.wpcf7-list-item label {
    display: inline-flex;
}

.wpcf7-list-item-label {
    white-space: nowrap;
    margin-left: 10px;
}

label {
    /* margin-bottom: 30px; */
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: 10px;
}

/* .fond-btn-submit::before{
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--couleur-primaire);
    border-radius: 36px;
    z-index: 1;
} */

input:not([type="submit"]),
textarea,
select {
    padding: 10px;
}

.cta-secondaire.btn-submit {
    width: 200px;
}

input[type="submit"],
input[type="submit"] i {
    width: 200px;
    /* background-color: var(--couleur-primaire); */
    color: var(--couleur-blanc);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px 0px;
    border: none;
    text-transform: uppercase;
    transition: .3s ease;
}

.wpcf7-spinner {
    position: absolute;
    left: 190px;
}

.wpcf7-response-output {
    font-size: var(--global-font-size);
}

.wpcf7-not-valid-tip {
    padding: 0 10px 10px 10px;
}

::placeholder {
    color: var(--couleur-blanc);
    opacity: 0.5;
    letter-spacing: 1px;
}

/* FIN FORM */

[class*="cta"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.cta-primaire,
.cta-secondaire {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: var(--cta-font-size);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px 40px;
    transition: all .3s ease;
    text-transform: uppercase;
    text-shadow: 2px 2px 1px rgba(0,0,0,0.75);
    z-index: 1;
    overflow: hidden;
    /* border: 2px solid transparent; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); */
}

.cta-primaire {
    color: var(--couleur-blanc);
    background-image: url('images/bois-cta.png');
    background-size: cover;
    background-position: center;
}

.cta-primaire::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    transition: background 0.3s ease;
}

.cta-primaire:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: var(--couleur-blanc);
}

.cta-primaire:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.cta-lien {
    position: relative;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    color: var(--couleur-noir);
}

/* La flèche */
.cta-lien::after {
    content: "❯";
    display: inline-block;
    font-size: 0.8em;
    line-height: 1em;
    transition: transform .6s ease;
}

/* Rotation 360° au hover */
.cta-lien:hover::after {
    transform: rotate(360deg);
}

/* HEADER */
header.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    display: flex;
    background-image: url('images/bois-fond-large-header.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--couleur-tierce);
    transition: all .3s ease;
}

header.navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* État SCROLLÉ */
body.header-scrolled:not(.home) main,
body.header-scrolled:not(.home) #main {
    padding-top: var(--header-height);
}

.home header.navigation {
    background-color: transparent;
}

.header-scrolled header.navigation {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all .3s ease;
}


body main,
body #main {
    padding-top: var(--header-height);
    transition: padding-top .3s ease;
}


header .logo img {
    object-fit: contain;
    max-width: 45px;
}

@media (min-width:992px) {
    header.navigation {
        height: var(--header-height);
    }

    .header-scrolled header.navigation {
        height: 70px;
        transition: all .3s ease;

    }
}

/* MENU MOBILE */
#menu-mobile {
    width: 100%;
}

.logo-mobile {
    display: inline-block;
    width: auto;
    height: 50px;
    margin: 10px 0;
}

.logo-mobile img {
    width: auto;
    height: 50px;
    object-fit: contain;
}

#menu-hamburger {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    bottom: 0;
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--couleur-blanc);
    z-index: 99;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 60px 20px;
}

#menu-hamburger .container {
    width: 100%;
    padding: 0;
}

#menu-hamburger li a {
    font-size: 2rem;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.home #menu-hamburger {
    background: rgba(255, 255, 255, 1);
}

#menu-hamburger.slide {
    right: 0;
}

#menu-hamburger .telephone a {
    color: var(--couleur-secondaire);
    font-size: 3.2rem;
}

/* Menu mobile ouvert : bloquer le scroll sur html ET body */
html.overflow-hidden,
html.overflow-hidden body {
    overflow: hidden !important;
    /* Empêche le saut de largeur lié à la disparition de la scrollbar */
    width: 100%;
}

@media (min-width: 992px) {
    #menu-hamburger {
        display: none !important;
    }

    /* Réinitialiser sur desktop */
    html.overflow-hidden,
    html.overflow-hidden body {
        overflow: visible !important;
        width: auto;
    }
}

.hamburger {
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 100;
    cursor: pointer;
    transition: all .3s ease;
}

.hamburger span,
.hamburger span:before,
.hamburger span:after {
    display: block;
    position: absolute;
    height: 3px;
    background: var(--couleur-secondaire);
    border-radius: 3px;
}

.hamburger:hover span,
.hamburger:hover span:before,
.hamburger:hover span:after {
    background: var(--couleur-secondaire);
}

.hamburger span {
    width: 40px;
    top: 50%;
    transition: all .3s ease;
}

.hamburger span:before,
.hamburger span:after {
    content: "";
    width: 40px;
    transition: all .3s ease;
}

.hamburger span:before {
    top: 10px
}

.hamburger span:after {
    bottom: 10px
}

.hamburger.show {
    /* position: fixed; */
    transition: all .3s ease;
}

.hamburger.show span {
    transition: all .3s ease;
    background: transparent;
}

.hamburger.show span:before {
    transform: rotate(135deg);
    top: 0;
    transition: all .3s ease;
}

.hamburger.show span:after {
    transform: rotate(-135deg);
    bottom: 0;
    transition: all .3s ease;
}

/* FIN MENU MOBILE */


/* MENU DESKTOP */
#menu-desktop .menu {
    display: flex;
    align-items: center;
}

#menu-desktop .menu li {
    margin: 0 5px;
}

#menu-desktop .menu li a {
    color: var(--couleur-blanc);
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.75);
    z-index: 1;
    border: 1px solid transparent;
    /* Reserve space for border */
}

#menu-desktop .menu li.current-menu-item a,
#menu-desktop .menu li a:hover {
    background-image: url('images/bois-cta.png');
    background-size: cover;
    background-position: center;
    color: #f8f1e0 !important;
    /* Crème */
    border-radius: 4px;
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.3),
        inset 0 -2px 3px rgba(0, 0, 0, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    transform: none;
    /* No more movement */
}

/* Rivets (Clous) aux coins */
#menu-desktop .menu li.current-menu-item a::before,
#menu-desktop .menu li.current-menu-item a::after,
#menu-desktop .menu li a:hover::before,
#menu-desktop .menu li a:hover::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: #2a1a0a;
    border-radius: 50%;
    box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 2;
}

#menu-desktop .menu li.current-menu-item a::before,
#menu-desktop .menu li a:hover::before {
    top: 4px;
    left: 4px;
    box-shadow: 0 26px 0 #2a1a0a;
    /* Clou en bas à gauche (ajuster selon padding) */
}

#menu-desktop .menu li.current-menu-item a::after,
#menu-desktop .menu li a:hover::after {
    top: 4px;
    right: 4px;
    box-shadow: 0 26px 0 #2a1a0a;
    /* Clou en bas à droite */
}

/* BANNIERE */
#banniere {
    position: relative;
    height: auto;
    /* min-height: 600px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--couleur-blanc);
    overflow: hidden;
    z-index: 1;
}

#banniere .container {
    position: relative;
    z-index: 2;
}

#banniere h1 {
    font-size: 6rem;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    #banniere h1 {
        font-size: 4rem;
    }
}

/* BARRE USP (Trust Bar) - Slim & Horizontal */
.barre-usp {
    background-image: url('images/bois-fond-large-header.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 5;
}

.barre-usp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.usp-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.usp-item {
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px 15px;
}

/* Séparateurs verticaux */
@media (min-width: 768px) {
    .usp-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -15px;
        top: 20%;
        height: 60%;
        width: 2px;
        background: rgba(255, 255, 255, 0.7);
    }
}

.usp-icon {
    width: 35px;
    height: 35px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usp-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}

.usp-text {
    font-family: 'BrixtonTc', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--couleur-blanc);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.75)
}

@media (max-width: 767px) {
    .usp-wrapper {
        gap: 15px;
        flex-direction: column;
    }

    .usp-item {
        width: 100%;
        justify-content: center;
    }
}

/* FIN - BARRE DE CONFIANCE */

#menu-desktop ul li {
    position: relative;
    margin: 0 15px;
}

#menu-desktop ul li:last-of-type {
    margin-right: 0;
}

/* Conteneur principal */
#menu-desktop ul li a {
    position: relative;
    color: var(--couleur-secondaire);
    font-family: var(--menu-font-family);
    font-size: var(--menu-font-size);
    font-weight: var(--menu-font-weight);
    line-height: var(--menu-line-height);
    letter-spacing: var(--menu-letter-spacing);
    padding: 5px 0;
    transition: color .3s ease;
}

#menu-desktop ul li a::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            var(--couleur-primaire));
    transition: width .3s ease;
}

#menu-desktop ul li a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left,
            transparent,
            var(--couleur-primaire));
    transition: width .3s ease;
}

/* Désactivation des anciennes lignes rouges pour le menu 3D */
#menu-desktop ul li>a::before,
#menu-desktop ul li>a::after {
    display: none !important;
}

#menu-desktop .sub-menu {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    width: auto;
    top: 100%;
    padding: 15px;
    background-color: var(--couleur-noir);
}

#menu-desktop .menu-item-has-children:hover .sub-menu {
    visibility: visible;
    opacity: 1;
}

#menu-desktop .sub-menu li {
    display: block;
    text-align: center;
    white-space: nowrap;
}

#menu-desktop .sub-menu a {
    font-size: 1.4rem;
    line-height: 1.6rem;
    text-align: center;
    color: var(--couleur-blanc);
}

#menu-desktop .sub-menu li:not(:first-of-type) a {
    margin-top: 10px;
}

#menu-desktop ul li.reserver a {
    position: relative;
    display: inline-block;
    color: var(--couleur-blanc);
    background-color: var(--couleur-secondaire);
    font-family: var(--cta-font-family);
    font-size: var(--cta-font-size);
    font-weight: 700;
    letter-spacing: var(--cta-letter-spacing);
    padding: 10px 25px;
    text-align: center;
    transition: all .3s ease;
}

#menu-desktop ul li.reserver a:hover {
    background-color: var(--couleur-primaire);
    transition: all .3s ease;
}

#menu-desktop ul li.reserver a:before,
#menu-desktop ul li.reserver a:after {
    display: none;
}

/* FIN MENU DESKTOP */

/* BANNIÈRE */
#banniere {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

#banniere figure {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: -1;
}

#banniere figure:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(30, 30, 30, 0.5);
    z-index: -1;
}

/* #banniere h1 {
    color: transparent;
    -webkit-text-stroke-color: var(--couleur-blanc);
} */

#banniere._accueil,
#banniere._accueil video,
#banniere,
#banniere video {
    min-height: 350px;
}

#banniere video,
#banniere figure img {
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

#banniere figure img {
    position: absolute;
    top: 0;
}

#banniere._accueil figure img {
    object-position: center top;
}


@media (min-width:1200px) {

    #banniere._accueil,
    #banniere._accueil video {
        /* height: calc(70vh - var(--header-height)); */
        min-height: 100vh;
    }

    #banniere,
    #banniere video {
        /* height: calc(40vh - var(--header-height)); */
        min-height: 550px;
    }

    #banniere video {
        position: absolute;
        width: 100%;
        top: 0;
    }

}

/* FIN BANNIÈRE */
/*  */

/* MAIN */
#main ul:not(.tableau) li {
    position: relative;
    margin-top: 10px;
    padding-left: 20px;
}

#main ul:not(.tableau, .custom-dots) li:before {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 5px;
    width: 5px;
    height: 5px;
    border-right: 1px solid var(--couleur-primaire);
    border-bottom: 1px solid var(--couleur-primaire);
    transform: rotateZ(-45deg);
}

/*  */

.mot {
    font-size: unset;
    font-weight: unset;
}

/* Force les SPAN générés par texte-anime.js à conserver la taille géante de leur Parent (H1) */
.mots-wrap span {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

/* Prévention du FOUC (clignotement brut puis disparition des H1) */
html.js-enabled h1:not(.mots-wrap) {
    opacity: 0;
}

.mots-wrap .lettre {
    opacity: 0;
    font-size: unset;
    font-weight: unset;
    transform: translateY(20px);
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mots-wrap .lettre.in {
    opacity: 1;
    transform: translateY(0);
}


.accordeon-wrapper .accordeon-categorie:not(:first-of-type) {
    margin: 40px 0;
}

.accordeon-item {
    border-bottom: 2px solid var(--couleur-primaire);
    overflow: hidden;
}

.accordeon-titre {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 10px 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordeon-titre span {
    font-size: unset;
}

.accordeon-titre .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--couleur-primaire);
    border-bottom: 2px solid var(--couleur-primaire);
    transform: rotate(45deg);
    transition: transform .3s ease;
}

.accordeon-item.open .arrow {
    transform: rotate(-135deg);
}

.accordeon-contenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.accordeon-inner {
    padding: 0 0 20px 0;
}

/* BLOC TRIPLE */
.bloc-triple {
    background-color: var(--couleur-primaire);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--couleur-blanc);
}

.bloc-triple .contenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bloc-triple .contenu img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    border-radius: 4px;
    /* Léger arrondi pour fondre l'image dans le rouge harmonieusement */
}

.bloc-triple .description-bois{
    background-image: url('images/bois-fond-transparent.png');
    background-size: cover;
    padding: 20px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.bloc-triple .contenu-texte {
    text-align: center;
    margin-bottom: 15px;
}

.bloc-triple .contenu-texte p {
    font-size: 1.6rem;
}

.bloc-triple h3 {
    font-family: var(--font-family-primaire);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
    margin-bottom: 15px;
}

@media (min-width:992px) {

    .bloc-triple .contenu {
        border-bottom: none;
    }

    .bloc-triple img {
        height: 280px;
    }

    .bloc-triple .cercle img {
        width: 220px;
    }

    .bloc-triple .ligne {
        display: none;
    }
}

/* BLOC CTA */
.bloc-btn {
    background-color: var(--couleur-secondaire);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.bloc-btn ul li {
    display: inline-flex;
}

/*  */

/* SINGLE PRODUIT */
.single-produit.section-padding {
    padding-top: calc(var(--section-padding) * 2);
    padding-bottom: var(--section-padding);
}

/* PAGE PRODUITS */
.page-produits {
    padding: 60px 0;
}

/* BLOC ARTICLES / ACTUALITÉS */
.bloc-actualites {
    background-color: var(--couleur-primaire);
    color: var(--couleur-blanc);
}

.bloc-actualites .nouvelles-recentes a {
    color: var(--couleur-secondaire);
    transition: .3s ease;
}

.bloc-actualites .nouvelles-recentes .cta-lien:before {
    border-right: 2px solid var(--couleur-secondaire);
    border-bottom: 2px solid var(--couleur-secondaire);
}

.bloc-actualites .nouvelles-recentes .cta-lien:before:hover {
    transition: .3s ease;
}

.bloc-actualites h2,
.bloc-actualites h3 {
    color: var(--couleur-blanc);
}

/* article */

.article-principal {
    margin-top: var(--section-padding);
    margin-bottom: var(--section-padding);
    border: 2px solid var(--couleur-primaire);
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
}

.article {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px;
}

.article:nth-child(odd):before {
    content: "";
    position: absolute;
    width: 2px;
    left: -2px;
    top: 40px;
    height: 100%;
    height: calc(100% - 80px);
    background-color: var(--couleur-primaire);
}

.article .liens-cats {
    display: inline-block;
    margin-bottom: 10px;
}

.article .liens-cats a {
    color: var(--couleur-tierce);
    /* font-weight: 700; */
}

.article .liens-cats a:hover {
    color: var(--couleur-secondaire);
}

.article h2 {
    color: var(--couleur-primaire);
    transition: .3s ease;
}

.article h2:hover {
    color: var(--couleur-tierce);
    transition: .3s ease;
}

.date {
    display: block;
    position: relative;
    font-size: 1.4rem;
    line-height: 2rem;
    letter-spacing: 0;
    margin-top: 10px;
}

.article-card {
    height: 100%;
    border: 2px solid var(--couleur-primaire);
    /* box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2); */
}

.article-card h3 {
    color: var(--couleur-primaire);
    font-weight: 500;
    transition: .3s ease;
}

.article-card h3:hover {
    color: var(--couleur-tierce);
    transition: .3s ease;
}

.article-cats {
    height: 100%;
    padding: 45px 30px;
    border: 2px solid var(--couleur-secondaire);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
}

/* .article-cats:hover{
	box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.2);
}

.article-cats:hover .cta-lien:before{
    transform: rotateZ(-405deg);
    transition: all .3s ease;
} */

.article-cats .img {
    width: 100%;
}

.article-cats img {
    height: 200px;
}

.article-cats .court-texte {
    margin: 10px 0 20px;
}

.article-cats h3 {
    font-weight: 700;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    border-radius: 70px;
    max-width: 100%;
    margin-bottom: 40px;
}

.video-wrapper iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 30px;
}

@media (min-width:992px) {
    .video-wrapper iframe {
        width: 800px;
        height: 450px;
    }
}




/* PAGINATION TOUS ARTICLES */
.pagination {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: inline-block;
    font-size: 1.4rem;
    margin: 0 5px;
    padding: 5px;
    color: var(--couleur-primaire);
    background: var(--couleur-blanc);
    border: 1px solid var(--couleur-secondaire);
    text-decoration: none;
    transition: all 0.3s;
}

/* .pagination a:hover {
    background: var(--couleur-secondaire);
    color: var(--couleur-blanc);
} */

.pagination .current {
    background: var(--couleur-secondaire);
    color: var(--couleur-blanc);
    border: 1px solid var(--couleur-secondaire);
}

@media (min-width:768px) {

    .pagination a,
    .pagination span {
        padding: 8px 16px;
    }

}

/* FIN PAGINATION TOUS ARTICLES */

/* WYSIWYG */

.wysiwyg .cta-primaire {
    text-decoration: none;
}

.wysiwyg hr {
    margin-top: var(--section-padding);
    margin-bottom: var(--section-padding);
}

/* FOND POUR LISIBILITÉ DU TEXTE (TOUS LES BLOCS DE CONTENU STANDARD) */
/* 1. Blocs centrés : neutralise le débordement de la row Bootstrap */
.bloc-simple-texte-agrandi .container>.row,
.wysiwyg .container>.row,
.bloc-actualites .container>.row,
.page-contact .container>.row,
.tableau-liste .container>.row,
.formulaire .container>.row {
    margin-left: 0;
    margin-right: 0;
}

.bloc-simple-texte-agrandi .container>.row>div,
.wysiwyg .container>.row>div,
.bloc-actualites .container>.row>div,
.page-contact .container>.row>div,
.tableau-liste .container>.row>div,
.formulaire .container>.row>div {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--couleur-primaire);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 2. Blocs larges (ex: 2 colonnes) : on applique sur la rangée entière et on ajuste la grille */
.bloc-double .container>.row,
.accordeon-wrapper .container>.row,
.grille .container>.row {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px 15px;
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
    border: 2px solid var(--couleur-primaire);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.bloc-simple-texte-agrandi ul li {
    display: inline-flex;
}

.bloc-double [class*="col"]+[class*="col"] {
    margin-top: 20px;
}

@media (min-width: 992px) {

    .bloc-simple-texte-agrandi .container>.row>div,
    .wysiwyg .container>.row>div,
    .bloc-actualites .container>.row>div,
    .page-contact .container>.row>div,
    .tableau-liste .container>.row>div,
    .formulaire .container>.row>div {
        padding: 60px;
    }

    .bloc-double .container>.row,
    .accordeon-wrapper .container>.row,
    .grille .container>.row {
        padding: 60px 45px;
    }

    .bloc-double [class*="col"]+[class*="col"] {
        margin-top: 0;
    }
}


/* LISTE TABLEAU */

.tableau-liste+.wysiwyg,
.wysiwyg+.tableau-liste {
    padding-top: 0;
}

.tableau-liste,
.tableau-liste+.wysiwyg {
    padding-bottom: 70px;
}

.tableau-liste+.tableau-liste {
    padding-top: 0;
    padding-bottom: 70px;
}

.tableau-liste+footer {
    margin-top: 30px;
}

.tableau {
    position: relative;
    margin-top: 20px;
    /* padding: 50px 0; */
    /* border: 2px solid var(--couleur-secondaire); */
    /* box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.2); */
}

.tableau::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(120deg,
            rgba(232, 29, 4, 1) 9.66%,
            rgba(252, 202, 36, 1) 34.51%,
            rgba(246, 248, 237, 1) 52.18%,
            rgba(2, 201, 243, 1) 83.66%,
            rgba(1, 79, 213, 1) 104.89%);
    z-index: -1;
    border-radius: inherit;
}

.tableau li {
    list-style-type: none;
    margin: 0;
    padding: 4px 20px;
    display: flex;
    justify-content: space-between;
}

.tableau li:nth-child(even) {
    background-color: var(--couleur-primaire);
    color: var(--couleur-blanc);
}

.tableau li:nth-child(odd) {
    background-color: var(--couleur-noir);
    color: var(--couleur-blanc);
}

/* ALTERNANCE */
.inversement {
    display: flex;
    flex-direction: row-reverse;
}

.alternance+.alternance {
    margin-top: 50px;
}

.alternance {
    position: relative;
    background-color: transparent;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
}

.alternance::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--couleur-primaire);
    z-index: -1;
    border-radius: inherit;
}

.alternance .texte {
    display: flex;
    background-color: var(--couleur-primaire);
    color: var(--couleur-blanc);
    height: 100%;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    padding: 30px;
}


.image-texte-alternance img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 40vh;
}

@media (min-width: 992px) {

    /* Tranforme les colonnes en conteneurs flex verticaux */
    .image-texte-alternance .row>div {
        display: flex;
        flex-direction: column;
    }

    .image-texte-alternance img {
        max-height: none;
        height: 0;
        min-height: 400px;
        flex-grow: 1;
    }
}

.image-texte-alternance .texte ul li:before {
    border-color: var(--couleur-blanc);
}

/* IFRAME (CARTE) - EFFET CADRE BOIS/RUSTIQUE */
.iframe {
    position: relative;
    width: 100%;
    background-image: url('images/bois-fond-transparent.png');
    background-size: cover;
    padding: 20px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.iframe iframe {
    position: relative;
    width: 100%;
    height: 40vh;
    display: block;
    border: none;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
    .iframe {
        padding: 30px 0;
    }

    .iframe iframe {
        height: 60vh;
    }
}

/* =========================================================================
   PRODUITS - ARCHIVE & SINGLE
   ========================================================================= */

.boite-blanche-translucide {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* --- ARCHIVE / FILTRES --- */
#filtre-appats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-filtre {
    background-color: var(--couleur-blanc);
    border: 2px solid var(--couleur-primaire);
    color: var(--couleur-primaire);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 3px 4px 0px rgba(0, 0, 0, 0.45);
}

.btn-filtre:hover,
.btn-filtre.actif {
    background-color: var(--couleur-primaire);
    color: var(--couleur-blanc);
    box-shadow: 3px 4px 0px rgba(0, 0, 0, 0.45);
}

/* --- CARTES PRODUITS (GRILLE) --- */

.carte-produit-item {
    transition: opacity 0.3s ease;
}

.carte-produit-item.filtre-sortie {
    opacity: 0;
}

.carte-produit-item.filtre-cache {
    display: none;
}

.carte-produit-inner {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.75);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carte-produit-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 20px rgba(0, 0, 0, 0.6);
}

.carte-produit-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 3px solid var(--couleur-primaire);
}

.carte-produit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carte-produit-inner:hover .carte-produit-img {
    transform: scale(1.05);
}

.carte-produit-contenu {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.carte-produit-titre {
    font-size: 2rem;
    color: var(--couleur-primaire);
    margin-bottom: 10px;
}

.carte-produit-desc {
    color: var(--couleur-texte);
    margin-bottom: 20px;
    flex-grow: 1;
    display: none;
}

.carte-produit-lien {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.carte-produit-lien .cta-primaire {
    font-size: 1.2rem;
    padding: 10px 10px;
}

/* --- AUTRES PRODUITS (SINGLE) --- */
.autres-produits-boutons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-autre-produit {
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid var(--couleur-primaire);
    border-radius: 30px;
    color: var(--couleur-primaire);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-autre-produit:hover {
    background-color: var(--couleur-primaire);
    color: var(--couleur-blanc);
}

@media (min-width: 992px) {

    .carte-produit-titre {
        font-size: var(--h2-font-size);
    }

    .carte-produit-desc {
        display: block;
    }

    .carte-produit-lien .cta-primaire {
        font-size: 1.6rem;
        padding: 10px 40px;
    }
}

/* --- FICHE MATRICIELLE UNIQUE (SINGLE) --- */
.produit-img-col {
    position: sticky;
    top: 120px;
    /* Colle l'image lors du scroll sur bureau */
}

.produit-img-hero {
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.75);
    width: 100%;
    height: auto;
}

.produit-titre-principal {
    color: var(--couleur-primaire);
    margin-bottom: 5px;
}

/* --- SLIDER PRODUIT GALERIE NATIF --- */
.produit-slider-natif {
    position: relative;
    width: 100%;
}

.produit-slider-natif .produit-slides-wrapper {
    position: relative;
    width: 100%;
}

.produit-slider-natif .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--couleur-blanc);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 1;
}

.produit-slider-natif .slide-image.actif {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.produit-slider-natif .slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: none;
    border-radius: 8px;
}

/* Flèches custom pour Slider (Base Mobile) */
.custom-arrow {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 0;
    outline: none;
}

.custom-arrow:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-arrow-prev {
    left: 10px;
}

.custom-arrow-next {
    right: 10px;
}

/* Triangle gauche (←) - Mobile */
.custom-arrow-prev::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 12px 8px 0;
    border-color: transparent var(--couleur-secondaire) transparent transparent;
    transition: border-color 0.2s ease;
}

/* Triangle droite (→) - Mobile */
.custom-arrow-next::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent var(--couleur-secondaire);
    transition: border-color 0.2s ease;
}

/* ------------------------------------------- */
/* --- AJUSTEMENTS BUREAU (Mobile First) --- */
/* ------------------------------------------- */
@media (min-width: 992px) {

    .produit-slider-natif .slide-image {
        height: 480px;
    }

    .custom-arrow {
        width: 50px;
        height: 50px;
        opacity: 1;
        /* Pleine opacité sur desktop */
    }

    .custom-arrow-prev::after {
        border-width: 10px 15px 10px 0;
    }

    .custom-arrow-next::after {
        border-width: 10px 0 10px 15px;
    }
}


.produit-nom-scientifique {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 15px;
}

.boite-formats {
    background-color: rgba(240, 240, 240, 0.8);
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.75);
    border-left: 5px solid var(--couleur-primaire);
}

.list-formats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-formats li {
    font-weight: 600;
    margin-bottom: 5px;
}

.list-formats li i {
    color: var(--couleur-primaire);
    margin-right: 5px;
}

.dotted-rule {
    border-top: 2px dashed rgba(0, 0, 0, 0.1);
    background: transparent;
}

/*  */

/* CONTACT */

#coordonnees a:not(.cta-primaire) {
    color: var(--couleur-secondaire);
}

#coordonnees a:not(.cta-primaire):hover {
    text-decoration: underline;
}

.telephone,
.horaire {
    margin-top: 30px;
}

@media (min-width: 992px) {

    .horaire {
        margin-top: 0;
    }
}

/* PARTENAIRES */
.inner.partenaire {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 25px 15px;
    color: var(--couleur-blanc);
    /* border: 2px solid var(--couleur-blanc); */
    /* border-top-left-radius: 25px; */
    /* border-top-right-radius: 25px; */
    /* border-bottom-left-radius: 25px; */
}



/* TEXTE AGRANDI */
.bloc-simple-texte-agrandi,
.bloc-simple-texte-agrandi h2 {
    /* font-size: 4vh!important; */
    /* line-height: 4.2vh!important; */
    text-align: center;
    margin-bottom: 0;
}

.bloc-simple-texte-agrandi+#partenaires {
    padding-top: 0;
}

@media (min-width:992px) {

    .bloc-simple-texte-agrandi,
    .bloc-simple-texte-agrandi h2 {
        /* font-size: 7vh!important; */
        /* line-height: 7.2vh!important; */
        text-align: center;
    }
}

/* mosaic */
.mosaic {
    overflow: hidden;
}

.mosaic .contenu,
.mosaic .bloc,
.mosaic .bloc.image {
    height: 200px;
}

.mosaic .bloc {
    background: linear-gradient(120deg,
            rgba(232, 29, 4, 1) 9.66%,
            rgba(252, 202, 36, 1) 34.51%,
            rgba(246, 248, 237, 1) 52.18%,
            rgba(2, 201, 243, 1) 83.66%,
            rgba(1, 79, 213, 1) 104.89%);
}

@media (min-width: 992px) {

    .mosaic .contenu,
    .mosaic .bloc,
    .mosaic .bloc.image {
        height: 300px;
    }
}

@media (min-width: 992px) {

    .mosaic .contenu,
    .mosaic .bloc {
        height: calc(50vh - (var(--header-height)/2));
    }
}

/*  */


/* SINGLE ARTICLE */
#article .img {
    margin-bottom: 30px;
}

#article .img img {
    max-height: 50vh;
}

#article .table-h2 {
    position: sticky;
    top: 130px;
    padding: 15px 15px 0;
    border: 2px solid var(--couleur-primaire);
    margin-bottom: 30px;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.2);
}

#article .table-h2 span.h1 {
    font-size: 2.4rem;
}

#article .table-h2 ul {
    padding-bottom: 10px;
}

#article .table-h2 .is-active a {
    position: relative;
    color: var(--couleur-primaire);
    transition: .3s ease;
}

#article .table-h2 .is-active:before {
    border-color: var(--couleur-primaire);
    transform: rotateZ(315deg);
    transition: .3s ease;
}

#article ul:not(.tableau) li {
    position: relative;
    margin-top: 10px;
    padding-left: 20px;
}

@media (min-width:992px) {
    #article .table-h2 {
        margin-bottom: 0;
    }

    #article .img {
        margin-bottom: 0;
    }

    #article .img img {
        max-height: none;
    }
}

.contenu-article header {
    margin-bottom: 30px;
}

/* FIN SINGLE ARTICLE */










/* FILTRE */
#filtre {
    border-top: 3px solid var(--couleur-primaire);
    padding-top: 20px;
    margin-bottom: 75px;
}

#filtre button {
    padding: 10px 20px;
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 600;
    background: none;
    border: none;
    color: var(--couleur-secondaire);
    text-transform: uppercase;
    cursor: pointer;
    transition: box-shadow 0.9s ease, color 0.3s ease;
}

#filtre button span {
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 500;
}

#filtre button.active {
    box-shadow: inset 0 0 0 0 var(--couleur-primaire);
}

#filtre button.active,
#filtre button:hover {
    box-shadow: inset 500px 0 0 0 var(--couleur-primaire);
    color: var(--couleur-blanc);
}

@media (min-width:992px) {
    #filtre {
        display: flex;
        justify-content: space-between;
    }
}

/* FIN FILTRE */


/* CSS SPÉCIFIQUE */


/* MAP */
.map {
    width: 100%;
    height: 40vh;
}

.map iframe {
    width: 100%;
    height: 100%;
}



@media (min-width: 992px) {
    .inner {
        padding: 70px 30px;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        border-bottom-left-radius: 50px;
    }
}


iframe {
    max-width: 100%;
}

footer {
    position: relative;
    background-image: url('images/bois-fond-transparent.png');
    background-size: cover;
    background-position: center;
    border-top: 2px solid var(--couleur-tierce);
    text-shadow: 2px 2px 1px rgba(0,0,0,0.75);
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Assombrit la texture pour le contraste */
    z-index: -1;
}

footer,
footer p,
footer h2 {
    color: var(--couleur-blanc);
}

footer .intro-footer p,
footer .intro-footer span,
footer .intro-footer a{
    font-size: 20px;
}

footer .intro-footer a:not(.cta-primaire) {
    color: var(--couleur-primaire);
}

footer .intro-footer a:not(.cta-primaire):hover {
    text-decoration: underline;
    color: var(--couleur-blanc);
}


footer hr {
    background: var(--couleur-tierce);
    margin: 20px 0;
    height: 2px !important;
    box-shadow: 2px 2px 4px var(--couleur-noir);
    opacity: 0.5;
}

footer .menu a {
    color: var(--couleur-blanc);
    font-family: var(--menu-font-family);
    font-size: 1.2vw;
    font-weight: var(--menu-font-weight);
    line-height: var(--menu-line-height);
    letter-spacing: var(--menu-letter-spacing);
    margin: 0 15px;
}

footer .menu a:hover,
footer .menu .current-menu-item a {
    color: var(--couleur-primaire);
}

footer p a {
    color: var(--couleur-tierce);
}

footer p a:hover {
    text-decoration: underline;
    color: var(--couleur-blanc);
}

footer .logo-footer {
    max-width: 50px;
}

footer .logo-social {
    max-width: 20px;
    margin-left: 10px;
}

footer .droits {
    text-align: center;
}

footer .droits span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

footer .conception {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

footer .conception span {
    margin-bottom: 0;
}

footer .logo-conception {
    max-width: 80px;
}
