:root {
    --primary-orange: #D97706;
    --primary-green: #166534;
    --light-green: #f0fdf4;
    --bg-color: #FDFBF7;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --whatsapp-color: #25D366;
}

html { scroll-behavior: smooth; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
section, footer { scroll-margin-top: 90px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
    background: var(--primary-green); color: var(--white); padding: 12px 24px;
    border-radius: 0 0 10px 10px; z-index: 10000; transition: top 0.3s; font-weight: 600;
}
.skip-link:focus { top: 0; outline: 3px solid var(--primary-orange); outline-offset: 2px; }

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.logo { display: flex; align-items: center; }
.logo img { height: 70px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 20px; font-weight: 600; font-size: 15px; align-items: center; }
.nav-links a { position: relative; transition: color 0.3s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--primary-orange); outline: none; }
.nav-links a[aria-current="page"] { color: var(--primary-orange); }
.nav-links a[aria-current="page"]::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: var(--primary-orange); border-radius: 2px;
}

.btn-whatsapp {
    background-color: var(--whatsapp-color); color: var(--white);
    padding: 10px 20px; border-radius: 50px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    outline: none;
}

.lang-toggle {
    background-color: var(--light-green); color: var(--primary-green);
    border: 1px solid var(--primary-green); padding: 8px 15px; border-radius: 50px;
    font-weight: 700; cursor: pointer; display: flex; align-items: center;
    gap: 5px; transition: all 0.3s; font-size: 14px;
}
.lang-toggle:hover, .lang-toggle:focus-visible {
    background-color: var(--primary-green); color: var(--white); outline: none;
}

.menu-toggle {
    display: none; background: none; border: none; font-size: 24px;
    cursor: pointer; color: var(--primary-green); padding: 8px;
    align-items: center; justify-content: center;
}

.hero {
    position: relative; color: var(--white); padding: 150px 0; text-align: center;
    min-height: 600px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('IMAGES/apiculteurs_terrain.jpg') center/cover no-repeat;
}
.hero .container { position: relative; z-index: 2; }
.hero-top-text {
    font-size: 27px; font-weight: 500; text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
    margin-bottom: 20px; white-space: nowrap; margin-left: auto;
    margin-right: auto; line-height: 1.4;
}
.hero h1 {
    font-size: 64px; font-weight: 700; margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9); letter-spacing: 2px;
}
.hero-bottom-text {
    font-size: 28px; max-width: 900px; margin: 0 auto; font-weight: 700;
    color: #FDE047; text-shadow: 2px 2px 6px rgba(0,0,0,0.9); line-height: 1.4;
}

.products { padding: 80px 0; background-color: var(--white); }
.products h2 { color: var(--primary-green); font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.price-note-banner {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: #fef3c7; border: 1.5px solid #fbbf24; border-radius: 12px;
    padding: 14px 22px; margin-bottom: 40px; font-size: 14px; line-height: 1.5;
    color: #78350f; text-align: center; flex-wrap: wrap;
}
.price-note-banner > i { color: var(--whatsapp-color); font-size: 20px; flex-shrink: 0; }
.price-note-banner p { margin: 0; }
.price-note-banner a {
    color: var(--whatsapp-color); font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 8px; border-radius: 20px;
    background: rgba(37, 211, 102, 0.15); transition: background 0.2s;
}
.price-note-banner a:hover, .price-note-banner a:focus-visible {
    background: rgba(37, 211, 102, 0.3); outline: none;
}

.product-card {
    background: var(--bg-color); border-radius: 15px; overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center;
    display: flex; flex-direction: column; height: 100%;
}

.product-card img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: contain;
    background-color: #ffffff; padding: 0;
}
.img-karite-principal { transform: scale(1.1); }

.product-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-info h3 { color: var(--primary-orange); font-size: 22px; margin-bottom: 10px; }
.product-info p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }

.btn-primary {
    background-color: var(--primary-green); color: var(--white);
    padding: 12px 20px; border: none; border-radius: 50px; font-size: 15px;
    font-weight: 600; cursor: pointer; transition: background 0.3s, transform 0.3s;
    margin-top: auto; display: inline-flex; align-items: center;
    justify-content: center; gap: 8px; width: 100%;
}
.btn-primary:hover, .btn-primary:focus-visible {
    background-color: #114d27; transform: translateY(-2px); outline: none;
}

/* =========================================
   SECTION À PROPOS (CORRIGÉE POUR L'IMAGE VERTICALE)
========================================= */
.about { padding: 80px 0; background-color: var(--light-green); }

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 50px; 
    align-items: stretch; 
}

.about-img { 
    position: relative; 
    overflow: hidden; 
    border-radius: 15px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
    height: 100%; /* Prend la hauteur dictée par le texte à droite */
    min-height: 400px;
}

/* On utilise position absolute pour que l'image ne dicte pas sa hauteur au conteneur */
.about-img img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
    display: block; 
    filter: brightness(1.05) contrast(1.15) saturate(1.2); 
}

.about-img::after {
    content: 'Notre savoir-faire local'; position: absolute; bottom: 20px; left: 20px;
    background: var(--primary-orange); color: var(--white); padding: 8px 16px;
    border-radius: 50px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2;
}
.about-text h2 { color: var(--primary-green); font-size: 32px; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; color: var(--text-light); }

.stats-list { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
.stat-item {
    display: flex; align-items: center; gap: 15px; background: var(--white);
    padding: 15px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.stat-item i { font-size: 24px; color: var(--primary-orange); background: #fff3e0; padding: 15px; border-radius: 50%; }

.impact {
    padding: 80px 0; text-align: center;
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.unsplash.com/photo-1448375240586-882707db888b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
}
.impact h2 { color: var(--primary-green); font-size: 36px; font-weight: 700; margin-bottom: 10px; }
.impact > p { color: var(--text-dark); font-size: 16px; font-weight: 500; margin-bottom: 40px; }

.impact-cards-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; max-width: 1300px; margin: 0 auto; }
.impact-card-new {
    flex: 1; min-width: 220px; max-width: 260px; padding: 20px 15px;
    border-radius: 12px; display: flex; align-items: center; text-align: left;
    gap: 15px; transition: transform 0.3s;
}
.impact-card-new:hover { transform: translateY(-5px); }
.impact-card-new .icon-box { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.impact-card-new .icon-box svg { width: 100%; height: 100%; }
.impact-card-new .text-box { display: flex; flex-direction: column; width: 100%; }
.impact-card-new .number { font-size: 22px; font-weight: 700; line-height: 1.1; margin-bottom: 2px; white-space: nowrap; }
.impact-card-new .label { font-size: 12px; font-weight: 500; line-height: 1.2; color: var(--text-dark); }
.impact-card-new .sub-label { font-size: 11px; color: var(--text-light); margin-top: 2px; line-height: 1.1; }
.impact-card-new .number-secondary { font-size: 18px; font-weight: 700; margin-top: 4px; margin-bottom: 2px; white-space: nowrap; }

.card-abeille { background-color: #fbe3d6; border: 1.5px solid #f3a66b; color: #d96523; }
.card-apiculteurs { background-color: #dcf2d6; border: 1.5px solid #93cf84; color: #37823b; }
.card-miel { background-color: #fdf0cd; border: 1.5px solid #f4c76a; color: #d68f16; }
.card-karite { background-color: #fbd5d5; border: 1.5px solid #ef9a9a; color: #c83535; }
.card-soumbala { background-color: #dcf2d6; border: 1.5px solid #93cf84; color: #37823b; }

.contact-section { padding: 80px 0; background-color: var(--white); text-align: center; }
.contact-section h2 { color: var(--primary-green); font-size: 32px; margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.contact-card {
    background: var(--bg-color); padding: 30px 20px; border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-orange);
    display: flex; flex-direction: column; justify-content: center;
}
.contact-card h3 { margin-bottom: 20px; color: var(--text-dark); }
.contact-card p { margin-bottom: 15px; color: var(--text-light); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; flex-wrap: wrap; }
.contact-card i { color: var(--primary-orange); font-size: 18px; }
.contact-card a { color: var(--text-light); transition: color 0.3s; }
.contact-card a:hover, .contact-card a:focus-visible { color: var(--primary-orange); outline: none; }
.contact-card.map-card { padding: 0; overflow: hidden; border-top: 4px solid var(--primary-orange); }
.map-card iframe { width: 100%; height: 100%; min-height: 350px; border: 0; display: block; }

footer { 
    background-color: #EAB308; 
    padding: 40px 0 0 0; 
    color: var(--text-dark); 
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    font-size: 13px;
    font-weight: 500;
    color: rgba(0,0,0,0.7);
    max-width: 250px;
    line-height: 1.4;
    margin: 0;
}

.footer-pillars { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.pillar { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    background-color: rgba(255, 255, 255, 0.4);
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s, background-color 0.3s;
}

.pillar:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.7);
}

.pillar i { 
    font-size: 18px; 
    color: var(--primary-green); 
    background: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pillar-text {
    display: flex;
    flex-direction: column;
}

.pillar-text strong {
    font-size: 12.5px;
    color: var(--primary-green);
}

.pillar-text span {
    font-size: 10.5px;
    color: rgba(0,0,0,0.6);
    font-weight: 500;
}

.copyright-bar { 
    background-color: rgba(0, 0, 0, 0.1); 
    padding: 20px 0; 
    font-size: 13px; 
    font-weight: 500; 
}

.copyright-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-details { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    align-items: center; 
}

.copyright-details a { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    transition: all 0.3s ease; 
    background: rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 600;
}

.copyright-details a:hover, .copyright-details a:focus-visible { 
    background: var(--primary-green); 
    color: var(--white);
    transform: translateY(-2px);
    outline: none;
}

.copyright-details a.wa-link:hover, .copyright-details a.wa-link:focus-visible {
    background: var(--whatsapp-color);
}

.copyright-details i {
    font-size: 14px;
}

.dev-credit {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(0,0,0,0.7);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.dev-credit strong {
    color: var(--primary-green);
    font-weight: 700;
}

.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); align-items: center; justify-content: center;
}
.modal.show { display: flex; }

.modal-content {
    background-color: var(--white); padding: 25px 25px 100px;
    border-radius: 15px; width: 95%; max-width: 950px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); position: relative;
    animation: slideDown 0.4s ease-out; max-height: 90vh; overflow-y: auto;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute; top: 15px; right: 20px; color: var(--text-light);
    font-size: 28px; font-weight: bold; cursor: pointer; transition: color 0.3s;
    background: none; border: none; padding: 0; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; font-family: inherit; border-radius: 50%;
}
.close-btn:hover, .close-btn:focus-visible { color: var(--primary-orange); background-color: var(--light-green); outline: none; }

.modal-content h3 {
    color: var(--primary-green); font-size: 26px; margin-bottom: 20px;
    text-align: center; border-bottom: 2px solid var(--light-green); padding-bottom: 10px;
}

.modal-section-title {
    color: var(--primary-orange); font-size: 18px; font-weight: 600;
    margin: 25px 0 15px 0; padding-left: 10px; border-left: 4px solid var(--primary-orange);
}

.modal-product-list { display: flex; flex-direction: column; gap: 15px; }

.modal-product-item {
    display: flex; align-items: center; gap: 20px; padding: 15px;
    background-color: var(--bg-color); border-radius: 10px;
    border: 1px solid #eee; position: relative;
}

.modal-product-item img {
    width: 220px; height: 250px; object-fit: contain; border-radius: 8px;
    background: #fff; padding: 5px; box-shadow: 0 3px 8px rgba(0,0,0,0.05); cursor: pointer;
    flex-shrink: 0;
}

.modal-product-info { flex-grow: 1; }
.modal-product-info h4 { font-size: 18px; color: var(--text-dark); margin-bottom: 2px; }
.modal-product-info .price { font-size: 16px; font-weight: 700; color: var(--primary-orange); }

.product-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 8px;
    font-style: italic;
    text-align: left;
    padding-left: 10px;
    border-left: 3px solid var(--primary-orange);
    background: rgba(217, 119, 6, 0.05);
    padding: 8px 10px;
    border-radius: 0 5px 5px 0;
}

.btn-add-cart {
    background-color: var(--primary-green); color: var(--white);
    border: none; padding: 12px 25px; border-radius: 30px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background 0.3s; white-space: nowrap;
    position: relative; z-index: 2; flex-shrink: 0;
}
.btn-add-cart:hover, .btn-add-cart:focus-visible { background-color: #114d27; outline: none; }

.lightbox {
    display: none; position: fixed; z-index: 3000; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(0,0,0,0.95);
    align-items: center; justify-content: center; cursor: zoom-out;
}
.lightbox.show { display: flex; }
.lightbox img {
    max-width: 95%; max-height: 95%; object-fit: contain;
    animation: zoomIn 0.3s ease; box-shadow: 0 0 30px rgba(255,255,255,0.2);
}
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.lightbox-close {
    position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.15);
    color: white; border: 2px solid white; width: 50px; height: 50px;
    border-radius: 50%; font-size: 28px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s; z-index: 3001; font-family: inherit; line-height: 1;
}
.lightbox-close:hover, .lightbox-close:focus-visible { background: rgba(255,255,255,0.3); outline: none; }

.cart-float {
    position: fixed; bottom: 30px; right: 30px; background-color: var(--primary-orange);
    color: white; width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 2500;
    transition: transform 0.3s; border: none; font-family: inherit; padding: 0;
}
.cart-float:hover, .cart-float:focus-visible { transform: scale(1.1); outline: none; }

.cart-count {
    position: absolute; top: 0; right: 0; background-color: red;
    color: white; font-size: 12px; font-weight: bold;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.cart-count.hidden { display: none; }

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}
.cart-count.pulse { animation: cartPulse 0.45s ease; }

.cart-items-list { margin-bottom: 20px; }
.cart-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px;
}
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.cart-item-controls button {
    background: #eee; border: none; width: 30px; height: 30px;
    border-radius: 50%; cursor: pointer; font-weight: bold; font-size: 16px;
    transition: background 0.2s;
}
.cart-item-controls button:hover, .cart-item-controls button:focus-visible {
    background: #ddd; outline: none;
}

.cart-total {
    display: flex; justify-content: space-between; font-size: 18px;
    font-weight: 700; margin-top: 15px; padding-top: 15px;
    border-top: 2px solid #eee; color: var(--primary-green);
}

.btn-empty-cart {
    background: none; border: 1.5px solid #dc2626; color: #dc2626;
    padding: 10px 20px; border-radius: 50px; font-size: 14px;
    font-weight: 600; cursor: pointer; display: flex;
    align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 20px;
    transition: background 0.3s, color 0.3s; font-family: inherit;
}
.btn-empty-cart:hover, .btn-empty-cart:focus-visible {
    background: #dc2626; color: white; outline: none;
}

.modal-btn-whatsapp {
    background-color: var(--whatsapp-color); color: var(--white);
    text-align: center; padding: 15px; border-radius: 50px;
    font-weight: 600; display: flex; align-items: center;
    justify-content: center; gap: 10px; transition: background 0.3s;
    margin-top: 20px; font-size: 16px;
}
.modal-btn-whatsapp:hover, .modal-btn-whatsapp:focus-visible { background-color: #1da851; outline: none; }

.toast-container {
    position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%);
    z-index: 5000; display: flex; flex-direction: column; align-items: center;
    gap: 10px; pointer-events: none; width: 90%; max-width: 420px;
}
.toast {
    background-color: var(--primary-green); color: var(--white);
    padding: 14px 22px; border-radius: 50px; font-size: 14px;
    font-weight: 600; box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    display: flex; align-items: center; gap: 10px; width: 100%;
    animation: toastIn 0.3s ease-out, toastOut 0.35s ease-in 2.65s forwards;
    text-align: left;
}
.toast i { font-size: 18px; flex-shrink: 0; }
@keyframes toastIn { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateY(30px); opacity: 0; } }

.noscript-banner {
    background-color: #fff3cd; color: #856404; padding: 12px 20px;
    text-align: center; border-bottom: 2px solid #D97706;
    font-size: 14px; font-weight: 500;
}

.back-to-top {
    position: fixed; bottom: 30px; left: 30px; width: 50px; height: 50px;
    background: var(--primary-green); color: white; border: none;
    border-radius: 50%; cursor: pointer; display: flex;
    align-items: center; justify-content: center; font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); z-index: 1400;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    font-family: inherit;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover, .back-to-top:focus-visible { background: #114d27; outline: none; }

.product-card img,
.about-img img,
.modal-product-item img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}
.product-card img.loaded,
.about-img img.loaded,
.modal-product-item img.loaded {
    animation: none;
    background: #fff;
}
@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-img { height: 400px; } /* Force une hauteur sur mobile puisque l'image est en absolute */
    .hero-top-text { font-size: 20px; white-space: normal; }
    .hero h1 { font-size: 42px; }
    .hero-bottom-text { font-size: 22px; }
    .contact-grid { grid-template-columns: 1fr; }
    .map-card iframe { min-height: 300px; }
    
    .footer-top { flex-direction: column; text-align: center; justify-content: center; }
    .footer-brand { justify-content: center; text-align: center; }
    .footer-pillars { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-container { justify-content: flex-start; gap: 10px; }
    .logo { margin-right: auto; }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        padding: 0 20px;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    transform 0.3s ease,
                    padding 0.3s ease;
        pointer-events: none;
    }
    .nav-links.active {
        max-height: 500px;
        padding: 20px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .menu-toggle { display: flex; }
    .logo img { height: 50px; }

    .header-cta {
        display: flex; padding: 0; width: 44px; height: 44px;
        min-width: 44px; border-radius: 50%;
    }
    .header-cta span { display: none; }
    .header-cta i { font-size: 22px; }

    .hero-top-text { font-size: 18px; }
    .hero h1 { font-size: 36px; }
    .hero-bottom-text { font-size: 18px; }

    .price-note-banner {
        font-size: 13px;
        padding: 12px 16px;
        margin-bottom: 30px;
        flex-direction: column;
        gap: 8px;
    }

    .modal-product-item { flex-direction: column; text-align: center; }
    .modal-product-item img { width: 100%; max-width: 200px; height: auto; aspect-ratio: 1/1.1; margin-bottom: 10px; }
    .btn-add-cart { width: 100%; margin-top: 10px; }
    
    .product-desc {
        text-align: center;
        border-left: none;
        border-top: 2px solid rgba(217, 119, 6, 0.3);
        padding-left: 0;
        padding-top: 10px;
        border-radius: 0;
        background: transparent;
    }

    .lang-toggle { margin-top: 10px; align-self: flex-start; }

    .cart-float { bottom: 20px; right: 20px; width: 56px; height: 56px; font-size: 22px; }
    .back-to-top { bottom: 20px; left: 20px; width: 44px; height: 44px; font-size: 18px; }
    
    .pillar { width: 100%; justify-content: center; text-align: left; }
    
    .copyright-flex { flex-direction: column; text-align: center; justify-content: center; gap: 15px; }
    .copyright-details { justify-content: center; }
    .dev-credit .copyright-flex { flex-direction: column; gap: 15px; }
    
    .products h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
}

[inert] { pointer-events: none; user-select: none; }