/* =========================================================
   RANGE PRIMEUR
   PROFESSIONAL INTERNATIONAL WEBSITE
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --white: #ffffff;
    --cream: #fffdf9;
    --light-green: #e9f8ef;
    --green: #7fcf9b;
    --deep-green: #276947;

    --light-orange: #fff0df;
    --orange: #f4a261;

    --light-yellow: #fff9d9;
    --yellow: #f4d35e;

    --light-red: #ffe8e8;
    --red: #ef8c8c;

    --light-violet: #f0eaff;
    --violet: #a994df;

    --dark: #193127;
    --text: #42544d;
    --muted: #7d8c85;

    --border: rgba(39, 105, 71, .12);

    --shadow:
        0 25px 80px rgba(35, 72, 54, .10);

    --shadow-small:
        0 12px 40px rgba(35, 72, 54, .08);

    --radius: 28px;

    --font-title:
        "Playfair Display",
        Georgia,
        serif;

    --font-body:
        "DM Sans",
        Arial,
        sans-serif;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--font-body);

    color: var(--text);

    background:
        linear-gradient(
            180deg,
            #fff 0%,
            #fffdf9 50%,
            #ffffff 100%
        );

    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   PRELOADER
========================================================= */

#preloader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #f0eaff,
            #e9f8ef,
            #fff0df,
            #fff9d9
        );

    transition:
        opacity .8s ease,
        visibility .8s ease;
}

#preloader.loaded {

    opacity: 0;
    visibility: hidden;
}

.loader-logo {

    text-align: center;

    animation:
        loaderPulse 1.8s ease-in-out infinite;
}

.loader-logo img {

    width: 210px;

    margin: auto auto 20px;

    background: transparent !important;

    border-radius: 0 !important;

    padding: 0 !important;
}

.loader-logo span {

    display: block;

    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--deep-green);
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(.97);
    }

    50% {
        transform: scale(1.03);
    }
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(1180px, calc(100% - 60px));

    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 86px;

    padding: 0 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 5000;

    transition:
        background .4s ease,
        box-shadow .4s ease,
        height .4s ease;

    color: white;
}

.header.scrolled {

    height: 72px;

    background:
        rgba(255,255,255,.94);

    backdrop-filter:
        blur(20px);

    box-shadow:
        0 10px 40px rgba(0,0,0,.07);

    color: var(--dark);
}

.brand {

    display: flex;

    align-items: center;
}

.brand img {

    width: 78px; 

    height: auto;

    background: transparent !important;

    padding: 0 !important;

    border-radius: 0 !important;
}


.navbar {

    display: flex;

    align-items: center;

    gap: 25px;
}

.nav-link {

    position: relative;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .5px;

    text-transform: uppercase;

    transition: color .3s ease;
}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    border-radius: 20px;

    background: currentColor;

    transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--orange);
}


.header-actions {

    display: flex;

    align-items: center;

    gap: 15px;
}


/* =========================================================
   LANGUAGE
========================================================= */

.language-selector {
    position: relative;
}

.language-button {

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(255,255,255,.12);

    backdrop-filter: blur(10px);

    color: inherit;

    border-radius: 50px;

    padding: 9px 13px;

    display: flex;

    gap: 7px;

    align-items: center;

    cursor: pointer;

    font-size: 12px;

    transition: .3s ease;
}

.header.scrolled .language-button {

    border-color: var(--border);

    background: white;
}

.language-button:hover {
    transform: translateY(-2px);
}

.arrow {
    transition: transform .3s ease;
}

.language-selector.open .arrow {
    transform: rotate(180deg);
}

.language-menu {

    position: absolute;

    top: calc(100% + 12px);

    right: 0;

    width: 150px;

    background: white;

    border-radius: 18px;

    padding: 8px;

    box-shadow: var(--shadow);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(-10px)
        scale(.97);

    transition: .3s ease;
}

.language-selector.open .language-menu {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}

.language-menu button {

    border: none;

    background: transparent;

    width: 100%;

    text-align: left;

    padding: 11px;

    border-radius: 12px;

    cursor: pointer;

    color: var(--dark);

    font-size: 13px;

    transition: .25s ease;
}

.language-menu button:hover {
    background: var(--light-green);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {

    display: none;

    width: 44px;
    height: 44px;

    border: 0;

    background: rgba(255,255,255,.15);

    border-radius: 12px;

    cursor: pointer;

    padding: 10px;
}

.menu-toggle span {

    display: block;

    height: 2px;

    background: currentColor;

    margin: 5px 0;

    transition: .3s ease;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    height: 100vh;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;
}

/* Transition cinématique entre les vidéos du hero */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    opacity: 0;
    transform: scale(1.12);
    filter: blur(9px) saturate(1.12) brightness(.82);
    transition:
        opacity 2.1s cubic-bezier(.22,.61,.36,1),
        transform 5.5s cubic-bezier(.16,1,.3,1),
        filter 2.1s cubic-bezier(.22,.61,.36,1);
    pointer-events: none;
    will-change: opacity, transform, filter;
    backface-visibility: hidden;
}

.hero-video.is-active {
    opacity: 1;
    transform: scale(1.025);
    filter: blur(0) saturate(1.12) brightness(1);
}


/* Mini sélecteur vidéo : discret, n'apparaît que sous forme d'un petit bouton */
.hero-video-picker {
    position: absolute;
    z-index: 8;
    right: 18px;
    bottom: 18px;
}
.hero-video-picker-toggle {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    color: #fff;
    background: rgba(14, 35, 25, .38);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: background .2s ease, transform .2s ease;
}
.hero-video-picker-toggle:hover { background: rgba(14,35,25,.72); transform: scale(1.06); }
.hero-video-picker-menu {
    position: absolute;
    right: 0;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 94px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 10px;
    background: rgba(10, 27, 20, .82);
    box-shadow: 0 5px 18px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-video-picker-menu[hidden] { display: none !important; }
.hero-video-choice {
    appearance: none;
    width: 100%;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #fff;
    background: transparent;
    text-align: left;
    font: inherit;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.hero-video-choice:hover { background: rgba(255,255,255,.14); }
.hero-video-choice.is-selected { color: #173b25; background: #f4f7e9; }
.hero-video-choice:focus-visible, .hero-video-picker-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
    .hero-video-picker { right: 12px; bottom: 12px; }
    .hero-video-picker-toggle { width: 24px; height: 24px; }
    .hero-video-picker-menu { bottom: 30px; }
}

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    /* Overlay volontairement profond et neutre : garde les textes lisibles
       sur les scènes vertes, rouges et orangées des cinq vidéos. */
    background:
        linear-gradient(
            90deg,
            rgba(8, 35, 25, .82) 0%,
            rgba(16, 38, 30, .58) 43%,
            rgba(18, 29, 23, .30) 72%,
            rgba(14, 25, 20, .20) 100%
        ),
        linear-gradient(
            0deg,
            rgba(8, 28, 20, .34) 0%,
            rgba(8, 28, 20, .02) 55%,
            rgba(8, 28, 20, .12) 100%
        );
}

.hero::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 170px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #fffdf9
        );

    z-index: -1;
}

.hero-content {

    width: min(1180px, calc(100% - 60px));

    margin: auto;

    padding-top: 80px;
}

.hero-small {

    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 12px;

    letter-spacing: 3px;

    font-weight: 600;

    margin-bottom: 24px;
}

.hero-small span {

    width: 45px;
    height: 1px;

    background: white;
}

.hero h1 {

    font-family: var(--font-title);

    font-size:
        clamp(52px, 8vw, 108px);

    line-height: .9;

    letter-spacing: -4px;

    margin-bottom: 35px;
}

.hero h1 span {
    color: #f1f7d9;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .18);
}

.hero h2 {

    font-family: var(--font-title);

    font-size:
        clamp(27px, 4vw, 53px);

    font-weight: 500;

    line-height: 1.08;

    margin-bottom: 25px;
}

.hero p {

    max-width: 720px;

    font-size: 16px;

    line-height: 1.9;

    color: rgba(255, 255, 248, .94);
    text-shadow: 0 1px 12px rgba(0, 0, 0, .22);

    text-align: justify;

    margin-bottom: 35px;
}

.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    min-height: 54px;

    padding: 0 25px;

    border-radius: 100px;

    border: 1px solid transparent;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.btn:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.12);
}

.btn-primary {

    background:
        linear-gradient(
            135deg,
            var(--green),
            #a9dfb9
        );

    color: #183b29;
}

.btn-light {

    background:
        rgba(255,255,255,.13);

    border-color:
        rgba(255,255,255,.55);

    color: white;

    backdrop-filter: blur(12px);
}


/* =========================================================
   HERO BOTTOM
========================================================= */

.hero-bottom {

    position: absolute;

    left: 40px;
    right: 40px;
    bottom: 45px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 10px;

    letter-spacing: 2px;
}

.hero-bottom > div:first-child {

    display: flex;

    gap: 14px;

    align-items: center;
}

.hero-bottom strong {
    font-size: 16px;
}

.scroll-indicator {

    display: flex;

    align-items: center;

    gap: 15px;
}

.scroll-indicator > div {

    width: 70px;
    height: 1px;

    background: white;

    position: relative;

    overflow: hidden;
}

.scroll-indicator > div::after {

    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: var(--yellow);

    animation:
        scrollLine 2s infinite;
}

@keyframes scrollLine {

    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    position: relative;

    padding:
        130px 0;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    max-width: 850px;

    margin-bottom: 65px;
}

.section-heading.centered {

    text-align: center;

    margin-left: auto;
    margin-right: auto;
}

.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--deep-green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.eyebrow::before {

    content: "";

    width: 25px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--green),
            var(--orange)
        );
}

.eyebrow.light {
    color: white;
}

.section-heading h2 {

    font-family: var(--font-title);

    font-weight: 500;

    font-size:
        clamp(40px, 5vw, 68px);

    line-height: 1.05;

    color: var(--dark);

    letter-spacing: -2px;

    margin-bottom: 25px;
}

.section-heading h2 em,
h2 em {

    color: var(--deep-green);

    font-style: italic;
}

.section-heading p {

    font-size: 16px;

    line-height: 1.9;

    max-width: 720px;

    color: var(--muted);

    text-align: justify;
}

.centered p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    padding-top: 80px;
}

.intro-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;
}

.intro-image {

    position: relative;
}

.intro-image img {

    height: 580px;

    object-fit: cover;

    border-radius: 35px;

    box-shadow: var(--shadow);
}

.image-label {

    position: absolute;

    left: 25px;
    bottom: 25px;

    background: rgba(255,255,255,.93);

    backdrop-filter: blur(15px);

    padding: 14px 18px;

    border-radius: 16px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--dark);
}

.image-label span {

    color: var(--orange);

    margin-right: 10px;
}

.intro-text p,
.about p,
.quality-card p,
.process-step p,
.solutions-content p,
.contact-content p {

    font-size: 15px;

    line-height: 1.95;

    text-align: justify;

    color: var(--text);

    margin-bottom: 20px;
}

.text-link {

    display: inline-flex;

    margin-top: 10px;

    color: var(--deep-green);

    font-weight: 800;

    font-size: 13px;

    border-bottom: 1px solid var(--green);

    padding-bottom: 5px;

    transition: .3s ease;
}

.text-link:hover {
    letter-spacing: .5px;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {

    padding: 50px 0;

    background:
        linear-gradient(
            110deg,
            var(--light-green),
            var(--light-yellow),
            var(--light-orange)
        );
}

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.stat {

    text-align: center;

    padding: 25px;
}

.stat strong {

    display: block;

    font-family: var(--font-title);

    font-size: 55px;

    color: var(--deep-green);

    line-height: 1;
}

.stat span {

    display: block;

    margin-top: 12px;

    font-size: 11px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: var(--muted);
}


/* =========================================================
   ABOUT
========================================================= */

.about {

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(169,148,223,.13),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(127,207,155,.15),
            transparent 30%
        );
}

.about-cards {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    margin-bottom: 90px;
}

.about-card {

    position: relative;

    padding: 45px;

    border-radius: var(--radius);

    background: white;

    box-shadow: var(--shadow-small);

    overflow: hidden;

    transition: .4s ease;
}

.about-card:hover {

    transform:
        translateY(-10px);

    box-shadow: var(--shadow);
}

.about-card::before {

    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 150px;
    height: 150px;

    border-radius: 0 0 0 100%;

    background:
        var(--light-violet);
}

.about-card:nth-child(2)::before {
    background: var(--light-green);
}

.card-number {

    position: absolute;

    top: 25px;
    right: 25px;

    color: var(--violet);

    font-size: 11px;

    font-weight: 800;
}

.icon-circle {

    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--light-green);

    border-radius: 50%;

    font-size: 27px;

    margin-bottom: 25px;
}

.about-card:nth-child(2) .icon-circle {
    background: var(--light-orange);
}

.about-card h3 {

    font-size: 12px;

    letter-spacing: 2px;

    color: var(--orange);

    margin-bottom: 10px;
}

.about-card h4 {

    font-family: var(--font-title);

    font-size: 31px;

    color: var(--dark);

    font-weight: 500;

    margin-bottom: 18px;
}

.about-card p {
    color: var(--muted);
}


/* =========================================================
   INTERNATIONAL
========================================================= */

.international-block {

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 70px;

    align-items: center;
}

.international-image {

    position: relative;
}

.international-image img {

    height: 560px;

    object-fit: cover;

    border-radius: 35px;

    box-shadow: var(--shadow);
}

.floating-badge {

    position: absolute;

    bottom: 25px;
    left: 25px;

    background: white;

    padding: 15px 20px;

    border-radius: 50px;

    font-weight: 800;

    font-size: 11px;

    box-shadow: var(--shadow-small);

    animation:
        floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.international-text h3 {

    font-family: var(--font-title);

    font-size: 48px;

    font-weight: 500;

    color: var(--dark);

    line-height: 1.1;

    margin-bottom: 25px;
}

.international-text > p {

    text-align: justify;

    line-height: 1.9;

    margin-bottom: 35px;
}

.direction-list {

    display: grid;

    gap: 15px;
}

.direction-list > div {

    display: grid;

    grid-template-columns: 45px 1fr;

    align-items: center;

    padding: 16px;

    border-radius: 16px;

    background: white;

    box-shadow: var(--shadow-small);
}

.direction-list span {
    font-size: 24px;
}

.direction-list strong {

    font-size: 11px;

    color: var(--dark);

    letter-spacing: 1px;
}

.direction-list small {

    grid-column: 2;

    color: var(--muted);

    margin-top: 4px;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products {

    background:
        linear-gradient(
            180deg,
            #fffdf9,
            #ffffff
        );
}

.product-filter {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin-bottom: 45px;

    flex-wrap: wrap;
}

.filter-btn {

    border: 1px solid var(--border);

    background: white;

    color: var(--dark);

    padding: 12px 20px;

    border-radius: 50px;

    cursor: pointer;

    font-weight: 700;

    font-size: 12px;

    transition: .3s ease;
}

.filter-btn:hover,
.filter-btn.active {

    background: var(--light-green);

    border-color: var(--green);

    transform: translateY(-3px);
}


.products-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.all-products {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

    margin-top: 25px;

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 1s ease,
        opacity .5s ease;
}

.all-products.show {

    max-height: 3000px;

    opacity: 1;
}

.product-card {

    background: white;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: var(--shadow-small);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.product-card:hover {

    transform:
        translateY(-10px);

    box-shadow: var(--shadow);
}

.product-image {

    height: 310px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--light-green),
            var(--light-yellow)
        );
}

.all-products .product-image {
    height: 240px;
}

.product-image img {

    height: 100%;

    object-fit: cover;

    transition:
        transform .7s cubic-bezier(.2,.8,.2,1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-tag {

    position: absolute;

    left: 16px;
    top: 16px;

    background:
        rgba(255,255,255,.9);

    backdrop-filter: blur(10px);

    padding: 8px 12px;

    border-radius: 50px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.product-hover {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    padding-bottom: 25px;

    background:
        linear-gradient(
            transparent,
            rgba(20,50,35,.65)
        );

    opacity: 0;

    transition: .4s ease;
}

.product-card:hover .product-hover {
    opacity: 1;
}

.product-view {

    border: none;

    background: white;

    color: var(--dark);

    padding: 13px 22px;

    border-radius: 50px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 800;

    transform:
        translateY(15px);

    transition: .4s ease;
}

.product-card:hover .product-view {

    transform:
        translateY(0);
}

.product-info {

    padding: 23px;
}

.product-info > span {

    color: var(--orange);

    font-size: 10px;

    font-weight: 800;
}

.product-info h3 {

    font-family: var(--font-title);

    color: var(--dark);

    font-size: 28px;

    font-weight: 500;

    margin: 6px 0;
}

.product-info p {

    font-size: 11px;

    color: var(--muted);
}

.all-products .product-info {
    padding: 17px;
}

.all-products .product-info h3 {
    font-size: 22px;
}

.products-more {

    display: flex;

    justify-content: center;

    margin-top: 45px;
}


/* =========================================================
   QUALITY
========================================================= */

.quality {

    background:
        linear-gradient(
            135deg,
            #fff9d9,
            #fff0df 50%,
            #f0eaff
        );
}

.quality-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.quality-card {

    position: relative;

    padding: 35px 28px;

    background:
        rgba(255,255,255,.78);

    backdrop-filter: blur(10px);

    border-radius: 25px;

    border:
        1px solid rgba(255,255,255,.8);

    transition: .4s ease;
}

.quality-card:hover {

    transform:
        translateY(-10px)
        rotate(.5deg);

    background: white;

    box-shadow: var(--shadow-small);
}

.quality-number {

    position: absolute;

    top: 20px;
    right: 20px;

    font-size: 10px;

    color: var(--muted);
}

.quality-icon {

    font-size: 38px;

    margin-bottom: 25px;
}

.quality-card h3 {

    font-family: var(--font-title);

    font-size: 25px;

    color: var(--dark);

    font-weight: 500;

    margin-bottom: 15px;
}

.quality-card p {
    color: var(--muted);
}


/* =========================================================
   COLD CHAIN
========================================================= */

.cold-chain {

    position: relative;

    min-height: 700px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;
}

.cold-background {

    position: absolute;

    inset: 0;

    z-index: -2;
}

.cold-background img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cold-overlay {

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(20,66,64,.88),
            rgba(30,88,90,.58),
            rgba(20,50,50,.3)
        );
}

.cold-content {

    max-width: 780px;

    margin-left: max(
        30px,
        calc((100vw - 1180px) / 2)
    );

    margin-right: auto;
}

.cold-content h2 {

    font-family: var(--font-title);

    font-size:
        clamp(42px, 5vw, 70px);

    line-height: 1.05;

    font-weight: 500;

    margin-bottom: 25px;
}

.cold-content h2 em {
    color: #d9f7ff;
}

.cold-content > p {

    max-width: 680px;

    line-height: 1.9;

    text-align: justify;

    color: rgba(255,255,255,.87);

    margin-bottom: 40px;
}

.cold-features {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.cold-features div {

    padding: 17px 20px;

    border-radius: 16px;

    background:
        rgba(255,255,255,.1);

    backdrop-filter: blur(12px);

    border:
        1px solid rgba(255,255,255,.2);
}

.cold-features strong {

    color: #d8faff;

    margin-right: 8px;
}

.cold-features span {

    font-size: 11px;

    letter-spacing: .5px;
}


/* =========================================================
   COMPLIANCE
========================================================= */

.compliance-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 75px;

    align-items: center;
}

.compliance-image img {

    height: 600px;

    object-fit: cover;

    border-radius: 35px;

    box-shadow: var(--shadow);
}

.compliance-content h2 {

    font-family: var(--font-title);

    font-size: 55px;

    line-height: 1.05;

    font-weight: 500;

    color: var(--dark);

    margin-bottom: 25px;
}

.compliance-content > p {

    line-height: 1.9;

    text-align: justify;

    margin-bottom: 18px;
}

.certifications {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    margin-top: 30px;
}

.certification {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    border-radius: 20px;

    background: white;

    box-shadow: var(--shadow-small);
}

.certification img {
    width: 100px;
    height: auto;
    max-width: 100%;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;
    border-radius: 0;
}

.certification strong {

    display: block;

    color: var(--dark);

    font-size: 13px;
}

.certification span {

    display: block;

    color: var(--muted);

    font-size: 10px;

    margin-top: 5px;
}


/* =========================================================
   LOGISTICS
========================================================= */

.logistics {

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(127,207,155,.15),
            transparent 25%
        );
}

.logistics-visual {

    position: relative;

    margin-bottom: 90px;
}

.logistics-visual img {

    height: 560px;

    object-fit: cover;

    border-radius: 35px;

    box-shadow: var(--shadow);
}

.logistics-overlay {

    position: absolute;

    inset: auto 30px 30px 30px;

    padding: 35px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(20,58,39,.84),
            rgba(50,95,70,.55)
        );

    backdrop-filter: blur(10px);

    color: white;
}

.logistics-overlay span {

    font-size: 10px;

    letter-spacing: 3px;
}

.logistics-overlay h3 {

    font-family: var(--font-title);

    font-size: 39px;

    font-weight: 500;

    margin-top: 10px;
}

.process {

    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.process-line {

    position: absolute;

    top: 45px;
    left: 10%;
    right: 10%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--green),
            var(--orange),
            var(--violet)
        );

    z-index: 0;
}

.process-step {

    position: relative;

    z-index: 1;

    background: white;

    border-radius: 25px;

    padding: 30px;

    box-shadow: var(--shadow-small);

    transition: .4s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-number {

    position: absolute;

    right: 20px;
    top: 20px;

    color: var(--orange);

    font-size: 10px;

    font-weight: 800;
}

.process-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--light-green);

    border-radius: 50%;

    font-size: 23px;

    margin-bottom: 20px;
}

.process-step:nth-child(3) .process-icon {
    background: var(--light-orange);
}

.process-step:nth-child(4) .process-icon {
    background: var(--light-violet);
}

.process-step h3 {

    font-size: 13px;

    letter-spacing: 1px;

    color: var(--dark);

    margin-bottom: 13px;
}

.process-step p {

    font-size: 13px;

    color: var(--muted);
}


/* =========================================================
   AVOCADO VIDEO
========================================================= */

.avocado-video-section {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;
}

.avocado-video-section video {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: -2;
}

.avocado-overlay {

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(29,68,45,.84),
            rgba(39,105,71,.44),
            rgba(20,40,30,.2)
        );
}

.avocado-content {

    width: min(1180px, calc(100% - 60px));

    margin: auto;
}

.avocado-content h2 {

    font-family: var(--font-title);

    font-size:
        clamp(50px, 6vw, 85px);

    line-height: 1;

    font-weight: 500;

    max-width: 700px;

    margin-bottom: 25px;
}

.avocado-content h2 em {
    color: #dff8e5;
}

.avocado-content p {

    max-width: 620px;

    line-height: 1.9;

    text-align: justify;

    color: rgba(255,255,255,.88);
}


/* =========================================================
   MARKETS
========================================================= */

.markets {

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f7fcf8
        );
}

.markets-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 25px;
}

.morocco-card,
.world-card {

    position: relative;

    min-height: 530px;

    overflow: hidden;

    border-radius: 35px;

    box-shadow: var(--shadow);
}

.morocco-card img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1s ease;
}

.morocco-card:hover img {
    transform: scale(1.07);
}

.market-overlay {

    position: absolute;

    inset: auto 25px 25px 25px;

    padding: 30px;

    border-radius: 25px;

    background:
        rgba(255,255,255,.88);

    backdrop-filter: blur(15px);
}

.market-overlay span {

    font-size: 35px;
}

.market-overlay h3 {

    font-family: var(--font-title);

    font-size: 40px;

    color: var(--dark);

    font-weight: 500;
}

.market-overlay p {
    color: var(--muted);
}

.world-card {

    background:
        linear-gradient(
            145deg,
            var(--light-violet),
            var(--light-green),
            var(--light-orange)
        );

    display: flex;

    align-items: center;

    justify-content: center;
}

.world-content {

    text-align: center;

    padding: 50px;
}

.world-icon {

    font-size: 70px;

    display: block;

    animation:
        worldSpin 12s linear infinite;
}

@keyframes worldSpin {

    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.world-content h3 {

    font-family: var(--font-title);

    font-size: 42px;

    font-weight: 500;

    color: var(--dark);

    margin: 20px auto;

    max-width: 450px;
}

.world-content p {

    color: var(--muted);

    font-size: 13px;
}

.route {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-top: 45px;

    font-size: 11px;

    font-weight: 800;
}

.route-line {

    width: 120px;

    display: flex;

    justify-content: space-between;
}

.route-line i {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--deep-green);

    animation:
        routeMove 1.4s infinite;
}

.route-line i:nth-child(2) {
    animation-delay: .15s;
}

.route-line i:nth-child(3) {
    animation-delay: .3s;
}

.route-line i:nth-child(4) {
    animation-delay: .45s;
}

.route-line i:nth-child(5) {
    animation-delay: .6s;
}

@keyframes routeMove {

    0%,
    100% {
        transform: scale(.7);
        opacity: .35;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}


/* =========================================================
   SOLUTIONS
========================================================= */

.solutions {

    background:
        linear-gradient(
            135deg,
            #f0eaff,
            #ffffff
        );
}

.solutions-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}

.solutions-content h2 {

    font-family: var(--font-title);

    font-size: 60px;

    line-height: 1;

    font-weight: 500;

    color: var(--dark);

    margin-bottom: 25px;
}

.solutions-list {

    display: grid;

    gap: 12px;
}

.solutions-list > div {

    display: grid;

    grid-template-columns: 54px minmax(0, 1fr) 42px;

    align-items: center;

    padding: 20px 22px;

    background: white;

    border-radius: 18px;

    box-shadow: var(--shadow-small);

    transition: .3s ease;
}

/* Tous les intitulés commencent exactement au même endroit que
   « Calendrier » : numéro à gauche, texte dans la colonne centrale. */
.solutions-list > div > span {
    grid-column: 1;
    justify-self: start;
}

.solutions-list > div > strong {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    margin: 0;
}

.solutions-list > div:hover {

    transform:
        translateX(8px);

    background:
        var(--light-green);
}

.solutions-list span {

    color: var(--orange);

    font-size: 11px;

    font-weight: 800;
}

.solutions-list strong {

    color: var(--dark);

    font-size: 13px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {

    padding-top: 110px;

    padding-bottom: 110px;
}

.contact-wrapper {

    position: relative;

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 70px;

    padding: 75px;

    border-radius: 40px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #315d48,
            #4b8664
        );

    color: white;

    box-shadow:
        0 35px 100px rgba(39,105,71,.25);
}

.contact-wrapper::before {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    top: -250px;
    right: -100px;
}

.contact-wrapper::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        rgba(244,162,97,.15);

    bottom: -180px;
    left: -100px;
}

.contact-content,
.contact-details {
    position: relative;
    z-index: 1;
}

.contact-content h2 {

    font-family: var(--font-title);

    font-size:
        clamp(42px, 5vw, 66px);

    line-height: 1;

    font-weight: 500;

    margin-bottom: 25px;
}

.contact-content h2 em {
    color: #dff6e5;
}

.contact-content p {

    color: rgba(255,255,255,.83);

    max-width: 620px;
}

.contact-slogan {

    display: block;

    margin-top: 35px;

    font-family: var(--font-title);

    font-size: 22px;

    color: #fff4c2;
}

.contact-details {

    display: grid;

    gap: 17px;
}

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.1);

    border:
        1px solid rgba(255,255,255,.12);
}

.contact-item > span {

    font-size: 20px;
}

.contact-item small {

    display: block;

    color: #d7f1df;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 800;

    margin-bottom: 6px;
}

.contact-item p,
.contact-item a {

    font-size: 12px;

    line-height: 1.7;

    color: white;

    word-break: break-word;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-button {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 8px;

    padding: 17px 20px;

    background:
        #dff6e5;

    color: #183b29;

    border-radius: 50px;

    font-weight: 800;

    font-size: 12px;

    transition: .35s ease;
}

.contact-button:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 30px rgba(0,0,0,.15);
}

.whatsapp-symbol {
    font-size: 25px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background:
        #fffdf9;

    padding:
        70px 0 25px;

    border-top:
        1px solid var(--border);
}

.footer-main {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-brand img {

    width: 170px;

    margin-bottom: 20px;

    background: white;

    padding: 5px;

    border-radius: 10px;
}

.footer-brand p {

    font-family: var(--font-title);

    font-size: 24px;

    color: var(--dark);

    line-height: 1.1;

    margin-bottom: 13px;
}

.footer-brand > span {

    font-size: 11px;

    color: var(--muted);
}

.footer-links {

    display: flex;

    flex-direction: column;

    gap: 11px;
}

.footer-product-categories {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 11px;
    width: 100%;
}

.footer-product-categories a {
    display: block !important;
    width: fit-content;
    white-space: normal;
    line-height: 1.5;
}

.footer-links h4 {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 2px;

    color: var(--deep-green);

    margin-bottom: 10px;
}

.footer-links a,
.footer-links span {

    font-size: 12px;

    color: var(--muted);

    transition: .3s ease;
}

.footer-links a:hover {

    color: var(--deep-green);

    transform:
        translateX(4px);
}

.footer-bottom {

    padding-top: 25px;

    border-top:
        1px solid var(--border);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

    font-size: 10px;

    color: var(--muted);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-floating {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 62px;
    height: 62px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #8edfa6,
            #4ca96b
        );

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 27px;

    box-shadow:
        0 15px 40px rgba(39,105,71,.28);

    z-index: 4500;

    transition: .35s ease;

    animation:
        whatsappPulse 2.5s infinite;
}

.whatsapp-floating:hover {

    transform:
        translateY(-5px)
        scale(1.05);
}

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0 rgba(76,169,107,.4),
            0 15px 40px rgba(39,105,71,.28);
    }

    70% {
        box-shadow:
            0 0 0 16px rgba(76,169,107,0),
            0 15px 40px rgba(39,105,71,.28);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(76,169,107,0),
            0 15px 40px rgba(39,105,71,.28);
    }
}

.whatsapp-tooltip {

    position: absolute;

    right: 75px;

    white-space: nowrap;

    background: white;

    color: var(--dark);

    padding: 10px 15px;

    border-radius: 10px;

    font-size: 10px;

    font-weight: 700;

    box-shadow: var(--shadow-small);

    opacity: 0;

    visibility: hidden;

    transform:
        translateX(10px);

    transition: .3s ease;
}

.whatsapp-floating:hover .whatsapp-tooltip {

    opacity: 1;

    visibility: visible;

    transform:
        translateX(0);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {

    position: fixed;

    right: 25px;
    bottom: 100px;

    width: 45px;
    height: 45px;

    border: none;

    background: white;

    color: var(--dark);

    border-radius: 50%;

    box-shadow: var(--shadow-small);

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition: .3s ease;

    z-index: 4000;
}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   MODAL
========================================================= */

.product-modal {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background:
        rgba(16,40,28,.65);

    backdrop-filter: blur(15px);

    opacity: 0;

    visibility: hidden;

    transition: .4s ease;
}

.product-modal.open {

    opacity: 1;

    visibility: visible;
}

.modal-content {

    width: min(850px, 100%);

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    background: white;

    border-radius: 30px;

    overflow: hidden;

    box-shadow:
        0 40px 120px rgba(0,0,0,.25);

    transform:
        translateY(30px)
        scale(.96);

    transition: .4s ease;
}

.product-modal.open .modal-content {

    transform:
        translateY(0)
        scale(1);
}

.modal-image {
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.modal-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    max-height: 680px;
    object-fit: contain;
    object-position: center;
    padding: 18px;
}

.modal-text {

    padding: 55px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.modal-text h2 {

    font-family: var(--font-title);

    font-size: 48px;

    font-weight: 500;

    color: var(--dark);

    margin-bottom: 18px;
}

.modal-text p {

    font-size: 14px;

    line-height: 1.8;

    text-align: justify;

    color: var(--muted);

    margin-bottom: 25px;
}


/* Catalogue product facts */
.catalogue-detail-button {
    display: inline-flex; align-items: center; justify-content: center;
    align-self: flex-start; margin-top: 14px; padding: 11px 17px;
    border: 1px solid rgba(39,105,71,.22); border-radius: 999px;
    background: #e9f8ef; color: #276947; font-size: 12px; font-weight: 700;
    cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.catalogue-detail-button:hover { background: #d7f0df; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(39,105,71,.12); }
.product-detail-list { display: grid; gap: 13px; margin: 4px 0 22px; }
.product-detail-row { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.product-detail-icon { font-size: 19px; line-height: 1.4; }
.product-detail-row strong { display: block; color: var(--deep-green); font-size: 12px; margin-bottom: 4px; }
.product-detail-row p { margin: 0 !important; font-size: 12px !important; line-height: 1.65 !important; text-align: left !important; color: var(--text) !important; }
.product-detail-note { font-size: 10px !important; line-height: 1.55 !important; color: var(--muted) !important; border-top: 1px solid var(--border); padding-top: 10px; margin: 0 0 16px !important; }
.modal-content:has(.product-detail-list) { max-height: min(90vh, 900px); overflow-y: auto; }
.modal-text { min-width: 0; }
@media (max-width: 700px) {
 .modal-content { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
 .modal-image { min-height: 220px; max-height: 280px; }
 .modal-image img { object-fit: contain; padding: 12px; }
 .modal-text { padding: 25px 22px 28px; }
 .modal-text h2 { font-size: 32px; }
 .catalogue-detail-button { width: 100%; }
}

.modal-close {

    position: absolute;

    top: 25px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: white;

    color: var(--dark);

    font-size: 25px;

    cursor: pointer;

    z-index: 2;

    box-shadow: var(--shadow-small);
}


/* =========================================================
   REVEAL ANIMATIONS
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(50px);

    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2,.8,.2,1);
}

.reveal-left {

    opacity: 0;

    transform:
        translateX(-70px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.2,.8,.2,1);
}

.reveal-right {

    opacity: 0;

    transform:
        translateX(70px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {

    opacity: 1;

    transform:
        translate(0);
}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] body {
    font-family: "DM Sans", Arial, sans-serif;
}

html[dir="rtl"] .section-heading,
html[dir="rtl"] .intro-text p,
html[dir="rtl"] .about-card p,
html[dir="rtl"] .quality-card p,
html[dir="rtl"] .solutions-content p,
html[dir="rtl"] .contact-content p {
    text-align: right;
}

html[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .footer-links a:hover {
    transform:
        translateX(-4px);
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1100px) {

    .navbar {
        gap: 15px;
    }

    .nav-link {
        font-size: 10px;
    }

    .header {
        padding: 0 25px;
    }

    .products-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .all-products {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .quality-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-line {
        display: none;
    }

    .footer-main {
        grid-template-columns:
            1.5fr 1fr 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .container {
        width:
            min(100% - 35px, 600px);
    }

    .section {
        padding: 85px 0;
    }


    /* HEADER */

    .header {
        height: 70px;
        padding: 0 17px;
    }

    .header.scrolled {
        height: 65px;
    }

    .brand img {
        width: 64px;
    }

    .navbar {

        position: fixed;

        top: 70px;
        left: 15px;
        right: 15px;

        padding: 20px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: white;

        color: var(--dark);

        border-radius: 22px;

        box-shadow: var(--shadow);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-15px);

        transition: .35s ease;
    }

    .navbar.open {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);
    }

    .nav-link {

        padding: 14px;

        border-bottom:
            1px solid var(--border);

        font-size: 11px;
    }

    .nav-link:last-child {
        border-bottom: 0;
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .language-button {
        padding: 8px 10px;
    }


    /* HERO */

    .hero {
        min-height: 760px;
    }

    .hero-content {
        width:
            calc(100% - 35px);

        padding-top: 50px;
    }

    .hero h1 {

        font-size:
            clamp(47px, 15vw, 80px);

        letter-spacing: -2px;
    }

    .hero h2 {

        font-size:
            clamp(28px, 8vw, 42px);
    }

    .hero p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 320px;
    }

    .hero-bottom {
        left: 18px;
        right: 18px;
    }

    .scroll-indicator {
        display: none;
    }


    /* HEADINGS */

    .section-heading {
        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size:
            clamp(37px, 11vw, 55px);
    }


    /* INTRO */

    .intro-grid,
    .about-cards,
    .international-block,
    .compliance-grid,
    .solutions-grid,
    .contact-wrapper,
    .markets-grid {

        grid-template-columns:
            1fr;

        gap: 35px;
    }

    .intro-image img,
    .international-image img,
    .compliance-image img {

        height: 430px;
    }


    /* STATS */

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 5px;
    }

    .stat strong {
        font-size: 42px;
    }


    /* PRODUCTS */

    .products-grid {

        grid-template-columns:
            1fr;

        gap: 20px;
    }

    .product-image {
        height: 360px;
    }

    .all-products {

        grid-template-columns:
            repeat(2, 1fr);
    }

    .all-products .product-image {
        height: 200px;
    }


    /* QUALITY */

    .quality-grid {

        grid-template-columns:
            1fr;
    }


    /* COLD */

    .cold-chain {
        min-height: 650px;
    }

    .cold-content {
        margin:
            auto;

        width:
            calc(100% - 35px);
    }

    .cold-content h2 {
        font-size:
            clamp(40px, 12vw, 58px);
    }

    .cold-features {
        flex-direction: column;
    }


    /* LOGISTICS */

    .logistics-visual img {
        height: 420px;
    }

    .logistics-overlay {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 25px;
    }

    .logistics-overlay h3 {
        font-size: 30px;
    }

    .process {
        grid-template-columns:
            1fr;
    }


    /* VIDEO */

    .avocado-video-section {
        min-height: 600px;
    }


    /* MARKETS */

    .morocco-card,
    .world-card {
        min-height: 450px;
    }

    .world-content {
        padding: 30px;
    }

    .world-content h3 {
        font-size: 35px;
    }

    .route {
        flex-direction: column;
    }


    /* CONTACT */

    .contact-wrapper {
        padding: 40px 25px;
        border-radius: 30px;
    }

    .contact-content h2 {
        font-size: 43px;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 35px;
    }

    .footer-brand {
        grid-column:
            1 / -1;
    }

    .footer-bottom {
        flex-direction:
            column;
    }


    /* MODAL */

    .modal-content {

        grid-template-columns:
            1fr;

        max-height:
            calc(100vh - 40px);

        overflow-y: auto;
    }

    .modal-image {
        min-height: 280px;
        height: 280px;
    }

    .modal-text {
        padding: 30px;
    }

    .modal-text h2 {
        font-size: 38px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width:
            calc(100% - 28px);
    }

    .header-actions {
        gap: 7px;
    }

    .language-button span:nth-child(2) {
        display: none;
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero-bottom {
        bottom: 25px;
    }

    .all-products {
        grid-template-columns:
            1fr;
    }

    .all-products .product-image {
        height: 270px;
    }

    .footer-main {
        grid-template-columns:
            1fr;
    }

    .footer-brand {
        grid-column:
            auto;
    }

    .whatsapp-floating {
        width: 56px;
        height: 56px;

        right: 17px;
        bottom: 17px;
    }

    .back-to-top {
        right: 17px;
        bottom: 85px;
    }

    .whatsapp-tooltip {
        display: none;
    }

}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }
}


/* =========================================================
   DRAPEAUX (SVG intégrés — s'affichent sur Windows, Mac, Android, iPhone)
========================================================= */
.flagm{
    padding-left: 10px;
}
.flaginter{
    padding-left: 10px;
}
.flag {
    display: inline-block;
    flex: 0 0 auto;
    width: 24px;
    height: 16px;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 1px rgba(0,0,0,.18);
    vertical-align: middle;
}

.flag-lg {
    width: 48px;
    height: 32px;
    border-radius: 6px;
}

.flag-fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%230055A4'/%3E%3Crect x='1' width='1' height='2' fill='%23fff'/%3E%3Crect x='2' width='1' height='2' fill='%23EF4135'/%3E%3C/svg%3E"); }
.flag-gb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0,0 v30 h60 v-30 z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
.flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 750 500'%3E%3Crect width='750' height='500' fill='%23AA151B'/%3E%3Crect y='125' width='750' height='250' fill='%23F1BF00'/%3E%3C/svg%3E"); }
.flag-ma { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 750 500'%3E%3Crect width='750' height='500' fill='%23C1272D'/%3E%3Cpath d='M375.0,150.0 L436.7,339.9 L275.1,222.6 L474.9,222.6 L313.3,339.9 Z' fill='none' stroke='%23006233' stroke-width='14' stroke-linejoin='miter'/%3E%3C/svg%3E"); }

.language-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: start;
}

[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

.route .flag {
    margin-inline-end: 6px;
}

/* =========================================================
   ICÔNE WHATSAPP (logo officiel en SVG)
========================================================= */

.wa-icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
}

.whatsapp-symbol {
    display: inline-flex;
    align-items: center;
}

.whatsapp-floating > span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   FORMULAIRE : DEMANDE PAR EMAIL
========================================================= */

.contact-form-wrapper {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 60px;

    margin-top: 40px;

    padding: 60px;

    border-radius: 40px;

    background: #ffffff;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

.form-intro h3 {

    font-family: var(--font-title);

    font-size: clamp(32px, 3.6vw, 48px);

    line-height: 1.05;

    font-weight: 500;

    color: var(--dark);

    margin-bottom: 20px;
}

.form-intro h3 em {
    color: var(--deep-green);
}

.form-intro p {

    font-size: 15px;

    line-height: 1.8;

    color: var(--text);

    margin-bottom: 26px;

    max-width: 440px;
}

.form-mail {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 22px;

    border-radius: 50px;

    background: var(--light-green);

    color: var(--deep-green);

    font-weight: 700;

    font-size: 14px;

    word-break: break-word;

    transition: .35s ease;
}

.form-mail:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-small);
}

.request-form {

    display: grid;

    gap: 18px;
}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.field {

    display: grid;

    gap: 8px;
}

.field > span {

    font-size: 12px;

    font-weight: 700;

    color: var(--dark);
}

.field input,
.field textarea {

    width: 100%;

    padding: 15px 17px;

    border-radius: 14px;

    border: 1px solid rgba(39, 105, 71, .22);

    background: var(--cream);

    color: var(--dark);

    font-family: var(--font-body);

    font-size: 14px;

    transition: border-color .25s ease, box-shadow .25s ease;
}

.field textarea {

    resize: vertical;

    min-height: 130px;

    line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa8a1;
}

.field input:focus,
.field textarea:focus {

    outline: none;

    border-color: var(--deep-green);

    box-shadow: 0 0 0 4px rgba(127, 207, 155, .28);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {

    border-color: #d9534f;

    box-shadow: 0 0 0 4px rgba(217, 83, 79, .14);
}

.form-submit {

    justify-content: center;

    width: 100%;

    border: none;

    cursor: pointer;

    font-family: var(--font-body);
}

.form-status {

    min-height: 20px;

    font-size: 13px;

    font-weight: 600;

    color: var(--deep-green);
}

.form-status.error {
    color: #c0392b;
}

.form-note {

    font-size: 12px;

    line-height: 1.7;

    color: var(--muted);
}


/* =========================================================
   3D : PROGRESSION, HERO, CARTES
========================================================= */

.scroll-progress {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    z-index: 3000;

    pointer-events: none;

    transform-origin: 0 50%;

    transform: scaleX(0);

    background:
        linear-gradient(
            90deg,
            var(--green),
            var(--orange),
            var(--violet)
        );
}

html[dir="rtl"] .scroll-progress {
    transform-origin: 100% 50%;
}

.hero-particles {

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    perspective: 900px;

    overflow: hidden;
}

.orb {

    position: absolute;

    width: var(--s);
    height: var(--s);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 26%,
            rgba(255,255,255,.9),
            var(--c) 38%,
            color-mix(in srgb, var(--c) 55%, #10261b) 100%
        );

    opacity: .8;

    box-shadow:
        0 30px 60px rgba(0,0,0,.28),
        inset -8px -10px 22px rgba(0,0,0,.18);

    animation: orbFloat 7s ease-in-out infinite;

    will-change: transform;
}

@keyframes orbFloat {

    0%, 100% { translate: 0 0; }

    50% { translate: 0 -22px; }
}

.hero-content h1,
.hero-content h2,
.hero-content p,
.hero-content .hero-small,
.hero-content .hero-buttons {
    will-change: transform, opacity;
}

/* Apparition en perspective 3D (remplace les glissements plats) */

.reveal {

    transform:
        perspective(1100px)
        translate3d(0, 60px, -80px)
        rotateX(16deg);

    transform-origin: 50% 100%;
}

.reveal-left {

    transform:
        perspective(1100px)
        translate3d(-80px, 0, -60px)
        rotateY(20deg);

    transform-origin: 0 50%;
}

.reveal-right {

    transform:
        perspective(1100px)
        translate3d(80px, 0, -60px)
        rotateY(-20deg);

    transform-origin: 100% 50%;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {

    transform:
        perspective(1100px)
        translate3d(0, 0, 0)
        rotateX(0)
        rotateY(0);
}

/* Inclinaison 3D : active une fois l'apparition terminée */

.tilt-ready {

    transition:
        transform .25s ease-out,
        box-shadow .45s ease,
        opacity .9s ease;

    will-change: transform;
}

.tilt-ready:hover {
    box-shadow: 0 35px 90px rgba(35, 72, 54, .18);
}

.cold-background img {

    will-change: transform;

    transform: scale(1.22);
}


/* =========================================================
   RESPONSIVE — FORMULAIRE
========================================================= */

@media (max-width: 1100px) {

    .contact-form-wrapper {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 45px;
    }

    .form-intro p {
        max-width: none;
    }
}

@media (max-width: 800px) {

    .contact-form-wrapper {
        padding: 32px 24px;
        border-radius: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .orb { animation: none; }

    .reveal,
    .reveal-left,
    .reveal-right {
        transform: none;
    }

    .reveal.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        transform: none;
    }

    .cold-background img { transform: none; }
}


/* =========================================================
   FILTRE PRODUITS : FRUITS / LÉGUMES SÉPARÉS
========================================================= */

.is-hidden {
    display: none !important;
}

.products-grid.is-collapsed {
    display: none;
}

.filter-in {

    animation:
        cardIn3d .75s cubic-bezier(.2, .8, .2, 1) backwards;

    animation-delay: var(--d, 0ms);
}

@keyframes cardIn3d {

    from {

        opacity: 0;

        transform:
            perspective(900px)
            translate3d(0, 50px, -160px)
            rotateX(22deg);
    }

    to {

        opacity: 1;

        transform:
            perspective(900px)
            translate3d(0, 0, 0)
            rotateX(0);
    }
}


/* =========================================================
   SITE 3D COMPLET
========================================================= */

html,
body {
    overflow-x: clip;
}

/* Scène 3D de fond : sphères en profondeur qui réagissent au scroll et à la souris */

.bg3d {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 1;
}

/* Chaque section pivote en 3D à son entrée et à sa sortie */

section:not(.hero) > .container {

    will-change: transform;

    transform-origin: 50% 50%;
}

/* Profondeur interne des cartes (couches qui se décalent à l'inclinaison) */

.about-card,
.quality-card,
.stat,
.process-step,
.contact-item,
.certification,
.world-card {

    transform-style: preserve-3d;
}

.about-card .card-number,
.about-card .icon-circle,
.quality-card .quality-icon,
.quality-card .quality-number,
.process-step .process-icon,
.process-step .process-number,
.stat strong,
.contact-item > span,
.world-card .world-icon {

    transform: translateZ(38px);
}

.product-tag,
.image-label,
.floating-badge {

    transform: translateZ(30px);
}

/* Boutons : relief au survol */

.btn,
.contact-button,
.filter-btn,
.form-submit {

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.btn:hover,
.contact-button:hover,
.filter-btn:hover,
.form-submit:hover {

    transform:
        perspective(600px)
        translate3d(0, -4px, 18px)
        rotateX(6deg);

    box-shadow: 0 18px 34px rgba(35, 72, 54, .22);
}

/* Logo du préchargement en 3D */

.loader-logo img {

    animation: logoSpin3d 2.4s ease-in-out infinite;

    transform-style: preserve-3d;
}

@keyframes logoSpin3d {

    0%, 100% { transform: perspective(700px) rotateY(-28deg); }

    50% { transform: perspective(700px) rotateY(28deg); }
}

/* Délais d'apparition en cascade (effet de profondeur) */

.stats-grid .reveal:nth-child(2),
.quality-grid .reveal:nth-child(2) { transition-delay: .12s; }

.stats-grid .reveal:nth-child(3),
.quality-grid .reveal:nth-child(3) { transition-delay: .24s; }

.stats-grid .reveal:nth-child(4),
.quality-grid .reveal:nth-child(4) { transition-delay: .36s; }

@media (max-width: 800px) {

    .bg3d { opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {

    .bg3d { display: none; }

    .loader-logo img { animation: none; }

    .filter-in { animation: none; }

    section:not(.hero) > .container { transform: none !important; }
}


/* Sphères flottantes supprimées */
.orb, .bg3d { display: none !important; }


/* =========================================================
   CALENDRIER — NOUVELLE STRUCTURE
   Deux grandes images 16:9 + vrai scroll vertical
========================================================= */

.calendar-trigger {
    position: relative;
    width: 100%;
    min-height: 70px;
    padding: 0 26px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 0;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(16,40,28,.06);
    transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
    font: inherit;
}

.calendar-trigger:hover {
    transform: translateX(7px);
    box-shadow: 0 20px 45px rgba(16,40,28,.11);
    background: linear-gradient(90deg,#fff,#fbfafc);
}

.calendar-trigger .solution-number {
    color: #f08a43;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.calendar-trigger strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    justify-self: end;
    color: #24734d;
    background: #eef8f1;
    font-size: 19px;
    transition: transform .35s ease, background .35s ease;
}

.calendar-trigger:hover .calendar-arrow {
    transform: rotate(45deg) scale(1.08);
    background: #dff1e5;
}


/* OVERLAY */

.calendar-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10,28,20,.70);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s ease, visibility .45s ease;
}

.calendar-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* MAIN WINDOW */

.calendar-modal-shell {
    position: relative;
    width: min(1240px, 100%);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 0%, rgba(232,222,255,.75), transparent 28%),
        radial-gradient(circle at 92% 100%, rgba(222,245,229,.75), transparent 30%),
        #fff;
    box-shadow: 0 45px 120px rgba(0,0,0,.30);
    transform: translateY(40px) scale(.95);
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

.calendar-modal.open .calendar-modal-shell {
    transform: translateY(0) scale(1);
}


/* HEADER */

.calendar-modal-header {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 52px 24px;
    border-bottom: 1px solid rgba(16,40,28,.08);
}

.calendar-modal-header .eyebrow {
    margin-bottom: 10px;
}

.calendar-modal-header h2 {
    margin: 0 0 8px;
    max-width: 800px;
    font-family: var(--font-title);
    font-size: clamp(32px, 4vw, 54px);
    line-height: .98;
    font-weight: 500;
    color: var(--dark);
}

.calendar-modal-header p {
    margin: 0;
    max-width: 700px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.calendar-modal-close {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--dark);
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    transition: transform .3s ease, box-shadow .3s ease;
}

.calendar-modal-close:hover {
    transform: rotate(90deg) scale(1.06);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}


/* REAL SCROLL AREA */

.calendar-modal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 40px 40px;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(36,115,77,.55) transparent;
}

.calendar-modal-scroll::-webkit-scrollbar {
    width: 8px;
}

.calendar-modal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.calendar-modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(36,115,77,.45);
    border-radius: 99px;
}

.calendar-modal-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(36,115,77,.70);
}


/* EACH CALENDAR */

.calendar-panel {
    scroll-snap-align: start;
    padding: 18px 0 36px;
}

.calendar-panel + .calendar-panel {
    border-top: 1px solid rgba(16,40,28,.10);
    padding-top: 42px;
}

.calendar-panel-heading {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) 38px;
    align-items: center;
    gap: 15px;
    margin-bottom: 17px;
}

.calendar-panel-index {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf7f0;
    color: #24734d;
    font-size: 11px;
    font-weight: 800;
}

.calendar-panel-kicker {
    display: block;
    margin-bottom: 2px;
    color: #24734d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .20em;
}

.calendar-panel-heading h3 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    font-weight: 500;
    color: var(--dark);
}

.calendar-panel-arrow {
    justify-self: end;
    color: #f08a43;
    font-size: 24px;
    animation: calendarBounce 1.8s ease-in-out infinite;
}

@keyframes calendarBounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}


/* IMPORTANT : image entière, proportions originales 1672 × 941 */

.calendar-image-frame {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #f7f4ef;
    border: 1px solid rgba(16,40,28,.10);
    box-shadow: 0 20px 55px rgba(16,40,28,.10);
}

.calendar-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.calendar-image-frame:hover img {
    transform: scale(1.012);
}

.calendar-panel-note {
    margin: 13px 5px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}


/* FOOTER */

.calendar-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 10px;
    padding: 28px 0 4px;
    border-top: 1px solid rgba(16,40,28,.10);
}

.calendar-modal-footer p {
    max-width: 720px;
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.calendar-modal-footer .btn {
    flex: 0 0 auto;
}


/* FLOATING SCROLL HINT */

.calendar-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(255,255,255,.88);
    color: #24734d;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .17em;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

.calendar-scroll-hint i {
    display: block;
    width: 7px;
    height: 11px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    animation: calendarHint 1.5s infinite;
}

.calendar-scroll-hint.hidden {
    opacity: 0;
    transform: translate(-50%, 8px);
}

@keyframes calendarHint {
    0%,100% { transform: rotate(45deg) translateY(-2px); opacity: .45; }
    50% { transform: rotate(45deg) translate(3px,3px); opacity: 1; }
}


/* MOBILE */

@media (max-width: 800px) {
    .calendar-modal {
        padding: 10px;
        align-items: stretch;
    }

    .calendar-modal-shell {
        max-height: 96vh;
        border-radius: 22px;
    }

    .calendar-modal-header {
        padding: 24px 22px 18px;
        gap: 14px;
    }

    .calendar-modal-header h2 {
        font-size: 34px;
    }

    .calendar-modal-header p {
        font-size: 12px;
    }

    .calendar-modal-close {
        width: 42px;
        height: 42px;
    }

    .calendar-modal-scroll {
        padding: 10px 16px 30px;
    }

    .calendar-panel {
        padding: 16px 0 30px;
    }

    .calendar-panel-heading {
        grid-template-columns: 38px minmax(0,1fr) 30px;
        gap: 10px;
    }

    .calendar-panel-index {
        width: 36px;
        height: 36px;
    }

    .calendar-panel-heading h3 {
        font-size: 30px;
    }

    .calendar-panel-kicker {
        font-size: 8px;
    }

    .calendar-image-frame {
        border-radius: 14px;
    }

    .calendar-panel-note {
        font-size: 11px;
    }

    .calendar-modal-footer {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 10px;
    }

    .calendar-modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    .calendar-scroll-hint {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .calendar-modal,
    .calendar-modal-shell,
    .calendar-trigger,
    .calendar-arrow,
    .calendar-modal-close,
    .calendar-image-frame img {
        transition: none !important;
    }

    .calendar-panel-arrow,
    .calendar-scroll-hint i {
        animation: none !important;
    }
}

.calendar-panel {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.calendar-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ALIGNEMENT FINAL DES SOLUTIONS — même colonne pour tous les intitulés */
.solutions-list > div,
.calendar-trigger {
    grid-template-columns: 54px minmax(0, 1fr) 42px;
}

@media (max-width: 700px) {
    .solutions-list > div,
    .calendar-trigger {
        grid-template-columns: 42px minmax(0, 1fr) 38px;
        padding-left: 18px;
        padding-right: 18px;
    }
}


/* =========================================================
   RANGE PRIMEUR — AI ASSISTANT
========================================================= */

.ai-assistant {
    position: fixed;
    right: 25px;
    bottom: 100px;
    z-index: 12000;
    font-family: var(--font-body);
}

.ai-launcher {
    position: relative;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, var(--deep-green), var(--green));
    box-shadow: 0 15px 40px rgba(39,105,71,.30);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease, box-shadow .3s ease;
    overflow: hidden;
}

.ai-launcher:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 20px 50px rgba(39,105,71,.38);
}

.ai-launcher-icon {
    position: relative;
    z-index: 2;
    font-size: 28px;
    line-height: 1;
}

.ai-launcher-badge {
    position: absolute;
    right: 10px;
    bottom: 9px;
    z-index: 3;
    min-width: 21px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: var(--deep-green);
    font-size: 8px;
    font-weight: 800;
    line-height: 15px;
    letter-spacing: .2px;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

.ai-launcher-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.35);
    animation: aiPulse 2.2s infinite;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(.72); opacity: 0; }
    45% { transform: scale(1); opacity: 1; }
    75% { transform: scale(1.12); opacity: 0; }
}

.ai-chat {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: min(390px, calc(100vw - 30px));
    height: min(620px, calc(100vh - 150px));
    min-height: 430px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(39,105,71,.12);
    border-radius: 24px;
    box-shadow: 0 30px 100px rgba(25,49,39,.20);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(.97);
    transform-origin: bottom right;
    transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
}

.ai-assistant.open .ai-chat {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    flex: 0 0 auto;
    padding: 17px 17px;
    background: linear-gradient(135deg, #193127, #276947);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ai-chat-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    font-size: 20px;
}

.ai-chat-brand strong,
.ai-chat-brand span {
    display: block;
}

.ai-chat-brand strong {
    font-size: 13px;
    margin-bottom: 3px;
}

.ai-chat-brand span {
    font-size: 10px;
    opacity: .75;
}

.ai-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: white;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.ai-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 15px;
    background:
        radial-gradient(circle at top right, rgba(233,248,239,.75), transparent 35%),
        #fffdf9;
    scroll-behavior: smooth;
}

.ai-message {
    display: flex;
    margin-bottom: 12px;
}

.ai-message-user {
    justify-content: flex-end;
}

.ai-bubble {
    max-width: 86%;
    padding: 11px 13px;
    border-radius: 16px 16px 16px 5px;
    background: white;
    color: var(--dark);
    border: 1px solid rgba(39,105,71,.09);
    box-shadow: 0 7px 25px rgba(35,72,54,.06);
    font-size: 12px;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ai-message-user .ai-bubble {
    border-radius: 16px 16px 5px 16px;
    background: var(--light-green);
    border-color: rgba(39,105,71,.12);
}

.ai-typing .ai-bubble {
    display: flex;
    gap: 4px;
    align-items: center;
    min-width: 52px;
}

.ai-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--deep-green);
    animation: aiDot 1s infinite ease-in-out;
}

.ai-dot:nth-child(2) { animation-delay: .15s; }
.ai-dot:nth-child(3) { animation-delay: .30s; }

@keyframes aiDot {
    0%, 60%, 100% { transform: translateY(0); opacity: .45; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.ai-contact-card {
    flex: 0 0 auto;
    margin: 0 14px 10px;
    padding: 13px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--light-orange), var(--light-yellow));
    border: 1px solid rgba(244,162,97,.22);
}

.ai-contact-card strong,
.ai-contact-card span {
    display: block;
}

.ai-contact-card strong {
    color: var(--dark);
    font-size: 12px;
    margin-bottom: 4px;
}

.ai-contact-card > span {
    color: var(--text);
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 9px;
}

.ai-contact-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ai-contact-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    transition: transform .2s ease, opacity .2s ease;
}

.ai-contact-actions a:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.ai-contact-phone {
    background: var(--deep-green);
    color: #fff;
}

.ai-contact-whatsapp {
    background: #25D366;
    color: #fff;
}

.ai-input-area {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    padding: 11px;
    background: white;
    border-top: 1px solid var(--border);
}

.ai-input-area input {
    min-width: 0;
    flex: 1;
    height: 44px;
    border: 1px solid rgba(39,105,71,.15);
    border-radius: 999px;
    padding: 0 15px;
    outline: none;
    font: inherit;
    font-size: 12px;
    color: var(--dark);
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.ai-input-area input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(127,207,155,.12);
}

.ai-input-area button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 50%;
    background: var(--deep-green);
    color: white;
    cursor: pointer;
    transition: transform .25s ease, opacity .25s ease;
}

.ai-input-area button:hover {
    transform: scale(1.05);
}

.ai-input-area button:disabled {
    opacity: .55;
    cursor: wait;
}

.ai-chat-footer {
    flex: 0 0 auto;
    padding: 0 12px 9px;
    text-align: center;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: .4px;
}

@media (max-width: 480px) {
    .ai-assistant {
        right: 17px;
        bottom: 88px;
    }

    .ai-launcher {
        width: 54px;
        height: 54px;
    }

    .ai-chat {
        right: -1px;
        bottom: 68px;
        width: calc(100vw - 28px);
        height: min(590px, calc(100vh - 120px));
        min-height: 390px;
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-launcher-pulse,
    .ai-dot {
        animation: none !important;
    }
}


/* =========================================================
   RANGE PRIMEUR — FINAL MOBILE PRODUCT LAYOUT
   The JavaScript merges featured + catalogue cards into one
   continuous 2-column grid on small screens.
========================================================= */
@media (max-width: 800px) {
    .products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        margin-bottom: 0 !important;
    }

    .all-products {
        display: none !important;
    }

    .products-grid.mobile-merged .extra-product {
        display: block !important;
    }

    .product-card {
        border-radius: 17px !important;
        min-width: 0 !important;
    }

    .product-image,
    .all-products .product-image {
        height: 125px !important;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .product-info,
    .all-products .product-info {
        padding: 11px 10px 12px !important;
    }

    .product-info > span {
        font-size: 7px !important;
    }

    .product-info h3,
    .all-products .product-info h3 {
        font-size: 17px !important;
        line-height: 1.08 !important;
        margin: 4px 0 !important;
    }

    .product-info p {
        font-size: 8px !important;
        line-height: 1.25 !important;
        margin: 0 !important;
    }

    .product-tag {
        left: 7px !important;
        top: 7px !important;
        padding: 5px 7px !important;
        font-size: 6px !important;
        letter-spacing: .8px !important;
    }

    #showProducts,
    .products-more {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .products-grid {
        gap: 9px !important;
    }

    .product-image,
    .all-products .product-image {
        height: 112px !important;
    }

    .product-info h3,
    .all-products .product-info h3 {
        font-size: 15px !important;
    }
}

/* =========================================================
   RESPONSIVE HARDENING — desktop, tablet, iPhone, Android/Redmi
   Final overrides: prevent overflow and keep readable touch layouts.
========================================================= */
html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, canvas, svg {
    max-width: 100%;
}

img, video {
    height: auto;
}

button, input, select, textarea {
    max-width: 100%;
    font: inherit;
}

button, a, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(100% - 48px, 1240px);
    margin-inline: auto;
}

/* Wide laptop and smaller desktop */
@media (max-width: 1200px) {
    .container { width: min(100% - 40px, 1100px); }
    .header { padding-inline: 24px; }
    .navbar { gap: clamp(8px, 1.2vw, 16px); }
    .nav-link { white-space: nowrap; }
    .footer-main { gap: 28px; }
}

/* Tablet landscape and portrait */
@media (max-width: 1024px) {
    .container { width: min(100% - 36px, 900px); }
    .header { padding-inline: 20px; }
    .navbar { gap: 10px; }
    .nav-link { font-size: 10px; }
    .header-actions { gap: 10px; }
    .hero-content { width: min(100% - 40px, 850px); }
    .products-grid, .all-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { min-width: 0; }
}

/* Phones and smaller tablets */
@media (max-width: 800px) {
    html { scroll-padding-top: 76px; }
    .container { width: calc(100% - 32px); }
    .section { padding-block: clamp(48px, 9vw, 72px); }

    .header,
    .header.scrolled {
        width: 100%;
        height: 70px;
        padding-inline: 16px;
        gap: 10px;
    }
    .brand { flex: 0 1 auto; min-width: 0; }
    .brand img { display: block; width: clamp(52px, 13vw, 68px); max-width: 100%; }
    .header-actions { margin-left: auto; gap: 10px; flex: 0 0 auto; }
    .menu-toggle { display: flex; flex: 0 0 auto; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; }
    .navbar {
        z-index: 1200;
        top: 76px;
        left: 12px;
        right: 12px;
        max-height: calc(100dvh - 92px);
        overflow-y: auto;
        padding: 12px;
        gap: 0;
        border: 1px solid var(--border);
    }
    .nav-link { display: flex; align-items: center; min-height: 46px; padding: 12px 14px; font-size: 14px; line-height: 1.35; white-space: normal; }
    .language-button { min-height: 42px; padding: 8px 10px; }
    .language-menu { z-index: 1300; }

    .hero { min-height: min(760px, 100svh); min-height: min(760px, 100dvh); }
    .hero-content { width: calc(100% - 36px); max-width: 650px; padding-block: 100px 70px; }
    .hero-content h1, .hero-content h2 { font-size: clamp(2.1rem, 7.5vw, 3.7rem); line-height: 1.08; overflow-wrap: anywhere; }
    .hero-content p { font-size: clamp(14px, 2.2vw, 17px); line-height: 1.65; }
    .hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
    .hero-buttons a, .hero-buttons button { min-height: 44px; }

    .section-heading { max-width: 100%; }
    .section-heading h2 { font-size: clamp(1.8rem, 5.8vw, 2.8rem); line-height: 1.15; overflow-wrap: anywhere; }
    .section-heading p { font-size: 15px; line-height: 1.7; }
    .about-grid, .quality-grid, .process, .markets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .product-card { min-width: 0; overflow: hidden; }
    .product-image { height: clamp(125px, 27vw, 205px); }
    .product-info h3 { font-size: clamp(15px, 2.5vw, 19px); line-height: 1.2; overflow-wrap: anywhere; }
    .product-info p { font-size: 12px; line-height: 1.45; }
    .product-info > span { font-size: 10px; }
    .product-tag { max-width: calc(100% - 14px); font-size: 9px; overflow-wrap: anywhere; }

    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
    .footer-brand, .footer-links { min-width: 0; }
    .footer-brand img { max-width: min(100%, 155px); height: auto; }
    .footer-links a, .footer-links span { overflow-wrap: anywhere; }
    .footer-product-categories { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 18px; }

    .calendar-modal, .product-modal { padding: 12px; }
    .calendar-modal-shell, .product-modal-shell { width: 100%; max-width: 100%; max-height: calc(100dvh - 24px); overflow-y: auto; }
    .ai-chat { max-width: calc(100vw - 24px); }
    input, select, textarea { font-size: 16px; }
}

/* Standard iPhones and Android phones */
@media (max-width: 600px) {
    .container { width: calc(100% - 28px); }
    .header, .header.scrolled { padding-inline: 12px; }
    .hero-content { width: calc(100% - 28px); }
    .hero-content h1, .hero-content h2 { font-size: clamp(30px, 8vw, 43px); }
    .hero-buttons { align-items: stretch; }
    .hero-buttons a, .hero-buttons button { width: 100%; justify-content: center; }
    .about-grid, .quality-grid, .process, .markets-grid { grid-template-columns: minmax(0, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .products-grid { gap: 12px !important; }
    .product-image { height: clamp(115px, 34vw, 175px); }
    .product-info { padding: 11px !important; }
    .product-info h3 { font-size: 15px !important; }
    .product-info p { font-size: 11px !important; }
    .footer-main { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .footer-brand p { font-size: clamp(22px, 6vw, 28px); line-height: 1.2; }
    .footer-links h4 { margin-bottom: 12px; }
    .footer-links a, .footer-links span { font-size: 14px; line-height: 1.55; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .ai-chat { right: 0; width: calc(100vw - 24px); }
}

/* Small phones: iPhone SE, compact Redmi/Xiaomi and similar */
@media (max-width: 390px) {
    .container { width: calc(100% - 24px); }
    .header, .header.scrolled { padding-inline: 10px; }
    .brand img { width: 48px; }
    .header-actions { gap: 6px; }
    .language-button { padding: 7px 8px; gap: 5px; font-size: 12px; }
    .menu-toggle { min-width: 40px; min-height: 40px; }
    .hero-content { width: calc(100% - 24px); }
    .hero-content h1, .hero-content h2 { font-size: clamp(28px, 8.2vw, 34px); }
    .products-grid { gap: 9px !important; }
    .product-image { height: 112px; }
    .product-info { padding: 9px !important; }
    .product-info h3 { font-size: 14px !important; }
    .product-info p { font-size: 10px !important; }
    .product-tag { font-size: 8px !important; padding: 4px 6px !important; }
    .stats-grid { gap: 9px; }
}

/* Very narrow screens and landscape phones */
@media (max-width: 340px) {
    .language-button #currentLanguage { display: none; }
    .products-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .product-image { height: 190px; }
    .hero-content h1, .hero-content h2 { font-size: 28px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: 520px; }
    .hero-content { padding-block: 100px 35px; }
    .navbar { max-height: calc(100dvh - 82px); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   FINAL FIX — mobile product catalogue + contact section
   Tested layout intent: show only featured products initially;
   reveal the full filtered catalogue with the visible button.
========================================================= */
@media (max-width: 800px) {
    .products-grid.mobile-merged {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch;
    }

    .products-grid.mobile-merged .extra-product {
        display: none !important;
    }

    .products-grid.mobile-merged.show-all .extra-product:not(.is-hidden) {
        display: block !important;
    }

    .products-grid.mobile-merged .extra-product.is-hidden {
        display: none !important;
    }

    .products-more {
        display: flex !important;
        justify-content: center;
        margin: 24px auto 0;
        width: 100%;
    }

    #showProducts {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: min(100%, 320px);
        min-height: 48px;
        padding: 13px 18px;
        white-space: normal;
        text-align: center;
    }

    .contact .container {
        width: calc(100% - 28px) !important;
        max-width: 100%;
    }

    .contact-wrapper {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
        padding: clamp(22px, 6vw, 34px) !important;
        border-radius: 24px !important;
        overflow: hidden;
    }

    .contact-content,
    .contact-details,
    .contact-item,
    .contact-item > div {
        min-width: 0;
        max-width: 100%;
    }

    .contact-content h2 {
        font-size: clamp(30px, 8.2vw, 43px) !important;
        line-height: 1.06 !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .contact-content p,
    .contact-slogan,
    .contact-item a,
    .contact-item p {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .contact-content p {
        font-size: 14px;
        line-height: 1.7;
        text-align: left;
    }

    .contact-slogan {
        font-size: clamp(18px, 5vw, 22px);
        line-height: 1.35;
    }

    .contact-details {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px;
    }

    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 16px !important;
    }

    .contact-item a {
        display: inline-block;
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .products-grid.mobile-merged { gap: 9px !important; }
    .products-grid.mobile-merged .product-image { height: 112px !important; }
    .contact .container { width: calc(100% - 20px) !important; }
    .contact-wrapper { padding: 20px 16px !important; border-radius: 20px !important; }
    .contact-content h2 { font-size: clamp(28px, 8vw, 32px) !important; }
    .contact-item { padding: 13px !important; }
}

/* =========================================================
   MOBILE FINAL PATCH — contact text must wrap and products
   must stay collapsed until the user presses “Voir tous”.
========================================================= */
@media (max-width: 800px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    #contact,
    #contact .container,
    #contact .contact-wrapper,
    #contact .contact-content,
    #contact .contact-details,
    #contact .contact-item,
    #contact .contact-item > div {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
    }

    #contact .container {
        padding-inline: 0;
    }

    #contact .contact-wrapper {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        padding: clamp(18px, 5vw, 28px) !important;
        gap: 24px !important;
        overflow: hidden !important;
    }

    #contact .contact-content h2 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(27px, 7.4vw, 38px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.025em;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    #contact .contact-content h2 em {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    #contact .contact-content p,
    #contact .contact-slogan,
    #contact .contact-item a,
    #contact .contact-item p {
        width: auto;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal;
    }

    #contact .contact-content p {
        font-size: 14px !important;
        line-height: 1.65 !important;
        text-align: left !important;
    }

    #contact .contact-details {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    #contact .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px !important;
    }

    #contact .contact-item > span {
        flex: 0 0 24px;
    }

    .products-grid.mobile-merged {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch;
    }

    .products-grid.mobile-merged .extra-product {
        display: block !important;
    }

    .products-grid.mobile-merged:not(.show-all) .is-paginated {
        display: none !important;
    }

    .products-grid.mobile-merged .is-hidden {
        display: none !important;
    }

    .products-more {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin: 22px auto 0 !important;
    }

    #showProducts {
        display: inline-flex !important;
        width: min(100%, 340px);
        min-height: 48px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 390px) {
    #contact .contact-wrapper { padding: 18px 14px !important; }
    #contact .contact-content h2 { font-size: clamp(26px, 7.2vw, 31px) !important; }
    #contact .contact-slogan { font-size: 18px !important; }
    #contact .contact-item { padding: 12px !important; }
}


/* RANGE PRIMEUR — definitive mobile catalogue pagination */
@media (max-width: 800px) {
  #produits .products-grid.mobile-merged {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  #produits .products-grid.mobile-merged > .product-card {
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }
  #produits .products-grid.mobile-merged > .product-card.is-hidden,
  #produits .products-grid.mobile-merged:not(.show-all) > .product-card.is-paginated {
    display: none !important;
  }
  #produits .all-products { display: none !important; }
  #produits .products-more { display: flex !important; width: 100% !important; justify-content: center !important; margin: 22px auto 0 !important; }
  #produits #showProducts { display: inline-flex !important; width: min(100%, 340px) !important; min-height: 48px !important; justify-content: center !important; gap: 10px !important; }
  #produits #showProducts[hidden] { display: none !important; }
  #produits .product-filter { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; max-width: 100% !important; }
  #produits .filter-btn { max-width: 100%; }
}
@media (max-width: 360px) {
  #produits .products-grid.mobile-merged { grid-template-columns: minmax(0, 1fr) !important; }
}


/* PERFORMANCE: médias */
img { max-width: 100%; height: auto; }
.hero-video, .avocado-video-section video { max-width: 100%; }
@media (max-width: 768px) {
  .avocado-video-section video { object-fit: cover; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .avocado-video-section video { animation: none !important; }
}


/* =========================================================
   RANGE PRIMEUR — CORRECTIFS MOBILE CIBLÉS
   Images herbes, certifications, menu et débordements.
========================================================= */

/* Les photos des herbes doivent être visibles en entier. */
#produits .product-card.herb .product-image img,
#produits .product-card img[alt="Laitue"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    box-sizing: border-box;
}

/* Icône hamburger toujours visible sur l'en-tête clair. */
@media (max-width: 800px) {
    #header .menu-toggle {
        display: inline-flex !important;
        flex: 0 0 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 10px;
        margin-left: 8px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        color: #173d2d !important;
        background: #ffffff !important;
        border: 1px solid rgba(23, 61, 45, .18) !important;
        border-radius: 12px;
        box-shadow: 0 4px 14px rgba(20, 50, 35, .08);
        position: relative;
        z-index: 1400;
        cursor: pointer;
    }

    #header .menu-toggle span {
        display: block !important;
        width: 19px;
        height: 2px;
        min-height: 2px;
        margin: 0 !important;
        border-radius: 2px;
        background: #173d2d !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: transform .25s ease, opacity .2s ease;
    }

    #header .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #header .menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    #header .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    #header .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        min-width: 0;
    }

    #header .navbar {
        z-index: 1300;
        width: auto;
        max-width: calc(100vw - 24px);
        box-sizing: border-box;
    }

    /* Certification cards stack instead of being cut off sideways. */
    .certifications {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
        gap: 12px;
        min-width: 0;
    }

    .certification {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        gap: 14px;
        padding: 14px;
        overflow: hidden;
    }

    .certification img {
        width: clamp(76px, 27vw, 112px);
        max-width: 38%;
        height: 54px;
        flex: 0 0 auto;
        object-fit: contain;
    }

    .certification > div {
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .certification strong,
    .certification span {
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .intro,
    .intro .container,
    .intro-grid,
    .intro-text {
        min-width: 0;
        max-width: 100%;
    }

    .intro-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .quality-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .quality-card {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 390px) {
    #header .brand img {
        max-width: 46px;
        height: auto;
    }

    #header .header-actions {
        gap: 5px;
    }

    #header .menu-toggle {
        width: 40px;
        min-width: 40px;
        flex-basis: 40px;
        height: 40px;
        min-height: 40px;
    }

    .certification {
        gap: 10px;
        padding: 12px;
    }
}


/* Liens sociaux RANGE PRIMEUR */

.rp-social{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.rp-social-title{width:100%;font-size:13px;font-weight:700;letter-spacing:.02em}
.rp-social a{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(120,201,154,.16);color:var(--green,#276947);border:1px solid rgba(39,105,71,.22);transition:transform .2s ease,background .2s ease,color .2s ease}
.rp-social a:hover{transform:translateY(-3px);background:var(--green,#276947);color:#fff}
.rp-social svg{width:19px;height:19px;display:block}
.footer .rp-social{margin-top:20px}
.footer .rp-social-title{color:inherit}
.blog-footer .rp-social{justify-content:center;margin:0 0 14px}
.blog-footer .rp-social-title{color:#fff}
.blog-footer .rp-social a{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.28);color:#fff}
.blog-footer .rp-social a:hover{background:#fff;color:#183b2d}
@media(max-width:600px){.rp-social{gap:9px}.rp-social a{width:40px;height:40px}}



/* =========================================================
   RANGE PRIMEUR — CORRECTION DÉFINITIVE DU CATALOGUE DES PRODUITS
   Le catalogue ouvert ne doit plus être coupé en hauteur.
   Les images des herbes sont affichées entièrement.
========================================================= */

/* Ordinateur et grands écrans */
@media (min-width: 801px) {
    #produits #allProducts.show {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #produits #allProducts.show .product-card {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    #produits #allProducts.show .product-card.herb .product-image {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        flex: 0 0 240px !important;
        overflow: hidden !important;
    }

    #produits #allProducts.show .product-card.herb .product-image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }

    #produits #allProducts.show .product-card.herb .product-info {
        display: block !important;
        flex: 1 0 auto !important;
        min-height: 82px !important;
        padding: 16px !important;
        overflow: visible !important;
    }

    #produits .products-more {
        position: relative !important;
        z-index: 2 !important;
        clear: both !important;
        margin-top: 35px !important;
    }
}

/* Tablettes : deux colonnes et hauteur complète */
@media (min-width: 801px) and (max-width: 1100px) {
    #produits #allProducts.show {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Ne pas laisser une règle générale couper les images des herbes */
#produits .product-card.herb .product-image img {
    object-fit: contain !important;
    object-position: center center !important;
}

/* RANGE PRIMEUR — clean product-card action and expanded product information */
#produits .product-info { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
#produits .product-info > a, #produits .product-info .product-view { display:none !important; }
#produits .catalogue-detail-button { margin-top:10px; min-height:42px; padding:11px 22px; font-size:12px; font-weight:800; letter-spacing:.01em; }
.product-extra-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0 22px; }
.product-extra-row { min-width:0; padding:14px 15px; border:1px solid var(--border,#e5eee8); border-radius:13px; background:#fbfdfb; }
.product-extra-row h3 { margin:0 0 7px; color:var(--deep-green,#183b2d); font-size:12px; font-weight:800; }
.product-extra-row p { margin:0 !important; color:var(--muted,#64756d) !important; font-size:12px !important; line-height:1.65 !important; text-align:left !important; }
@media(max-width:700px){.product-extra-details{grid-template-columns:1fr} #produits .catalogue-detail-button{width:100%}}


/* Product modal: optional extended information */
.product-extra-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  align-self: flex-start; margin: 0 0 18px; padding: 11px 18px;
  border: 1px solid rgba(39,105,71,.28); border-radius: 999px;
  background: #e9f8ef; color: #276947; font: inherit; font-size: 12px;
  font-weight: 700; cursor: pointer; transition: .2s ease;
}
.product-extra-toggle:hover { background: #d7f0df; transform: translateY(-1px); }
.product-extra-details[hidden] { display: none !important; }
.product-extra-details { display: grid; gap: 12px; margin: 0 0 18px; }
.product-extra-row { padding: 14px 16px; border: 1px solid rgba(39,105,71,.15); border-radius: 14px; background: #fbfdfb; }
.product-extra-row h3 { margin: 0 0 7px; color: var(--deep-green); font-size: 13px; }
.product-extra-row p { margin: 0; font-size: 12px; line-height: 1.7; text-align: left; }


/* =========================================================
   RANGE PRIMEUR — RESPONSIVE CATALOGUE + FILTER FIX
   Correctif final : une seule grille de produits et filtres fiables.
========================================================= */
#produits .product-filter {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap !important;
  gap: 10px;
  width: 100%;
  margin: 0 auto 34px;
  padding: 0 12px;
  box-sizing: border-box;
}
#produits .filter-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  z-index: 2;
}
#produits .products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
  width: 100%;
}
#produits .products-grid > .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
#produits .products-grid > .product-card[hidden],
#produits .products-grid > .product-card.is-hidden,
#produits .products-grid > .product-card.is-paginated {
  display: none !important;
}
#produits #allProducts { display: none !important; }
#produits #showProducts[hidden] { display: none !important; }
#produits .product-image {
  width: 100%;
  overflow: hidden;
}
#produits .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#produits .product-info { min-width: 0; }
#produits .products-more {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 28px auto 0;
}
#produits #showProducts {
  min-height: 46px;
  max-width: 100%;
  touch-action: manipulation;
}
@media (max-width: 1050px) {
  #produits .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 760px) {
  #produits .product-filter { gap: 8px; margin-bottom: 24px; }
  #produits .filter-btn { min-height: 42px; padding: 9px 14px; font-size: 12px; }
  #produits .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  #produits .product-card { border-radius: 15px; overflow: hidden; }
  #produits .product-image { height: clamp(112px, 32vw, 190px); }
  #produits .product-info { padding: 12px !important; }
  #produits .product-info h3 { font-size: clamp(15px, 3.8vw, 19px); overflow-wrap: anywhere; }
  #produits .product-info p { font-size: 11px; line-height: 1.45; }
  #produits .seo-product-link { display: inline-flex; max-width: 100%; font-size: 11px; }
}
@media (max-width: 380px) {
  #produits .product-filter { gap: 6px; }
  #produits .filter-btn { padding: 8px 10px; font-size: 11px; }
  #produits .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  #produits .product-image { height: 112px; }
  #produits .product-info { padding: 9px !important; }
}


/* =========================================================
   RANGE PRIMEUR — UNIFORMITÉ DES CARTES PRODUITS
   Cadres photo, dimensions et couleurs identiques pour tous.
========================================================= */
#produits .products-grid > .product-card {
  background: #ffffff !important;
  border: 1px solid #e8eee9 !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(24, 55, 39, 0.07) !important;
  overflow: hidden !important;
  min-height: 0 !important;
  height: 100% !important;
}
#produits .products-grid > .product-card .product-image {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 205px !important;
  min-height: 205px !important;
  max-height: 205px !important;
  flex: 0 0 205px !important;
  padding: 12px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid #edf1ed !important;
}
#produits .products-grid > .product-card .product-image::before,
#produits .products-grid > .product-card .product-image::after {
  content: none !important;
  display: none !important;
}
#produits .products-grid > .product-card .product-image img {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: transparent !important;
  transform: none;
}
#produits .products-grid > .product-card:hover .product-image img {
  transform: scale(1.035);
}
#produits .products-grid > .product-card .product-info {
  display: flex !important;
  flex: 1 1 auto !important;
  min-height: 116px !important;
  padding: 15px 15px 16px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  background-image: none !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 7px !important;
}
#produits .products-grid > .product-card .product-info h3 {
  margin: 0 !important;
  color: #173b2b !important;
  line-height: 1.25 !important;
  min-height: 1.25em;
}
#produits .products-grid > .product-card .product-info p {
  margin: 0 !important;
  color: #7b8980 !important;
  line-height: 1.4 !important;
  min-height: 1.4em;
}
#produits .products-grid > .product-card .product-tag {
  background: #f4f7f4 !important;
  color: #456653 !important;
  border: 1px solid #e3ebe4 !important;
  box-shadow: none !important;
}
#produits .products-grid > .product-card .catalogue-detail-button,
#produits .products-grid > .product-card .seo-product-link {
  background: #edf7f0 !important;
  color: #17633e !important;
  border: 1px solid #c9e2d1 !important;
  border-radius: 999px !important;
}
@media (max-width: 760px) {
  #produits .products-grid { gap: 14px !important; }
  #produits .products-grid > .product-card .product-image {
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
    flex-basis: 170px !important;
    padding: 10px !important;
  }
  #produits .products-grid > .product-card .product-info {
    min-height: 108px !important;
    padding: 12px !important;
  }
}
@media (max-width: 380px) {
  #produits .products-grid { gap: 10px !important; }
  #produits .products-grid > .product-card .product-image {
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    flex-basis: 145px !important;
    padding: 8px !important;
  }
  #produits .products-grid > .product-card .product-info {
    min-height: 102px !important;
    padding: 10px !important;
  }
}


/* =========================================================
   RANGE PRIMEUR — RESPONSIVE FIX FOR PRODUCT CATALOGUE
   Consistent product cards, images and single CTA across browsers.
========================================================= */
html { scroll-behavior: smooth; }
body { max-width: 100%; overflow-x: hidden; }
#produits,
#produits .container,
#produits .products-grid,
#produits #allProducts { min-width: 0; max-width: 100%; box-sizing: border-box; }

#produits .product-filter {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 auto 34px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}
#produits .filter-btn {
  flex: 0 0 auto !important;
  min-height: 42px !important;
  padding: 10px 17px !important;
  white-space: nowrap !important;
  touch-action: manipulation;
  cursor: pointer;
}
#produits .products-grid,
#produits #allProducts,
#produits .products-grid.mobile-merged {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: clamp(14px, 2vw, 24px) !important;
  width: 100% !important;
}
#produits .products-grid .product-card,
#produits #allProducts .product-card {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 1px solid #edf0eb !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(24, 55, 39, .075) !important;
}
#produits .products-grid .product-card[hidden],
#produits #allProducts .product-card[hidden],
#produits .products-grid .product-card.is-hidden,
#produits .products-grid .product-card.is-paginated { display: none !important; }

#produits .product-card .product-image {
  display: flex !important;
  position: relative !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  height: clamp(180px, 22vw, 270px) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1ed !important;
}
#produits .product-card .product-image::before,
#produits .product-card .product-image::after { content: none !important; display: none !important; }
#produits .product-card .product-image img {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  transform: none;
  background: transparent !important;
}
#produits .product-card .product-info {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 142px !important;
  padding: 18px 20px 20px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  background-image: none !important;
}
#produits .product-card .product-info h3 {
  margin: 0 !important;
  color: #173b2b !important;
  line-height: 1.22 !important;
  overflow-wrap: anywhere;
}
#produits .product-card .product-info p {
  margin: 0 !important;
  color: #718078 !important;
  line-height: 1.5 !important;
}
#produits .product-card .product-info > a,
#produits .product-card .product-info .product-view,
#produits .product-card .product-info .seo-product-link {
  display: none !important;
}
#produits .product-card .catalogue-detail-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 7px 0 0 !important;
  min-height: 42px !important;
  padding: 10px 20px !important;
  border: 1px solid #c9e2d1 !important;
  border-radius: 999px !important;
  background: #edf7f0 !important;
  color: #17633e !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: normal !important;
  cursor: pointer !important;
}
#produits .products-more,
#produits #showProducts { margin-left: auto !important; margin-right: auto !important; }

@media (max-width: 1024px) {
  #produits .products-grid,
  #produits #allProducts,
  #produits .products-grid.mobile-merged {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
  #produits .product-card .product-image { height: clamp(170px, 28vw, 230px) !important; }
}
@media (max-width: 600px) {
  #produits .container { padding-left: 14px !important; padding-right: 14px !important; }
  #produits .product-filter { gap: 7px !important; margin-bottom: 22px !important; }
  #produits .filter-btn { min-height: 40px !important; padding: 8px 11px !important; font-size: 11px !important; }
  #produits .products-grid,
  #produits #allProducts,
  #produits .products-grid.mobile-merged {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px !important;
  }
  #produits .product-card { border-radius: 15px !important; }
  #produits .product-card .product-image {
    height: clamp(125px, 39vw, 190px) !important;
    padding: 8px !important;
  }
  #produits .product-card .product-info {
    min-height: 118px !important;
    padding: 11px 10px 13px !important;
    gap: 6px !important;
  }
  #produits .product-card .product-info h3 { font-size: clamp(14px, 3.7vw, 18px) !important; }
  #produits .product-card .product-info p { font-size: 10px !important; }
  #produits .product-card .catalogue-detail-button {
    min-height: 36px !important;
    padding: 8px 12px !important;
    font-size: 10px !important;
  }
}
@media (max-width: 350px) {
  #produits .products-grid,
  #produits #allProducts,
  #produits .products-grid.mobile-merged {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #produits .product-card .product-image { height: 210px !important; }
}

/* GLOBALG.A.P. supplier-selection assurance block */
.gap-assurance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .82fr);
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #e4eee6;
  border-radius: 20px;
  background: #f8fbf8;
  box-shadow: 0 10px 28px rgba(24,55,39,.055);
}
.gap-kicker {
  display: inline-block;
  margin-bottom: 9px;
  color: #377a50;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.gap-assurance-copy h3 {
  margin: 0 0 10px;
  color: #183d2c;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.25;
}
.gap-assurance-copy p {
  margin: 0;
  color: #64746a;
  font-size: 13px;
  line-height: 1.75;
}
.gap-certificate {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid #e5ebe5;
  border-radius: 14px;
  background: #fff;
}
.gap-certificate img {
  display: none;
  width: 100%;
  max-width: 100%;
  max-height: 230px;
  object-fit: contain;
}
.gap-certificate img.is-loaded { display: block; }
.gap-certificate-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 150px;
  padding: 18px;
  border: 1px dashed #b8cfbe;
  border-radius: 10px;
  background: #f5faf6;
  color: #53735e;
  text-align: center;
}
.gap-certificate-placeholder strong {
  color: #267447;
  font-size: 21px;
  letter-spacing: .06em;
}
.gap-certificate-placeholder span { font-size: 11px; line-height: 1.5; }
.gap-certificate-placeholder[hidden] { display: none !important; }
.gap-certificate figcaption {
  margin-top: 9px;
  color: #78857d;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
@media (max-width: 760px) {
  .gap-assurance { grid-template-columns: minmax(0,1fr); padding: 16px; gap: 15px; }
  .gap-certificate img { max-height: 260px; }
}


/* Typography and narrow-column layout refinement for the GAP assurance block */
.compliance-content { container-type: inline-size; }
.gap-assurance {
  grid-template-columns: minmax(0, 1.15fr) minmax(190px, .85fr);
  gap: 20px;
  padding: 24px;
}
.gap-assurance-copy { min-width: 0; }
.gap-kicker {
  margin-bottom: 8px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .14em;
}
.gap-assurance-copy h3 {
  max-width: 27ch;
  margin: 0 0 10px;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.2;
  letter-spacing: -.02em;
  overflow-wrap: normal;
  text-wrap: balance;
}
.gap-assurance-copy p {
  max-width: 58ch;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: 0;
  text-wrap: pretty;
}
.gap-certificate {
  min-width: 0;
  padding: 10px;
}
.gap-certificate img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  object-position: center;
}
.gap-certificate-placeholder {
  min-height: 130px;
  padding: 14px;
  gap: 6px;
}
.gap-certificate-placeholder strong { font-size: 19px; }
.gap-certificate-placeholder span { max-width: 25ch; font-size: 10px; line-height: 1.45; }
.gap-certificate figcaption {
  max-width: 38ch;
  font-size: 9px;
  line-height: 1.4;
}

/* Container-based breakpoint: compliance content is often half the desktop page. */
@container (max-width: 620px) {
  .gap-assurance {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }
  .gap-assurance-copy h3 { max-width: none; font-size: 20px; }
  .gap-assurance-copy p { max-width: none; font-size: 12px; line-height: 1.65; }
  .gap-certificate { width: 100%; box-sizing: border-box; }
  .gap-certificate img { max-height: 280px; }
  .gap-certificate-placeholder { min-height: 115px; }
}
@media (max-width: 600px) {
  .gap-assurance { padding: 15px; border-radius: 16px; }
  .gap-assurance-copy h3 { font-size: 19px; }
  .gap-assurance-copy p { font-size: 11.5px; line-height: 1.6; }
}


/* GLOBALG.A.P. — Full-width editorial band, separate from compliance text */
.compliance .gap-assurance {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) !important;
  align-items: center !important;
  gap: clamp(22px, 4vw, 54px) !important;
  width: 100% !important;
  margin: clamp(28px, 4vw, 48px) 0 0 !important;
  padding: clamp(24px, 3.5vw, 42px) clamp(24px, 4vw, 48px) !important;
  box-sizing: border-box !important;
  border: 1px solid #e6eee7 !important;
  border-radius: 22px !important;
  background: linear-gradient(110deg, #f7faf6 0%, #ffffff 100%) !important;
  box-shadow: 0 14px 36px rgba(25, 60, 40, .055) !important;
}
.compliance .gap-assurance-copy { min-width: 0; max-width: 760px; }
.compliance .gap-kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: #387a4d;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .17em;
}
.compliance .gap-assurance-copy h3 {
  max-width: 32ch;
  margin: 0 0 13px;
  color: #173b2b;
  font-family: inherit;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.compliance .gap-assurance-copy p {
  max-width: 70ch;
  margin: 0;
  color: #66756b;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.75;
}
.compliance .gap-logo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 1px solid #edf1ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 60, 40, .045);
}
.compliance .gap-logo-panel img {
  display: block !important;
  width: min(100%, 210px) !important;
  height: auto !important;
  max-height: 210px !important;
  object-fit: contain !important;
  object-position: center !important;
}
.compliance .gap-logo-panel span {
  max-width: 30ch;
  color: #7a887e;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 760px) {
  .compliance .gap-assurance {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    margin-top: 26px !important;
    padding: 22px !important;
    border-radius: 18px !important;
  }
  .compliance .gap-assurance-copy h3 {
    max-width: none;
    font-size: clamp(21px, 6vw, 27px);
  }
  .compliance .gap-assurance-copy p { font-size: 13px; line-height: 1.7; }
  .compliance .gap-logo-panel { width: 100%; box-sizing: border-box; }
  .compliance .gap-logo-panel img { width: min(62%, 190px) !important; max-height: 190px !important; }
}
