/* ========== VARIABLES CSS ========== */
:root {
    --primary-black: #0a0a0a;
    --gold-premium: #FFD700;
    --tech-blue: #0066cc;
    --accent-purple: #8a2be2;
    --light-bg: #f8f9fa;
    --dark-bg: #121212;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #fff;
    --text-gray: #aaa;
    --transition: all 0.3s ease;
    --border-radius: 15px;
}

/* ========== RESET ET BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #121212 50%, #1a1a2e 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========== HEADER ========== */
.header-3d {
    background: linear-gradient(145deg, var(--primary-black), #1a1a1a);
    border-bottom: 3px solid var(--gold-premium);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.header-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    animation: shine 8s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Logo header */
.header-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.header-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* Navigation header */
.header-3d .navbar {
    padding: 0.5rem 0;
}

.navbar-nav {
    gap: 15px;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-premium);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-premium) !important;
}

/* Icône panier professionnelle */
.cart-nav-link {
    position: relative;
    padding: 0.6rem 1rem !important;
}

.cart-icon-pro {
    font-size: 1.3rem;
    color: var(--gold-premium);
    transition: var(--transition);
}

.cart-nav-link:hover .cart-icon-pro {
    transform: translateY(-2px) rotate(-5deg);
    color: #ffed4e;
}

/* Badge panier */
.cart-count-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--tech-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-black);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 0 4px;
}

/* Boutons header */
.btn-tech, .btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    white-space: nowrap;
    cursor: pointer;
}

.btn-tech {
    background: linear-gradient(45deg, var(--tech-blue), #4dabf7);
    color: white;
}

.btn-tech:hover {
    background: linear-gradient(45deg, #0056b3, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    color: white;
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold-premium), #ffed4e);
    color: var(--primary-black);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    background: linear-gradient(45deg, #e6c300, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    color: var(--primary-black);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

/* Dropdown utilisateur */
.nav-item.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    text-decoration: none;
}

.dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    margin-top: 8px;
}

.dropdown-item {
    color: var(--text-light);
    padding: 0.6rem 1rem;
    border-radius: 5px;
    margin: 2px 5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-premium);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(18, 18, 18, 0.9)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-black));
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--gold-premium), var(--tech-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--gold-premium);
}

.hero-industry-icon {
    font-size: 8rem;
    color: rgba(255, 215, 0, 0.3);
}

/* ========== CATÉGORIES ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--tech-blue);
}

.section-title span {
    color: var(--gold-premium);
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.category-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px 15px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.7s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-premium);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3),
                0 0 25px rgba(255, 215, 0, 0.2);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--tech-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.category-card h4 {
    color: var(--gold-premium);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.category-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ========== EFFET DIAMANT ========== */
.diamond-effect {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.1) 0%,
        rgba(255, 215, 0, 0.1) 25%,
        rgba(138, 43, 226, 0.1) 50%,
        rgba(0, 102, 204, 0.1) 75%);
    background-size: 400% 400%;
    animation: diamondShine 6s ease infinite;
    height: 300px;
}

@keyframes diamondShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== FOOTER ========== */
.footer-3d {
    background: linear-gradient(to top, var(--primary-black), #1a1a1a);
    border-top: 3px solid var(--tech-blue);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.footer-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 50%);
}

/* Logo footer */
.footer-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

/* Description footer */
.footer-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Titres footer */
.footer-title {
    color: var(--gold-premium);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--tech-blue);
    border-radius: 2px;
}

/* Liens footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--gold-premium);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: var(--tech-blue);
    transition: var(--transition);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

/* Contact footer */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
    transition: var(--transition);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-item:last-child {
    border-bottom: none;
}

.footer-contact-item i {
    color: var(--tech-blue);
    font-size: 1rem;
    min-width: 24px;
    margin-top: 2px;
}

.footer-contact-item span {
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-item:hover i {
    color: var(--gold-premium);
}

/* Horaires d'ouverture */
.opening-hours {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-title {
    color: var(--gold-premium);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.opening-times {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.time-item .days {
    color: var(--text-light);
    font-size: 0.9rem;
}

.time-item .hours {
    color: var(--tech-blue);
    font-weight: 500;
    font-size: 0.9rem;
    background: rgba(0, 102, 204, 0.1);
    padding: 3px 10px;
    border-radius: 15px;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-icon:hover {
    background: var(--tech-blue);
    transform: translateY(-5px) rotate(5deg);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.social-icon:nth-child(1):hover { background: #1877f2; }
.social-icon:nth-child(2):hover { background: #1da1f2; }
.social-icon:nth-child(3):hover { background: #0a66c2; }
.social-icon:nth-child(4):hover { background: #e4405f; }

/* Diviseur */
.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 30px;
    opacity: 0.3;
}

/* Copyright */
.copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-top: 20px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.legal-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--gold-premium);
}

.footer-legal-links .mx-2 {
    color: var(--text-gray);
    opacity: 0.5;
}

/* ========== ANIMATIONS ========== */
@keyframes cartBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.cart-nav-link:hover .cart-icon-pro {
    animation: cartBounce 0.5s ease;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) { animation-delay: 1s; }
.floating-card:nth-child(3) { animation-delay: 2s; }
.floating-card:nth-child(4) { animation-delay: 3s; }
.floating-card:nth-child(5) { animation-delay: 4s; }

/* ========== UTILITAIRES ========== */
a:focus,
button:focus,
.nav-link:focus,
.btn-tech:focus,
.btn-gold:focus,
.dropdown-toggle:focus {
    outline: 2px solid var(--tech-blue);
    outline-offset: 2px;
}

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold-premium), var(--tech-blue));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--tech-blue), var(--gold-premium));
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablette */
@media (max-width: 991.98px) {
    .header-logo {
        height: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .diamond-effect {
        height: 250px;
    }
    
    .hero-industry-icon {
        font-size: 6rem;
    }
    
    .category-card {
        padding: 25px 15px;
    }
    
    /* Menu mobile */
    .navbar-collapse {
        background: var(--primary-black);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 10px;
        border: 1px solid rgba(255, 215, 0, 0.2);
        text-align: center;
    }
    
    .navbar-nav {
        gap: 10px;
        margin-bottom: 1rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        justify-content: center !important;
        width: 100%;
    }
    
    .cart-nav-link {
        justify-content: center !important;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }
    
    .btn-tech, .btn-gold {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-3d {
        padding: 50px 0 25px;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .row.g-5 {
        gap: 30px !important;
    }
    
    .footer-logo-section {
        text-align: center;
        padding-right: 0;
    }
    
    .footer-description {
        text-align: center;
    }
}

/* Mobile paysage */
@media (max-width: 768px) {
    .header-logo {
        height: 35px;
        max-width: 150px;
    }
    
    .navbar {
        padding: 0.4rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .nav-link {
        padding: 8px 15px !important;
        font-size: 0.9rem;
    }
    
    .btn-gold, .btn-tech {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .category-icon {
        font-size: 2rem;
    }
    
    .diamond-effect {
        height: 200px;
        margin-top: 30px;
    }
    
    .hero-industry-icon {
        font-size: 4rem;
    }
    
    /* Footer */
    .footer-3d {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        height: 40px;
        max-width: 180px;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile portrait */
@media (max-width: 576px) {
    .header-logo {
        height: 30px;
        max-width: 130px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .hero-section .lead {
        text-align: center;
        font-size: 1rem;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .category-card {
        padding: 20px 10px;
    }
    
    /* Footer */
    .footer-3d {
        padding: 30px 0 20px;
    }
    
    .footer-logo {
        height: 35px;
        max-width: 160px;
    }
    
    .footer-title {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-contact-item i {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .footer-contact-info,
    .opening-hours {
        text-align: center;
    }
    
    .time-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-legal-links .mx-2 {
        display: none;
    }
}

/* Très petits écrans */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .btn-gold, .btn-tech {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
        align-items: center;
    }
}

/* Menu mobile */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}







/* ========== CARROUSEL TECHNOLOGIE ACCÉLÉRÉ ========== */
.tech-carousel {
    height: 400px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) !important;
}

.tech-carousel-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: blur(1px) brightness(0.9) contrast(1.1);
    transition: transform 0.8s ease, filter 0.8s ease;
}

.carousel-item.active .tech-carousel-img {
    filter: blur(0.5px) brightness(1) contrast(1.2);
    transform: scale(1.03);
}

/* Animation de transition plus rapide */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Indicateurs personnalisés */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--tech-blue);
    transform: scale(1.2);
    border-color: var(--gold-premium);
}

.carousel-indicators button:hover {
    background-color: var(--gold-premium);
    transform: scale(1.1);
}

/* Contrôles personnalisés */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.3);
    margin: 0 15px;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 102, 204, 0.7);
    border-color: var(--gold-premium);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* Captions */
.tech-caption {
    bottom: 60px;
    left: 20px;
    right: 20px;
    background: linear-gradient(90deg, 
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.8) 100%);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
    animation: captionSlide 0.5s ease-out;
}

@keyframes captionSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-caption h5 {
    color: var(--gold-premium);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(45deg, var(--gold-premium), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Overlay badge */
.carousel-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
}

.tech-badge {
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.25), 
        rgba(0, 102, 204, 0.25));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 10px 20px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4),
                    0 0 15px rgba(0, 102, 204, 0.3);
    }
}

.tech-badge:hover {
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.35), 
        rgba(0, 102, 204, 0.35));
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.3);
}

.tech-badge i {
    color: var(--gold-premium);
    font-size: 1rem;
    animation: iconSpin 3s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation pour le changement de slide */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-item.active {
    animation: slideIn 0.6s ease-out;
}

/* Effet de brillance sur les images */
.tech-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: slideShine 3s infinite;
    z-index: 2;
}

@keyframes slideShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ========== RESPONSIVE CARROUSEL ========== */
@media (max-width: 992px) {
    .tech-carousel {
        height: 350px;
        margin-top: 30px;
    }
    
    .tech-carousel-img {
        height: 350px;
    }
    
    .tech-caption {
        bottom: 50px;
        padding: 12px 15px;
        max-width: 350px;
    }
    
    .tech-caption h5 {
        font-size: 1.2rem;
    }
    
    .tech-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .tech-carousel {
        height: 300px;
    }
    
    .tech-carousel-img {
        height: 300px;
    }
    
    .tech-caption {
        bottom: 40px;
        padding: 10px 12px;
        max-width: 300px;
    }
    
    .tech-caption h5 {
        font-size: 1.1rem;
    }
    
    .tech-caption p {
        font-size: 0.85rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    
    .tech-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .tech-carousel {
        height: 250px;
    }
    
    .tech-carousel-img {
        height: 250px;
        filter: blur(0.8px) brightness(0.85);
    }
    
    .carousel-item.active .tech-carousel-img {
        filter: blur(0.3px) brightness(0.95);
    }
    
    .tech-caption {
        bottom: 30px;
        padding: 8px 10px;
        max-width: 250px;
    }
    
    .tech-caption h5 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .tech-caption p {
        font-size: 0.8rem;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }
    
    .tech-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
        top: 10px;
        right: 10px;
    }
    
    .tech-badge i {
        font-size: 0.9rem;
        margin-right: 4px;
    }
}

/* Désactiver l'animation sur mobile pour performance */
@media (max-width: 768px) {
    .tech-badge i {
        animation: none;
    }
    
    .tech-carousel::before {
        animation: none;
        display: none;
    }
}







