/**
 * Hi Afrika — Refonte Premium 2026 (v2.3)
 * Style épuré, sophistiqué, inspiré de la maquette Hi Afrika Lifestyle
 *
 * Palette principale :
 *  - Noir profond #0E0E0E pour les fonds sombres
 *  - Doré #C8A560 pour les accents
 *  - Crème #F5EDE0 pour les zones claires
 *  - Bleu indigo #1E3A5F (vêtements traditionnels)
 *
 * @package Hi_Afrika
 * @version 2.3.0
 */

/* ════════════════════════════════════════════════════════════════════════════
   0. PALETTE PREMIUM
   ════════════════════════════════════════════════════════════════════════════ */
:root {
    --ha-black: #0E0E0E;
    --ha-black-soft: #1A1A1A;
    --ha-gold: #C8A560;
    --ha-gold-light: #D9BC7D;
    --ha-gold-dark: #A88845;
    --ha-cream: #F5EDE0;
    --ha-cream-deep: #EBE0CB;
    --ha-text-dark: #2B2520;
    --ha-text-muted: #7A7066;
    --ha-text-light: #E5DBC9;
}

/* ════════════════════════════════════════════════════════════════════════════
   1. BANDEAU TOP — "MADE IN NIGER • ROOTED IN AFRICA, DESIGNED FOR THE WORLD"
   ════════════════════════════════════════════════════════════════════════════ */
.top-banner {
    background-color: var(--ha-black);
    color: var(--ha-gold);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(200, 165, 96, 0.15);
}

.top-banner .separator {
    display: inline-block;
    margin: 0 12px;
    opacity: 0.6;
}

/* ════════════════════════════════════════════════════════════════════════════
   2. HEADER PREMIUM — Fond transparent sombre, logo doré, nav centrée
   ════════════════════════════════════════════════════════════════════════════ */
.site-header {
    position: absolute;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    border-bottom: none;
    padding: 18px 0;
}

.site-header::before,
.site-header::after {
    display: none !important;
}

.site-header .header-container,
.site-header .header-inner,
.site-header > .container {
    position: relative;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Logo HI AFRIKA + LIFESTYLE doré */
.site-branding,
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-branding::before,
.site-logo::before {
    display: none !important;
}

.site-title,
.site-branding a,
.site-logo a {
    color: var(--ha-gold);
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
}

.site-description,
.site-tagline {
    color: var(--ha-gold);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 4px;
}

/* Colonne nom + slogan sous le logo texte. */
.site-logo__wordmark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

/* Navigation centrale */
.main-nav,
.primary-menu,
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.main-nav ul,
.primary-menu ul,
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a,
.primary-menu a,
.nav-menu a {
    color: var(--ha-text-light);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4px 0;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a:hover,
.primary-menu a:hover,
.nav-menu a:hover,
.main-nav .current-menu-item > a,
.primary-menu .current-menu-item > a,
.nav-menu .current-menu-item > a {
    color: var(--ha-gold);
}

/* Soulignement doré sous l'item actif */
.main-nav .current-menu-item > a::after,
.primary-menu .current-menu-item > a::after,
.nav-menu .current-menu-item > a::after,
.main-nav a:hover::after,
.primary-menu a:hover::after,
.nav-menu a:hover::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 18px;
    height: 1.5px;
    background: var(--ha-gold);
}

/* Pas de séparateurs entre items de menu */
.main-nav ul li + li::before,
.primary-menu li + li::before,
.nav-menu li + li::before {
    display: none !important;
}

/* Actions à droite (recherche, compte, panier) */
.header-actions,
.header-tools {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-actions a,
.header-actions button,
.header-tools a,
.header-tools button {
    color: var(--ha-text-light);
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.header-actions a:hover,
.header-actions button:hover,
.header-tools a:hover,
.header-tools button:hover {
    color: var(--ha-gold);
}

/* Compteur du panier */
.cart-count,
.cart-counter {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--ha-gold);
    color: var(--ha-black);
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ════════════════════════════════════════════════════════════════════════════════
   3. HERO — Texte à gauche + photo à droite (visage toujours visible)
   ═════════════════════════════════════════════════════════════════════════════════ */

.hero-section {
    position: relative;
    min-height: clamp(580px, 92vh, 840px);
    background-color: var(--ha-black);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 150px 0 84px;
    isolation: isolate;
}

/* Neutraliser tous les anciens décors plein écran. */
.hero-section::before,
.hero-section::after { display: none !important; }
.hero-kente-top,
.hero-circle-decor,
.hero-floating-symbols,
.hero-symbol,
.triangles-divider { display: none !important; }

/* Image plein cadre : la femme a droite, le tissu colore en fond. */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--hero-image, none);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: var(--hero-focus, 50% 38%);
}

/* Voile degrade : tres sombre a gauche (texte lisible) -> clair a droite (visage). */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(14, 14, 14, 0.94) 0%,
            rgba(14, 14, 14, 0.86) 30%,
            rgba(14, 14, 14, 0.55) 52%,
            rgba(14, 14, 14, 0.22) 74%,
            rgba(14, 14, 14, 0.05) 100%),
        linear-gradient(0deg,
            rgba(14, 14, 14, 0.45) 0%,
            rgba(14, 14, 14, 0.0) 40%);
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 48px;
}

.hero-content {
    color: var(--ha-text-light);
    max-width: 560px;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: 0.005em;
    color: #FFFFFF;
    margin: 0 0 28px;
    text-transform: uppercase;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.hero-content h1 .highlight { color: var(--ha-gold); background: none; display: inline; }
.hero-content h1 .highlight::after { display: none !important; }

.hero-content .ornament-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    color: var(--ha-gold);
}
.hero-content .ornament-divider::before,
.hero-content .ornament-divider::after {
    content: '';
    height: 1px;
    background: var(--ha-gold);
    flex: 0 0 26px;
}
.hero-content .ornament-divider .diamond {
    width: 6px;
    height: 6px;
    background: var(--ha-gold);
    transform: rotate(45deg);
}

.hero-content .hero-subtitle,
.hero-content p.lead {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--ha-text-light);
    margin: 0 0 34px;
    max-width: 430px;
    font-weight: 300;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.hero-cta,
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary,
.hero-cta .btn-primary,
.hero-buttons .btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px;
    background: var(--ha-gold); color: var(--ha-black);
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; text-decoration: none;
    border: 1.5px solid var(--ha-gold); border-radius: 0;
    cursor: pointer; transition: all 0.25s ease;
}
.btn-primary:hover,
.hero-cta .btn-primary:hover { background: var(--ha-gold-light); border-color: var(--ha-gold-light); }

.btn-outline,
.hero-cta .btn-outline,
.hero-buttons .btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px;
    background: transparent; color: var(--ha-text-light);
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; text-decoration: none;
    border: 1.5px solid var(--ha-text-light); border-radius: 0;
    cursor: pointer; transition: all 0.25s ease;
}
.btn-outline:hover { background: var(--ha-text-light); color: var(--ha-black); }

/* Badge rond MADE IN NIGER — coin haut-droit, par-dessus l'image. */
.hero-badge {
    position: absolute;
    top: clamp(104px, 13vh, 158px);
    right: clamp(24px, 5vw, 84px);
    width: 122px;
    height: 122px;
    border-radius: 50%;
    border: 1.5px solid var(--ha-gold);
    display: flex; align-items: center; justify-content: center;
    background: rgba(14, 14, 14, 0.32);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    color: var(--ha-gold);
    z-index: 2;
}
.hero-badge svg { width: 100%; height: 100%; }
.hero-badge text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 11px; letter-spacing: 0.2em;
    fill: var(--ha-gold); text-transform: uppercase;
}
.hero-badge .badge-icon { fill: var(--ha-gold); }


/* ════════════════════════════════════════════════════════════════════════════
   4. TRUST BADGES — Fond crème, 4 icônes ligne fine
   ════════════════════════════════════════════════════════════════════════════ */
.trust-badges {
    background: var(--ha-cream);
    background-image: none !important;
    padding: 50px 0;
    border: none;
    position: relative;
}

.trust-badges::before,
.trust-badges::after {
    display: none !important;
}

.trust-badges > .container,
.trust-badges .container {
    background: transparent !important;
    padding: 0 40px !important;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

.trust-badge {
    display: block;            /* annule le display:flex herite (cartes cassees) */
    background: transparent;   /* annule le fond blanc des cartes heritees */
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex: none;
    text-align: center;
    padding: 0 20px;
    position: relative;
}
/* Neutraliser l'effet de carte au survol herite de l'ancien theme. */
.trust-badge:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* Séparateurs verticaux entre badges */
.trust-badge + .trust-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(43, 37, 32, 0.12);
}

.trust-badge .badge-icon,
.trust-badge svg {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    color: var(--ha-text-dark);
    stroke: var(--ha-text-dark);
    stroke-width: 1.5;
    fill: none;
    display: block;
}

.trust-badge h3,
.trust-badge .badge-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ha-text-dark);
    margin: 0 0 6px;
}

.trust-badge .ornament-small {
    display: block;
    width: 16px;
    height: 1px;
    background: var(--ha-gold);
    margin: 0 auto 12px;
}

.trust-badge p,
.trust-badge .badge-text {
    font-family: Georgia, serif;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--ha-text-muted);
    margin: 0;
    font-weight: 300;
}

/* ════════════════════════════════════════════════════════════════════════════
   5. NOTRE HISTOIRE — Fond noir + 4 photos en grille
   ════════════════════════════════════════════════════════════════════════════ */
.our-story-section {
    background: var(--ha-black);
    padding: 0;
    color: var(--ha-text-light);
    position: relative;
}

.our-story-grid {
    display: grid;
    grid-template-columns: 380px 1fr 1fr 1fr 1fr;
    min-height: 400px;
}

.our-story-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ha-black);
}

.our-story-content .eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ha-gold);
    margin: 0 0 16px;
}

.our-story-content .ornament-divider {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 24px;
    color: var(--ha-gold);
    width: 60px;
}

.our-story-content .ornament-divider::before {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ha-gold);
}

.our-story-content .ornament-divider .diamond {
    width: 5px;
    height: 5px;
    background: var(--ha-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.our-story-content h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 26px;
    letter-spacing: 0.02em;
}

.our-story-content p {
    font-family: Georgia, serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--ha-text-light);
    margin: 0 0 32px;
    font-weight: 300;
}

.our-story-content .btn-outline {
    align-self: flex-start;
    padding: 12px 28px;
    font-size: 0.72rem;
    border-color: var(--ha-gold);
    color: var(--ha-gold);
}

.our-story-content .btn-outline:hover {
    background: var(--ha-gold);
    color: var(--ha-black);
}

.our-story-photo {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    min-height: 400px;
    filter: saturate(0.97);
    transition: filter 0.4s ease, transform 0.5s ease;
}
.our-story-photo img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}
.our-story-photo:hover { filter: saturate(1.08); }
.our-story-photo:hover img { transform: scale(1.03); }

/* Replis CSS (si une image ne charge pas) — photos produits. */
.our-story-photo--1 { background-image: url('../images/heritage/story-1.jpg'); }
.our-story-photo--2 { background-image: url('../images/heritage/story-2.jpg'); }
.our-story-photo--3 { background-image: url('../images/heritage/story-3.jpg'); }
.our-story-photo--4 { background-image: url('../images/heritage/story-4.jpg'); }

/* ════════════════════════════════════════════════════════════════════════════
   6. SECTION PRODUIT AFROFLAME — Crème + packaging + détails
   ════════════════════════════════════════════════════════════════════════════ */
.product-feature {
    background: var(--ha-cream);
    background-image: none !important;
    padding: 80px 0;
    position: relative;
}

.product-feature::before,
.product-feature::after {
    display: none !important;
}

.product-feature > .container {
    background: transparent !important;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px !important;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-feature-image {
    position: relative;
}

.product-feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Détails texte droite */
.product-feature-info {
    padding-right: 40px;
}

.product-feature-info h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ha-text-dark);
    margin: 0 0 6px;
    letter-spacing: 0.02em;
}

.product-feature-info h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ha-text-dark);
    margin: 0 0 24px;
    letter-spacing: 0.02em;
}

.product-feature-info p {
    font-family: Georgia, serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ha-text-muted);
    margin: 0 0 32px;
    font-weight: 300;
}

/* Mini-badges produit (4 colonnes) */
.product-feature-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 36px;
    padding: 24px 0;
    border-top: 1px solid rgba(43, 37, 32, 0.15);
    border-bottom: 1px solid rgba(43, 37, 32, 0.15);
}

.product-feature-badge {
    text-align: center;
}

.product-feature-badge .icon,
.product-feature-badge svg {
    width: 28px;
    height: 28px;
    margin: 0 auto 8px;
    color: var(--ha-text-dark);
    stroke: var(--ha-text-dark);
    stroke-width: 1.5;
    fill: none;
    display: block;
}

.product-feature-badge .label {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ha-text-dark);
}

.product-feature-info .btn-primary {
    background: var(--ha-gold);
    border-color: var(--ha-gold);
    color: var(--ha-cream);
    padding: 14px 36px;
}

/* ════════════════════════════════════════════════════════════════════════════
   7. SECTIONS CACHÉES POUR LE NOUVEAU LAYOUT
   ════════════════════════════════════════════════════════════════════════════ */
/* On désactive les anciennes sections best-sellers/testimonials/cta-banner/why
   pour qu'elles ne polluent pas le nouveau design épuré.
   Si Omar veut les remettre, il les active dans le Customizer ou via PHP. */

/* Plus de motifs sur les sections — fond uni */
.best-sellers,
.why-section,
.testimonials-section,
.cta-banner {
    background-image: none !important;
}

.best-sellers::before,
.why-section::before,
.testimonials-section::before,
.cta-banner::before,
.best-sellers::after,
.why-section::after,
.testimonials-section::after,
.cta-banner::after {
    display: none !important;
}

.best-sellers > .container,
.why-section > .container,
.testimonials-section > .container,
.cta-banner > .container {
    background: transparent !important;
    padding-top: 80px !important;
}

/* Cartes produits — bordure dorée discrète au survol */
.product-card,
.woocommerce ul.products li.product {
    position: relative;
    background: #FFFFFF;
    border: 1px solid rgba(43, 37, 32, 0.08);
    transition: all 0.3s ease;
}

.product-card::before,
.product-card::after,
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
    display: none !important;
}

.product-card:hover,
.woocommerce ul.products li.product:hover {
    border-color: var(--ha-gold);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

/* ════════════════════════════════════════════════════════════════════════════
   8. FOOTER — Épuré noir, doré, structure simple
   ════════════════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--ha-black) !important;
    background-image: none !important;
    color: var(--ha-text-light);
    padding: 70px 0 30px;
    position: relative;
}

.site-footer::before,
.site-footer::after {
    display: none !important;
}

.site-footer > .container {
    background: transparent !important;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px !important;
}

.site-footer a {
    color: var(--ha-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--ha-gold);
}

.site-footer h4,
.site-footer .footer-title {
    color: var(--ha-gold);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

/* ════════════════════════════════════════════════════════════════════════════
   9. SECTION TITLES — Cohérence générale
   ════════════════════════════════════════════════════════════════════════════ */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title::before {
    display: none !important;
}

.section-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ha-gold);
    margin: 0 0 14px;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ha-text-dark);
    margin: 0;
    letter-spacing: 0.02em;
}

.section-title h2::after {
    display: none !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   10. LANG SWITCHER — Adapté au header premium
   ════════════════════════════════════════════════════════════════════════════ */

.lang-switcher { position: relative; z-index: 20; }

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid rgba(229, 219, 201, 0.3);
    border-radius: 0;
    color: var(--ha-text-light);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-switcher__btn:hover,
.lang-switcher__btn:focus { border-color: var(--ha-gold); color: var(--ha-gold); outline: none; }

.lang-switcher__flag { font-size: 1em; line-height: 1; }

.lang-switcher__chev { transition: transform 0.2s ease; }
.lang-switcher.is-open .lang-switcher__chev { transform: rotate(180deg); }

/* Le menu est MASQUE par defaut ; il ne s'ouvre qu'au clic (.is-open). */
.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: var(--ha-black);
    border: 1px solid var(--ha-gold);
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    list-style: none;
    margin: 0;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 100;
}
.lang-switcher.is-open .lang-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--ha-text-light);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.lang-switcher__option:hover,
.lang-switcher__option:focus {
    background: rgba(200, 165, 96, 0.12);
    color: var(--ha-gold);
    outline: none;
}
.lang-switcher__option.is-current {
    background: rgba(200, 165, 96, 0.18);
    color: var(--ha-gold);
    font-weight: 600;
}

.lang-switcher__option-check { margin-left: auto; color: var(--ha-gold); opacity: 0; }
.lang-switcher__option.is-current .lang-switcher__option-check { opacity: 1; }


/* ════════════════════════════════════════════════════════════════════════════
   11. RESPONSIVE
   ════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-section {
        min-height: clamp(520px, 86vh, 720px);
        padding: 132px 0 70px;
    }
    .hero-container {
        padding: 0 36px;
    }
    .hero-content {
        max-width: 62%;
    }
    .hero-badge {
        width: 100px;
        height: 100px;
        top: 118px;
        right: 28px;
    }
    .our-story-grid {
        grid-template-columns: 1fr 1fr;
    }
    .our-story-content {
        grid-column: 1 / -1;
        padding: 50px 40px;
    }
    .product-feature > .container {
        grid-template-columns: 1fr;
    }
    .product-feature-info {
        padding-right: 0;
    }
    .trust-badges > .container,
    .trust-badges .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .trust-badge:nth-child(3)::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-banner {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
        padding: 8px 16px;
    }
    .site-header {
        top: 32px;
    }
    .site-header > .container,
    .site-header .header-container,
    .site-header .header-inner {
        padding: 0 20px;
    }
    /* Masquer UNIQUEMENT les variantes de nav horizontale de bureau.
       NE PAS masquer .nav-menu : il sert au menu mobile coulissant. */
    .main-nav,
    .primary-menu {
        display: none;
    }

    /* Desencombrer les actions du header sur mobile (evite les chevauchements). */
    .header-actions { gap: 8px; }
    .header-actions .theme-toggle { display: none; }
    .lang-switcher__btn { padding: 6px 8px; }
    .lang-switcher__btn .lang-switcher__label,
    .lang-switcher__btn .lang-switcher__chev { display: none; }
    .site-tagline { display: none; }
    /* Hero mobile : visage visible en haut, texte sur le bas assombri. */
    .hero-section {
        min-height: 86vh;
        padding: 116px 0 60px;
        align-items: flex-end;
    }
    .hero-bg { background-position: 72% 18%; }
    .hero-overlay {
        background: linear-gradient(0deg,
            rgba(14, 14, 14, 0.95) 0%,
            rgba(14, 14, 14, 0.80) 36%,
            rgba(14, 14, 14, 0.40) 66%,
            rgba(14, 14, 14, 0.18) 100%);
    }
    .hero-container { padding: 0 24px; }
    .hero-content { max-width: 100%; }
    .hero-content h1 {
        font-size: clamp(2rem, 8.5vw, 3rem);
    }
    .hero-content .hero-subtitle { max-width: 100%; }
    .hero-cta,
    .hero-buttons {
        flex-direction: column;
    }
    .hero-cta a,
    .hero-buttons a {
        width: 100%;
    }
    .hero-badge { width: 80px; height: 80px; top: 88px; right: 16px; }
    /* Notre histoire : contenu pleine largeur + 4 photos en grille 2x2 compacte. */
    .our-story-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 0;
    }
    .our-story-content {
        grid-column: 1 / -1;
        padding: 44px 24px;
    }
    .our-story-photo {
        min-height: 0;
        height: 200px;
    }
    .our-story-photo img {
        min-height: 0;
        height: 100%;
    }
    .trust-badges > .container,
    .trust-badges .container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .trust-badge {
        padding: 20px 16px;
    }
    .trust-badge + .trust-badge::before {
        display: none;
    }
    .product-feature {
        padding: 50px 0;
    }
    .product-feature-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 9vw, 2.3rem);
    }
    .hero-badge { width: 68px; height: 68px; top: 80px; right: 12px; }
    .our-story-content {
        padding: 38px 22px;
    }
    .our-story-photo {
        height: 165px;
    }
    .trust-badges > .container,
    .trust-badges .container {
        grid-template-columns: 1fr;
    }
    .trust-badge {
        padding: 8px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ════════════════════════════════════════════════════════════════════════════
   EN-TÊTE — pages internes (boutique, à propos, blog…) : fond clair + texte foncé.
   L'accueil (body.home) conserve l'en-tête transparent par-dessus le hero sombre.
   Corrige aussi le menu "invisible" sur fond clair (les « bandes qui ne montrent rien »).
   ════════════════════════════════════════════════════════════════════════════ */
body:not(.home) .site-header {
    position: relative;
    top: 0;
    background: var(--ha-cream-light, #FFFCF6);
    border-bottom: 1px solid rgba(43, 37, 32, 0.08);
    box-shadow: 0 1px 10px rgba(43, 37, 32, 0.05);
}
body:not(.home) .site-header .site-logo a,
body:not(.home) .site-header .site-title,
body:not(.home) .site-header .logo-text,
body:not(.home) .site-header .nav-menu a,
body:not(.home) .site-header .main-nav a,
body:not(.home) .site-header .primary-menu a,
body:not(.home) .site-header .header-actions a,
body:not(.home) .site-header .header-actions button,
body:not(.home) .site-header .lang-switcher__btn {
    color: var(--ha-text-dark, #2D1A05);
}
body:not(.home) .site-header .logo-text span { color: var(--ha-orange, #C4651A); }
body:not(.home) .site-header .site-tagline { color: var(--ha-text-muted, #7A6555); }
body:not(.home) .site-header .lang-switcher__btn { border-color: rgba(43, 37, 32, 0.22); }
body:not(.home) .site-header .nav-menu a:hover,
body:not(.home) .site-header .main-nav a:hover,
body:not(.home) .site-header .primary-menu a:hover,
body:not(.home) .site-header .nav-menu .current-menu-item > a,
body:not(.home) .site-header .header-actions a:hover,
body:not(.home) .site-header .header-actions button:hover,
body:not(.home) .site-header .lang-switcher__btn:hover { color: var(--ha-orange, #C4651A); }
body:not(.home) .site-header .nav-menu .current-menu-item > a::after,
body:not(.home) .site-header .nav-menu a:hover::after { background: var(--ha-orange, #C4651A); }
