/* ============================================
   COOPÉRATIVE TIZIZAOUINE — Style principal
   Couleurs: Orange #f1c405, Jaune #f1c405,
   Vert #02913f, Vert clair #00ff1e
   ============================================ */

/* ============ RESET + BASE ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Palette officielle de la coopérative */
    --orange: #f1c405;
    --jaune: #f1c405;
    --vert: #02913f;
    --vert-clair: #00ff1e;

    /* Dérivés */
    --vert-fonce: #014d22;
    --vert-tres-fonce: #00351a;
    --orange-fonce: #d4ab02;
    --creme: #fffcf0;
    --beige: #f5efd9;
    --noir: #1a1d18;
    --gris: #6b6e68;
    --gris-clair: #e8e6da;
    --blanc: #ffffff;

    /* Typographie */
    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --font-arabic: 'Amiri', 'Traditional Arabic', serif;

    /* Spacing */
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(2, 145, 63, 0.08);
    --shadow-md: 0 10px 30px rgba(2, 145, 63, 0.12);
    --shadow-lg: 0 25px 60px rgba(2, 145, 63, 0.18);

    --section-pad: clamp(60px, 8vw, 120px);
    --container-pad: clamp(20px, 4vw, 60px);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--noir);
    background: var(--creme);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ============ TOP STRIP ============ */
.top-strip {
    background: var(--vert-fonce);
    color: var(--creme);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-strip-right {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.top-strip a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-strip a:hover {
    color: var(--vert-clair);
}

.top-strip i {
    color: var(--orange);
}

.lang-toggle {
    background: var(--orange);
    color: var(--vert-tres-fonce);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.lang-toggle:hover {
    transform: scale(1.05);
}

/* ============ HEADER / NAV ============ */
.header {
    background: var(--blanc);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vert);
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: 0.72rem;
    color: var(--gris);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-link {
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--noir);
    border-radius: 8px;
    position: relative;
    transition: all 0.25s;
}

.nav-link:hover {
    color: var(--vert);
    background: var(--beige);
}

.nav-link.nav-cta {
    background: var(--vert);
    color: var(--blanc);
    padding: 10px 22px;
    margin-left: 8px;
    border-radius: 100px;
}

.nav-link.nav-cta:hover {
    background: var(--vert-fonce);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--vert);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.97rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--vert);
    color: var(--blanc);
    box-shadow: 0 8px 22px rgba(2, 145, 63, 0.3);
}

.btn-primary:hover {
    background: var(--vert-fonce);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(2, 145, 63, 0.4);
}

.btn-secondary {
    background: var(--blanc);
    color: var(--vert-fonce);
    border: 2px solid var(--vert);
}

.btn-secondary:hover {
    background: var(--vert);
    color: var(--blanc);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: clamp(40px, 7vw, 80px) 0 clamp(60px, 9vw, 110px);
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(241, 196, 5, 0.13), transparent 50%),
        radial-gradient(circle at 5% 80%, rgba(0, 255, 30, 0.10), transparent 45%),
        linear-gradient(160deg, var(--creme) 0%, #fff8d6 100%);
}

.hero-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--vert-clair);
    top: -200px;
    right: -100px;
    animation: blob 18s ease-in-out infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    bottom: -150px;
    left: -150px;
    animation: blob 22s ease-in-out infinite reverse;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(2, 145, 63, 0.08) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.6;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blanc);
    border: 1.5px solid var(--vert-clair);
    color: var(--vert-fonce);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--vert-clair);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 30, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(0, 255, 30, 0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--vert-tres-fonce);
    margin-bottom: 24px;
}

.hero-title-accent {
    color: var(--vert);
    font-style: italic;
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    height: 12px;
    background: var(--orange);
    z-index: -1;
    opacity: 0.85;
    transform: skewX(-8deg);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--noir);
    opacity: 0.78;
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(2, 145, 63, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--vert);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gris);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    margin-top: 6px;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.2s;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
    transform: rotate(-2deg);
    transition: transform 0.5s;
}

.hero-image-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--blanc);
    padding: 16px 22px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.hero-floating-card i {
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-floating-card strong {
    display: block;
    color: var(--vert-fonce);
    font-size: 0.95rem;
}

.hero-floating-card span {
    font-size: 0.78rem;
    color: var(--gris);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 44px;
    border: 2px solid var(--vert);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    z-index: 2;
}

.hero-scroll span {
    width: 3px;
    height: 8px;
    background: var(--vert);
    border-radius: 2px;
    animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* ============ MARQUEE ============ */
.marquee {
    background: var(--vert);
    color: var(--orange);
    padding: 18px 0;
    overflow: hidden;
    border-top: 4px solid var(--vert-clair);
    border-bottom: 4px solid var(--vert-clair);
}

.marquee-track {
    display: flex;
    gap: 50px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 70px);
}

.section-eyebrow {
    display: inline-block;
    color: var(--orange);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-eyebrow.light {
    color: var(--vert-clair);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--vert-tres-fonce);
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.section-title.light {
    color: var(--creme);
}

.section-title em {
    font-style: italic;
    color: var(--vert);
    font-weight: 900;
}

.section-title.light em {
    color: var(--orange);
}

.section-desc {
    color: var(--gris);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============ VIDÉOS MORINGA ============ */
.section-moringa-videos {
    background:
        linear-gradient(180deg, var(--blanc) 0%, var(--beige) 100%);
    position: relative;
    overflow: hidden;
}

.section-moringa-videos::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--vert-clair);
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
}

.moringa-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.video-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(2, 145, 63, 0.08);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--vert);
}

.video-card-media {
    aspect-ratio: 16/10;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card-body {
    padding: 26px 28px 30px;
}

.video-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--vert), var(--vert-clair));
    color: var(--blanc);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.video-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--vert-tres-fonce);
    margin-bottom: 10px;
    line-height: 1.25;
}

.video-card p {
    color: var(--gris);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

/* ============ PRODUITS ============ */
.section-produits {
    background:
        linear-gradient(180deg, var(--creme) 0%, var(--blanc) 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(2, 145, 63, 0.08);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(2, 145, 63, 0.2);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--beige);
}

/* Variante pour afficher entièrement le flacon (sans recadrage) */
.product-image-contain {
    background: linear-gradient(135deg, #f9f6e9 0%, #fdfaee 100%);
}

.product-image-contain img {
    object-fit: contain !important;
    padding: 10px;
}

.product-variants {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-variants li {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--beige);
    color: var(--vert-fonce);
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-variants li i {
    color: var(--vert);
    font-size: 0.9rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.product-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--orange);
    color: var(--vert-tres-fonce);
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-tag.bio {
    background: var(--vert-clair);
}

.product-tag.prize {
    background: var(--orange);
    color: var(--vert-tres-fonce);
}

.product-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-body .product-arabe {
    font-family: var(--font-arabic);
    font-size: 1.1rem;
    color: var(--vert);
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vert-tres-fonce);
    margin-bottom: 10px;
    line-height: 1.2;
}

.product-desc {
    color: var(--gris);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vert);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 10px 0;
    border-top: 1px solid var(--gris-clair);
    align-self: stretch;
    margin-top: auto;
}

.product-cta:hover {
    color: var(--vert-fonce);
    gap: 14px;
}

.product-cta i {
    font-size: 0.85rem;
}

/* ============ À PROPOS ============ */
.section-about {
    background: var(--blanc);
    position: relative;
    overflow: hidden;
}

.section-about::before {
    content: '';
    position: absolute;
    top: 5%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: var(--vert-clair);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: relative;
    aspect-ratio: 4/5;
}

.about-image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 70%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--blanc);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 50%;
    left: -20px;
    background: var(--vert);
    color: var(--orange);
    padding: 16px 24px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    z-index: 2;
    transform: rotate(-8deg);
}

.about-badge .badge-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
}

.about-intro {
    font-size: 1.15rem;
    margin: 16px 0;
    line-height: 1.7;
    color: var(--noir);
}

.about-content p {
    color: var(--gris);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.value-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--vert), var(--vert-clair));
    color: var(--blanc);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(2, 145, 63, 0.25);
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--vert-tres-fonce);
    margin-bottom: 4px;
}

.value-item p {
    color: var(--gris);
    font-size: 0.92rem;
    margin: 0;
}

.about-content .section-title {
    text-align: left;
}

/* ============ CERTIFICATIONS & PRIX ============ */
.section-certifications {
    background:
        linear-gradient(180deg, var(--vert-tres-fonce) 0%, var(--vert-fonce) 100%);
    color: var(--creme);
    overflow: hidden;
    position: relative;
}

.section-certifications::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--vert-clair);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.certif-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.certif-card:hover {
    transform: translateY(-6px);
    border-color: var(--vert-clair);
}

.certif-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--blanc);
}

.certif-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certif-body {
    padding: 22px 24px;
}

.certif-icon {
    color: var(--orange);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.certif-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--blanc);
    margin-bottom: 6px;
}

.certif-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* ============ GALERIE ============ */
.section-galerie {
    background: var(--beige);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gris-clair);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(0.98);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-video {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-video video {
    object-fit: cover;
}

/* ============ TÉMOIGNAGES ============ */
.section-temoignages {
    background:
        linear-gradient(135deg, var(--vert-fonce) 0%, var(--vert-tres-fonce) 100%);
    color: var(--creme);
    position: relative;
    overflow: hidden;
}

.section-temoignages::before,
.section-temoignages::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.section-temoignages::before {
    width: 350px;
    height: 350px;
    background: var(--orange);
    top: -100px;
    left: -100px;
    opacity: 0.12;
}

.section-temoignages::after {
    width: 300px;
    height: 300px;
    background: var(--vert-clair);
    bottom: -50px;
    right: -50px;
    opacity: 0.18;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.3s;
}

.testimonial:hover {
    transform: translateY(-6px);
    border-color: var(--vert-clair);
}

.testimonial-stars {
    color: var(--orange);
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testimonial p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 22px;
    color: var(--creme);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: var(--vert-tres-fonce);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
}

.testimonial-author strong {
    display: block;
    color: var(--blanc);
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

/* ============ CTA SECTION ============ */
.cta-section {
    padding: 80px 0;
    background: var(--beige);
}

.cta-box {
    background:
        linear-gradient(135deg, var(--vert) 0%, var(--vert-fonce) 100%);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 70px);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--vert-clair);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content .section-eyebrow {
    color: var(--orange);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--blanc);
    margin: 10px 0 16px;
    line-height: 1.15;
    font-weight: 800;
}

.cta-content p {
    opacity: 0.9;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.cta-actions .btn-primary {
    background: var(--orange);
    color: var(--vert-tres-fonce);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cta-actions .btn-primary:hover {
    background: var(--blanc);
    color: var(--vert);
}

.cta-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--blanc);
}

.cta-actions .btn-secondary:hover {
    background: var(--blanc);
    color: var(--vert);
}

/* ============ CONTACT ============ */
.section-contact {
    background: var(--creme);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    background: var(--blanc);
    padding: 26px 28px;
    border-radius: var(--radius);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border: 1px solid rgba(2, 145, 63, 0.08);
}

.contact-card:hover {
    transform: translateX(6px);
    border-color: var(--vert);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--vert), var(--vert-clair));
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card-content {
    flex: 1;
}

.contact-card h4 {
    font-family: var(--font-display);
    color: var(--vert-tres-fonce);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-card a,
.contact-card span {
    color: var(--gris);
    font-size: 0.93rem;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--vert);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blanc);
    color: var(--vert);
    border: 2px solid var(--gris-clair);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--vert);
    color: var(--blanc);
    border-color: var(--vert);
    transform: translateY(-3px);
}

.social-link.fb:hover { background: #1877f2; border-color: #1877f2; }
.social-link.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.social-link.tt:hover { background: #000; border-color: #000; }
.social-link.wa:hover { background: #25d366; border-color: #25d366; }

.contact-form {
    background: var(--blanc);
    padding: 36px 38px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(2, 145, 63, 0.08);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--vert-tres-fonce);
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--gris);
    margin-bottom: 24px;
    font-size: 0.94rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.86rem;
    color: var(--noir);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gris-clair);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--creme);
    transition: all 0.2s;
    color: var(--noir);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vert);
    background: var(--blanc);
    box-shadow: 0 0 0 4px rgba(2, 145, 63, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    justify-content: center;
}

/* ============ MAP ============ */
.map-container {
    margin-top: 50px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 380px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--vert-tres-fonce);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--vert-clair), var(--orange));
    background-size: 200% 100%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h5 {
    font-family: var(--font-display);
    color: var(--blanc);
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-brand .logo-name {
    color: var(--orange);
    font-size: 1.6rem;
}

.footer-brand .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 340px;
    font-size: 0.92rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.93rem;
    transition: all 0.2s;
}

.footer-col a:hover {
    color: var(--vert-clair);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom span {
    display: flex;
    gap: 6px;
    align-items: center;
}

.footer-bottom .heart {
    color: var(--orange);
}

/* ============ IMAGE PLACEHOLDER ============ */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--beige), var(--gris-clair));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--vert-fonce);
    padding: 20px;
    text-align: center;
}

.image-placeholder i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.image-placeholder span {
    font-family: monospace;
    font-size: 0.82rem;
    color: var(--vert-fonce);
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    border-radius: 6px;
}

.image-placeholder small {
    font-size: 0.78rem;
    opacity: 0.6;
}

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 99;
    animation: pulseWhatsapp 2.5s infinite;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-actions {
        align-items: center;
    }

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

    .gallery-item-video {
        grid-column: span 3;
    }

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

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--blanc);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        align-items: stretch;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        padding: 14px 18px;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    .nav-link.nav-cta {
        text-align: center;
        margin-left: 0;
        margin-top: 14px;
    }

    .menu-toggle {
        display: flex;
        z-index: 101;
    }

    .top-strip {
        font-size: 0.78rem;
    }

    .top-strip-right {
        gap: 14px;
    }

    .top-strip a {
        font-size: 0.78rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .gallery-item-video {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
        height: auto;
    }

    .gallery-item-tall {
        grid-row: span 1;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .marquee-track span {
        font-size: 1.15rem;
    }

    .about-badge {
        left: 0;
        padding: 12px 16px;
    }

    .about-badge .badge-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-floating-card {
        bottom: 10px;
        left: 10px;
        padding: 12px 14px;
    }

    .product-body {
        padding: 20px 22px 24px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
        bottom: 18px;
        right: 18px;
    }

    .lang-toggle {
        display: none;
    }
}

/* ============ ARABIC RTL SUPPORT ============ */
body[dir="rtl"] {
    font-family: var(--font-arabic), var(--font-body);
}

body[dir="rtl"] .nav-link.nav-cta {
    margin-left: 0;
    margin-right: 8px;
}

body[dir="rtl"] .about-badge {
    left: auto;
    right: -20px;
    transform: rotate(8deg);
}

body[dir="rtl"] .about-image-secondary {
    right: auto;
    left: 0;
}

body[dir="rtl"] .about-image-main {
    left: auto;
    right: 0;
}

body[dir="rtl"] .hero-floating-card {
    left: auto;
    right: -30px;
}

/* ============ FORÇAGE LTR ============ */
/* Force la direction de gauche à droite pour numéros, emails et textes français */
.ltr,
body[dir="rtl"] .ltr,
body[dir="rtl"] a[href^="tel:"],
body[dir="rtl"] a[href^="mailto:"],
body[dir="rtl"] .top-strip a,
body[dir="rtl"] .contact-card a[href^="tel:"],
body[dir="rtl"] .contact-card a[href^="mailto:"] {
    direction: ltr !important;
    unicode-bidi: embed;
}

/* En mode arabe : tous les textes français doivent rester en LTR */
/* On force le LTR sur tout le contenu, sauf les éléments traduits en arabe */
body[dir="rtl"] .product-body,
body[dir="rtl"] .product-card,
body[dir="rtl"] .video-card,
body[dir="rtl"] .video-card-body,
body[dir="rtl"] .certif-card,
body[dir="rtl"] .certif-body,
body[dir="rtl"] .testimonial,
body[dir="rtl"] .contact-card,
body[dir="rtl"] .contact-card-content,
body[dir="rtl"] .about-content,
body[dir="rtl"] .cta-content,
body[dir="rtl"] .section-header,
body[dir="rtl"] .footer-col,
body[dir="rtl"] .form-group,
body[dir="rtl"] .form-group label,
body[dir="rtl"] .form-group input,
body[dir="rtl"] .form-group textarea,
body[dir="rtl"] .form-group select,
body[dir="rtl"] .contact-form h3,
body[dir="rtl"] .contact-form > p,
body[dir="rtl"] .marquee-track,
body[dir="rtl"] .hero-stats {
    direction: ltr !important;
    text-align: left;
}

/* Pour les éléments où l'arabe coexiste avec le français (sous-titres arabes des produits) */
body[dir="rtl"] .product-arabe {
    direction: rtl;
    text-align: right;
}

/* Les éléments traduits en arabe restent en RTL */
body[dir="rtl"] .nav-link,
body[dir="rtl"] .logo-tagline,
body[dir="rtl"] .hero-content,
body[dir="rtl"] .hero-badge,
body[dir="rtl"] .hero-title,
body[dir="rtl"] .hero-subtitle,
body[dir="rtl"] .top-strip-left span {
    direction: rtl;
    text-align: right;
}

/* Le top strip globalement (avec icônes et liens) */
body[dir="rtl"] .top-strip-right a {
    direction: ltr;
    unicode-bidi: embed;
}
