/* =========================================
   1. GOOGLE FONT & VARIABLES
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-red: #E10600;
    --brand-red-dark: #B30000;
    --brand-red-light: #ff3b35;
    --bg: #f5f5f7;
    --white: #ffffff;
    --text: #111111;
    --text-light: #6e6e73;
    --border: rgba(0,0,0,0.06);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 25px 60px rgba(0,0,0,0.12);
    --shadow-hover: 0 30px 70px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 40px;
}

/* =========================================
   2. RESET & STYLES DE BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
}

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

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

.container {
    width: min(1200px, 92%);
    margin: auto;
}

/* =========================================
   3. EN-TÊTE & NAVIGATION (MODERNE)
========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 120px;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: var(--brand-red);
    transition: var(--transition);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================
   4. BOUTONS GLOBAUX
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--brand-red);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--brand-red-dark);
    box-shadow: 0 15px 35px rgba(225, 6, 0, 0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(225, 6, 0, 0.08);
    color: var(--brand-red);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* =========================================
   4B. SECTION OFFRE DU MOMENT (AFFICHES)
========================================= */
.offres-section {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.offres-carousel {
    position: relative;
}

.offres-track {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.offres-track::-webkit-scrollbar { height: 8px; }
.offres-track::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 999px;
}

.offre-card {
    flex: 0 0 auto;
    width: 320px;
    max-width: 82vw;
    margin: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    scroll-snap-align: start;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.offre-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.offre-img-wrap {
    position: relative;
    background: #f0f0f2;
    cursor: zoom-in;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.offre-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.offre-card:hover .offre-img-wrap img {
    transform: scale(1.04);
}

.offre-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 13px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(225, 6, 0, 0.3);
}

.offre-tag--gold {
    background: linear-gradient(135deg, #b8860b, #e8b923);
    color: #1a1400;
    box-shadow: 0 6px 16px rgba(184, 134, 11, 0.35);
}

.offre-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 18px;
}

.offre-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
}

.offre-buy {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(225, 6, 0, 0.35);
    background: transparent;
    color: var(--brand-red);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.offre-buy i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.offre-buy:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.offre-buy:hover i {
    transform: translateX(2px);
}

.offres-nav {
    position: absolute;
    top: calc(50% - 30px);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    color: var(--text);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: var(--transition);
}

.offres-nav:hover {
    background: var(--brand-red);
    color: #fff;
}

.offres-prev { left: -14px; }
.offres-next { right: -14px; }

@media (max-width: 760px) {
    .offres-section { padding: 60px 0 50px; }
    .offre-card { width: 270px; }
    .offres-nav { display: none; }
}

/* =========================================
   5. SCROLL ANIMATIONS (FADE UP)
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1), transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   6. SECTION HERO
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(225, 6, 0, 0.12), transparent 40%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: rgba(225, 6, 0, 0.08);
    color: var(--brand-red);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
}

.hero-left h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

.hero-left p {
    max-width: 600px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-card {
    position: relative;
    height: 550px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-card:hover {
    transform: scale(1.02);
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.1), transparent 70%);
    border-radius: 50%;
}

.hero-logo {
    position: relative;
    width: 220px;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--brand-red);
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scrollIndicator 2s infinite;
}

@keyframes scrollIndicator {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

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

/* =========================================
   7. SECTION ABOUT
========================================= */
.about-section {
    padding: 100px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-card {
    height: 480px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #ffffff, #f2f2f2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-image-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.about-image-card img {
    width: 220px;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(225, 6, 0, 0.08);
    color: var(--brand-red);
    font-size: 1rem;
}

.ngf-box {
    margin-top: 25px;
    padding: 25px 30px;
    background: rgba(225, 6, 0, 0.04);
    border-left: 4px solid var(--brand-red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: var(--transition);
}

.ngf-box:hover {
    background: rgba(225, 6, 0, 0.06);
}

.ngf-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.ngf-link {
    color: var(--brand-red);
    font-weight: 600;
    transition: var(--transition);
}

.ngf-link:hover {
    text-decoration: underline;
}

/* =========================================
   8. PREVIEW PRODUITS
========================================= */
.products-preview {
    padding: 40px 0 100px;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 0.95;
    margin: 15px 0 10px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.preview-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
}

.preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.preview-image {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fafafa, #ffffff);
    padding: 30px;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-card:hover .preview-image img {
    transform: scale(1.08);
}

.preview-content {
    padding: 30px;
}

.preview-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.preview-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.products-btn {
    text-align: center;
    margin-top: 60px;
}

/* =========================================
   9. SECTION CONTACT
========================================= */
.contact-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

.contact-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    box-shadow: var(--shadow-lg);
}

.contact-left h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.95;
    margin-bottom: 20px;
}

.contact-left p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(225, 6, 0, 0.08);
    color: var(--brand-red);
    font-size: 1.1rem;
}

.contact-item span strong {
    color: var(--text);
    font-weight: 600;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #f7f7f7;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* =========================================
   10. FOOTER
========================================= */
footer {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 100px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--brand-red);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-ngf-logo {
    width: 100px;
    opacity: 0.7;
    transition: var(--transition);
    margin-bottom: 20px;
}

.footer-ngf-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.copyright {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* =========================================
   11. BOUTON RETOUR HAUT
========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--brand-red-dark);
}

/* =========================================
   12. PAGE PRODUITS
========================================= */
.products-page {
    padding-top: 140px;
    padding-bottom: 100px;
    background-color: var(--bg);
}

.products-header {
    text-align: center;
    margin-bottom: 50px;
}

.products-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 15px;
    color: var(--text);
}

.products-header .subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.cat-btn {
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cat-btn i {
    font-size: 1rem;
}

.cat-btn:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    transform: translateY(-2px);
}

.cat-btn.active {
    background: var(--brand-red);
    color: var(--white);
    border-color: var(--brand-red);
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.25);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.loading-spinner {
    text-align: center;
    padding: 60px;
    font-size: 1.2rem;
    color: var(--text-light);
}

.product-card {
    background: var(--white);
    border-radius: 28px;
    padding: 30px 25px 35px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(225, 6, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

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

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-ref {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: var(--bg);
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
}

/* Bas de carte : prix + appel à l'action */
.product-bottom {
    margin-top: auto;
    padding-top: 18px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.product-cta i {
    font-size: 0.78rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-cta {
    color: var(--brand-red);
}

.product-card:hover .product-cta i {
    transform: translateX(4px);
}

/* =========================================
   FICHE DÉTAIL PRODUIT (MODALE)
========================================= */
.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 24px;
    align-items: center;
    justify-content: center;
}

.product-modal.open {
    display: flex;
    animation: pmFade 0.25s ease-out;
}

@keyframes pmFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-modal-box {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 880px;
    max-height: 88vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    animation: zoomAnim 0.3s ease-out;
}

.product-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.product-modal-close:hover {
    background: var(--brand-red);
    color: #fff;
    transform: rotate(90deg);
}

.product-modal-media {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 32px 24px;
}

/* --- Carrousel produit --- */
.pm-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pm-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.pm-slide {
    flex: 0 0 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-slide img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.pm-slide video {
    width: 100%;
    max-height: 400px;
    border-radius: var(--radius-sm);
    background: #000;
    outline: none;
}

.pm-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.pm-nav:hover {
    background: var(--brand-red);
    color: #fff;
}

.pm-prev { left: 6px; }
.pm-next { right: 6px; }

.pm-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.pm-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: var(--transition);
}

.pm-dot:hover { background: rgba(0, 0, 0, 0.4); }

.pm-dot.active {
    background: var(--brand-red);
    transform: scale(1.25);
}

.pm-carousel.single .pm-nav,
.pm-carousel.single .pm-dots {
    display: none;
}

/* Badge « plusieurs médias » sur la carte produit */
.product-img-wrap { position: relative; }

.product-media-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.product-media-badge i { font-size: 0.72rem; }

.product-modal-info {
    padding: 44px 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.pm-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 10px;
    padding-right: 30px;
}

.pm-ref {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-light);
    background: var(--bg);
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pm-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-light);
    margin-bottom: 22px;
}

.pm-features {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.pm-features li {
    position: relative;
    padding: 6px 0 6px 28px;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.4;
}

.pm-features li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 6px;
    color: #1d9d4e;
    font-size: 0.82rem;
}

.pm-dims {
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    line-height: 1.6;
    margin-bottom: 26px;
}

.pm-dims i {
    color: var(--brand-red);
    margin-right: 6px;
}

.pm-buy-row {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.pm-price {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--brand-red);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp i {
    font-size: 1.25rem;
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

@media (max-width: 720px) {
    .product-modal-box {
        grid-template-columns: 1fr;
        max-height: 90vh;
    }
    .product-modal-media {
        padding: 22px 20px 18px;
    }
    .pm-slide img,
    .pm-slide video {
        max-height: 260px;
    }
    .pm-nav {
        width: 36px;
        height: 36px;
    }
    .product-modal-info {
        padding: 28px 24px 32px;
    }
    .pm-buy-row {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-whatsapp {
        width: 100%;
    }
}

/* =========================================
   13. MODALE IMAGE (LIGHTBOX)
========================================= */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.modal-content {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    animation: zoomAnim 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--brand-red);
    transform: scale(1.1);
}

@keyframes zoomAnim {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* =========================================
   14. RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .hero-wrapper,
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-card {
        height: 400px;
    }
    
    .about-image-card {
        height: 350px;
    }
    
    .contact-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li a {
        font-size: 1.2rem;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-left h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-wrapper {
        padding: 30px 20px;
        gap: 40px;
    }
    
    .category-nav {
        gap: 10px;
    }
    
    .cat-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-card img {
        height: 220px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
    }
    
    .close-modal {
        top: 20px;
        right: 20px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 70px;
    }
    
    .logo img {
        width: 90px;
    }
    
    .hero-left h1 {
        font-size: 2.2rem;
    }
    
    .hero-badge {
        font-size: 0.65rem;
    }
    
    .section-tag {
        font-size: 0.7rem;
    }
    
    .preview-content {
        padding: 20px;
    }
    
    .preview-content h3 {
        font-size: 1.2rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .contact-item i {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}