﻿/* Police personnalisée pour correspondre au logo */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Variables de couleurs cohérentes avec le logo */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #1e293b;
    --light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Navigation cohérente */
.nav-link {
    position: relative;
    padding: 8px 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: 0;
        left: 0;
        background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
        transition: width 0.3s ease;
        border-radius: 2px;
    }

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

/* Boutons avec design cohérent */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
    }

.btn-secondary {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

    .btn-secondary:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    }

/* Section Hero avec design unique */
.hero-section {
    background: linear-gradient(135deg, var(--light) 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

    .hero-section:before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
        top: -150px;
        right: -150px;
    }

    .hero-section:after {
        content: '';
        position: absolute;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
        bottom: -100px;
        left: -100px;
    }

/* Cartes de produits avec design cohérent */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.product-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 16px;
    text-align: center;
}

/* Onglets avec design cohérent */
.tab-btn {
    padding: 12px 24px;
    font-weight: 600;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
}

    .tab-btn:hover {
        color: var(--primary);
    }

    .tab-btn.active-tab {
        color: var(--primary);
        border-color: var(--primary);
    }

/* Sections avec bordures uniques */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
    margin: 40px 0;
}

/* Footer avec design cohérent */
.footer {
    background: linear-gradient(135deg, var(--dark) 0%, #334155 100%);
    color: white;
}

/* Animations subtiles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Badge de panier avec design cohérent */
.cart-badge {
    background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: absolute;
    top: -8px;
    right: -8px;
}

/* Modal avec design cohérent */
.modal-overlay {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px;
}

/* Testimonials avec design cohérent */
.testimonial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

    .testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

.testimonial-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 16px;
}

/* Styles pour les onglets de témoignages */
.tab-testimonial-btn {
    padding: 12px 24px;
    font-weight: 600;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
}

    .tab-testimonial-btn:hover {
        color: var(--primary);
    }

    .tab-testimonial-btn.active-testimonial-tab {
        color: var(--primary);
        border-color: var(--primary);
    }

.testimonial-content {
    display: none;
}

    .testimonial-content.active-testimonial-content {
        display: block;
    }

/* Styles pour les captures d'écran */
.screenshot-image {
    transition: transform 0.3s ease;
}

    .screenshot-image:hover {
        transform: scale(1.02);
    }

/* Modal pour les captures d'écran */
#screenshot-modal.hidden {
    display: none;
}

#screenshot-modal {
    animation: fadeIn 0.3s ease-out;
}

/* Contenu des onglets (masqué par défaut) */
.tab-content {
    display: none;
}

    /* Contenu de l'onglet actif (visible) */
    .tab-content.active-tab-content {
        display: block;
    }
/* Styles pour la section garanties */
.guarantee-card {
    transition: all 0.3s ease;
}

    .guarantee-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

/* Styles pour les iframes YouTube */
.aspect-w-16 {
    position: relative;
}

.aspect-h-9 {
    padding-bottom: 56.25%; /* Ratio 16:9 */
}

.aspect-w-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Assurer que les vidéos sont responsives */
.product-card iframe {
    min-height: 200px;
}

@media (max-width: 768px) {
    .product-card iframe {
        min-height: 180px;
    }
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
    /* Images responsives */
    .product-card img,
    .testimonial-card img,
    .screenshot-image {
        max-width: 100%;
        height: auto;
    }

    /* Ajustement des tailles de texte */
    .hero-section h1 {
        font-size: 2rem !important;
    }

    .hero-section p {
        font-size: 1rem !important;
    }

    /* Grille produits mobile */
    .grid-cols-1 {
        grid-template-columns: 1fr;
    }

    /* Cartes produits sur mobile */
    .product-card {
        margin: 0 auto;
        max-width: 300px;
    }

    /* Section hero ajustée */
    .hero-section {
        padding: 2rem 1rem;
    }

    /* Boutons responsive */
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Modal panier mobile */
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    /* Section ŕ propos mobile */
    #apropos .flex-col {
        text-align: center;
    }

    /* Vidéos YouTube mobile */
    .product-card iframe {
        height: 200px !important;
    }
}

/* Pour les trčs petits écrans */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section h1 {
        font-size: 1.75rem !important;
    }

    .product-card {
        max-width: 100%;
    }

    /* Texte plus lisible sur mobile */
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }
}

/* Amélioration du sticky header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

/* Smooth scrolling pour les ancres */
html {
    scroll-behavior: smooth;
}

/* === STYLES POUR LE MODAL DE DESCRIPTION PRODUIT === */

/* Curseur pointer pour les éléments cliquables */
.view-product-details {
    transition: transform 0.2s ease;
    cursor: pointer;
}

    .view-product-details:hover {
        transform: scale(1.02);
    }

/* Styles pour les notifications */
.notification-enter {
    transform: translateX(100%);
}

.notification-enter-active {
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}

.notification-exit {
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
}

/* Responsive pour le modal produit */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    #product-modal .flex-col {
        gap: 1rem;
    }

    #product-modal img {
        max-height: 200px;
    }
}

/* Animation pour le badge du panier */
@keyframes addToCart {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.add-to-cart-animation {
    animation: addToCart 0.5s ease;
}
/* Styles pour la section types de licences */
.license-card {
    transition: all 0.3s ease;
    height: 100%;
}

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

/* Styles pour la section clients fidèles */
.client-rewards {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

/* Animation pour les icônes de récompenses */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fa-crown {
    animation: bounce 2s infinite;
}

/* Responsive pour les sections ajoutées */
@media (max-width: 768px) {
    .license-card {
        margin-bottom: 1rem;
    }

    .client-rewards .grid {
        gap: 1rem;
    }

    .client-rewards .bg-white.bg-opacity-10 {
        padding: 1rem;
    }
}