/* Variables */
:root {
    --primary-color: #6B5EFF;
    --primary-light: #8B7FFF;
    --primary-dark: #4B3EDF;
    --text-dark: #1A1A2E;
    --text-light: #6B7280;
    --background: #FFFFFF;
    --background-alt: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, #6B5EFF 0%, #8B7FFF 100%);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 1rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 40px 0;
}

.bg-alt {
    background-color: var(--background-alt);
}

.bg-primary {
    background-color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

.text-white p {
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Components */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px auto;
    background-color: rgba(107, 94, 255, 0.1);
    border-radius: 16px;
}

.card-icon svg {
    width: 32px;
    height: 32px;
    stroke: #6B5EFF;
    stroke-width: 2;
    fill: none;
}

.card h3,
.card p {
    text-align: center;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 0;
    overflow: visible;
}

header.scrolled {
    box-shadow: var(--shadow);
}

.main-nav {
    display: flex;
    justify-content: space-between; /* Changé à space-between pour mobile */
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.nav-links {
    display: none; /* Caché par défaut sur mobile */
}

.hero-logo {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background-color: transparent;
    overflow: visible;
}

.hero-logo img {
    height: 150px; /* Taille augmentée pour effet hero */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Ajustement Header Scrolled */
header.scrolled .hero-logo {
    display: none; /* Masquer le gros logo au scroll si désiré, ou réduire */
}

/* Responsive Desktop (>= 1024px) */
@media (min-width: 1024px) {
    .main-nav {
        justify-content: center; /* Centré sur desktop */
        gap: 40px;
        padding: 20px 0;
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 32px;
        margin: 0;
        padding: 0;
        align-items: center;
    }
    
    .nav-links li a {
        font-weight: 600;
        color: var(--text-dark);
        transition: var(--transition);
    }
    
    .nav-links li a:hover {
        color: var(--primary-color);
    }

    .hamburger { display: none; }
    .mobile-menu { display: none; }
    
    /* Réajustement Hero padding */
    #hero {
        padding-top: 280px; /* Augmenté car header plus haut avec logo */
    }
}

/* Anciens styles à nettoyer/remplacer */
/* nav { ... } supprimé */
/* .logo { ... } supprimé */

.hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto; /* Pousse le hamburger à droite sur mobile */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Hero Section */
#hero {
    padding-top: 140px;
    text-align: center;
    overflow: visible;
}

#hero h1,
.hero-title {
    margin-top: 30px;
    padding-top: 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-section {
    text-align: center;
    margin: 30px 0;
}

.download-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.comparison-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.comparison-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(107, 94, 255, 0.2);
    border-color: var(--primary-color);
}

.comparison-card.highlight-card {
    background: linear-gradient(135deg, #6B5EFF 0%, #8B7FFF 100%);
    color: white;
}

.highlight-card .card-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.highlight-card h3,
.highlight-card .vs {
    color: white;
}

.highlight-card .competitor-name,
.highlight-card .competitor-label,
.highlight-card .localvib-label {
    color: rgba(255, 255, 255, 0.8);
}

.highlight-card .competitor-price {
    color: #ffcccc;
}

.highlight-card .localvib-price {
    color: white;
}

.highlight-card .saving {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.card-badge {
    display: inline-block;
    background: rgba(107, 94, 255, 0.1);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.comparison-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

.competitor, .localvib {
    flex: 1;
    text-align: center;
}

.competitor-name {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.competitor-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1.2;
}

.competitor-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 2px;
}

.vs {
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 6px;
    background: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.localvib-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    line-height: 1.2;
}

.localvib-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 2px;
}

.saving {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    display: inline-block;
}

/* Concept Section */
#concept {
    padding-top: 30px;
}

#concept h2,
#concept .section-subtitle {
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Modules Section */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    justify-content: center;
}

#modules h2 {
    text-align: center;
}

/* Voice Command Section Styles */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.voice-demo {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.voice-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 48px;
    background: var(--gradient);
    border-radius: 24px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.voice-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(107, 94, 255, 0.3);
}

.mic-icon {
    width: 48px;
    height: 48px;
}

.voice-button span {
    font-size: 1.1rem;
    font-weight: 600;
}

.examples-title {
    text-align: center;
    margin: 40px 0 24px 0;
    color: var(--text-dark);
}

.voice-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.example-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease;
}

.example-card:hover {
    transform: translateY(-5px);
}

.example-module {
    display: inline-block;
    background: rgba(107, 94, 255, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.example-command {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.4;
}

.example-result {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Commercants Section */
.commercants-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.benefits-list li {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: inline-block;
}

.stat-symbol {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--background-alt);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
}

.fade-in.visible {
    animation: fadeIn 0.8s ease forwards;
}

.slide-up.visible {
    animation: slideUp 0.8s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Desktop (>= 1024px) */
@media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    
    .hamburger { display: none; }
    .nav-links { display: flex; gap: 30px; align-items: center; }
    .mobile-menu { display: none; }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modules-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Responsive Tablet (>= 768px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour tablette */
    }
    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-buttons {
        flex-direction: row;
    }
}

/* ======================================== 
   RESPONSIVE - MOBILE (max 480px) 
======================================== */ 
@media screen and (max-width: 480px) { 
  html { 
    font-size: 14px; 
  } 
  
  .container { 
    padding: 0 16px; 
  } 
  
  /* NAVIGATION */ 
  .main-nav { 
    flex-direction: column; 
    padding: 10px 16px; 
    gap: 16px; 
  } 
  
  .nav-links { 
    display: none; 
    flex-direction: column; 
    width: 100%; 
    gap: 0; 
    text-align: center; 
  } 
  
  .nav-links.active { 
    display: flex; 
  } 
  
  .nav-links li a { 
    display: block; 
    padding: 12px 0; 
    border-bottom: 1px solid rgba(107, 94, 255, 0.1); 
  } 
  
  .hamburger { 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    cursor: pointer; 
    padding: 10px; 
  } 
  
  .hamburger span { 
    width: 25px; 
    height: 3px; 
    background: var(--primary-color); 
    border-radius: 2px; 
    transition: 0.3s; 
  } 
  
  /* HERO */ 
  .hero-logo img { 
    height: 50px; 
  } 
  
  .hero-buttons { 
    flex-direction: column; 
    gap: 12px; 
  } 
  
  .hero-buttons .btn-primary { 
    width: 100%; 
    text-align: center; 
  } 
  
  /* TITRES */ 
  h1 { 
    font-size: 1.8rem; 
  } 
  
  h2 { 
    font-size: 1.5rem; 
  } 
  
  h3 { 
    font-size: 1.2rem; 
  } 
  
  /* SECTIONS */ 
  .section { 
    padding: 30px 0; 
  } 
  
  /* CARDS CONCEPT */ 
  .concept-cards, 
  .cards-grid { 
    grid-template-columns: 1fr; 
    gap: 16px; 
  } 
  
  .card { 
    padding: 20px; 
  } 
  
  /* COMMANDE VOCALE */ 
  .voice-button { 
    padding: 24px 32px; 
    width: 100%; 
  } 
  
  .mic-icon { 
    width: 40px; 
    height: 40px; 
  } 
  
  .voice-examples { 
    grid-template-columns: 1fr; 
    gap: 16px; 
  } 
  
  .example-card { 
    padding: 20px; 
  } 
  
  .example-command { 
    font-size: 0.95rem; 
  } 
  
  /* FOOTER */ 
  footer { 
    text-align: center; 
  } 
  
  .footer-links { 
    flex-direction: column; 
    gap: 12px; 
  } 
} 

/* ======================================== 
   RESPONSIVE - TABLET (481px - 768px) 
======================================= */ 
@media screen and (min-width: 481px) and (max-width: 768px) { 
  .container { 
    padding: 0 24px; 
  } 
  
  .main-nav { 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 16px; 
  } 
  
  .nav-links { 
    gap: 20px; 
  } 
  
  .hero-logo img { 
    height: 60px; 
  } 
  
  h1 { 
    font-size: 2.2rem; 
  } 
  
  h2 { 
    font-size: 1.8rem; 
  } 
  
  .concept-cards, 
  .cards-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
  
  .voice-examples { 
    grid-template-columns: repeat(2, 1fr); 
  } 
  
  .section { 
    padding: 40px 0; 
  } 
} 

/* ======================================== 
   RESPONSIVE - DESKTOP (769px+) 
======================================== */ 
@media screen and (min-width: 769px) { 
  .container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 40px; 
  } 
  
  .hamburger { 
    display: none; 
  } 
  
  .nav-links { 
    display: flex !important; 
  } 
  
  .concept-cards, 
  .cards-grid { 
    grid-template-columns: repeat(3, 1fr); 
  } 
  
  .voice-examples { 
    grid-template-columns: repeat(3, 1fr); 
  } 
}