html {
    scroll-behavior: smooth; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-dark: #0a0f1d;
    --card-dark: #121b2d;
    --accent-gold: #ffb300;
    --accent-blue: #0091ea;
    --text-light: #ffffff;
    --text-gray: #a0aec0;

    /* --- Systeme premium : typographie, formes, mouvement --- */
    --font-display: 'Outfit', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --radius-pill: 999px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --line-soft: rgba(255, 255, 255, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-attachment: fixed;
    background-size: cover;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container, .main-content, #app {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}

#intro-cinematic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 9999;
    transition: opacity 1s ease-out;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#traveling-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, rgba(5, 15, 27, 0.15) 0%, rgba(5, 15, 27, 0.55) 55%, rgba(3, 8, 16, 0.94) 100%),
        linear-gradient(to bottom, rgba(3, 8, 16, 0.65) 0%, rgba(3, 8, 16, 0.1) 30%, rgba(3, 8, 16, 0.1) 65%, rgba(3, 8, 16, 0.85) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

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

.logo-wrapper > * {
    opacity: 0;
    transform: translateY(22px);
    animation: introReveal 0.9s var(--ease-premium) forwards;
}

.logo-wrapper .zoom-logo { animation: introZoomIn 0.9s var(--ease-premium) forwards, smoothZoom 10s var(--ease-premium) 0.9s infinite alternate; }
.logo-wrapper .intro-title { animation-delay: 0.35s; }
.logo-wrapper .intro-origin { animation-delay: 0.55s; }
.logo-wrapper .btn-enter { animation-delay: 0.75s; }

@keyframes introReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes introZoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

.intro-title {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-top: 18px;
}

.intro-title span {
    color: var(--accent-gold);
    font-weight: 800;
}

.intro-origin {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.intro-origin span {
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
}

.intro-origin span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: rgba(255, 179, 0, 0.4);
}

.zoom-logo {
    width: 180px;
}

@keyframes smoothZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}

.btn-enter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding: 16px 38px;
    background: transparent;
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.4s var(--ease-premium), color 0.4s var(--ease-premium), transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}

.btn-enter i {
    font-size: 0.85rem;
    transition: transform 0.4s var(--ease-premium);
}

.btn-enter:hover {
    background-color: var(--accent-gold);
    color: #0b1e36;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 179, 0, 0.35);
}

.btn-enter:hover i {
    transform: translateX(4px);
}

.hidden { display: none !important; }

/* --- 1. BANDE PASSANTE TEXTE DÉFILANT --- */
.top-announcement-bar {
    background-color: #050f1b;
    color: #ffffff;
    height: 35px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--cyan, #00e5ff);
    animation: ticker 25s linear infinite;
}

/* ==========================================================================
   BOUTIQUE STYLE NEW ARRIVALS (ÉPURÉ & MINIMALISTE)
   ========================================================================== */

.shop-container {
    background-color: #ffffff !important; 
    padding: 60px 5%;
    width: 100%;
}

/* --- EN-TÊTE AVEC LIGNES LATÉRALES --- */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 5px auto;
}

.shop-header .header-line {
    flex: 1;
    height: 1px;
    background-color: #e2e8f0; 
}

.shop-header .section-title {
    font-family: var(--font-display);
    color: #0f172a !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.shop-subheader {
    text-align: center;
    margin-bottom: 40px;
}

.shop-subheader .view-all-link {
    color: #64748b;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.shop-subheader .view-all-link:hover {
    color: #00e5ff;
}

.home-products-loading {
    text-align: center;
    padding: 70px 20px;
    color: #64748b;
}

.home-products-loading i {
    font-size: 34px;
    color: #0f172a;
    margin-bottom: 12px;
}

/* --- GRILLE DE PRODUITS --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- CARTE PRODUIT --- */
.product-card {
    background: #ffffff;
    position: relative;
    border: 1px solid #f1f5f9; 
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* --- BADGES (SALE / PROMO) --- */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
    border-radius: 2px;
}

.sale-badge {
    background-color: #ef4444 !important; 
    color: #ffffff !important;
}

.out-badge {
    background-color: #94a3b8 !important; 
    color: #ffffff !important;
}

/* --- ZONE IMAGE --- */
.product-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    transition: transform 0.3s ease;
}

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

/* --- BLOC INFOS PRODUIT --- */
.product-info {
    padding: 20px;
    text-align: center; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-title {
    font-size: 14px;
    color: #1e293b !important;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 12px 0;
    height: 40px; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- BLOC PRIX --- */
.product-price-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.old-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}

.current-price {
    font-size: 15px;
    color: #ef4444 !important;
    font-weight: 700;
}

/* --- BOUTON AJOUT AU PANIER --- */
.product-info .add-to-cart-btn {
    background-color: #050f1b !important; 
    color: #ffffff !important;
    border: none;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
    transition: background-color 0.2s;
}

.product-info .add-to-cart-btn:hover {
    background-color: #00e5ff !important; 
    color: #050f1b !important;
}

/* État désactivé pour la rupture */
.product-info .add-to-cart-btn.disabled {
    background-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
}

.disabled-card {
    opacity: 0.75;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* --- 2. BARRE DE NAVIGATION RESTRUCTURÉE --- */
.navbar {
   display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;

    /* Le secret : Elle devient bleu foncé dès qu'on commence à défiler */
    position: sticky !important;
    top: 0;
    z-index: 1000;

    /* Voile sur la vidéo hero (contraste garanti quel que soit le contenu de l'image), devient bleu foncé plein au défilement */
    background: linear-gradient(to bottom, rgba(5, 15, 27, 0.82) 0%, rgba(5, 15, 27, 0.45) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: 1px solid transparent !important;
    height: 70px;
    transition: background-color 0.4s var(--ease-premium), background 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium), height 0.4s var(--ease-premium);
}

/* --- ÉTAT QUAND ON DÉFILE (GÉRÉ PAR LE SCRIPT JS) --- */
.navbar.scrolled {
    background: #050f1b !important; /* Devient bleu foncé comme l'annonce bar */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; /* Fine ligne subtile */
    top: 0 !important; /* Remonte tout en haut en masquant la bande passante */
    height: 65px;
}

/* Les éléments restent blancs et lumineux sur le fond bleu foncé */
.navbar.scrolled .nav-logo {
    color: #ffffff !important;
}

.navbar.scrolled .nav-logo .highlight {
    color: #ffb300 !important; /* Garde le "COMPUTER" en jaune d'origine */
}

.navbar.scrolled .nav-icons a {
    color: #ffffff !important;
}

.navbar.scrolled .nav-icons a:hover {
    color: #00e5ff !important; /* Un effet cyan technologique au survol */
}

.navbar.scrolled .menu-burger span {
    background-color: #ffffff !important; /* Le menu burger reste blanc */
}

.menu-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0; /* Ne doit jamais être écrasé par le logo sur petits écrans */
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.menu-burger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* --- CENTRALISATION DU TEXTE ET DU BOUTON SUR L'IMAGE HERO --- */

/* Le conteneur parent doit être un repère (relative) */
.hero-image-container {
  position: relative !important;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;      
    justify-content: center; 
}

/* L'image prend tout l'espace en arrière-plan */
.hero-image-container .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image s'adapte sans se déformer */
    z-index: 1;
}

/* Le voile sombre pour détacher le texte blanc */
.hero-image-container .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 15, 27, 0.7) 0%, rgba(5, 15, 27, 0.4) 100%) !important;
    z-index: 2;
}

/* Le bloc contenant vos textes et boutons passe au-dessus */
.hero-image-container .hero-content {
   position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px;
}

/* Style des textes du Hero */
.hero-content h2 {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    color: #cbd5e1 !important;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Design du bouton CTA Jaune centré */
.hero-content .cta-btn {
    display: inline-block;
    background-color: #ffb300 !important;
    color: #0b1e36 !important;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    
    /* Transition fluide pour l'animation */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.hero-content .cta-btn:hover {
    background-color: #ffca4d !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5) !important;
}

/* ==========================================================================
   DESIGN MAGNIFIQUE ET LUMINEUX POUR LE TEXTE DE BIENVENUE
   ========================================================================== */

/* L'effet Dégradé Lumineux sur le nom de la marque */
.hero-content .gradient-brand {
    color: #ffb300 !important; /* Jaune ACF d'origine, ultra-lumineux sur fond sombre */
    -webkit-background-clip: initial !important; /* Annule le masque de dégradé */
    -webkit-text-fill-color: initial !important; /* Rétablit le remplissage normal */
    font-weight: 900;
    letter-spacing: 1.5px;
    display: inline-block;
    position: relative;

    /* Ombre noire pour détacher le texte + halo doré diffus pour un rendu "lumineux" premium */
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(255, 179, 0, 0.45) !important;
}

/* Le Titre Principal */
.hero-content h2 {
    color: #ffffff !important;
    font-family: var(--font-display);
    font-size: 3.85rem; /* Grand, percutant et élégant */
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -1px;
    /* Ombre fluide pour détacher parfaitement le texte du fond vidéo */
    text-shadow: 0 4px 20px rgba(0, 0, 1, 0.664);
}

/* Petit accent doré signature sous le titre, pour un rendu plus soigné */
.hero-content h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 22px auto 0 auto;
    border-radius: var(--radius-pill, 999px);
    background: linear-gradient(90deg, transparent, #ffb300, transparent);
}

/* Le Sous-titre Épuré */
.hero-content .hero-subtitle {
    color: #cbd5e1 !important; /* Gris bleuté très doux à l'œil */
    font-size: 1.3rem;
    font-weight: 400;
    max-width: 680px; /* Aligné sur 3 lignes maximum pour une lecture agréable */
    margin: 0 auto 40px auto;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
}

/* --- ANIMATION EN DOUCEUR AU CHARGEMENT (entrée en cascade) --- */
.animated-fade-in > * {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animated-fade-in > .hero-eyebrow { animation-delay: 0.15s; }
.animated-fade-in > h2 { animation-delay: 0.32s; }
.animated-fade-in > .hero-subtitle { animation-delay: 0.5s; }
.animated-fade-in > .hero-actions { animation-delay: 0.68s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- ADAPTATION ÉCRANS MOBILES (POUR QUE ÇA RESTE MAGNIFIQUE) --- */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.2rem; /* On réduit la taille sur mobile pour éviter que ça coupe */
        margin-bottom: 15px;
    }
    .hero-content .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }
}
/* --- CORRECTION SÉCURISÉE DE LA SIDEBAR GAUCHE --- */

/* Le panneau latéral : doit être masqué complètement à gauche au départ */
.sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -340px !important;
    width: 320px !important;
    height: 100vh !important;
    background-color: #050f1b !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6) !important;
    z-index: 99999 !important;
    padding: 40px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* L'action magique : quand le script s'active, on glisse à l'écran */
.sidebar.open {
    left: 0 !important;
}

/* Header à l'intérieur du menu coulissant */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.sidebar-header .close-btn {
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.4s ease, color 0.3s ease !important;
}

.sidebar-header .close-btn:hover {
    color: #ffb300;
    transform: rotate(90deg);
}

/* Alignement vertical des liens du menu */
.sidebar-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
    margin-top: 40px !important;
}

.sidebar-links a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    display: block !important;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    transition: transform 0.4s ease, color 0.3s ease, opacity 0.4s ease !important;
}

.sidebar-links a:hover {
    color: #00e5ff !important; 
    padding-left: 10px;
}

/* Volet d'ombrage en arrière-plan */
.sidebar-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(3, 10, 20, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 99998 !important;
    display: block !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease !important;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.sidebar.open .sidebar-links a {
    opacity: 1;
    transform: translateY(0);
}

.sidebar.open .sidebar-links a:nth-child(1) { transition-delay: 0.1s !important; }
.sidebar.open .sidebar-links a:nth-child(2) { transition-delay: 0.15s !important; }
.sidebar.open .sidebar-links a:nth-child(3) { transition-delay: 0.2s !important; }
.sidebar.open .sidebar-links a:nth-child(4) { transition-delay: 0.25s !important; }
.sidebar.open .sidebar-links a:nth-child(5) { transition-delay: 0.3s !important; }
.sidebar.open .sidebar-links a:nth-child(6) { transition-delay: 0.35s !important; }

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    min-width: 0; /* Autorise le texte à rétrécir au lieu d'écraser le bouton menu */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-logo span, .nav-logo img { flex-shrink: 0; }

.highlight {
    color: #ffb300; /* Jaune vif doré pour ACF COMPUTER */
}

/* Icônes poussées à droite et isolées */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0; /* Ne doit jamais être écrasé par le logo sur petits écrans */
}

.nav-icons a {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.nav-icons a:hover {
    color: #00e5ff; /* Cyan au survol */
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ffb300;
    color: #0b1e36;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

/* ==========================================================================
   BADGE COMPTE CONNECTÉ (photo de profil + déconnexion) — data-account-slot
   Partagé par auth.js sur toutes les pages ; voir la même règle dans styleb.css
   pour les pages à en-tête clair-sur-fond-sombre (Boutique, Contact, Compte...).
   ========================================================================== */
.acf-acc-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 4px 6px 4px 4px;
}

.acf-acc-identity {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding-right: 2px;
}

.acf-acc-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold, #ffb300);
    flex-shrink: 0;
}

.acf-acc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.acf-acc-avatar-fallback {
    color: #0b1e36;
    font-weight: 800;
    font-size: 12px;
}

.acf-acc-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acf-acc-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background: transparent;
    text-decoration: none;
    font-size: 13px;
    transition: background-color 0.2s var(--ease-premium, ease), color 0.2s var(--ease-premium, ease);
}

.acf-acc-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.acf-acc-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

.acf-acc-login {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.acf-acc-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- 3. HERO AVEC BACKGROUND VIDÉO PLEIN ÉCRAN --- */
.hero-video-container {
    position: relative !important;
    width: 100%;
    height: calc(100vh - 105px); 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.06);
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    animation: heroKenBurns 22s var(--ease-premium) infinite alternate;
}

@keyframes heroKenBurns {
    0% { transform: translate(-50%, -50%) scale(1.06); }
    100% { transform: translate(-50%, -50%) scale(1.16); }
}

/* Overlay fusionnant vos teintes : Bleu nuit transparent vers l'or */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, rgba(5, 15, 27, 0.1) 0%, rgba(5, 15, 27, 0.45) 70%, rgba(5, 15, 27, 0.7) 100%),
        linear-gradient(to bottom, rgba(5, 15, 27, 0.65) 0%, rgba(5, 15, 27, 0.25) 35%, rgba(5, 15, 27, 0.35) 65%, rgba(5, 15, 27, 0.9) 100%) !important;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;       /* Aligne les lignes de texte et le bouton au centre */
    max-width: 800px;         /* Reprend sa largeur maximale d'origine pour être à l'aise */
    padding: 0 20px;          /* Des marges égales à gauche et à droite */
    margin-top: 60px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background-color: var(--accent-gold);
}

.hero-content h2 {
    font-family: var(--font-display);
    font-size: 3.85rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 22px auto 0 auto;
    border-radius: var(--radius-pill, 999px);
    background: linear-gradient(90deg, transparent, #ffb300, transparent);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #e2e8f0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-secondary-link {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: color 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium), gap 0.3s var(--ease-premium);
}

.hero-secondary-link i {
    font-size: 0.8rem;
}

.hero-secondary-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    gap: 12px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 38px;
    background-color: #ffb300;
    color: #0b1e36;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    border-radius: var(--radius-pill);
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium), background-color 0.4s var(--ease-premium);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.cta-btn:hover {
    background-color: #ffca4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(255, 204, 0, 0.5);
}

/* --- COMPOSANTE : BARRE DES QUALITÉS EN DESSOUS DU HERO --- */
.features-bar {
    background-color: #f8f9fa; /* Fond clair pour découper les sections */
    padding: 30px 5%;
    width: 100%;
}

.features-container {
    background-color: #050f1b; /* Fond noir/bleu nuit ultra sombre comme sur la photo */
    border-radius: 16px; /* Bords bien arrondis */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
    position: relative;
}

/* Ligne de séparation verticale entre les éléments (ne s'applique pas sur mobile) */
@media (min-width: 768px) {
    .feature-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -10px;
        top: 15%;
        width: 1px;
        height: 70%;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Style des icônes vert/cyan fluo */
.feature-icon {
    font-size: 24px;
    color: #00e5ff; /* Couleur éclatante technologique */
    margin-top: 3px;
}

.feature-text h4 {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.feature-text p {
    color: #94a3b8 !important; /* Texte de description gris clair lisible */
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* Version Mobile responsive */
@media (max-width: 768px) {
    .hero-content { padding: 0 20px; width: 100%; } 
    .hero-content h2 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-content .hero-subtitle { font-size: 1rem !important; margin-bottom: 25px; } 
    .nav-logo { font-size: 1.2rem; }
    html, body { height: 100%; overflow-x: hidden; }
}

@media (max-width: 400px) {
    .nav-logo { font-size: 1rem; gap: 6px !important; }
    .nav-logo img { height: 26px !important; width: 26px !important; }
}

/* ==========================================================================
   SECTION TÉMOIGNAGES (AVIS CLIENTS 4-5 ÉTOILES)
   ========================================================================== */
.testimonials-home-section {
    width: 100%;
    max-width: 1240px;
    margin: 20px auto 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonials-home-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px auto;
}

.testimonials-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 179, 0, 0.1);
    color: #ffb300;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.testimonials-home-header h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.testimonials-home-header p {
    color: #64748b;
    font-size: 14.5px;
    margin: 0;
}

.testimonials-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.testimonial-home-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg, 16px);
    padding: 26px;
    box-shadow: 0 4px 16px rgba(3, 15, 30, 0.04);
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium);
}

.testimonial-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(3, 15, 30, 0.08);
}

.testimonial-home-stars {
    color: #ffb300;
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-home-comment {
    color: #1e293b;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 20px;
    min-height: 60px;
}

.testimonial-home-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.testimonial-home-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #050f1b;
    color: #ffb300;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-home-author-name {
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
}

.testimonial-home-author-date {
    font-size: 12px;
    color: #94a3b8;
}

.testimonials-home-empty {
    text-align: center;
    color: #94a3b8;
    padding: 30px 20px;
}

/* ==========================================================================
   DESIGN DU PIED DE PAGE (FOOTER PREMIUM)
   ========================================================================== */

.main-footer {
    background-color: #050f1b !important; /* Même fond ultra sombre que votre barre de qualités */
    padding: 50px 5% 20px 5%;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid !important;
    grid-template-columns: 2fr 1.2fr 1.5fr 1.3fr !important; /* Répartition intelligente des largeurs */
    gap: 20px !important; /* Espace entre les colonnes */
    max-width: 1240px !important;
    margin: 0 auto !important;
}

.footer-social-section {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important; /* Espace interne entre le titre, la phrase et les icônes */
}

/* Force l'alignement horizontal uniquement pour la ligne de vos icônes (Facebook, TikTok, WhatsApp) */
.footer-social-icons {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important; /* Espace entre les boutons */
    margin-top: 10px !important;
}

.footer-social-icons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;  /* Taille du bouton augmentée */
    height: 46px !important; /* Taille du bouton augmentée */
    background-color: rgba(255, 255, 255, 0.06) !important; /* Fond sombre discret par défaut */
    color: #ffffff !important; /* Couleur de l'icône par défaut */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important; /* Rend le bouton parfaitement rond */
    font-size: 20px !important; /* Taille de l'icône à l'intérieur */
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Transition super fluide */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important;
}

.footer-social-icons a:hover {
    transform: translateY(-4px) !important; /* Le bouton monte légèrement */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3) !important; /* Ombre plus prononcée */
    border-color: transparent !important;
}

/* Style spécifique : FACEBOOK */
.footer-social-icons a[title="Facebook"]:hover,
.footer-social-icons a:has(.fa-facebook-f):hover {
    background-color: #1877F2 !important; /* Bleu officiel Facebook */
    color: #ffffff !important;
}

/* Style spécifique : TIKTOK */
.footer-social-icons a[title="TikTok"]:hover,
.footer-social-icons a:has(.fa-tiktok):hover {
    background-color: #000000 !important; /* Fond noir TikTok */
    color: #ffffff !important;
    border: 1px solid #00f2fe !important; /* Effet néon subtil bleu/rose propre à TikTok */
    text-shadow: 1px 1px #fe2c55, -1px -1px #00f2fe !important;
}

/* Style spécifique : WHATSAPP */
.footer-social-icons a[title="WhatsApp"]:hover,
.footer-social-icons a:has(.fa-whatsapp):hover {
    background-color: #25D366 !important; /* Vert officiel WhatsApp */
    color: #ffffff !important;
}

.footer-brand-info {
    max-width: 800px !important; 
    width: 100% !important;
}

.footer-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.footer-column h2 {
    font-family: var(--font-display);
    color: #ffb300 !important; /* Jaune/Orange ACF COMPUTER */
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

h3 {
    color: #ffffff !important; /* Blanc pour les autres titres */
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
}



.footer-column p {
    color: #94a3b8 !important; /* Gris doux très lisible */
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    margin-bottom: 12px !important; /* Espace équilibré entre l'adresse, le téléphone et les horaires */
}

/* --- RESPONSIVE : DESIGN FLUIDE POUR TABLETTES ET PHONES --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr) !important; /* Passe en 2x2 sur tablette */
        gap: 40px !important;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr !important; /* Tout s'empile proprement sur mobile */
        text-align: center !important;
    }
    .footer-social-icons {
        justify-content: center !important;
    }
}

/* --- LOGO ACF DU BAS --- */
.footer-column.branding h3 {
    color: #ffb300 !important; /* Rappel du jaune de votre marque */
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.footer-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.2s ease !important;
}

.footer-links a:hover {
    color: #ffb300 !important; /* Changement au survol */
}

.footer-contact-info {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
}

.footer-contact-info i {
    color: #ffb300 !important; /* Icônes en couleur */
    margin-right: 8px;
    width: 16px;
}

.badge-open {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* --- CONTENEUR DES ICÔNES DE RÉSEAUX SOCIAUX --- */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

/* Style de base des cercles des réseaux */
.social-icon {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%; /* Cercles parfaits */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- EFFETS AU SURVOL PERSONNALISÉS (LUMINEUX) --- */
.social-icon:hover {
    transform: translateY(-4px) scale(1.08);
}

.social-icon.facebook:hover {
    background-color: #1877f2 !important; /* Bleu officiel Facebook */
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-icon.tiktok:hover {
    background-color: #000000 !important; /* Noir profond TikTok */
    color: #00f2fe !important; /* Flash cyan */
    border: 1px solid #fe2c55; /* Ligne rouge TikTok */
    box-shadow: 0 5px 15px rgba(254, 44, 85, 0.4);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; /* Dégradé Insta */
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}

.social-icon.whatsapp:hover {
    background-color: #25d366 !important; /* Vert WhatsApp */
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* --- COPYRIGHT DE BAS DE PAGE --- */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #64748b !important;
    font-size: 12px;
    margin: 0;
}

/* =========================================================
   STYLE DE LA SECTION NOS MARQUES
   ========================================================= */
.brands-section {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    overflow-x: hidden !important;
}

.brands-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
}

.brands-header h2 {
    font-family: var(--font-display);
    color: #0f172a !important;
    font-size: 26px;
    font-weight: 700;
}

.brands-grid-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 4 colonnes parfaites */
    gap: 20px !important;
}

/* La carte d'une marque */
.brand-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Le rectangle gris clair qui contient le logo */
.brand-logo-wrapper {
    width: 100% !important;
    height: 145px !important; /* Hauteur fixe pour aligner tous les blocs */
    background-color: #f1f5f9 !important; /* Fond gris clair de ta capture */
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 25px !important; /* Empêche le logo de toucher les bords */
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
}

/* Redimensionnement intelligent de tes vrais logos */
.brand-custom-img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Force le logo à garder ses proportions sans s'écraser */
    display: block !important;
}

/* Le texte sous la carte */
.brand-card span {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* Effet au survol des cartes */
.brand-logo-wrapper:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    cursor: pointer !important;
}

.carousel-arrows {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.arrow-btn.active, .arrow-btn:hover {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #ffffff;
}

.brands-carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; /* Cache la page qui ne doit pas être vue */
}

.brands-track {
   display: flex !important;
    flex-direction: row !important;
    width: 300% !important; /* 3 pages = 300% de largeur */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.brands-page {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 33.333%; /* Chaque page prend exactement un tiers du track (donc l'espace visible) */display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* Force les 4 logos alignés */
    gap: 20px !important;
    width: 100% !important; /* Occupe exactement tout l'écran disponible pour la page */
    box-sizing: border-box !important;
}

.brand-custom-img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* --- BASE DES GRAPHISMES DE LOGOS --- */
.brand-logo-graphics {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 22px;
    color: #1e293b;
    user-select: none;
}

/* 1. HP (Cercle bleu emblématique incliné) */
.hp-graphics {
    font-family: 'Arial Rounded MT Bold', sans-serif;
    font-weight: 900;
    font-style: italic;
    background-color: #007db1;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    padding-right: 2px;
}

/* 2. LENOVO (Rectangle minimaliste noir/rouge) */
.lenovo-graphics {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    text-transform: lowercase;
    background-color: #000000;
    color: #ffffff !important;
    padding: 6px 14px;
    font-size: 16px;
    letter-spacing: 0.5px;
}
/* --- REPRODUCTION DU LOGO OFFICIEL LENOVO --- */
.lenovo-official-box {
    background-color: #e2141a !important; /* Le rouge vif officiel Lenovo */
    width: 100% !important;
    height: 100% !important;
    border-radius: 2px; /* Coins très légèrement adoucis comme sur l'image */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lenovo-official-box span {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    color: #ffffff !important; /* Texte blanc pur */
    font-size: 25px; /* Taille proportionnelle au bloc */
    font-weight: 300; /* Écriture fine (Light) identique à l'original */
    text-transform: lowercase; /* Toujours en minuscules */
    letter-spacing: -0.5px; /* Lettres légèrement resserrées */
}

/* 3. ASUS (Typographie technologique futuriste) */
.asus-graphics {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -2px;
    color: #0053a1 !important;
    font-size: 28px;
}

/* 4. MSI (Le fameux bouclier de dragon Gaming) */
.msi-graphics {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.msi-graphics i {
    font-size: 32px;
    color: #ff003c; /* Rouge MSI */
}
.msi-graphics span {
    font-family: 'Arial Black', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: lowercase;
    color: #1e293b;
}

/* 5. APPLE (La pomme croquée épurée) */
.apple-graphics i {
    font-size: 45px;
    color: #000000;
}

/* 6. DELL (Le fameux 'E' penché caractéristique) */
.dell-graphics {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-weight: 800;
    color: #0076ce !important;
    font-size: 26px;
    letter-spacing: -1px;
}

/* 7. SAMSUNG (Police Serif brute condensée officielle) */
.samsung-graphics {
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    color: #0a47a3 !important;
    font-size: 20px;
}

/* 8. ACER (Le vert lime épuré d'Acer) */
.acer-graphics {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: bold;
    color: #83b81a !important;
    letter-spacing: -1px;
    font-size: 24px;
}

/* 9. MICROSOFT (Les 4 carrés de couleur Windows) */
.microsoft-graphics i {
    color: #f25022; /* Rouge orange Windows */
    text-shadow: 16px 0 0 #7fba00, 0 16px 0 #00a4ef, 16px 16px 0 #ffb900; /* Crée la grille de 4 couleurs */
    font-size: 14px;
    margin-right: 24px;
}
.microsoft-graphics span {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #5e5e5e;
    font-size: 18px;
}

/* 10. RAZER (Le serpent/dragon vert fluo) */
.razer-graphics i {
    color: #00ff00;
    font-size: 26px;
    margin-right: 6px;
}
.razer-graphics span {
    font-family: 'Impact', sans-serif;
    letter-spacing: 2px;
    color: #000000;
    font-size: 18px;
}

/* 11. VICTUS (Le grand 'V' géométrique angulaire de HP Victus) */
.victus-graphics {
    font-family: 'Futura', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: #032b2f !important; /* Le bleu-vert sombre signature de Victus */
    transform: scaleX(1.2);
}

/* 12. GIGABYTE (Style mécanique bleu métallique) */
.gigabyte-graphics {
    font-family: Arial, sans-serif;
    font-weight: 800;
    font-style: italic;
    color: #0056b3 !important;
    letter-spacing: -0.5px;
    font-size: 20px;
}

/* Reste de votre style pour les logos */
.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.brand-logo-container {
    width: 100%;
    height: 110px;
    background-color: #f1f3f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: transform 0.2s ease;
}
.brand-text-logo { font-size: 24px; font-weight: 800; color: #1e293b; }
.brand-name { font-size: 13px; font-weight: 700; color: #334155; }

@media (max-width: 768px) {
    .brands-page {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 par ligne sur mobile */
    }
    .brand-logo-wrapper {
        height: 110px !important; /* Un peu moins haut sur mobile pour rester proportionné */
        padding: 16px !important;
    }
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.brand-logo-container {
    width: 100%;
    height: 110px;
    background-color: #f1f3f5; /* Fond gris clair comme sur la capture */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: transform 0.2s ease;
}

.brand-logo-container:hover {
    transform: translateY(-3px);
}

.brand-svg {
    max-height: 55px;
    width: auto;
}

.brand-text-logo {
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
}

.brand-text-logo.altyk {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 4px;
    font-weight: 400;
}

.brand-text-logo.asus {
    font-style: italic;
    font-weight: 900;
    letter-spacing: -2px;
}

.msi-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.msi-shield {
    font-size: 26px;
    color: #1e293b;
}

.msi-txt {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
    font-style: italic;
}

.brand-name {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

/* Version mobile */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- AUGMENTATION DE LA POLICE DE LA SECTION MARQUES --- */

/* 1. Le titre principal "Nos marques" */
.brands-header h2 {
    font-size: 32px !important; /* Augmenté (était à 26px) */
}

/* 2. Le nom des marques en dessous des carrés gris */
.brand-name {
    font-size: 16px !important; /* Augmenté (était à 13px) */
    font-weight: 700;
    margin-top: 5px;
}

/* 3. Les écritures à l'intérieur des logos graphiques */
.brand-logo-graphics {
    font-size: 28px !important; /* Augmentation générale des textes des logos (ASUS, DELL, etc.) */
}

/* 4. Cas particuliers ajustés proportionnellement */
.lenovo-official-box span {
    font-size: 32px !important; /* Écriture lenovo plus grande et lisible */
}

.hp-graphics {
    width: 70px !important;  /* Légèrement agrandi pour accueillir une police plus grande */
    height: 70px !important;
    font-size: 34px !important; /* Écriture hp augmentée */
}

.samsung-graphics {
    font-size: 24px !important; /* Écriture SAMSUNG augmentée */
}

.acer-graphics {
    font-size: 30px !important; /* Écriture acer augmentée */
}

.microsoft-graphics span, 
.razer-graphics span {
    font-size: 22px !important; /* Écritures Microsoft et Razer augmentées */
}

.msi-graphics span {
    font-size: 18px !important; /* Écriture msi sous le bouclier augmentée */
}

.victus-graphics {
    font-size: 58px !important; /* Le grand 'V' de Victus accentué */
}

.gigabyte-graphics {
    font-size: 24px !important; /* Écriture GIGABYTE augmentée */
}

/* =========================================================
   STYLE DE LA SECTION DES SERVICES (AVANT LE FOOTER)
   ========================================================= */
.services-features-section {
    display: flex !important;
    flex-direction: column !important; /* Met la grille en haut et la barre de paiement tout en bas */
    background-color: #ffffff !important;
    padding: 60px 5% !important;
    width: 100% !important;
}

.services-features-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* Force les 4 cartes côte à côte */
    gap: 20px !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}

.service-feature-card {
   display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    background: #f8fafc !important; /* Un léger fond gris pour délimiter proprement les blocs */
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
}

.service-feature-icon {
  font-size: 32px !important;
    color: #0091ea !important;
    margin-top: 2px !important;
}

.service-feature-text {
   display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.service-feature-text h3 {
   font-family: var(--font-display);
   color: #0f172a !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.service-feature-text p {
   color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.payment-full-width-bar {
   display: flex !important;
    flex-direction: column !important; /* Titre, puis logos en dessous */
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 60px auto 0 auto !important; /* Crée l'espace d'éloignement souhaité */
    padding-top: 30px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.payment-full-width-bar h4 {
   font-size: 20px !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

/* --- ADAPTATION MOBILE ET TABLETTE --- */
@media (max-width: 1100px) {
    .services-features-container {
       grid-template-columns: repeat(2, 1fr) !important; /* Passe à 2 par ligne sur tablette */
        gap: 30px !important;
    }
}

@media (max-width: 640px) {
    .services-features-container {
        grid-template-columns: 1fr !important;
    }
    .service-feature-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
}

/* --- GRAPHISMES DES MOYENS DE PAIEMENT --- */
.payment-methods-logos {
 display: flex !important;
    flex-direction: row !important; /* Force l'alignement horizontal des images */
    gap: 15px !important;
}

.pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 2px 8px;
    font-family: 'Arial Black', sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    border-radius: 4px;
    user-select: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pay-badge-official {
  width: 90px !important;
    height: 38px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.pay-badge-official:hover {
    transform: translateY(-3px) !important;
}

.payment-img-logo {
   max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.payment-svg-logo {
    width: 100%;
    height: 100%;
    display: block;
}

/* Wave (Bleu ciel signature) */
.wave-logo {
    background-color: #1dc2f1;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    text-transform: lowercase;
    font-weight: bold;
    font-style: italic;
    font-size: 12px;
}

/* Orange Money (Orange et Noir) */
.om-logo {
    background-color: #ff6600;
    color: #ffffff;
    font-size: 10px;
    letter-spacing: -0.5px;
}

/* Cartes bancaires (Visa / Mastercard) */
.visa-card {
    background-color: #1a1f71;
    color: #ffffff;
    font-size: 16px;
}

.master-card {
    background-color: #222222;
    color: #ff5f00;
    font-size: 16px;
}

/* Alignement centré automatique si basculement en mode mobile */
@media (max-width: 640px) {
    .payment-methods-logos {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .payment-full-width-bar {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center !important;
    }

    .payment-methods-logos {
       justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

/* --- AJUSTEMENT DE LA POSITION DE ACF COMPUTER --- */
footer h3, 
.footer-logo-text, 
.footer-section h3 { 
    margin-top: 30px !important; /* Ajustez les pixels (30px, 40px...) pour descendre plus ou moins */
}

/* =========================================================
   STYLE DU WIDGET FLOTTANT WHATSAPP
   ========================================================= */
#whatsapp-widget {
    position: fixed !important;
    bottom: 30px !important; /* Distance par rapport au bas de l'écran */
    right: 30px !important;  /* Distance par rapport à la droite */
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important; /* Vert officiel WhatsApp */
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
    z-index: 9999 !important; /* S'assure qu'il passe au-dessus de tout le contenu */
    transition: transform 0.3s ease, background-color 0.3s ease !important;
    
    /* Animation de pulsation douce pour attirer l'attention */
    animation: pulse-whatsapp 2s infinite !important;
}

/* Effet au survol du bouton */
#whatsapp-widget:hover {
    transform: scale(1.1) !important;
    background-color: #20ba5a !important;
}

/* Style de la bulle d'aide (Tooltip) */
#whatsapp-widget .tooltip {
    position: absolute !important;
    right: 75px !important; /* Aligné à gauche du bouton */
    background-color: #0f172a !important; /* Fond sombre moderne */
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-family: sans-serif !important;
    white-space: nowrap !important; /* Évite que le texte revienne à la ligne */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    opacity: 0 !important; /* Caché par défaut */
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Petite flèche sur la bulle d'aide */
#whatsapp-widget .tooltip::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: -6px !important;
    transform: translateY(-50%) !important;
    border-width: 6px !important;
    border-style: solid !important;
    border-color: transparent transparent transparent #0f172a !important;
}

/* Affiche la bulle d'aide quand on passe la souris sur le widget */
#whatsapp-widget:hover .tooltip {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Définition de l'animation de pulsation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Adaptation pour mobile pour ne pas gêner la navigation */
@media (max-width: 640px) {
    #whatsapp-widget {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 26px !important;
    }
    #whatsapp-widget .tooltip {
        display: none !important; /* On cache la bulle sur mobile pour ne pas encombrer l'écran */
    }
}

/* --- ENSEMBLE DU FOOTER NETTOYÉ ET CORRIGÉ --- */

/* 1. On donne un espace interne léger en haut du bloc noir */
footer, 
.site-footer, 
[class*="footer"] {
    padding-top: 25px !important; 
}

/* 2. On aligne et descend légèrement les 4 titres */
.footer-container h2, .footer-container h3,
.footer-column h2, .footer-column h3,
.site-footer h2, .site-footer h3 {
    margin-top: 10px !important;
    margin-bottom: 0 !important; /* On remet à zéro ici pour supprimer l'espace fantôme */
    padding-bottom: 0 !important;
}

/* 3. On force spécifiquement le texte de contact (et des autres colonnes) à remonter au plus près */
.footer-column p, 
.footer-column ul,
.footer-column .contact-info-list,
.footer-column p:first-of-type {
    margin-top: 5px !important; /* Réduit drastiquement le trou noir sous CONTACT & INFOS */
}

/* 4. On garde un espacement vertical propre entre l'adresse, le numéro et les horaires */
.footer-column p {
    margin-bottom: 12px !important; 
}

/* =========================================================
   STYLE DOUBLE COLONNE : TEXTE À GAUCHE / CARTE À DROITE
   ========================================================= */
.location-section {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 60px auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.location-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.2fr !important; /* Inversion des proportions : Texte 1fr, Carte 1.2fr */
    gap: 45px !important; 
    align-items: center !important;
}

/* Boîte de la carte (Droite désormais) */
.location-map-box {
    width: 100% !important;
    height: 400px !important; 
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.location-map-box iframe {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Boîte des textes (Gauche désormais) */
.location-info-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
}

/* Badge Légende */
.location-badge {
    background-color: rgba(255, 179, 0, 0.1) !important; 
    color: #ffb300 !important; 
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-transform: uppercase !important;
}

.location-info-box h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.location-description {
    font-size: 15px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Encadré d'adresse */
.location-address-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    background-color: #f8fafc !important; 
    padding: 20px !important;
    border-radius: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-left: 4px solid #ffb300 !important; 
}

.address-icon {
    font-size: 22px !important;
    color: #ffb300 !important;
    margin-top: 2px !important;
}

.address-text h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 5px 0 !important;
}

.address-text p {
    font-size: 14px !important;
    color: #334155 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.address-text .city {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    margin-top: 2px !important;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr !important; /* Aligne le texte au-dessus de la carte automatiquement sur mobile */
        gap: 30px !important;
    }
    
    .location-map-box {
        height: 320px !important;
    }
}

/* =========================================================
   PLAN B : FORÇAGE ABSOLU POUR COLLER LE TEXTE AU TITRE
   ========================================================= */

/* On cible directement TOUT ce qui suit immédiatement le titre h3 */
.footer-column h3 + p,
.footer-column h3 + ul,
.footer-column h3 + div,
.footer-column h3 + span {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

/* On force également les icônes et le texte interne à ne pas créer d'espace fantôme */
.footer-column p {
    margin-top: 4px !important; /* Force l'adresse à remonter */
    padding-top: 0 !important;
    line-height: 1.3 !important; /* Rapproche les lignes si l'adresse prend 2 lignes */
}

/* Si tu as utilisé une liste <ul> pour tes contacts */
.footer-column ul {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

/* ==========================================================================
   ACF COMPUTER - UNIFICATION DES BOUTONS ET AFFICHAGE DES TEXTES COMPLET
   ========================================================================== */

/* 1. Structure globale des cartes pour aligner les boutons en bas */
.product-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 520px !important; /* Hauteur ajustée pour accueillir les longs titres */
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* 2. Forcer l'affichage COMPLET du titre (pas de pointillés, pas de texte caché) */
.product-card h3, 
.product-card .product-title {
    font-size: 16px !important;
    line-height: 1.4 !important;
    height: auto !important; 
    overflow: visible !important; 
    text-overflow: clip !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    margin-bottom: 15px !important;
    color: #0f172a !important;
}

/* 3. Harmonisation des boutons "Ajouter au panier" (Couleur bleu nuit/noir identique) */
.product-card .add-to-cart-btn,
.product-grid .add-to-cart-btn {
    background-color: #030f1e !important; /* Couleur sombre unifiée */
    color: #ffffff !important;
    opacity: 1 !important;
    cursor: pointer !important;
    width: 100% !important;
    border: none !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

/* 4. Effet de survol (Hover) sur les boutons pour garder l'interactivité */
.product-card .add-to-cart-btn:hover,
.product-grid .add-to-cart-btn:hover {
    background-color: #ffb300 !important; /* Passe au doré emblématique au survol */
    color: #000000 !important;
}

/* 5. Ancrage automatique de la zone de prix et du bouton en bas de carte */
.product-card .product-info {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-card .product-price-box {
    margin-top: auto !important; /* Pousse les prix et le bouton vers le bas */
    padding-top: 10px !important;
    margin-bottom: 12px !important;
}

/* ==========================================================================
   ACF COMPUTER - STYLE ÉLÉGANT POUR LE CARROUSEL D'IMAGES MULTIPLES
   ========================================================================== */

/* 1. Conteneur principal de l'image sur la carte */
.product-img-wrapper {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important; /* Cadre 16:9 identique pour toutes les cartes, quelle que soit la photo */
    height: auto !important;
    flex-shrink: 0 !important; /* Empêche la carte de l'écraser quand le titre est long */
    background: #f8fafc !important; /* Fond gris très clair moderne */
    border-radius: 12px !important; /* Angles arrondis pour épouser le design */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 20px !important;
}

/* 2. Zone interne des diapositives */
.slides-container {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

/* 3. Comportement des images réelles */
.slides-container img.slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* L'image entière reste visible, sans être coupée par le cadre */
    object-position: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    transform: scale(1.02) !important; /* Léger effet de zoom arrière quand c'est masqué */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out !important;
    pointer-events: none !important;
}

/* Image active (visible) */
.slides-container img.slide.active {
    opacity: 1 !important;
    transform: scale(1) !important; /* Reprend sa taille normale avec fluidité */
    pointer-events: auto !important;
}

/* 4. Boutons flèches (Précédent / Suivant) */
.slide-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(3, 15, 30, 0.7) !important; /* Bleu nuit transparent */
    color: #ffffff !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    opacity: 0 !important; /* Caché par défaut */
    transition: all 0.2s ease-in-out !important;
    z-index: 5 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Affichage des flèches uniquement quand la souris survole la carte du produit */
.product-card:hover .slide-btn {
    opacity: 1 !important;
}

/* Effet au survol des flèches */
.slide-btn:hover {
    background: #ffb300 !important; /* Rappel du doré ACF */
    color: #000000 !important;
    transform: translateY(-50%) scale(1.1) !important; /* Léger gonflement au survol */
}

.slide-btn.prev { left: 12px !important; }
.slide-btn.next { right: 12px !important; }

/* 5. Optionnel : Ombres douces sur les cartes lors du survol pour donner du relief */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(3, 15, 30, 0.08) !important;
}

/* ==========================================================================
   APPARITION AU DÉFILEMENT (sections sous la ligne de flottaison)
   ========================================================================== */
/* Etat masqué uniquement si JS est actif (progressive enhancement) : sans JS
   ou si le script échoue, les sections restent visibles par défaut. */
.js-anim .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
}

.js-anim .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal.in-view > * {
    animation: none;
}

/* Cascade légère sur les enfants directs des grilles (marques, produits, services) */
.reveal.in-view.brands-section .brand-card,
.reveal.in-view .product-card,
.reveal.in-view .service-feature-card {
    animation: heroFadeIn 0.6s var(--ease-premium) both;
}

.reveal .brand-card:nth-child(2), .reveal .product-card:nth-child(2), .reveal .service-feature-card:nth-child(2) { animation-delay: 0.08s; }
.reveal .brand-card:nth-child(3), .reveal .product-card:nth-child(3), .reveal .service-feature-card:nth-child(3) { animation-delay: 0.16s; }
.reveal .brand-card:nth-child(4), .reveal .product-card:nth-child(4), .reveal .service-feature-card:nth-child(4) { animation-delay: 0.24s; }
.reveal .product-card:nth-child(5) { animation-delay: 0.32s; }
.reveal .product-card:nth-child(6) { animation-delay: 0.4s; }

/* ==========================================================================
   ACCESSIBILITÉ : RESPECT DE prefers-reduced-motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .logo-wrapper > *,
    .zoom-logo,
    .hero-video,
    .animated-fade-in > *,
    .reveal,
    .reveal.in-view .brand-card,
    .reveal.in-view .product-card,
    .reveal.in-view .service-feature-card {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}