/* ============================================================
   Boutique Atlas Santé — Design System 2.0 & Feuille Principale
   ============================================================ */

:root {
    /* Couleurs Primaires Prestige - Banabana Agro */
    --atlas-950: #031a0f;
    --atlas-900: #073620;
    --atlas-800: #0b462b;
    --atlas-700: #115736;
    --atlas-600: #186d44;
    --atlas-500: #228654;
    --atlas-400: #3ba66e;
    --atlas-200: #a3e0bf;
    --atlas-100: #d5f2e3;
    --atlas-50:  #f0faf4;

    /* Vert Feuille Signature (Secondaire) */
    --atlas-red: #65A20D;
    --atlas-red-dark: #4e7e0a;
    --atlas-red-light: #f2f9e6;

    /* Teinte Soin / Sauge Terroir */
    --atlas-sage-bg: #f0faf4;
    --atlas-sage-border: #a3e0bf;
    --atlas-sage-text: #073620;

    /* Ombres douces (Soft Elevation) */
    --shadow-soft-sm: 0 2px 8px -2px rgba(7, 54, 32, 0.06), 0 1px 4px -1px rgba(7, 54, 32, 0.04);
    --shadow-soft-md: 0 12px 28px -8px rgba(7, 54, 32, 0.09), 0 4px 10px -2px rgba(7, 54, 32, 0.04);
    --shadow-soft-lg: 0 20px 40px -12px rgba(7, 54, 32, 0.14), 0 8px 16px -4px rgba(7, 54, 32, 0.06);
    --shadow-drawer: -10px 0 35px -5px rgba(7, 54, 32, 0.22);
}

/* Alpine : masquer les éléments avant initialisation */
[x-cloak] { display: none !important; }

/* Défilement fluide & rendu typographique haute netteté */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    width: 100%;
    margin: 0;
}

main#contenu, .engagement-encart, .bande-avantages-luxe, footer {
    overflow-x: clip;
    max-width: 100%;
}

body, button, input, select, textarea {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, .font-heading, .titre-section {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: -0.022em;
}

/* ============================================================
   Échelle d'affichage globale (confort de lecture moderne)
   Remplace le ratio tassé à 82.5% par une échelle harmonieuse
   et aérée, standard des sites dermo-cosmétiques.
   ============================================================ */
html {
    font-size: 93.75%; /* 15px : lisibilité idéale et aérée */
}
@media (min-width: 1024px) {
    html {
        font-size: 93.75%;
    }
    .max-w-7xl {
        max-width: 84rem;
    }
}
@media (min-width: 1280px) {
    .max-w-7xl {
        max-width: 88rem;
    }
}
@media (min-width: 1536px) {
    html {
        font-size: 100%; /* 16px sur grands écrans */
    }
    .max-w-7xl {
        max-width: 92rem;
    }
}

/* Messages flash (succès / erreur / info) */
.flash {
    border-radius: 1rem;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.12);
}
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash-error   { background: #f2f9e6; color: #b91c1c; border: 1px solid #fecaca; }
.flash-info    { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.flash-fermer  { cursor: pointer; font-size: 22px; line-height: 1; padding-left: 12px; color: inherit; opacity: 0.6; }
.flash-fermer:hover { opacity: 1; }

/* Apparition douce au défilement (.reveal ajouté par boutique.js).
   Le masquage initial n'est actif que si JavaScript est présent (html.js),
   sinon le contenu reste visible par défaut (accessibilité / JS désactivé). */
html.js .reveal, html.js .reveal-gauche, html.js .reveal-droite, html.js .reveal-zoom {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}
html.js .reveal        { transform: translateY(26px); }
html.js .reveal-gauche { transform: translateX(-36px); }
html.js .reveal-droite { transform: translateX(36px); }
html.js .reveal-zoom   { transform: scale(0.94); }
html.js .reveal.visible, html.js .reveal-gauche.visible,
html.js .reveal-droite.visible, html.js .reveal-zoom.visible {
    opacity: 1;
    transform: none;
}

/* Bandeau de chiffres clés (compteurs animés via data-compteur) */
.stats-bande {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #073620 0%, #073620 55%, #0b462b 100%);
    padding: 2.75rem 0;
}
.stats-bande-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 2rem;
}
@media (min-width: 768px) {
    .stats-bande-inner { grid-template-columns: repeat(4, 1fr); }
}
.stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}
.stat-valeur {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 0.01em;
}
.stat-suffixe {
    color: #f6b9ba;
    margin-left: 0.1em;
}
.stat-libelle {
    margin-top: 0.6rem;
    max-width: 12rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(218, 225, 248, 0.85);
}
@media (max-width: 640px) {
    .stat-valeur { font-size: 2rem; }
    .stat-libelle { font-size: 0.62rem; letter-spacing: 0.1em; }
}

/* Boutons « brillance » : balayage lumineux au survol */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -140%;
    width: 55%;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}
.btn-shine:hover::after { left: 160%; }

/* Hero : lent zoom Ken Burns sur la photo active */
.hero-photo { transform: scale(1.14); }
.slider-hero-active .hero-photo,
.hero-slider .swiper-slide-active .hero-photo {
    animation: kenburns 8s ease-out both;
}
@keyframes kenburns {
    from { transform: scale(1.03); }
    to   { transform: scale(1.14); }
}

/* Hero : indicateur de défilement (souris animée) */
.hero-scroll {
    position: absolute;
    right: clamp(0.5rem, 4vw, 3rem);
    bottom: 1.25rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #115736;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.25s ease;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll-souris {
    width: 22px;
    height: 34px;
    border: 2px solid currentColor;
    border-radius: 9999px;
    position: relative;
    display: block;
}
.hero-scroll-souris::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 9999px;
    background: currentColor;
    animation: molette 1.8s ease-in-out infinite;
}
@keyframes molette {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}
.hero-scroll-texte {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
@media (max-width: 640px) {
    .hero-scroll { display: none; }
}

/* Badge héros : halo discret pulsant */
.badge-scintille { animation: lueur 2.6s ease-in-out infinite; }
@keyframes lueur {
    0%, 100% { box-shadow: 0 0 0 0 rgba(101, 162, 13, 0.4); }
    50%      { box-shadow: 0 0 0 12px rgba(101, 162, 13, 0); }
}

/* Icône citation : flottement très doux */
.temoignage-icone { animation: flottement 6s ease-in-out infinite; }

/* Bouton « retour en haut » (pied de page, fixes sur toutes les pages) */
.retour-haut {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 9999px;
    background: #115736;
    color: #ffffff;
    box-shadow: 0 10px 25px -8px rgba(17, 87, 54, 0.65);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.3s ease;
}
.retour-haut:hover { background: #073620; }
.retour-haut.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Respect des préférences : réduire les animations */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-gauche, .reveal-droite, .reveal-zoom {
        opacity: 1 !important;
        transform: none !important;
        transition: none;
    }
    .hero-photo, .decor-rond, .marquees, .badge-scintille,
    .temoignage-icone, .hero-scroll-souris::before,
    .bandeau-motif .decor-orbe-1, .bandeau-motif .decor-orbe-2 {
        animation: none !important;
    }
    html { scroll-behavior: auto; }
}

/* Bandeau marques : défilement continu infini, capsules avec séparations */
.marquees-section {
    background: #ffffff;
    border-top: 1px solid #eef0f6;
    border-bottom: 1px solid #eef0f6;
}
.marquees-inner {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2.25rem 1rem 2.5rem;
}
@media (min-width: 640px) {
    .marquees-inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .marquees-inner { padding-left: 2rem; padding-right: 2rem; }
}

/* Titre central avec lignes décoratives */
.marquees-titre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.marquees-titre-texte {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #115736;
    white-space: nowrap;
}
.marquees-titre-ligne {
    flex: 1;
    max-width: 4.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(17, 87, 54, 0.35));
}
.marquees-titre-miroir { transform: scaleX(-1); }
@media (min-width: 640px) {
    .marquees-titre-ligne { max-width: 7rem; }
}

/* Défilement */
.marquees-bloc {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquees {
    display: flex;
    align-items: center;
    width: max-content;
    animation: defile-marques 32s linear infinite;
}
.marquees-bloc:hover .marquees { animation-play-state: paused; }
@keyframes defile-marques {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Capsule d'une marque : initiale + nom, séparée des voisines */
.marquees-item {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0 2.2rem;
    border-right: 1px solid rgba(17, 87, 54, 0.14);
    transition: opacity 0.2s ease;
}
.marquees-item:hover { opacity: 0.85; }
.marquees-initiale {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #115736, #073620);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 14px -6px rgba(7, 54, 32, 0.35);
    transition: transform 0.2s ease;
}
.marquees-item:hover .marquees-initiale {
    background: linear-gradient(135deg, #186d44, #073620);
    transform: translateY(-1px);
}
.marquees-nom {
    font-weight: 800;
    font-size: 1.05rem;
    color: #1f2937;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.marquees-item:hover .marquees-nom { color: #115736; }
@media (max-width: 640px) {
    .marquees-item { padding: 0 1.4rem; gap: 0.55rem; }
    .marquees-initiale { width: 2.2rem; height: 2.2rem; border-radius: 0.7rem; font-size: 0.85rem; }
    .marquees-nom { font-size: 0.95rem; }
}

/* Slider héros : recolorer pagination + flèches */
.hero-slider .swiper-pagination-bullet { background: #115736; opacity: 0.25; }
.hero-slider .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; background: #115736; }
.hero-slider .swiper-button-prev, .hero-slider .swiper-button-next {
    color: #115736; width: 44px; height: 44px; background: rgba(17, 87, 54, 0.12);
    border: 1px solid rgba(17, 87, 54, 0.25); border-radius: 9999px;
}
.hero-slider .swiper-button-prev::after, .hero-slider .swiper-button-next::after { font-size: 16px; font-weight: 700; }
@media (max-width: 640px) {
    .hero-slider .swiper-button-prev, .hero-slider .swiper-button-next { display: none; }
}

/* Animation d'entrée du texte du slider */
.hero-slide-texte h2 { animation: montee 0.8s ease both; }
.hero-slide-texte p { animation: montee 0.8s ease 0.15s both; }
.hero-slide-texte .hero-actions { animation: montee 0.8s ease 0.3s both; }
@keyframes montee {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* Cartes univers : effet de survol doux */
.carte-univers { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.carte-univers:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(17, 87, 54, 0.45); }
.carte-univers .carte-icon { transition: transform 0.35s ease; }
.carte-univers:hover .carte-icon { transform: scale(1.12); }

/* Petites cartes d'engagement */
.atout-carte { transition: transform 0.3s ease, border-color 0.3s ease; }
.atout-carte:hover { transform: translateY(-4px); border-color: #f6b9ba; }

/* Masque masqué par défaut pour les décors décoratifs */
.decor-rond { animation: flottement 7s ease-in-out infinite; }
@keyframes flottement {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* ---------- Sliders de produits (accueil, fiche) ---------- */
.produits-slider .swiper-pagination { position: static; margin-top: 2rem; }
.produits-slider .swiper-pagination-bullet { background: #115736; opacity: 0.25; }
.produits-slider .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }

/* ---------- Brochures de produits ---------- */

/* Bouton « Ajouter au panier » sur les cartes : cercle au repos,
   pilule rouge dépliée au survol de la carte. */
.btn-ajouter-panier {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    max-width: 34px;
    height: 34px;
    padding: 0 9px;
    overflow: hidden;
    white-space: nowrap;
    border-radius: 9999px;
    background: #f0faf4;
    color: #115736;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition: max-width 0.35s ease, width 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.btn-ajouter-panier-texte {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.35s ease;
    letter-spacing: 0.01em;
}
.carte-produit:hover .btn-ajouter-panier,
.btn-ajouter-panier:focus-visible {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    background: #65A20D;
    color: #fff;
    box-shadow: 0 10px 22px -10px rgba(101, 162, 13, 0.7);
}
.carte-produit:hover .btn-ajouter-panier .btn-ajouter-panier-texte,
.btn-ajouter-panier:focus-visible .btn-ajouter-panier-texte {
    opacity: 1;
    width: auto;
}

/* Zone d'image du produit : évite l'effet collé aux bords et préserve les ombres */
.carte-image-zone {
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}
.carte-image-zone img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.carte-produit:hover .carte-image-zone img {
    transform: scale(1.04);
}
.produits-slider,
.bebe-slider {
    padding-top: 0.5rem !important;
    padding-bottom: 1.25rem !important;
}
.produits-slider .swiper-slide,
.bebe-slider .swiper-slide,
#grille-catalogue .reveal {
    height: auto;
    display: flex;
}
.produits-slider .swiper-slide > .carte-produit,
.bebe-slider .swiper-slide > .carte-produit,
#grille-catalogue .reveal > .carte-produit {
    height: 100%;
    width: 100%;
}

/* Flèches Précédent / Suivant */
.btn-slider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #115736;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.btn-slider:hover { background: #115736; border-color: #115736; color: #fff; }
.btn-slider[disabled] { opacity: 0.35; pointer-events: none; }
@media (max-width: 639px) {
    .btn-slider {
        width: 34px;
        height: 34px;
    }
    .btn-slider svg {
        width: 16px;
        height: 16px;
    }
}

/* ---------- Bandeaux de page décoratifs (motifs discrets) ---------- */
.bandeau-motif {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #073620 0%, #073620 55%, #0b462b 100%);
}
.bandeau-motif .motif-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.075;
}
.bandeau-motif .decor-orbe-1 {
    position: absolute;
    top: -50px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 9999px;
    filter: blur(28px);
    pointer-events: none;
    animation: flottement 8s ease-in-out infinite;
}
.bandeau-motif .decor-orbe-2 {
    position: absolute;
    bottom: -60px;
    left: 20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 166, 110, 0.22) 0%, rgba(59, 166, 110, 0) 70%);
    border-radius: 9999px;
    filter: blur(40px);
    pointer-events: none;
    animation: flottement 10s ease-in-out infinite;
    animation-delay: -3s;
}
/* Barre de menu en cours de défilement : légère transparence + ombre douce */
header.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
}
.entete-scrolle {
    background-color: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px -18px rgba(7, 54, 32, 0.28);
}
/* ============================================================
   CARTE PRODUIT MODERNE (Système unifié 2.0)
   ============================================================ */
.carte-produit {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1.125rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(7, 54, 32, 0.04), 0 6px 16px -6px rgba(7, 54, 32, 0.05);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s ease;
}
.carte-produit:hover {
    transform: translateY(-5px);
    border-color: #65A20D;
    box-shadow: 0 18px 36px -12px rgba(7, 54, 32, 0.14), 0 8px 18px -6px rgba(7, 54, 32, 0.06);
}

/* Zone image produit */
.carte-produit .carte-image-zone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    padding: 1.15rem;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}
.carte-produit .carte-lien-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carte-produit .carte-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.carte-produit:hover .carte-img {
    transform: scale(1.06);
}
.carte-produit .carte-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

/* Badges sur l'image */
.carte-produit .carte-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    pointer-events: none;
}
.carte-produit .badge-promo,
.carte-produit .badge-rupture {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.08);
}
.carte-produit .badge-promo {
    background: #65A20D;
    color: #ffffff;
}
.carte-produit .badge-rupture {
    background: #f2f9e6;
    color: #991b1b;
}

/* Bouton Quick View */
.carte-produit .carte-quickview-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.94);
    color: #475569;
    box-shadow: 0 4px 12px rgba(7, 54, 32, 0.1);
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease, color 0.2s ease;
    border: none;
    cursor: pointer;
}
.carte-produit:hover .carte-quickview-btn,
.carte-produit:focus-within .carte-quickview-btn {
    opacity: 1;
    transform: translateY(0);
}
.carte-produit .carte-quickview-btn:hover {
    background: #073620;
    color: #ffffff;
}

/* Sur mobile/tablette (<768px) : pas de vrai survol, le bouton Aperçu
   rapide reste donc visible en permanence. */
@media (max-width: 767px) {
    .carte-produit .carte-quickview-btn {
        opacity: 1;
        transform: none;
    }
}

/* Zone Contenu textuel avec généreuses marges internes */
.carte-produit .carte-contenu {
    padding: 0.95rem 1.25rem 0.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
@media (max-width: 639px) {
    .carte-produit .carte-contenu {
        padding: 0.8rem 1rem 0.8rem;
    }
}

.carte-produit .carte-marque {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #65A20D;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.22s ease;
}

.carte-produit .carte-titre {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0 0 0.2rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.45rem;
}
@media (max-width: 639px) {
    .carte-produit .carte-titre {
        font-size: 0.8125rem;
        min-height: 2.3rem;
        margin-bottom: 0.15rem;
    }
}
.carte-produit .carte-titre a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.carte-produit .carte-titre a:hover {
    color: #374785;
}

/* Pied de carte : Prix et bouton d'action */
.carte-produit .carte-pied {
    margin-top: 0.25rem;
    padding-top: 0.45rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.carte-produit .carte-prix-ligne {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.carte-produit .carte-prix {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    color: #073620;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
@media (max-width: 639px) {
    .carte-produit .carte-prix {
        font-size: 0.95rem;
    }
}

/* Ancien prix (barré) et prix promo affichés sur la carte */
.carte-produit .carte-prix-ancien {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: line-through;
    white-space: nowrap;
}
@media (max-width: 639px) {
    .carte-produit .carte-prix-ancien {
        font-size: 0.72rem;
    }
}
.carte-produit .carte-prix.carte-prix-promo {
    color: #65A20D;
}

/* Utilité « line-through » (Tailwind non compilée) — prix régulier barré
   sur la fiche produit et dans l'aperçu rapide. */
.line-through {
    text-decoration: line-through;
}

/* Visuel « Soins Bébé » de l'accueil : sur desktop, la hauteur de la
   bannière est alignée sur celle des cartes du carrousel. La colonne ne
   doit pas s'étirer à la hauteur totale du .swiper (= cartes + pagination),
   sinon la bannière paraît trop haute : align-self:start pour ne pas étirer,
   min-height réduit pour laisser le JS (boutique.js) fixer une hauteur
   explicite = hauteur des cartes, avec repli 300px sans JS. */
@media (min-width: 1024px) {
    .produits-bloc .lg\:col-span-5 {
        align-self: start;
    }
    .produits-bloc .lg\:col-span-5 > a.group {
        min-height: 300px;
    }
}

.carte-produit .carte-action {
    width: 100%;
}

.carte-produit .carte-btn-panier {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 0.75rem;
    background: #f0faf4;
    color: #073620;
    font-size: 0.775rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.carte-produit .carte-btn-panier:hover {
    background: #073620;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(7, 54, 32, 0.2);
    transform: translateY(-1px);
}
.carte-produit .carte-btn-panier:active {
    transform: scale(0.98);
}

/* Bouton panier rétractable sur desktop (>=768px) : caché par défaut,
   révélé au survol de la carte ou au focus. Deux modes :
   — Catalogue (#grille-catalogue) : dépliage en flux (max-height + margin-top),
     la rangée grandit au survol pour dégager le bouton ;
   — Partout ailleurs : le bouton garde sa place en permanence (hauteur de
     carte constante, aucun changement de hauteur de rangée/section), il est
     simplement révélé en fondu + léger glissement. */
@media (min-width: 768px) {
    /* Chaque carte garde sa taille naturelle : seul le produit survolé
       grandit, les cartes voisines de la rangée ne sont plus étirées. */
    #grille-catalogue {
        align-items: start;
    }
    #grille-catalogue .reveal > .carte-produit,
    .produits-slider .swiper-slide > .carte-produit,
    .produits-slider .swiper-slide > .h-full > .carte-produit,
    .bebe-slider .swiper-slide > .carte-produit,
    .bebe-slider .swiper-slide > .h-full > .carte-produit {
        height: auto;
    }
    .produits-slider .swiper-slide,
    .bebe-slider .swiper-slide {
        align-items: flex-start;
    }

    /* Grilles (catalogue & marque) : le bouton reste replié et se déplie EN
       FLUX au survol — la rangée grandit pour dégager le bouton. */
    #grille-catalogue .carte-action,
    .grille-produits .carte-action {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: -0.5rem;
        transition: max-height 0.28s ease,
                    opacity 0.28s ease,
                    margin-top 0.28s ease;
        transition-delay: 0s;
    }
    #grille-catalogue .carte-produit:hover .carte-action,
    #grille-catalogue .carte-produit:focus-within .carte-action,
    .grille-produits .carte-produit:hover .carte-action,
    .grille-produits .carte-produit:focus-within .carte-action {
        max-height: 34px;
        opacity: 1;
        margin-top: 0;
        transition-delay: 0.66s;
    }

    /* Sliders (accueil, fiche produit…) : au survol, la CARTE s'allonge
       vers le bas pour laisser apparaître le bouton Ajouter au panier
       (dans la carte). La hauteur du carrousel/ligne/section, elle, est
       verrouillée par le JS (boutique.js fixe la hauteur du
       .swiper-wrapper = hauteur repliée des cartes) : la carte grandit
       donc en débordant sur la « marge basse » réservée sous les cartes,
       sans pousser la section du dessous. */
    .produits-slider .carte-produit:hover {
        height: auto;
        z-index: 20;
    }
    .produits-slider .carte-produit .carte-action {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: -0.5rem;
        transition: max-height 0.28s ease,
                    opacity 0.28s ease,
                    margin-top 0.28s ease;
        transition-delay: 0s;
    }
    .produits-slider .carte-produit:hover .carte-action,
    .produits-slider .carte-produit:focus-within .carte-action {
        max-height: 34px;
        opacity: 1;
        margin-top: 0;
        transition-delay: 0.66s;
    }
}

.carte-produit .carte-btn-rupture {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 0.775rem;
    font-weight: 700;
    cursor: not-allowed;
    white-space: nowrap;
}

/* ============================================================
   CARTES PRODUITS COMPACTES (Page d'accueil & Sliders de produits)
   Affichage optimisé : 2 par ligne sur mobile, 6 par ligne sur PC
   ============================================================ */
.page-accueil .carte-produit,
.produits-slider .carte-produit,
.bebe-slider .carte-produit {
    border-radius: 0.875rem;
    box-shadow: 0 1px 3px rgba(7, 54, 32, 0.04), 0 4px 12px -4px rgba(7, 54, 32, 0.05);
}
.page-accueil .carte-produit:hover,
.produits-slider .carte-produit:hover,
.bebe-slider .carte-produit:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(7, 54, 32, 0.12), 0 4px 12px -4px rgba(7, 54, 32, 0.05);
}

/* Zone image compacte : ratio carré, padding réduit pour laisser l'image respirer */
.page-accueil .carte-produit .carte-image-zone,
.produits-slider .carte-produit .carte-image-zone,
.bebe-slider .carte-produit .carte-image-zone {
    padding: 0.625rem;
}

/* Badges réduits et discrets */
.page-accueil .carte-produit .carte-badges,
.produits-slider .carte-produit .carte-badges,
.bebe-slider .carte-produit .carte-badges {
    top: 0.45rem;
    left: 0.45rem;
    gap: 0.25rem;
}
.page-accueil .carte-produit .badge-promo,
.page-accueil .carte-produit .badge-rupture,
.produits-slider .carte-produit .badge-promo,
.produits-slider .carte-produit .badge-rupture,
.bebe-slider .carte-produit .badge-promo,
.bebe-slider .carte-produit .badge-rupture {
    font-size: 0.58rem;
    padding: 0.18rem 0.45rem;
    letter-spacing: 0.03em;
}

/* Bouton Aperçu Rapide compact */
.page-accueil .carte-produit .carte-quickview-btn,
.produits-slider .carte-produit .carte-quickview-btn,
.bebe-slider .carte-produit .carte-quickview-btn {
    top: 0.45rem;
    right: 0.45rem;
    width: 28px;
    height: 28px;
}
.page-accueil .carte-produit .carte-quickview-btn svg,
.produits-slider .carte-produit .carte-quickview-btn svg,
.bebe-slider .carte-produit .carte-quickview-btn svg {
    width: 14px;
    height: 14px;
}

/* Zone contenu textuel compacte */
.page-accueil .carte-produit .carte-contenu,
.produits-slider .carte-produit .carte-contenu,
.bebe-slider .carte-produit .carte-contenu {
    padding: 0.6rem 0.75rem 0.65rem;
}

/* Marque */
.page-accueil .carte-produit .carte-marque,
.produits-slider .carte-produit .carte-marque,
.bebe-slider .carte-produit .carte-marque {
    font-size: 0.625rem;
    margin-bottom: 0.15rem;
    letter-spacing: 0.04em;
}

/* Titre de produit */
.page-accueil .carte-produit .carte-titre,
.produits-slider .carte-produit .carte-titre,
.bebe-slider .carte-produit .carte-titre {
    font-size: 0.78rem;
    line-height: 1.32;
    min-height: 2.05rem;
    margin-bottom: 0.15rem;
}

/* Pied de carte */
.page-accueil .carte-produit .carte-pied,
.produits-slider .carte-produit .carte-pied,
.bebe-slider .carte-produit .carte-pied {
    margin-top: 0.2rem;
    padding-top: 0.35rem;
    gap: 0.35rem;
}

/* Prix */
.page-accueil .carte-produit .carte-prix,
.produits-slider .carte-produit .carte-prix,
.bebe-slider .carte-produit .carte-prix {
    font-size: 0.925rem;
}
.page-accueil .carte-produit .carte-prix-ancien,
.produits-slider .carte-produit .carte-prix-ancien,
.bebe-slider .carte-produit .carte-prix-ancien {
    font-size: 0.72rem;
}

/* Bouton Ajouter au panier */
.page-accueil .carte-produit .carte-btn-panier,
.produits-slider .carte-produit .carte-btn-panier,
.bebe-slider .carte-produit .carte-btn-panier {
    padding: 0.35rem 0.55rem;
    font-size: 0.7rem;
    border-radius: 0.55rem;
    gap: 0.3rem;
}
.page-accueil .carte-produit .carte-btn-panier svg,
.produits-slider .carte-produit .carte-btn-panier svg,
.bebe-slider .carte-produit .carte-btn-panier svg {
    width: 13px;
    height: 13px;
}

/* Bouton Rupture */
.page-accueil .carte-produit .carte-btn-rupture,
.produits-slider .carte-produit .carte-btn-rupture,
.bebe-slider .carte-produit .carte-btn-rupture {
    padding: 0.35rem 0.55rem;
    font-size: 0.68rem;
    border-radius: 0.55rem;
    gap: 0.3rem;
}
.page-accueil .carte-produit .carte-btn-rupture svg,
.produits-slider .carte-produit .carte-btn-rupture svg,
.bebe-slider .carte-produit .carte-btn-rupture svg {
    width: 13px;
    height: 13px;
}

/* Ajustements mobile spécifiques (< 640px) pour 2 cartes parfaitement proportionnées par ligne */
@media (max-width: 639px) {
    .page-accueil .carte-produit,
    .produits-slider .carte-produit,
    .bebe-slider .carte-produit {
        border-radius: 0.75rem;
    }
    .page-accueil .carte-produit .carte-image-zone,
    .produits-slider .carte-produit .carte-image-zone,
    .bebe-slider .carte-produit .carte-image-zone {
        padding: 0.45rem;
    }
    .page-accueil .carte-produit .carte-badges,
    .produits-slider .carte-produit .carte-badges,
    .bebe-slider .carte-produit .carte-badges {
        top: 0.35rem;
        left: 0.35rem;
    }
    .page-accueil .carte-produit .badge-promo,
    .page-accueil .carte-produit .badge-rupture,
    .produits-slider .carte-produit .badge-promo,
    .produits-slider .carte-produit .badge-rupture,
    .bebe-slider .carte-produit .badge-promo,
    .bebe-slider .carte-produit .badge-rupture {
        font-size: 0.52rem;
        padding: 0.15rem 0.35rem;
    }
    .page-accueil .carte-produit .carte-quickview-btn,
    .produits-slider .carte-produit .carte-quickview-btn,
    .bebe-slider .carte-produit .carte-quickview-btn {
        top: 0.35rem;
        right: 0.35rem;
        width: 25px;
        height: 25px;
    }
    .page-accueil .carte-produit .carte-quickview-btn svg,
    .produits-slider .carte-produit .carte-quickview-btn svg,
    .bebe-slider .carte-produit .carte-quickview-btn svg {
        width: 12px;
        height: 12px;
    }
    .page-accueil .carte-produit .carte-contenu,
    .produits-slider .carte-produit .carte-contenu,
    .bebe-slider .carte-produit .carte-contenu {
        padding: 0.45rem 0.55rem 0.5rem;
    }
    .page-accueil .carte-produit .carte-marque,
    .produits-slider .carte-produit .carte-marque,
    .bebe-slider .carte-produit .carte-marque {
        font-size: 0.58rem;
        margin-bottom: 0.1rem;
    }
    .page-accueil .carte-produit .carte-titre,
    .produits-slider .carte-produit .carte-titre,
    .bebe-slider .carte-produit .carte-titre {
        font-size: 0.72rem;
        min-height: 1.9rem;
        line-height: 1.3;
        margin-bottom: 0.1rem;
    }
    .page-accueil .carte-produit .carte-pied,
    .produits-slider .carte-produit .carte-pied,
    .bebe-slider .carte-produit .carte-pied {
        margin-top: 0.15rem;
        padding-top: 0.3rem;
        gap: 0.3rem;
    }
    .page-accueil .carte-produit .carte-prix,
    .produits-slider .carte-produit .carte-prix,
    .bebe-slider .carte-produit .carte-prix {
        font-size: 0.84rem;
    }
    .page-accueil .carte-produit .carte-prix-ancien,
    .produits-slider .carte-produit .carte-prix-ancien,
    .bebe-slider .carte-produit .carte-prix-ancien {
        font-size: 0.66rem;
    }
    .page-accueil .carte-produit .carte-btn-panier,
    .produits-slider .carte-produit .carte-btn-panier,
    .bebe-slider .carte-produit .carte-btn-panier {
        padding: 0.32rem 0.4rem;
        font-size: 0.66rem;
        border-radius: 0.5rem;
        gap: 0.25rem;
    }
    .page-accueil .carte-produit .carte-btn-panier svg,
    .produits-slider .carte-produit .carte-btn-panier svg,
    .bebe-slider .carte-produit .carte-btn-panier svg {
        width: 12px;
        height: 12px;
    }
}

/* Badges d'état (Nouveau, Rupture) superposés en haut à gauche de l'image */
.badge-produit-liste {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}
.badge-produit-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #65A20D;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    padding: 3px 7px;
    box-shadow: 0 2px 8px -2px rgba(101, 162, 13, 0.6);
    text-transform: uppercase;
}

/* Reflet lumineux qui balaye l'image au survol */
.carte-produit .aspect-square { position: relative; }
.carte-produit .aspect-square::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(117deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 70%);
    background-size: 250% 100%;
    background-position: 140% 0;
    opacity: 0;
    transition: opacity 0.35s ease, background-position 0.7s ease;
}
.carte-produit:hover .aspect-square::after {
    opacity: 1;
    background-position: -40% 0;
}

/* Entrée en cascade des cartes produits quand le bloc arrive à l'écran */
html.js .produits-bloc:not(.anime) .carte-produit { opacity: 0; }
html.js .produits-bloc.anime .carte-produit { animation: monteeCarte 0.7s ease backwards; }
html.js .produits-bloc.anime .swiper-slide:nth-child(2)  .carte-produit { animation-delay: 0.08s; }
html.js .produits-bloc.anime .swiper-slide:nth-child(3)  .carte-produit { animation-delay: 0.16s; }
html.js .produits-bloc.anime .swiper-slide:nth-child(4)  .carte-produit { animation-delay: 0.24s; }
html.js .produits-bloc.anime .swiper-slide:nth-child(5)  .carte-produit { animation-delay: 0.32s; }
html.js .produits-bloc.anime .swiper-slide:nth-child(6)  .carte-produit { animation-delay: 0.40s; }
html.js .produits-bloc.anime .swiper-slide:nth-child(n+7) .carte-produit { animation-delay: 0.48s; }
@keyframes monteeCarte {
    from { opacity: 0; transform: translateY(26px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

/* Illustration du héros : flottement très doux avec légère inclinaison */
.hero-illu { animation: flottementIllu 6s ease-in-out infinite; }
@keyframes flottementIllu {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-14px) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
    html.js .produits-bloc .carte-produit { opacity: 1 !important; animation: none !important; transition: none !important; }
    .hero-illu { animation: none !important; }
    .carte-produit .aspect-square::after { display: none; }
    .bandeau-cta-anime { animation: none !important; }
    .panel-topicrem::after { display: none; }
    html.js .reveal.visible .etoile { animation: none !important; }
    .hero-slide-texte { transform: none !important; }
}

/* ---------- Dynamique accueil : parallaxe héro ----------
   La variable --par (px) est posée en JS sur la section héro ;
   seul le texte du slide actif glisse (la photo garde son Ken Burns). */
.hero-parallax .swiper-slide-active .hero-slide-texte {
    transform: translateY(calc(var(--par, 0) * 1px));
    will-change: transform;
}

/* ---------- Dynamique accueil : progression de l'autoplay du héro ---------- */
.hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    height: 3px;
    background: rgba(17, 87, 54, 0.12);
    overflow: hidden;
}
.hero-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #65A20D, #7abf15);
}

/* ---------- Dynamique accueil : CTA final au dégradé vivant ---------- */
.bandeau-cta-anime {
    background-size: 220% 220%;
    animation: ctaFluide 14s ease-in-out infinite alternate;
}
@keyframes ctaFluide {
    from { background-position: 0% 20%; }
    to   { background-position: 100% 80%; }
}

/* ---------- Dynamique accueil : reflet sur le panneau Topicrem ---------- */
.panel-topicrem { position: relative; }
.panel-topicrem::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
    background-size: 250% 100%;
    background-position: 130% 0;
    opacity: 0;
    transition: opacity 0.35s ease, background-position 0.9s ease;
}
.panel-topicrem:hover::after {
    opacity: 1;
    background-position: -50% 0;
}

/* ---------- Bandeau plein largeur Topicrem (accueil) ---------- */
.produits-bloc-topicrem .swiper-pagination { margin-top: 1.5rem; }
.produits-bloc-topicrem .swiper-pagination-bullet { background: #fff; opacity: 0.3; }
.produits-bloc-topicrem .swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 4px; }
.produits-bloc-topicrem .btn-slider {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(4px);
}
.produits-bloc-topicrem .btn-slider:hover { background: #fff; border-color: #fff; color: #073620; }

/* ---------- Dynamique accueil : CTA héro, flèche qui s'élance ---------- */
.hero-actions a svg {
    transition: transform 0.25s ease;
}
.hero-actions a:hover svg {
    transform: translateX(5px);
}

/* ---------- Dynamique accueil : étoiles du témoignage ---------- */
html.js .reveal.visible .etoile { animation: popEtoile 0.55s ease backwards; }
html.js .reveal.visible .etoile:nth-child(2) { animation-delay: 0.12s; }
html.js .reveal.visible .etoile:nth-child(3) { animation-delay: 0.24s; }
html.js .reveal.visible .etoile:nth-child(4) { animation-delay: 0.36s; }
html.js .reveal.visible .etoile:nth-child(5) { animation-delay: 0.48s; }
@keyframes popEtoile {
    from { opacity: 0; transform: scale(0.3) rotate(-30deg); }
    to   { opacity: 1; transform: none; }
}

/* ---------- Dynamique accueil : progression du défilement ---------- */
.barre-defilement {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 3px;
    background: transparent;
    pointer-events: none;
}
.barre-defilement span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #115736, #65A20D);
}

/* ---------- Fiche produit (produit.php) : proportions calibrées sans défilement forcé ---------- */
.fiche-produit-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1024px) {
    .fiche-produit-grille {
        grid-template-columns: 380px minmax(0, 1fr);
        gap: 2.5rem;
    }
}
@media (min-width: 1280px) {
    .fiche-produit-grille {
        grid-template-columns: 410px minmax(0, 1fr);
        gap: 3rem;
    }
}
.fiche-visuel-principal {
    max-width: 410px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
@media (min-width: 1024px) {
    .fiche-visuel-principal {
        margin-left: 0;
        margin-right: 0;
    }
}
.fiche-visuel-principal img {
    max-height: 100%;
    object-fit: contain;
}

/* ---------- Galerie photos miniatures fiche produit ---------- */
.fiche-galerie {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.fiche-galerie-btn {
    position: relative;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    padding: 3px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background-color: #f8fafc;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fiche-galerie-btn:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.fiche-galerie-btn.actif,
.fiche-galerie-btn[aria-current="true"] {
    border-color: #115736;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(17, 87, 54, 0.25);
    transform: translateY(-1px);
}
.fiche-galerie-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    pointer-events: none;
}
@media (max-width: 640px) {
    .fiche-galerie {
        gap: 6px;
    }
    .fiche-galerie-btn {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        padding: 2px;
    }
}

/* ---------- Bouton Commander sur WhatsApp ---------- */
.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    border: none;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}
.btn-whatsapp:hover {
    background-color: #20bd5a;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-1px);
}
.btn-whatsapp:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* ---------- Ligne d'actions fiche produit (Quantité + Panier + WhatsApp sur la même ligne) ---------- */
.fiche-actions-ligne {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 1.25rem;
    width: 100%;
}
@media (max-width: 639px) {
    .fiche-actions-ligne {
        flex-wrap: wrap;
    }
}

/* ============================================================
   DESIGN SYSTEM 2.0 — CLASSES UTILITAIRES UNIFIÉES
   (Remplacement définitif des blocs <style> page par page)
   ============================================================ */

/* Couleurs & Variantes Emerald (Succès, validation, stock, tri) */
.bg-emerald-50  { background-color: #ecfdf5 !important; }
.bg-emerald-100 { background-color: #d1fae5 !important; }
.bg-emerald-200 { background-color: #a7f3d0 !important; }
.bg-emerald-500 { background-color: #10b981 !important; }
.bg-emerald-600 { background-color: #059669 !important; }
.bg-emerald-700 { background-color: #047857 !important; }
.bg-emerald-800 { background-color: #065f46 !important; }
.bg-emerald-900 { background-color: #064e3b !important; }
.border-emerald-100 { border-color: #d1fae5 !important; }
.border-emerald-200 { border-color: #a7f3d0 !important; }
.border-emerald-300 { border-color: #6ee7b7 !important; }
.border-emerald-500 { border-color: #10b981 !important; }
.border-emerald-600 { border-color: #059669 !important; }
.text-emerald-100 { color: #d1fae5 !important; }
.text-emerald-200 { color: #a7f3d0 !important; }
.text-emerald-500 { color: #10b981 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-emerald-800 { color: #065f46 !important; }
.text-emerald-900 { color: #064e3b !important; }

/* Pseudo-classes Hover & Focus pour Emerald */
.hover\:bg-emerald-50:hover  { background-color: #ecfdf5 !important; }
.hover\:bg-emerald-100:hover { background-color: #d1fae5 !important; }
.hover\:bg-emerald-200:hover { background-color: #a7f3d0 !important; }
.hover\:bg-emerald-600:hover { background-color: #059669 !important; }
.hover\:bg-emerald-700:hover { background-color: #047857 !important; }
.hover\:bg-emerald-800:hover { background-color: #065f46 !important; }
.hover\:text-emerald-700:hover { color: #047857 !important; }
.hover\:text-emerald-800:hover { color: #065f46 !important; }
.focus\:border-emerald-500:focus { border-color: #10b981 !important; }
.focus\:ring-emerald-100:focus { --tw-ring-color: #d1fae5 !important; }

/* Boutons de navigation et de tri du catalogue */
.btn-tri {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
}
.btn-tri-actif {
    background-color: #065f46 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px -2px rgba(6, 95, 70, 0.35) !important;
}
.btn-tri-actif:hover {
    background-color: #047857 !important;
    color: #ffffff !important;
}
.btn-tri-actif.btn-tri-promo {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px -2px rgba(220, 38, 38, 0.35) !important;
}
.btn-tri-actif.btn-tri-promo:hover {
    background-color: #b91c1c !important;
    color: #ffffff !important;
}
.btn-tri-inactif {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #d1fae5;
}
.btn-tri-inactif:hover {
    background-color: #d1fae5 !important;
    color: #047857 !important;
}
.btn-tri-inactif.btn-tri-promo {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fee2e2;
}
.btn-tri-inactif.btn-tri-promo:hover {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
}

/* Couleurs & Nuances Bleues & Sauge */
.bg-blue-50   { background-color: #eff6ff !important; }
.bg-blue-100  { background-color: #dbeafe !important; }
.bg-blue-600  { background-color: #2563eb !important; }
.border-blue-200 { border-color: #bfdbfe !important; }
.text-blue-200 { color: #bfdbfe !important; }
.text-blue-700 { color: #1d4ed8 !important; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8 !important; }

.bg-sage-50   { background-color: var(--atlas-sage-bg) !important; }
.border-sage-200 { border-color: var(--atlas-sage-border) !important; }
.text-sage-700 { color: var(--atlas-sage-text) !important; }

/* Transparences blanches (Sur fonds sombres / héro) */
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.10) !important; }
.bg-white\/15 { background-color: rgba(255, 255, 255, 0.15) !important; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.20) !important; }
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.30) !important; }
.text-white\/30 { color: rgba(255, 255, 255, 0.30) !important; }
.text-white\/40 { color: rgba(255, 255, 255, 0.40) !important; }
.text-white\/50 { color: rgba(255, 255, 255, 0.50) !important; }
.text-white\/60 { color: rgba(255, 255, 255, 0.60) !important; }
.text-white\/70 { color: rgba(255, 255, 255, 0.70) !important; }
.hover\:text-white:hover { color: #ffffff !important; }

/* Focus Rings & Interactions */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(17, 87, 54, 0.4)) !important; }
.focus\:ring-atlas-100:focus { --tw-ring-color: rgb(223 228 245) !important; }
.focus\:ring-atlas-500:focus { --tw-ring-color: rgb(75 90 177) !important; }
.focus\:ring-red-100:focus   { --tw-ring-color: rgb(254 226 226) !important; }
.active\:scale-\[\.98\]:active { transform: scale(0.98); }

/* Espacements & Dimensions d'alignement fin */
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.min-w-\[16px\] { min-width: 16px !important; }
.border-dashed { border-style: dashed !important; }
.max-w-5xl { max-width: 64rem !important; }

@media (min-width: 640px) {
    .sm\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
    .sm\:py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .sm\:text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
}
@media (min-width: 1024px) {
    .lg\:px-10 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
    .lg\:grid-cols-\[1fr_380px\] { grid-template-columns: 1fr 380px !important; }
}

/* ── Formulaires & Entrées élégantes (Field-wraps) ── */
.field-wrap { position: relative; }
.field-wrap .f-icon {
    position: absolute; top: 50%; left: 0.85rem; transform: translateY(-50%);
    pointer-events: none; color: #9ca3af;
    display: flex; align-items: center; justify-content: center;
}
.field-wrap .f-icon svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.field-wrap input, .field-wrap select {
    padding-left: 2.6rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease;
}
.field-wrap input:focus, .field-wrap select:focus {
    border-color: var(--atlas-700) !important;
    box-shadow: 0 0 0 3px rgba(17, 87, 54, 0.12) !important;
}
.field-wrap .f-chevron {
    position: absolute; top: 50%; right: 0.85rem; transform: translateY(-50%);
    pointer-events: none; color: #9ca3af; display: flex; align-items: center;
}
.field-wrap .f-chevron svg { width: 1.1rem; height: 1.1rem; }
.field-wrap select { padding-right: 2.6rem !important; -webkit-appearance: none; appearance: none; }

.field-wrap-ta { position: relative; }
.field-wrap-ta .f-icon {
    position: absolute; top: 0.85rem; left: 0.85rem;
    pointer-events: none; color: #9ca3af;
    display: flex; align-items: flex-start;
}
.field-wrap-ta .f-icon svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.field-wrap-ta textarea {
    padding-left: 2.6rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
}

/* En-têtes de section de formulaires */
.section-hd {
    display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.35rem;
    border-bottom: 1px solid #f1f5f9; background: #f8fafc; border-top-left-radius: 1rem; border-top-right-radius: 1rem;
}
.section-num {
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    width: 1.85rem; height: 1.85rem; border-radius: 9999px;
    background: var(--atlas-900); font-size: 0.75rem; font-weight: 800; color: #fff;
}
.section-title {
    font-size: 0.85rem; font-weight: 800; color: #1e293b;
    text-transform: uppercase; letter-spacing: 0.06em; margin: 0;
}

/* ============================================================
   SLIDE-OVER DRAWER CART (Tiroir Panier Latéral)
   ============================================================ */
.drawer-backdrop {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(20, 26, 63, 0.55);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}
.drawer-panel {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 101;
    width: 100%; max-width: 440px;
    background: #ffffff;
    box-shadow: var(--shadow-drawer);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-panel.ouvert {
    transform: translateX(0);
}

/* Barre de progression livraison offerte */
.barre-livraison-wrapper {
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    padding: 0.9rem 1.25rem;
}
.barre-livraison-jauge {
    height: 6px; width: 100%;
    background: #e2e8f0; border-radius: 9999px;
    overflow: hidden; margin-top: 0.5rem;
}
.barre-livraison-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 9999px;
    transition: width 0.5s ease-out;
    position: relative;
    overflow: hidden;
}
.barre-livraison-fill::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

/* Ligne article dans le tiroir */
.drawer-item {
    display: flex; gap: 0.85rem; padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}
.drawer-item:last-child { border-bottom: none; }
.drawer-item-img {
    width: 64px; height: 64px; flex-shrink: 0;
    border-radius: 0.75rem; border: 1px solid #f1f5f9;
    background: #f8fafc; padding: 4px;
    display: flex; align-items: center; justify-content: center;
}
.drawer-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ============================================================
   QUICK VIEW MODAL (Aperçu Rapide)
   ============================================================ */
.quickview-backdrop {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(20, 26, 63, 0.6);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.25s ease-out;
}
.quickview-dialog {
    background: #ffffff;
    border-radius: 1.5rem;
    max-width: 820px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 25px 60px -15px rgba(20, 26, 63, 0.35);
    position: relative;
    animation: quickviewPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes quickviewPop {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   SKELETON LOADERS (Chargement sans saut d'écran)
   ============================================================ */
.skeleton {
    background: #f1f5f9;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 0.5rem;
}
@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Pastille stock vivante (Pulse) */
.pulse-dot {
    position: relative; width: 8px; height: 8px; border-radius: 9999px;
    background: #10b981; display: inline-block;
}
.pulse-dot::after {
    content: ''; position: absolute; inset: -3px; border-radius: 9999px;
    background: rgba(16, 185, 129, 0.4);
    animation: pulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
@keyframes pulseRing {
    0%   { transform: scale(0.7); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ============================================================
   REFONTE ATLAS LUXE — DESIGN SYSTEM 3.0
   (couche de raffinements visuels par-dessus le Design 2.0,
    palette respectée : bleu nuit atlas + rouge accent)
   ============================================================ */

::selection { background: rgba(101, 162, 13, 0.16); }

/* Barre de défilement discrète (WebKit / Chromium) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #f0faf4; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a3e0bf, #a3e0bf);
    border-radius: 9999px;
    border: 2px solid #f0faf4;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #115736, #186d44); }

/* En-têtes de section : cul-de-lampe (kicker) rouge signature */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(101, 162, 13, 0.10), rgba(101, 162, 13, 0.03));
    border: 1px solid rgba(101, 162, 13, 0.18);
    color: #4e7e0a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Boutons « Atlas Luxe » : primaire, secondaire, éclair blanc */
.btn-luxe-primaire {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #65A20D 0%, #4e7e0a 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 30px -12px rgba(101, 162, 13, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-luxe-primaire:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 18px 36px -12px rgba(101, 162, 13, 0.65);
}
.btn-luxe-primaire:active { transform: translateY(0) scale(0.98); }
.btn-luxe-primaire::after {
    content: '';
    position: absolute;
    top: 0; left: -140%;
    width: 55%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}
.btn-luxe-primaire:hover::after { left: 160%; }
.btn-luxe-primaire .icone-sonnerie,
.btn-whatsapp .icone-sonnerie {
    transition: transform 0.3s ease;
}
.btn-luxe-primaire:hover .icone-sonnerie,
.btn-whatsapp:hover .icone-sonnerie {
    animation: sonnerie-tel 0.7s ease-in-out infinite;
}
@keyframes sonnerie-tel {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-16deg); }
    30% { transform: rotate(13deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(7deg); }
    75% { transform: rotate(-4deg); }
}

.btn-luxe-clair {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn-luxe-clair:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

/* Bouton bleu nuit « Atlas Luxe » (deuxième CTA, couleur principale) */
.btn-luxe-bleu {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #073620 0%, #115736 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 30px -12px rgba(17, 87, 54, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-luxe-bleu:hover {
    transform: translateY(-2px);
    filter: brightness(1.10);
    box-shadow: 0 18px 36px -12px rgba(17, 87, 54, 0.65);
}
.btn-luxe-bleu:active { transform: translateY(0) scale(0.98); }

/* ============================================================
   BARRE SUPÉRIEURE ANIMÉE  (messages défilants)
   ============================================================ */
.barre-ticker {
    position: relative;
    overflow: hidden;
    background: linear-gradient(92deg, #073620 0%, #073620 45%, #115736 80%, #0b462b 100%);
    background-size: 240% 240%;
    animation: tickerFond 18s ease-in-out infinite alternate;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
@keyframes tickerFond {
    from { background-position: 0% 50%; }
    to   { background-position: 100% 50%; }
}
.ticker-piste {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-bandeau {
    display: flex;
    align-items: center;
    width: max-content;
    animation: defile-ticker 32s linear infinite;
}
.ticker-piste:hover .ticker-bandeau { animation-play-state: paused; }
@keyframes defile-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-msg {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    padding: 0 1.4rem;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ticker-msg svg { width: 1rem; height: 1rem; color: #65A20D; flex-shrink: 0; }

/* ============================================================
   PROGRESSION DE DÉFILEMENT GLOBALE  (haut de page)
   ============================================================ */
.progression-haut {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 90;
    height: 3px;
    background: transparent;
    pointer-events: none;
}
.progression-haut span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #115736, #65A20D 55%, #7abf15);
    box-shadow: 0 0 12px rgba(101, 162, 13, 0.5);
}

/* ============================================================
   HÉRO « ATLAS LUXE »  (dégradé nuit profond + orbes + vitre)
   ============================================================ */
.hero-luxe {
    background: linear-gradient(150deg, #f0faf4 0%, #f0faf4 38%, #d5f2e3 72%, #d5f2e3 100%);
}
.hero-luxe-motif {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        radial-gradient(rgba(17, 87, 54, 0.16) 1px, transparent 1.4px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 65% 38%, #000 30%, transparent 72%);
    mask-image: radial-gradient(ellipse 85% 75% at 65% 38%, #000 30%, transparent 72%);
}
.hero-orbe {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.5;
    pointer-events: none;
    animation: orbeFlot 12s ease-in-out infinite alternate;
}
.hero-orbe-rouge {
    top: -70px; right: 8%;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(101, 162, 13, 0.4) 0%, transparent 70%);
}
.hero-orbe-navy {
    bottom: -90px; left: -60px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(17, 87, 54, 0.28) 0%, transparent 70%);
    animation-delay: -4s;
}
.hero-orbe-bleu {
    top: 30%; left: 46%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(78, 94, 189, 0.22) 0%, transparent 70%);
    animation-delay: -7s;
}
@keyframes orbeFlot {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 24px) scale(1.12); }
}

/* Pastille d'authenticité (halo rouge pulsant) — mode clair */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    background: rgba(7, 54, 32, 0.06);
    border: 1px solid rgba(7, 54, 32, 0.12);
    color: #073620;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: 0 0 0 0 rgba(101, 162, 13, 0.4);
    animation: haloRouge 3s ease-in-out infinite;
}
@keyframes haloRouge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(101, 162, 13, 0.35); }
    50%      { box-shadow: 0 0 0 10px rgba(101, 162, 13, 0); }
}

/* Titre héro : bleu nuit (couleur principale), trait rouge fin en début */
.hero-titre-luxe {
    position: relative;
    color: #073620;
    letter-spacing: -0.03em;
}
.hero-titre-luxe::before {
    content: '';
    position: absolute;
    top: -0.35em;
    left: 2px;
    width: 3.2rem;
    height: 5px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #65A20D, #7abf15);
}
.hero-sous-titre-luxe { color: rgba(7, 54, 32, 0.78); }

/* Carte « vitre » flottante du héro (métrique + réassurance) */
.hero-carte-vitre {
    position: relative;
    background: linear-gradient(160deg, rgba(44, 56, 126, 0.95), rgba(7, 54, 32, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 1.75rem;
    box-shadow: 0 30px 60px -20px rgba(7, 54, 32, 0.55);
    animation: vitreFlot 7s ease-in-out infinite;
}
@keyframes vitreFlot {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.hero-carte-vitre .v-titre { color: #f0faf4; font-weight: 800; }
.hero-carte-vitre .v-sous { color: rgba(200, 208, 235, 0.75); }
.hero-carte-vitre .v-bloc {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
}
.hero-carte-vitre .v-grad {
    background: linear-gradient(90deg, rgba(101, 162, 13, 0.25), rgba(17, 87, 54, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
}
.hero-carte-vitre .v-etoiles { color: #ffd166; }

/* Pagination & flèches du héro clair */
.hero-luxe .swiper-pagination-bullet { background: #073620; opacity: 0.22; }
.hero-luxe .swiper-pagination-bullet-active { background: #65A20D; opacity: 1; width: 24px; border-radius: 4px; }
.hero-luxe .swiper-button-prev,
.hero-luxe .swiper-button-next {
    color: #073620;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(7, 54, 32, 0.14);
    box-shadow: 0 8px 20px -8px rgba(7, 54, 32, 0.25);
}
.hero-luxe .hero-scroll { color: rgba(7, 54, 32, 0.75); }
.hero-luxe .barre-defilement { background: rgba(7, 54, 32, 0.08); }

/* ============================================================
   CARTES UNIVERS 2.0 — luxe (liseré haut + halo nouveau)
   ============================================================ */
.carte-univers-luxe {
    position: relative;
    overflow: hidden;
    border-radius: 1.65rem;
    background: #ffffff;
    border: 1px solid rgba(219, 224, 240, 0.9);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.carte-univers-luxe:hover {
    transform: translateY(-7px);
    border-color: rgba(17, 87, 54, 0.28);
    box-shadow: 0 26px 50px -22px rgba(7, 54, 32, 0.35);
}
.carte-univers-luxe .liseret-haut {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.carte-univers-luxe .carte-icon-luxe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 1.15rem;
    color: #ffffff;
    box-shadow: 0 12px 24px -10px rgba(7, 54, 32, 0.45);
    transition: transform 0.35s ease;
}
.carte-univers-luxe:hover .carte-icon-luxe { transform: scale(1.1) rotate(-4deg); }
.carte-univers-luxe::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(117deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%);
    background-size: 250% 100%;
    background-position: 140% 0;
    opacity: 0;
    transition: opacity 0.35s ease, background-position 0.7s ease;
}
.carte-univers-luxe:hover::after {
    opacity: 1;
    background-position: -40% 0;
}
@media (max-width: 639px) {
    .carte-univers-luxe {
        border-radius: 1.25rem;
    }
    .carte-univers-luxe .carte-icon-luxe {
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.85rem;
    }
}

/* ============================================================
   TÉMOIGNAGES CARROUSEL (3 avis, rotation Alpine)
   ============================================================ */
.temoignage-stage {
    position: relative;
    min-height: 170px;
}
.temoignage-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.temoignage-slide.actif {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.temoignage-points {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
}
.temoignage-point {
    width: 8px; height: 8px;
    border-radius: 9999px;
    background: #a3e0bf;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}
.temoignage-point.actif {
    width: 26px;
    background: linear-gradient(90deg, #115736, #65A20D);
}

/* ============================================================
   ENCART D'ENGAGEMENT (pied de page) — dégradé nuit animé
   ============================================================ */
.engagement-encart {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #031a0f 0%, #073620 40%, #073620 75%, #0b462b 100%);
    background-size: 220% 220%;
    animation: ctaFluide 16s ease-in-out infinite alternate;
}
.engagement-encart .motif-points {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 20% 20%, #000 20%, transparent 75%);
}

/* Widgets « Réponse rapide » / « Conseil gratuit » : sur mobile, icône à
   gauche et texte à droite (même hauteur que « Paiement flexible ») ;
   à partir de 640px, retour à l'empilement vertical icône en tête. */
@media (min-width: 640px) {
    .engagement-encart .encart-conseil-vertical {
        flex-direction: column;
        align-items: flex-start;
    }
    .engagement-encart .encart-conseil-vertical > div > p:first-child {
        margin-top: 0.75rem;
    }
    .engagement-encart .encart-conseil-vertical > div > p:last-child {
        margin-top: 0.25rem;
    }
}

/* ============================================================
   BARRE D'ACTION MOBILE FIXE (en bas, petit écran)
   ============================================================ */
.barre-mobile-fixe {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 50;
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e7ebf6;
    box-shadow: 0 -12px 30px -18px rgba(7, 54, 32, 0.35);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.barre-mobile-fixe .bm-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0.55rem 0.2rem 0.5rem;
    color: #39436f;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}
.barre-mobile-fixe .bm-item:hover { color: #65A20D; background: rgba(101, 162, 13, 0.05); }
.barre-mobile-fixe .bm-item svg { width: 1.25rem; height: 1.25rem; }
.barre-mobile-fixe .bm-item.bm-panier { position: relative; }
.barre-mobile-fixe .bm-item.bm-panier .bm-focus {
    flex: none;
    width: 2.9rem; height: 2.9rem;
    margin-top: -1.45rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #073620, #115736);
    color: #ffffff;
    box-shadow: 0 10px 24px -8px rgba(17, 87, 54, 0.65);
    transition: transform 0.25s ease;
}
.barre-mobile-fixe .bm-item.bm-panier:hover .bm-focus { transform: scale(1.08); }
.barre-mobile-fixe .bm-item.bm-panier svg { width: 1.35rem; height: 1.35rem; }
.barre-mobile-fixe .bm-nb {
    position: absolute;
    top: -4px; right: 50%;
    transform: translateX(3.3rem);
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 9999px;
    background: #65A20D;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #ffffff, 0 4px 8px rgba(101, 162, 13, 0.4);
}
.barre-mobile-evasement { display: none; }
@media (max-width: 1023px) {
    .barre-mobile-evasement { display: block; height: 70px; }
}

/* ============================================================
   BOUTON WHATSAPP FLOTTANT (desktop, bas-gauche)
   ============================================================ */
.bouton-wa-flottant {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 54;
    display: none;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 9999px;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bouton-wa-flottant:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(37, 211, 102, 0.65); }
.bouton-wa-flottant::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid rgba(37, 211, 102, 0.7);
    animation: haloVerte 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
@keyframes haloVerte {
    0%   { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
@media (min-width: 1024px) {
    .bouton-wa-flottant { display: inline-flex; }
}

/* ============================================================
   BANDE D'AVANTAGES « PRESTIGE » (au-dessus du pied de page)
   ============================================================ */
.bande-avantages-luxe {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #031a0f 0%, #073620 45%, #073620 80%, #0b462b 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.bande-avantages-luxe::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(720px 300px at 12% -60px, rgba(59, 74, 160, 0.5), transparent 60%),
        radial-gradient(460px 240px at 110% 130%, rgba(17, 87, 54, 0.4), transparent 65%);
}
.bande-avantages-luxe .avantages-motif {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.3px);
    background-size: 30px 30px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.avantage-tuile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.avantage-tuile:hover {
    transform: translateY(-4px);
    border-color: rgba(101, 162, 13, 0.4);
    background: rgba(255, 255, 255, 0.08);
}
.avantage-liseret {
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    border-radius: 0 0 8px 8px;
}
.avantage-icone {
    position: relative;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 22px -6px rgba(4, 7, 22, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.35s ease;
}
.avantage-tuile:hover .avantage-icone { transform: scale(1.08) rotate(-4deg); }
.avantage-icone svg { width: 22px; height: 22px; }
.avantage-texte { position: relative; min-width: 0; }
.avantage-texte strong {
    display: block;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.avantage-texte small {
    display: block;
    margin-top: 2px;
    color: #aab4dd;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ============================================================
   PAGES MÉTIER — en-tête de page « Atlas Luxe » (panier, etc.)
   ============================================================ */
.entete-page-luxe {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #031a0f 0%, #073620 45%, #073620 80%, #0b462b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.entete-page-luxe::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(620px 260px at 88% -40px, rgba(101, 162, 13, 0.5), transparent 62%),
        radial-gradient(520px 250px at 6% 120%, rgba(17, 87, 54, 0.45), transparent 60%);
}
.entete-page-motif {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.3px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.page-titre-luxe {
    position: relative;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.page-titre-luxe::before {
    content: '';
    position: absolute;
    top: -0.45em;
    left: 2px;
    width: 3rem;
    height: 5px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #65A20D, #7abf15);
}
.page-crumb {
    color: rgba(199, 207, 234, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
}
.page-crumb a { color: inherit; transition: color 0.2s ease; }
.page-crumb a:hover { color: #ffffff; }
.page-sous-titre {
    color: rgba(199, 207, 234, 0.72);
    font-size: 0.85rem;
    font-weight: 600;
}
.btn-vider-luxe {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.62rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.92);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-vider-luxe svg { width: 1rem; height: 1rem; }
.btn-vider-luxe:hover {
    background: rgba(101, 162, 13, 0.14);
    border-color: rgba(101, 162, 13, 0.55);
    color: #ffb3b5;
}

/* ============================================================
   PAGE PANIER — lignes de commande « Atlas Luxe »
   ============================================================ */
.cart-line-luxe {
    position: relative;
    display: flex;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #e6ebf7;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px -22px rgba(7, 54, 32, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cart-line-luxe:hover {
    transform: translateY(-2px);
    border-color: #b9c4ea;
    box-shadow: 0 20px 44px -24px rgba(7, 54, 32, 0.34);
}
.cart-line-img {
    flex: none;
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: #f0faf4;
    border: 1px solid #f0faf4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 640px) {
    .cart-line-img { width: 7rem; height: 7rem; }
}
.cart-ligne-marque {
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4e7e0a;
}
.cart-retirer-btn {
    flex: none;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9aa3c4;
    transition: color 0.2s ease, background 0.2s ease;
}
.cart-retirer-btn svg { width: 1rem; height: 1rem; }
.cart-retirer-btn:hover { color: #65A20D; background: #f2f9e6; }
.cart-quantite {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid #dde4f4;
    background: #f6f8fd;
    overflow: hidden;
}
.cart-quantite button {
    width: 2.3rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: #5a628e;
    transition: background 0.2s ease, color 0.2s ease;
}
.cart-quantite button:hover:not(:disabled) { background: #073620; color: #ffffff; }
.cart-quantite button:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-quantite .cart-quantite-nb {
    min-width: 2.4rem;
    text-align: center;
    font-weight: 900;
    color: #073620;
}
.cart-ligne-total {
    font-size: 1.05rem;
    font-weight: 900;
    color: #073620;
}

/* ============================================================
   PAGE PANIER — récapitulatif « Atlas Luxe » (verre nuit)
   ============================================================ */
.recap-luxe {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #073620 0%, #031a0f 55%, #031a0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1.75rem;
    box-shadow: 0 30px 60px -28px rgba(7, 54, 32, 0.55);
}
.recap-luxe-motif {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.3px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 85% 0, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 80% at 85% 0, #000 20%, transparent 75%);
}
.recap-luxe .recap-texte { color: rgba(255, 255, 255, 0.66); }
.recap-luxe .recap-val { color: #ffffff; font-weight: 700; }
.recap-luxe .recap-val-livraison { color: #8be0b6; font-weight: 700; }
.recap-luxe .recap-sep { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.recap-luxe .recap-total {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.01em;
}
.recap-luxe .recap-note { color: rgba(255, 255, 255, 0.5); font-size: 0.72rem; line-height: 1.5; }
.recap-luxe .recap-retour {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(199, 207, 234, 0.85);
    transition: color 0.2s ease;
}
.recap-luxe .recap-retour:hover { color: #ffffff; }
.paiement-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 9999px;
    padding: 0.32rem 0.8rem;
    font-size: 0.66rem;
    font-weight: 800;
    color: #ffffff;
}

/* Récapitulatif collant sur desktop (toujours visible au défilement,
   sous l'en-tête sticky). Les utilitaires lg:sticky/ lg:top-28 ne sont
   pas compilés dans tailwind.css, on passe donc par ce style custom. */
@media (min-width: 1024px) {
    .recap-luxe-sticky {
        position: sticky;
        top: 7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-orbe, .hero-carte-vitre, .hero-tag,
    .barre-ticker, .ticker-bandeau, .engagement-encart,
    .bouton-wa-flottant::before {
        animation: none !important;
    }
}

/* ============================================================
   EN-TÊTE — boutons « Panier » et « Connexion / Bonjour »
   ============================================================ */
/* Libellés des boutons en-tête (masqués sur mobile, visibles sur PC) */
.btn-texte-desktop {
    display: none;
}

.btn-panier-luxe {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #073620 0%, #115736 100%);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 800;
    flex-shrink: 0;
    white-space: nowrap;
    box-shadow: none;
    transition: transform 0.22s ease, filter 0.22s ease;
}
.btn-panier-luxe svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.btn-panier-luxe:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: none;
}
.btn-panier-luxe:active { transform: translateY(0) scale(0.97); }

.panier-badge-luxe {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #65A20D 0%, #4e7e0a 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #ffffff, 0 6px 12px -2px rgba(101, 162, 13, 0.55);
}

.btn-compte-luxe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: 9999px;
    border: 1px solid #d3daee;
    background: #ffffff;
    color: #073620;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

/* Sur PC et grands écrans (>= 1024px) : affichage des libellés complets */
@media (min-width: 1024px) {
    .btn-texte-desktop {
        display: inline;
    }
    .btn-panier-luxe {
        width: auto;
        height: 2.65rem;
        padding: 0 1.25rem;
        gap: 0.55rem;
    }
    .btn-compte-luxe {
        width: auto;
        height: 2.65rem;
        padding: 0 1.15rem;
        gap: 0.5rem;
    }
}
.btn-compte-luxe svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #5a628e;
    flex-shrink: 0;
    transition: color 0.2s ease;
}
@media (min-width: 640px) {
    .btn-compte-luxe svg {
        width: 1.15rem;
        height: 1.15rem;
    }
}
.btn-compte-luxe:hover {
    border-color: #8fa0cf;
    color: #073620;
    box-shadow: 0 10px 22px -14px rgba(7, 54, 32, 0.4);
    transform: translateY(-1px);
}
.btn-compte-luxe:hover svg { color: #073620; }

/* Barre de recherche au centre de l'en-tête (tablette & PC) */
.zone-recherche-entete {
    display: none;
    flex: 1 1 0%;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
@media (min-width: 768px) {
    .zone-recherche-entete {
        display: flex !important;
    }
    .md\:flex {
        display: flex !important;
    }
}
@media (min-width: 1024px) {
    .zone-recherche-entete {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
.form-recherche-entete {
    width: 100%;
    max-width: 22rem;
    min-width: 0;
}
@media (min-width: 1024px) {
    .form-recherche-entete {
        max-width: 28rem;
    }
}
@media (min-width: 1280px) {
    .form-recherche-entete {
        max-width: 32rem;
    }
}
.champ-recherche-entete {
    width: 100%;
    min-width: 0;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background-color: rgba(248, 250, 252, 0.95);
    padding-left: 1.15rem;
    padding-right: 3.25rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    outline: none;
}
.champ-recherche-entete:focus {
    background-color: #ffffff;
    border-color: #3a4790;
    box-shadow: 0 0 0 4px rgba(75, 90, 177, 0.12);
}
.champ-recherche-entete::placeholder {
    color: #94a3b8;
}

/* Bouton loupe intégré aux champs de recherche de l'en-tête */
.btn-recherche-entete {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 9999px;
    background-color: #65A20D;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: background-color 0.18s ease, transform 0.18s ease;
    flex-shrink: 0;
}
.btn-recherche-entete:hover {
    background-color: #4e7e0a;
}
.btn-recherche-entete:active {
    transform: translateY(-50%) scale(0.95);
}
@media (min-width: 640px) {
    .btn-recherche-entete {
        right: 0.375rem;
        width: 2.25rem;
        height: 2.25rem;
    }
}
.top-1\/2 { top: 50% !important; }
.-translate-y-1\/2 { transform: translateY(-50%) !important; }

/* Marge basse généreuse APRÈS la description produit (avant « Produits
   associés »). Les utilitaires pb-* de Tailwind ne sont pas compilés. */
.section-produit-texte {
    padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
    .section-produit-texte {
        padding-bottom: 4.5rem;
    }
}

/* ============================================================
   RACCOURCIS TAILWIND MANQUANTS (build partiel)
   Utilitaires utilisés dans les pages publiques mais absents de
   tailwind.css (blocs « Nos univers » et « Notre promesse »).
   ============================================================ */

/* Padding interne des cartes (p-7 absent du build) */
.p-7 { padding: 1.75rem; }

/* Tailles d'icônes / pastilles */
.w-13 { width: 3.25rem; }
.h-13 { height: 3.25rem; }
.w-6\.5 { width: 1.625rem; }
.h-6\.5 { height: 1.625rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }

/* Ombres discrètes (shadow-xs / shadow-2xs / hover:shadow-lg) */
.shadow-xs { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-2xs { box-shadow: 0 1px 1px 0 rgb(0 0 0 / 0.04); }
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.10);
}

/* Échelle slate absente du build (textes) */
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }

/* Fonds & bordures slate absents du build */
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-50\/70 { background-color: rgb(248 250 252 / 0.7); }
.bg-slate-900 { background-color: #0f172a; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-200\/80 { border-color: rgb(226 232 240 / 0.8); }

/* Teintes restantes des icônes « Notre promesse » */
.bg-emerald-400 { background-color: #34d399; }
.border-emerald-100 { border-color: #d1fae5; }
.border-blue-100 { border-color: #dbeafe; }
.bg-purple-50 { background-color: #faf5ff; }
.text-purple-600 { color: #9333ea; }
.border-purple-100 { border-color: #f3e8ff; }
.text-amber-600 { color: #d97706; }
.border-amber-100 { border-color: #fef3c7; }

/* Effets group-hover des cartes « Nos univers » */
.group:hover .group-hover\:text-atlas-red { color: #65A20D; }
.group:hover .group-hover\:translate-x-1\.5 { transform: translateX(0.375rem); }

/* ============================================================
   AUDIT 2026 — RATTRAPAGE UTILITAIRES MANQUANTS DU BUILD
   Classes utilisées dans les pages rendues mais absentes de
   tailwind.css (build partiel). Valeurs Tailwind v3.
   ============================================================ */

/* Layout & dimensions */
.h-11 { height: 2.75rem; }
.max-h-full { max-height: 100%; }
.max-w-full { max-width: 100%; }
.max-w-lg { max-width: 32rem; }
.max-w-xs { max-width: 20rem; }
.w-3\/4 { width: 75%; }
.inset-x-0 { right: 0; left: 0; }
.bottom-0 { bottom: 0; }
.-bottom-20 { bottom: -5rem; }
.-left-12 { left: -3rem; }
.-mr-2 { margin-right: -0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mt-7 { margin-top: 1.75rem; }
.pt-1 { padding-top: 0.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.z-2 { z-index: 2; }
.z-20 { z-index: 20; }
.z-\[100\] { z-index: 100; }
.z-\[110\] { z-index: 110; }

/* Bordures */
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-none { border-style: none; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200\/60 { border-color: rgb(226 232 240 / 0.6); }
.border-gray-200\/60 { border-color: rgb(229 231 235 / 0.6); }
.border-gray-200\/80 { border-color: rgb(229 231 235 / 0.8); }
.border-emerald-500\/30 { border-color: rgb(16 185 129 / 0.3); }

/* Fonds */
.bg-\[\#7abf15\] { background-color: #7abf15; }
.bg-amber-400 { background-color: #fbbf24; }
.bg-emerald-500\/15 { background-color: rgb(16 185 129 / 0.15); }
.bg-gray-50\/80 { background-color: rgb(249 250 251 / 0.8); }
.bg-rose-400 { background-color: #fb7185; }
.bg-rose-900 { background-color: #881337; }
.bg-sky-400 { background-color: #38bdf8; }
.bg-sky-900 { background-color: #0c4a6e; }
.bg-slate-50\/50 { background-color: rgb(248 250 252 / 0.5); }
.bg-slate-50\/80 { background-color: rgb(248 250 252 / 0.8); }
.bg-slate-50\/90 { background-color: rgb(248 250 252 / 0.9); }

/* Textes */
.text-slate-200\/90 { color: rgb(226 232 240 / 0.9); }
.text-amber-500 { color: #f59e0b; }
.text-blue-600 { color: #2563eb; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-500 { color: #10b981; }
.text-atlas-400 { color: rgb(118 132 200 / 1); }
.text-\[\#25d366\] { color: #25d366; }
.text-\[\#39436f\]\/90 { color: rgb(57 67 111 / 0.9); }
.text-\[\#65A20D\] { color: #65A20D; }
.text-\[\#d5f2e3\]\/75 { color: rgb(223 228 245 / 0.75); }
.text-\[\#d5f2e3\]\/85 { color: rgb(223 228 245 / 0.85); }
.text-\[\#f6b9ba\] { color: #f6b9ba; }
.text-\[9px\] { font-size: 9px; }
.leading-\[1\.1\] { line-height: 1.1; }
.font-black { font-weight: 900; }
.placeholder-slate-400::placeholder { color: #94a3b8; }
.decoration-gray-300 { text-decoration-color: #d1d5db; }
.fill-current { fill: currentColor; }
.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

/* Effets */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.duration-200 { transition-duration: 0.2s; }
.gap-3\.5 { gap: 0.875rem; }
.gap-y-3 { row-gap: 0.75rem; }

/* Variantes interactive (hover / focus / active) */
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:text-gray-700:hover { color: #374151; }
.focus\:border-atlas-600:focus { border-color: rgb(58 71 144 / 1); }
.focus\:ring-4:focus { box-shadow: 0 0 0 4px var(--tw-ring-color, rgb(58 74 158 / 0.4)); }
.focus\:ring-atlas-500\/10:focus { --tw-ring-color: rgb(75 90 177 / 0.1); }
.focus\:text-atlas-800:focus { color: rgb(35 45 92 / 1); }
.focus-within\:opacity-100:focus-within { opacity: 1; }
.focus-within\:visible:focus-within { visibility: visible; }
.group:focus-within .group-focus-within\:opacity-100 { opacity: 1; }
.group:focus-within .group-focus-within\:visible { visibility: visible; }
.group:focus-within .group-focus-within\:rotate-180 { transform: rotate(180deg); }
.group:hover .group-hover\:bg-accent-600 { background-color: rgb(179 31 35 / 1); }
.group:hover .group-hover\:border-atlas-200 { border-color: rgb(195 203 234 / 1); }

/* Responsive sm / lg / xl */
@media (min-width: 640px) {
    .sm\:gap-8 { gap: 2rem; }
    .sm\:h-5 { height: 1.25rem; }
    .sm\:p-6 { padding: 1.5rem; }
    .sm\:p-7 { padding: 1.75rem; }
    .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
    .sm\:px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
    .sm\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .sm\:py-4 { padding-top: 1rem; padding-bottom: 1rem; }
    .sm\:py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
    .sm\:py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
    .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
    .sm\:py-9 { padding-top: 2.25rem; padding-bottom: 2.25rem; }
    .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
    .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .sm\:w-5 { width: 1.25rem; }
    .sm\:w-8 { width: 2rem; }
}
@media (min-width: 1024px) {
    .lg\:inline-flex { display: inline-flex; }
    .lg\:pt-10 { padding-top: 2.5rem; }
    .lg\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
    .lg\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .lg\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .lg\:text-\[3\.5rem\] { font-size: 3.5rem; line-height: 1.05; }
    .lg\:top-24 { top: 6rem; }
    .lg\:w-\[28rem\] { width: 28rem; }
}
@media (min-width: 1280px) {
    .xl\:inline-flex { display: inline-flex; }
}

/* ============================================================
   UTILITAIRES DE COULEURS ET BOUTONS PRESTIGE (BANABANA AGRO)
   Garantit le rendu des couleurs primaires (#073620) et prévient
   tout bouton à texte clair sur fond clair.
   ============================================================ */
.bg-\[\#073620\],
.bg-primary,
.bg-atlas-primaire {
    background-color: #073620 !important;
}

.text-\[\#073620\],
.text-primary,
.text-atlas-primaire {
    color: #073620 !important;
}

.bg-\[\#65A20D\],
.bg-secondary,
.bg-atlas-secondaire {
    background-color: #65A20D !important;
}

.text-\[\#65A20D\],
.text-secondary,
.text-atlas-secondaire {
    color: #65A20D !important;
}

.hover\:bg-\[\#0b462b\]:hover {
    background-color: #0b462b !important;
}

.hover\:bg-\[\#52840a\]:hover {
    background-color: #52840a !important;
}

.btn-action-produit,
.btn-action-produit-sm {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background-color: #073620 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 0.75rem !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-action-produit-sm {
    gap: 0.375rem !important;
    font-size: 0.75rem !important;
    padding: 0.375rem 0.875rem !important;
    border-radius: 0.5rem !important;
}

.btn-action-produit {
    font-size: 0.875rem !important;
    padding: 0.625rem 1.25rem !important;
}

.btn-action-produit:hover,
.btn-action-produit-sm:hover {
    background-color: #0b462b !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.btn-deconnexion-vendeur {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    background-color: #073620 !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease-in-out !important;
    white-space: nowrap !important;
}

.btn-deconnexion-vendeur:hover {
    background-color: #0b462b !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    transform: translateY(-1px) !important;
}

/* ============================================================
   Section Vidéo Terroir (Page d'accueil) - 2 Colonnes
   ============================================================ */
.section-video-terroir {
    background: linear-gradient(135deg, #052616 0%, #073620 55%, #0c4d2d 100%) !important;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    padding: 3.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .section-video-terroir {
        padding: 4.5rem 1.5rem;
    }
}

.section-video-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-video-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    align-items: center !important;
}

@media (min-width: 992px) {
    .section-video-grid {
        grid-template-columns: 1.05fr 0.95fr !important;
        gap: 3.5rem !important;
    }
}

/* Colonne Vidéo */
.section-video-col-media {
    width: 100% !important;
}

.section-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem;
    overflow: hidden;
    background-color: #000000;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (min-width: 640px) {
    .section-video-wrapper {
        border-radius: 1.5rem;
    }
}

.section-video-element {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    cursor: pointer;
}

/* Badge format */
.video-badge-format {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.video-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: #65A20D;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Barre de contrôles */
.video-controles-barre {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    right: 0.85rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-btn-ctrl {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-btn-ctrl:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

.video-btn-carre {
    padding: 0.45rem 0.6rem;
}

/* Dégradé bas */
.video-ombre-bas {
    position: absolute;
    inset: auto 0 0 0;
    height: 5.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

/* Overlay central */
.video-overlay-flash {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.video-overlay-flash-rond {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    color: #073620;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Colonne Texte */
.section-video-col-texte {
    width: 100% !important;
}

.section-video-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a7f3d0;
    background: rgba(101, 162, 13, 0.22);
    border: 1px solid rgba(101, 162, 13, 0.45);
    margin-bottom: 0.85rem;
}

.section-video-titre {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 0.75rem 0 !important;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .section-video-titre {
        font-size: 1.65rem !important;
    }
}

.section-video-intro {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0 0 1.35rem 0 !important;
}

@media (min-width: 640px) {
    .section-video-intro {
        font-size: 1.05rem !important;
    }
}

/* Cartes atouts */
.section-video-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.section-video-point-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.section-video-point-item:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateX(4px);
}

.section-video-point-icone {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    background: rgba(101, 162, 13, 0.25);
    border: 1px solid rgba(101, 162, 13, 0.45);
    color: #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.section-video-point-titre {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 0.2rem 0 !important;
}

.section-video-point-texte {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 !important;
}

/* Boutons d'action */
.section-video-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.section-video-btn-primaire {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 9999px;
    background: #ffffff;
    color: #073620 !important;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.section-video-btn-primaire:hover {
    background: #f0fdf4;
    color: #052616 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.3);
}

.section-video-btn-secondaire {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.section-video-btn-secondaire:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

/* =============================================================
   MÉGA-MENU : MARCHÉ & RÉCOLTES (BANABANA AGRO)
   ============================================================= */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: -60px;
    padding-top: 12px;
    width: 860px;
    max-width: calc(100vw - 32px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .mega-menu-wrapper {
        left: -140px;
        width: 780px;
    }
}

.group:hover .mega-menu-wrapper,
.group:focus-within .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(7, 54, 32, 0.18), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    overflow: hidden;
}

.mega-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.mega-menu-badge-filiere {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #073620;
}

.mega-menu-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #65A20D;
    display: inline-block;
}

.mega-menu-cta-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #65A20D;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mega-menu-cta-all:hover {
    color: #4d7c0f;
    transform: translateX(2px);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.mega-menu-item-block {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.875rem;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.mega-menu-item-block:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mega-menu-cat-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.mega-menu-cat-link:hover {
    color: #073620;
}

.mega-menu-cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.mega-menu-sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mega-menu-sub-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: #64748b;
    text-decoration: none;
    line-height: 1.35;
    padding: 0.2rem 0;
    transition: all 0.15s ease;
}

.mega-menu-sub-link::before {
    content: "•";
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.mega-menu-sub-link:hover {
    color: #073620;
    font-weight: 600;
    padding-left: 0.25rem;
}

.mega-menu-sub-link:hover::before {
    color: #65A20D;
    transform: scale(1.3);
}