@font-face {
    font-family: 'Constructio';
    src: url('../font/ConstructioGroteskRegular.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'Laca';
    src: url('../font/LacaRegular.otf');
    font-weight: 300;
}

.header {
    position: fixed;
    width: 100%;
    z-index: 120;
}

.slideshow-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.mySlides1, .mySlides2, .mySlides3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: slideshow 15s infinite;
}

.mySlides1 img, .mySlides2 img, .mySlides3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Timing différent pour mes slide */
.mySlides1 {
    animation-delay: 0s;
    z-index: 1;
}

.mySlides2 {
    animation-delay: 5s;
    z-index: 1;
}

.mySlides3 {
    animation-delay: 10s;
    z-index: 1;
}

/* Animation du slideshow */
@keyframes slideshow {
    0% {
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    33% {
        opacity: 1;
    }
    36% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.HomeHeroSlider__slide__title {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #3F0100;
    font-size: 70px;
    font-weight: 900;
    text-align: left;
    z-index: 2;
    line-height: 1.1;
    max-width: 600px;
    animation: slideshow 15s infinite;
    font-family: 'Constructio', 'Arial Black', sans-serif;
    text-transform: uppercase;
}

/* Timing de mes titres */
.slideshow-container h1 {
    animation-delay: 0s;
}

.slideshow-container h2:nth-of-type(1) {
    animation-delay: 5s;
}

.slideshow-container h2:nth-of-type(2) {
    animation-delay: 10s;
}

.slideshow-container form {
    position: absolute;
    bottom: 15%;
    left: 10%;
    z-index: 2;
    cursor: pointer;
}

.slideshow-container form:nth-of-type(1) {
    animation-delay: 0s;
}

.slideshow-container form:nth-of-type(2) {
    animation-delay: 5s;
}

.slideshow-container form:nth-of-type(3) {
    animation-delay: 10s;
}

.btn-decouvrir {
    padding: 16px 24px;
    font-size: 1em;
    background-color: #d44a3a;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
}

.btn-decouvrir:hover {
    background-color: #c03a2a;
    transform: translateX(5px);
}

.slide-indicators {
    position: absolute;
    bottom: 5%;
    left: 10%;
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slide-indicators span {
    width: 40px;
    background: white;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-eboutique:hover {
    background-color: #fff;
    transform: scale(1.05);
}

.Nav__container {
    color: #880813;
    margin: auto;
    margin-top: 20px;
    max-width: 1400px;
    pointer-events: all;
    position: relative;
    z-index: 121;
}

.Nav__container .inner {
    align-items: center;
    background: white;
    border-radius: 7px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
    position: relative;
}

.btn-eboutique {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background: #d44a3a;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;

}

.btn-eboutique:hover {
    background: #c03a2a;
    justify-content: center;
}

.btn-eboutique .fi-rr-arrow-small-right {
    transform: translateX(0); /* ← Position de base */
    transition: all 0.3s cubic-bezier(0.36, 0.33, 0, 1);
    font-size: 18px;
}

/* ma flèche qui part vers la droite au hover */
.btn-eboutique:hover .fi-rr-arrow-small-right {
    opacity: 0;
    transform: translateX(20px);
}

.Nav__main {
    display: flex;
    gap: 30px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.Nav__main > li {
    position: relative;
}

.Nav__main > li > a {
    color: #880813;
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}

.Nav__main > li > a:hover {
    color: #d44a3a;
}

#logoNav {
    width: auto;
}

#logoNav img {
    width: 100%;
}

.nav-sous-menu {
    font-family: Constructio, Arial;
    font-size: 2em; /*32/16*/
    background: white;
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    list-style: none;
}

.Nav__main > li:hover .nav-sous-menu {
    display: block;
}

.nav-sous-menu li a {
    color: #880813;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-sous-menu li a:hover {
    background: #f5f5f5;
    color: #d44a3a;
}

.header-icons {
    align-items: center;
    display: flex;
    gap: 20px;
}

.header-icons a {
    color: #880813;
    font-size: 20px;
    position: relative;
    text-decoration: none;
}

.cart-icon {
    position: relative;
}

.cart-count {
    background: #d44a3a;
    border-radius: 50%;
    color: white;
    font-size: 11px;
    font-weight: bold;
    line-height: 18px;
    position: absolute;
    right: -8px;
    text-align: center;
    top: -8px;
    width: 18px;
}

.language {
    display: block;
    min-width: 50px;
    position: relative;
}

.block-products {
    background: white;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

strong {
    color: #880813;
}

.block-products__text {
    display: flex;
    justify-content: space-between;
    padding: 60px 35px;
}

.text_products {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1em;
    line-height: 25.6px;
}

.title {
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 3.75em; /*60/16*/
    color: #45230F;
    line-height: 60px;
    text-transform: uppercase;
}

.slider {
    display: flex;
    gap: 20px;
    padding-bottom: 2em;
    padding-top: 2em;
    position: relative;
    z-index: 2;
    overflow-x: auto;
    overflow-y: hidden;
    transition: transform 0.3s ease;
}

.wrapper {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    overflow: hidden;
}

.card {
    background: #DCE2D1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 23%;

}

.card__img-container {
    padding: 128px 0 28px;
}

.card__img-container img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;

}

.card_titre {
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 18px;
    color: #3F0100;
    text-transform: uppercase;
    padding: 40px 22px 10px;
    display: flex;
    align-items: flex-start;
}

.prix {
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
    color: #7D6557;
    padding-left: 22px;
    margin-bottom: 28px;
}

.article__panier {
    display: block;
    overflow: hidden;
    text-indent: 101%;
    white-space: nowrap;
    width: 44px;
    height: 44px;
    background-color: #d44a3a;
    border-radius: 50%;
    position: absolute;
    right: 22px;
    bottom: 22px;
    background-image: url('../img/shopping-basket(1).svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
}

.swipe_nav {
    display: flex;
    justify-content: end;
    padding-right: 30px;
    gap: 10px;
}

.slider_btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-style: none;
    background-color: #F7F4ED;
    cursor: pointer;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;

}

.img-full {
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.img-full .visual__container {
    aspect-ratio: 16 / 9;
    max-height: 600px;
    width: 100%;
    overflow: hidden;
}

.visual__container img {
    display: block;
    height: 100%;
    pointer-events: none;
    position: relative;
    width: 100%;
    object-fit: cover;
    max-width: 100%;
}

.img-full span {
    bottom: 25px;
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 105px;
    line-height: 126px;
    padding: 0 50px 0 180px;
    position: absolute;
    text-transform: uppercase;
    white-space: nowrap;
    color: #7F1716;
}

.engagements {
    margin: 90px 90px;
}

h2 {
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 60px;
    color: #3F0100;
    margin-bottom: 52px;
}

.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 15px;

}

.swiper-slide {
    display: flex;
}

.engagement__card {
    position: relative;
    padding: 60px 40px 40px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.titleb {
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 24px;
    text-align: left;
    text-transform: uppercase;
    z-index: 2;
    color: #7F1716;
}

.engagement__card p {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.engagement__card.--filiere-francaise, .--bienfaits {
    background: #EFD9C3;
}

.engagement__card.--environnement {
    background: #C8D4A6;
}

.article__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.article__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article__content {
    padding: 390px 35px 35px;
    text-decoration-line: none;
}

.article__content p {
    padding-top: 22px;
    line-height: 1.4;
    color: #544218;
}

.visual__container_bb {
    position: absolute;
    top: 40px;
    width: 60px;
}

.Link__txt {
    text-decoration: none;
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #7F1716;
}

.txt-img {
    margin: 200px 90px 200px;
}

.txt-img .container {
    display: flex;
    justify-content: space-between;
}

.txt-img__text h2 {
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 60px;
    color: #d44a3a;
}

.subtitle {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 26px;
    color: #45230F;
    margin-bottom: 25px;
}

.mini_texte {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #7D6557;
    font-size: 20px;
    margin-bottom: 139px;
}

.recipe {
    background: #F9CFCD;
    position: relative;
    display: flex;
}

.recipe__image {
    flex-basis: 50%;
    overflow: hidden;
    position: relative;
}

.recipe__text {
    flex-basis: 50%;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
}

.recipe__btn {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
}

.lines {
    position: absolute;
    top: 65%;
    left: 0;
}

.recipe__text h2 {
    font-size: 52px;
    text-transform: uppercase;
}

.recipe__text p {
    color: #7F1716;
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.lines1, .lines2, .lines3 {
    white-space: nowrap;
    overflow: hidden;
    margin: 10px 0;
}

.lines span {
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 60px;
    color: white;
    text-transform: uppercase;
    display: inline-block;
}

.social__text {
    text-transform: uppercase;
    font-size: 44px;
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #7F1716;
}

.social__text span {
    color: #d44a3a;
}

.social__Content {
    display: flex;
    justify-content: space-between;
    margin: 90px 90px 0 90px;
}

.img1 {
    transform: rotate(20deg);
}

.img2 {
    transform: rotate(-20deg);
}

.img3 {
    transform: rotate(20deg);
}

.icons {
    margin-left: 90px;
    display: flex;
    gap: 17px;
}

.changement {
    margin: 150px 90px 0 90px;
}

.changementTitle {
    text-transform: uppercase;
    font-size: 44px;
    font-family: 'Constructio', Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #d44a3a;
}

.changement p {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #7D6557;
}

.changementBold {
    font-weight: bold;
    color: #7D6557;
}

.videoC {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 38px;
}

.video_frame {
    border: 15px solid #7F1716;
    max-width: 1044px;
}

.video_frame video {
    display: block;
    width: 100%;
    height: auto;
}
/* code adapté sur base du blog de prismic*/
.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
}

.card_Effect {
    width: 1132px;
    height: auto;
    margin: 1rem auto;
    perspective: 1000px;
    cursor: pointer;
    display: grid;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card_Effect:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
}

.card-front {
    background: white;
    border: 1px solid #e5e7eb;
}

.card-back {
    background-color: #7F1716;
    color: white;
    transform: rotateY(180deg);
}

.hidden {
    position: absolute;!important;
    left: -10000px;!important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}

.Footer {
    background: #7F1716;
    bottom: 0;
    color: white;
    left: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.Footer .container {
    padding-top: 60px;
}

.Footer__top__container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
}

.Footer__top__logo {
    display: block;
    max-width: 200px;
    margin: 0 auto 60px;
}

.Footer__top__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    color: white;
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-left: 60px;
    line-height: 2;
}

.navFooter li a {
    color: white;
}

.newsletter {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 550px;
}

#email {
    border-radius: 10px;
    border-style: none;
    margin: 20px 0;
    padding: 20px 20px 20px 60px;
    width: 100%;
}

.iconsTitle {
    font-family: Arial, 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    margin-top: 40px;
    color: white;
}