/* ========================================
   WebUnic - MAIN STYLESHEET
   Design futuriste & moderne
======================================== */

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

:root {
    /* Couleurs futuristes */
    --primary-gradient: linear-gradient(135deg, #10129b 0%, #0a0d6b 100%);
    --secondary-gradient: linear-gradient(135deg, #f79d4f 0%, #e88a3a 100%);
    --cyan-gradient: linear-gradient(135deg, #10129b 0%, #f79d4f 100%);
    --purple-gradient: linear-gradient(135deg, #10129b 0%, #f79d4f 100%);
    
    --primary-color: #10129b;
    --secondary-color: #0a0d6b;
    --accent-cyan: #f79d4f;
    --accent-purple: #f79d4f;
    
    --dark-bg: #0a0e27;
    --dark-secondary: #1a1f3a;
    --dark-card: #141932;
    
    --text-primary: #ffffff;
    --text-secondary: #b8bdd0;
    --text-muted: #6b7280;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 60px 0;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Mode Clair */
body.light-mode {
    --dark-bg: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
    --dark-secondary: #ffffff;
    --dark-card: #ffffff;
    
    --text-primary: #10129b;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    
    /* Arrière-plan avec touches de la charte */
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
}

body.light-mode .liquid-background {
    opacity: 0.15;
    background: linear-gradient(135deg, rgba(16, 18, 155, 0.05) 0%, rgba(247, 157, 79, 0.05) 100%);
}

body.light-mode .nav-container {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(16, 18, 155, 0.08);
    border-right: 1px solid rgba(16, 18, 155, 0.1);
}

body.light-mode .nav-links {
    background: rgba(16, 18, 155, 0.03);
    border-color: rgba(16, 18, 155, 0.08);
}

body.light-mode .dropdown-menu-innovative {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(16, 18, 155, 0.2);
    box-shadow: 0 10px 40px rgba(16, 18, 155, 0.15);
}

body.light-mode .project-card,
body.light-mode .service-card,
body.light-mode .testimonial-card,
body.light-mode .stat-card,
body.light-mode .expertise-card,
body.light-mode .why-item,
body.light-mode .timeline-content,
body.light-mode .founder-card-full {
    background: #ffffff;
    border: 1px solid rgba(16, 18, 155, 0.1);
    box-shadow: 0 4px 20px rgba(16, 18, 155, 0.08);
}

body.light-mode .project-card:hover,
body.light-mode .service-card:hover,
body.light-mode .testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(247, 157, 79, 0.2);
    border-color: rgba(247, 157, 79, 0.3);
}

body.light-mode .footer {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
    border-top: 2px solid rgba(16, 18, 155, 0.1);
}

body.light-mode .projects-hero,
body.light-mode .about-hero,
body.light-mode .mission-section,
body.light-mode .approach-section,
body.light-mode .why-us-section {
    background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
}

body.light-mode .founder-section,
body.light-mode .expertises-section,
body.light-mode .testimonials-section {
    background: #ffffff;
    position: relative;
}

body.light-mode .founder-section::before,
body.light-mode .expertises-section::before,
body.light-mode .testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(16, 18, 155, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(247, 157, 79, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

body.light-mode .hero-background .gradient-orb {
    opacity: 0.3;
}

body.light-mode .hero-background .gradient-orb:nth-child(1) {
    background: radial-gradient(circle, rgba(16, 18, 155, 0.2) 0%, transparent 70%);
}

body.light-mode .hero-background .gradient-orb:nth-child(2) {
    background: radial-gradient(circle, rgba(247, 157, 79, 0.2) 0%, transparent 70%);
}

body.light-mode .breadcrumb {
    background: #ffffff;
    border-bottom: 1px solid rgba(16, 18, 155, 0.1);
    box-shadow: 0 2px 10px rgba(16, 18, 155, 0.05);
}

body.light-mode .filter-btn {
    background: #ffffff;
    border: 1px solid rgba(16, 18, 155, 0.2);
    color: var(--text-secondary);
}

body.light-mode .filter-btn:hover {
    background: rgba(16, 18, 155, 0.05);
    border-color: rgba(16, 18, 155, 0.3);
}

body.light-mode .filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(16, 18, 155, 0.3);
}

/* Navigation links en mode clair */
body.light-mode .nav-link {
    color: var(--text-secondary);
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: #10129b;
}

body.light-mode .nav-link i {
    color: #10129b;
}

body.light-mode .link-text {
    color: var(--text-secondary);
}

body.light-mode .dropdown-item-innovative {
    color: var(--text-secondary);
}

body.light-mode .dropdown-item-innovative:hover {
    background: rgba(16, 18, 155, 0.08);
    color: #10129b;
}

/* Sections hero en mode clair */
body.light-mode .hero-section {
    background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
}

body.light-mode .hero-title,
body.light-mode .page-title {
    color: #10129b;
}

body.light-mode .hero-subtitle,
body.light-mode .page-subtitle {
    color: var(--text-secondary);
}

/* Cards et contenus en mode clair */
body.light-mode .service-icon,
body.light-mode .expertise-icon {
    background: linear-gradient(135deg, rgba(16, 18, 155, 0.1) 0%, rgba(247, 157, 79, 0.1) 100%);
    color: #10129b;
}

body.light-mode .service-title,
body.light-mode .project-title,
body.light-mode .expertise-title {
    color: #10129b;
}

body.light-mode .service-description,
body.light-mode .project-description,
body.light-mode .expertise-description {
    color: var(--text-secondary);
}

/* Footer en mode clair */
body.light-mode .footer-title {
    color: #10129b;
}

body.light-mode .footer-link {
    color: var(--text-secondary);
}

body.light-mode .footer-link:hover {
    color: #f79d4f;
}

body.light-mode .social-link {
    background: rgba(16, 18, 155, 0.1);
    color: #10129b;
}

body.light-mode .social-link:hover {
    background: var(--secondary-gradient);
    color: white;
}

/* Formulaire contact en mode clair */
body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select {
    background: #ffffff;
    border: 2px solid rgba(16, 18, 155, 0.15);
    color: #10129b;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus,
body.light-mode .form-group select:focus {
    border-color: #f79d4f;
    background: #ffffff;
}

body.light-mode .form-group label {
    color: #10129b;
}

body.light-mode ::placeholder {
    color: var(--text-muted);
}

/* Timeline en mode clair */
body.light-mode .timeline-item::before {
    background: rgba(16, 18, 155, 0.2);
}

body.light-mode .timeline-dot {
    background: #ffffff;
    border-color: #10129b;
}

body.light-mode .timeline-year {
    color: #f79d4f;
}

body.light-mode .timeline-title {
    color: #10129b;
}

body.light-mode .timeline-description {
    color: var(--text-secondary);
}

/* Stats en mode clair */
body.light-mode .stat-card {
    background: #ffffff;
}

body.light-mode .stat-label {
    color: var(--text-secondary);
}

/* Floating cards en mode clair */
body.light-mode .floating-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 18, 155, 0.1);
    box-shadow: 0 4px 20px rgba(16, 18, 155, 0.1);
}

body.light-mode .floating-card-icon {
    background: var(--primary-gradient);
}

body.light-mode .floating-card h4 {
    color: #10129b;
}

body.light-mode .floating-card p {
    color: var(--text-secondary);
}

/* Services list en mode clair */
body.light-mode .service-list li {
    color: var(--text-secondary);
}

body.light-mode .service-list li::before {
    background: var(--secondary-gradient);
}

/* Why items en mode clair */
body.light-mode .why-number {
    background: linear-gradient(135deg, rgba(16, 18, 155, 0.1) 0%, rgba(247, 157, 79, 0.1) 100%);
    color: #10129b;
}

body.light-mode .why-title {
    color: #10129b;
}

body.light-mode .why-description {
    color: var(--text-secondary);
}

/* Testimonials en mode clair */
body.light-mode .testimonial-text {
    color: var(--text-secondary);
}

body.light-mode .testimonial-author {
    color: #10129b;
}

body.light-mode .testimonial-role {
    color: var(--text-muted);
}

body.light-mode .testimonial-rating i {
    color: #f79d4f;
}

/* Project overlay en mode clair */
body.light-mode .project-overlay {
    background: rgba(255, 255, 255, 0.95);
}

/* Badges en mode clair */
body.light-mode .featured-badge {
    background: var(--primary-gradient);
    color: white;
}

body.light-mode .project-tag {
    background: rgba(16, 18, 155, 0.1);
    color: #10129b;
}

/* CTA Section en mode clair */
body.light-mode .cta-section {
    background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
}

body.light-mode .cta-title {
    color: #10129b;
}

body.light-mode .cta-description {
    color: var(--text-secondary);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* === NAVIGATION LATÉRALE GAUCHE === */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 85px;
    z-index: 1000;
    background: transparent;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.nav-container:hover {
    width: 280px;
}

/* Canvas liquide en arrière-plan */
.liquid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.95;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container.scrolled {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
}

.nav-content {
    width: 100%;
    height: 100%;
    padding: 20px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Logo avec image */
.logo {
    width: 100%;
    padding: 0 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 20px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.logo a:hover {
    transform: scale(1.05);
}

.logo-icon {
    height: 40px;
    width: 40px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16, 18, 155, 0.4);
}

.logo:hover .logo-icon {
    box-shadow: 0 6px 20px rgba(16, 18, 155, 0.6);
    transform: rotate(5deg);
}

.logo-image {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(16, 18, 155, 0.4));
    transition: var(--transition-smooth);
    flex-shrink: 0;
    opacity: 1 !important;
    display: block !important;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 6px 20px rgba(16, 18, 155, 0.6));
    transform: rotate(5deg);
}

.logo-text {
    color: var(--text-primary);
    font-size: 24px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container:hover .logo-text {
    opacity: 1;
    transform: translateX(0);
}

.gradient-text {
    color: #667eea;
    font-weight: 600;
}

/* Centre - Navigation principale */
.nav-center {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: var(--transition-smooth);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    white-space: nowrap;
    width: 100%;
}

.nav-link i:first-child {
    font-size: 20px;
    width: 20px;
    min-width: 20px;
    text-align: center;
    transition: all 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-text {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container:hover .link-text {
    opacity: 1;
    transform: translateX(0);
}

.link-morph {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    border-radius: 12px;
    transform: scaleX(0);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: left;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-gradient);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    height: 60%;
}

.nav-link:hover .link-morph,
.nav-link.active .link-morph {
    transform: scaleX(1);
    opacity: 0.1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link:hover i,
.nav-link.active i {
    color: #10129b;
    transform: scale(1.15);
}

.nav-link:hover .link-text,
.nav-link.active .link-text {
    color: white;
}

/* Dropdown Services Vertical */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-dropdown > .nav-link {
    cursor: pointer;
}

.dropdown-icon {
    font-size: 12px;
    margin-left: auto;
    transition: transform 0.3s ease;
    opacity: 0;
}

.nav-container:hover .dropdown-icon {
    opacity: 1;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(-90deg);
}

.dropdown-menu-innovative {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 5px;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 18, 155, 0.3);
    border-radius: 16px;
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/* Pont invisible pour garder le hover */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 20px;
    height: 100%;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu-innovative,
.dropdown-menu-innovative:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-item-innovative {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-item-innovative:hover {
    background: rgba(16, 18, 155, 0.1);
    color: white;
    transform: translateX(5px);
}

.dropdown-item-innovative i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: #667eea;
}

/* Droite - Bouton Contact & Theme */
.nav-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

/* Bouton Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(16, 18, 155, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    transform: rotate(180deg) scale(1.1);
}

.theme-toggle:hover::before {
    opacity: 0.2;
}

.theme-toggle i {
    position: relative;
    z-index: 1;
}

body.light-mode .theme-toggle .fa-sun {
    display: none;
}

body.light-mode .theme-toggle::after {
    content: '\f186';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: relative;
    z-index: 1;
}

body:not(.light-mode) .theme-toggle::after {
    display: none;
}

.btn-contact-new {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    overflow: visible;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(16, 18, 155, 0.4);
}

.btn-contact-new i {
    font-size: 18px;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.btn-contact-new .btn-text {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-contact-new .btn-icon {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav-container:hover .btn-contact-new {
    width: auto;
    padding: 12px 20px;
    justify-content: center;
    gap: 10px;
    background: var(--primary-gradient);
}

.nav-container:hover .btn-contact-new i {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-container:hover .btn-contact-new .btn-text {
    position: static;
    opacity: 1;
    pointer-events: auto;
}

.nav-container:hover .btn-contact-new .btn-icon {
    position: static;
    opacity: 1;
    pointer-events: auto;
}

.btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0d6b 0%, #10129b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-contact-new:hover .btn-bg {
    opacity: 1;
}

.btn-icon-main {
    position: relative;
    z-index: 1;
    font-size: 16px;
    transition: opacity 0.4s ease;
    opacity: 1;
}

.nav-container:hover .btn-icon-main {
    opacity: 0;
    position: absolute;
}

.btn-text {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.nav-container:hover .btn-text {
    opacity: 1;
    transform: translateX(0);
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    font-size: 18px;
    opacity: 0;
}

.nav-container:hover .btn-icon {
    opacity: 1;
}

.btn-contact-new:hover .btn-icon {
    transform: translateX(5px);
}

.btn-contact-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 18, 155, 0.6);
}

/* Hamburger moderne */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 24px;
    padding: 5px;
}

/* Cacher le bouton Contact mobile sur desktop */
.nav-contact-mobile {
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.hamburger-morph {
    position: absolute;
    inset: -8px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.hamburger:hover .hamburger-morph {
    opacity: 0.5;
    transform: scale(1);
}

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

.hamburger.active .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

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

/* Indicateur morphing bas de nav */
.nav-morph-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-container.scrolled .nav-morph-indicator {
    transform: scaleX(1);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px 60px;
    margin-left: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 18, 155, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10, 13, 107, 0.4) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -10s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(247, 157, 79, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 18, 155, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 18, 155, 0.4);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: white;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(247, 157, 79, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(247, 157, 79, 0.5);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    animation: fadeIn 1.5s ease-out;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: floatCard 6s infinite ease-in-out;
}

.floating-card i {
    font-size: 32px;
    color: #667eea;
}

.floating-card span {
    font-weight: 600;
    font-size: 18px;
}

.card-1 {
    top: 50px;
    left: 50px;
}

.card-2 {
    top: 180px;
    right: 80px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 50px;
    left: 100px;
    animation-delay: -4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 24px;
        opacity: 0;
    }
}

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

.scroll-indicator p {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === SECTIONS === */
section {
    padding: var(--section-padding);
    position: relative;
    margin-left: 80px;
}

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

.section-tag {
    display: inline-block;
    background: rgba(16, 18, 155, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    color: #ffffff;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* === SERVICES SECTION === */
.services {
    background: var(--dark-secondary);
    margin-left: 80px;
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
    background: var(--secondary-gradient);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(247, 157, 79, 0.5);
    box-shadow: 0 30px 60px rgba(247, 157, 79, 0.3);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(16, 18, 155, 0.1) 0%, rgba(10, 13, 107, 0.1) 100%);
    border-color: rgba(16, 18, 155, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.service-icon i {
    font-size: 32px;
    color: #667eea;
    z-index: 1;
}

.icon-bg {
    position: absolute;
    inset: 0;
    background: rgba(16, 18, 155, 0.1);
    border-radius: 16px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-features i {
    color: var(--primary-color);
    font-size: 14px;
}

.service-link {
    color: #f79d4f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.service-link:hover {
    gap: 12px;
    color: #ff8c00;
}

/* === PROJECTS SECTION === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(247, 157, 79, 0.3);
    border-color: rgba(247, 157, 79, 0.5);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--dark-secondary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 39, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transform: scale(0.8);
    transition: var(--transition-smooth);
    box-shadow: 0 8px 20px rgba(247, 157, 79, 0.4);
}

.project-card:hover .project-btn {
    transform: scale(1);
}

.coming-soon-badge {
    background: var(--secondary-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.project-info {
    padding: 24px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(16, 18, 155, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Project Card */
.cta-card {
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.cta-content {
    text-align: center;
    padding: 40px;
}

.cta-content i {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-content h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.cta-content p {
    margin-bottom: 24px;
    opacity: 0.95;
}

.cta-content .btn {
    background: white;
    color: var(--primary-color);
}

.cta-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* === ABOUT SECTION === */
.about {
    background: var(--dark-secondary);
}

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

.about-text h2 {
    margin-bottom: 24px;
}

.about-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(16, 18, 155, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
    color: #667eea;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Carte Fondateur */
.founder-card {
    background: linear-gradient(135deg, rgba(16, 18, 155, 0.1) 0%, rgba(10, 13, 107, 0.1) 100%);
    border: 1px solid rgba(16, 18, 155, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    transition: var(--transition-smooth);
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 18, 155, 0.2);
    border-color: rgba(16, 18, 155, 0.4);
}

.founder-info h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-info h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #667eea;
}

.founder-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(0, 119, 181, 0.1);
    border: 1px solid rgba(0, 119, 181, 0.3);
    border-radius: 50px;
    color: #0077b5;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.linkedin-link:hover {
    background: rgba(0, 119, 181, 0.2);
    border-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.3);
}

.linkedin-link i {
    font-size: 18px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
}

.about-visual {
    position: relative;
}

.visual-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
}

.skill-item {
    margin-bottom: 30px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-name {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 16px;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-progress.animated {
    width: var(--progress);
}

/* === CTA SECTION === */
.cta-section {
    background: var(--dark-card);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 18, 155, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.6;
}

.cta-buttons {
    display: inline-flex;
    gap: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-buttons .btn {
    padding: 12px 24px;
    font-size: 14px;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-buttons .btn-primary {
    box-shadow: 0 4px 15px rgba(16, 18, 155, 0.3);
}

.cta-buttons .btn i {
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* === PAGES PROJETS & À PROPOS === */
/* Hero Pages */
.projects-hero,
.about-hero {
    padding: 180px 20px 100px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    margin-left: 80px;
}

.projects-hero::before,
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 18, 155, 0.15), transparent 70%);
    pointer-events: none;
}

.projects-hero .container,
.about-hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-mini {
    display: flex;
    gap: 60px;
    justify-content: center;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Filtres Projets */
.projects-filters {
    margin: 60px 0 40px;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--dark-card);
    border: 2px solid rgba(16, 18, 155, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    background: rgba(16, 18, 155, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 18, 155, 0.3);
}

/* Portfolio Grid Page Projets */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: var(--dark-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 18, 155, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 1;
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--accent-cyan);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-project {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.btn-project:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(16, 18, 155, 0.4);
}

/* Témoignages */
.testimonials-section {
    padding: 100px 20px;
    background: var(--dark-secondary);
    margin-left: 80px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--dark-card);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
}

.testimonial-author {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Page À Propos */
.mission-section {
    padding: 100px 20px;
    margin-left: 80px;
}

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

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.mission-values {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.value-item i {
    font-size: 2.5rem;
    color: #667eea;
}

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

.stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card:nth-child(odd) {
    border-color: rgba(16, 18, 155, 0.3);
}

.stat-card:nth-child(even) {
    border-color: rgba(247, 157, 79, 0.3);
}

.stat-card:nth-child(3) {
    grid-column: 1 / -1;
    border-color: rgba(247, 157, 79, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-card:nth-child(odd) .stat-icon {
    color: #667eea;
}

.stat-card:nth-child(even) .stat-icon {
    color: #f79d4f;
}

.stat-card .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-card:nth-child(odd) .stat-number {
    color: #667eea;
}

.stat-card:nth-child(even) .stat-number {
    color: #f79d4f;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Fondateur Section */
.founder-section {
    padding: 100px 20px;
    background: var(--dark-secondary);
    margin-left: 80px;
}

.founder-card-full {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    background: var(--dark-card);
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.founder-image-wrapper {
    position: relative;
}

.founder-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
}

.founder-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-bg);
    padding: 10px 20px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.founder-info h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.founder-title {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 500;
}

.founder-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.founder-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.skill-badge {
    padding: 8px 18px;
    background: rgba(16, 18, 155, 0.1);
    border: 1px solid rgba(16, 18, 155, 0.3);
    border-radius: 50px;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.founder-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.founder-linkedin:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
}

/* Timeline Approche */
.approach-section {
    padding: 100px 20px;
    margin-left: 80px;
}

.approach-timeline {
    max-width: 900px;
    margin: 60px auto 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 50px);
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 18, 155, 0.3);
}

.timeline-content {
    background: var(--dark-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-content h3 i {
    color: var(--accent-cyan);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Expertises Grid */
.expertises-section {
    padding: 100px 20px;
    background: var(--dark-secondary);
    margin-left: 80px;
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.expertise-card {
    background: var(--dark-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: #667eea;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.expertise-list li:last-child {
    border-bottom: none;
}

.expertise-list i {
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

/* Why Us Grid */
.why-us-section {
    padding: 100px 20px;
    margin-left: 80px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.why-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--dark-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.why-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00c9ff;
}

.why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.why-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Aperçu pages (index.html) */
.projects-preview,
.about-preview {
    padding: 100px 20px;
}

.projects-cta,
.about-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* === FOOTER === */
.footer {
    background: var(--dark-bg);
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-left: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column,
.footer-section {
    /* Styles communs pour les colonnes du footer */
}

.footer-column h3,
.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column p,
.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-column ul,
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li,
.footer-section ul li {
    margin-bottom: 12px;
}

.footer-column ul li a,
.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column ul li a:hover,
.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.footer-logo img {
    border-radius: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.contact-info i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

/* === SERVICE PAGES === */
.service-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 20px 80px;
    margin-left: 80px;
}

.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 10px;
}

.service-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
}

.service-hero h1 i {
    color: #667eea;
    margin-right: 16px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
}

.service-details {
    padding: 40px 20px 80px;
    margin-left: 80px;
}

.service-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.service-intro h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.service-intro p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.service-types,
.service-process,
.service-tech,
.service-includes,
.service-cta,
.seo-aspects,
.seo-local,
.seo-tools,
.why-seo,
.social-platforms,
.content-types,
.service-metrics {
    margin-bottom: 80px;
}

.service-types h3,
.service-process h3,
.service-tech h3,
.service-includes h3,
.service-cta h3,
.seo-aspects h3,
.seo-local h3,
.seo-tools h3,
.why-seo h3,
.social-platforms h3,
.content-types h3,
.service-metrics h3 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

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

.type-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
}

.type-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 18, 155, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.type-card.featured {
    background: linear-gradient(135deg, rgba(16, 18, 155, 0.1) 0%, rgba(10, 13, 107, 0.1) 100%);
    border-color: rgba(16, 18, 155, 0.2);
}

.type-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: rgba(16, 18, 155, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.type-icon i {
    font-size: 32px;
    color: #667eea;
}

.type-card h4 {
    font-size: 22px;
    margin-bottom: 16px;
}

.type-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.type-card ul {
    list-style: none;
}

.type-card ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Process Timeline */
.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(16, 18, 155, 0.5), rgba(16, 18, 155, 0.1));
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(16, 18, 155, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 22px;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-item {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    border-color: rgba(16, 18, 155, 0.3);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 16px;
}

.tech-item span {
    display: block;
    font-weight: 600;
}

/* Includes Grid */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.include-item:hover {
    border-color: rgba(16, 18, 155, 0.3);
    transform: translateX(5px);
}

.include-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.include-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Service CTA */
.service-cta {
    text-align: center;
    background: var(--dark-card);
    border-radius: 24px;
    padding: 60px 40px;
    margin-top: 60px;
}

.service-cta h3 {
    font-size: 36px;
    margin-bottom: 16px;
}

.service-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Other Services */
.other-services {
    background: var(--dark-secondary);
    padding: 80px 20px;
}

.other-services h3 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.other-service-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.other-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.other-service-card:hover::before {
    transform: scaleX(1);
}

.other-service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 18, 155, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.other-service-card i {
    font-size: 48px;
    color: #667eea;
    flex-shrink: 0;
}

.other-service-card h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

.other-service-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.link-arrow {
    color: var(--primary-color);
    font-size: 20px;
    position: absolute;
    bottom: 40px;
    right: 40px;
    transition: var(--transition-smooth);
}

.other-service-card:hover .link-arrow {
    transform: translateX(10px);
}

/* SEO Specific Styles */
.why-grid,
.aspect-grid,
.local-features,
.content-grid,
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.platforms-grid,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card,
.platform-card,
.aspect-card,
.local-item,
.content-item,
.metric-item,
.tool-item {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.why-card:hover,
.platform-card:hover,
.aspect-card:hover,
.local-item:hover,
.content-item:hover,
.metric-item:hover,
.tool-item:hover {
    transform: translateY(-10px);
    border-color: rgba(16, 18, 155, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-icon,
.aspect-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(16, 18, 155, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-icon i,
.aspect-icon i {
    font-size: 32px;
    color: #667eea;
}

.platforms-grid {
    grid-template-columns: repeat(3, 1fr);
}

.platform-card i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 16px;
}

.platform-card h4,
.why-card h4,
.local-item h4,
.content-item h4,
.metric-item h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.platform-card p,
.why-card p,
.local-item p,
.content-item p,
.metric-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.aspect-card {
    text-align: left;
}

.aspect-list {
    margin-top: 20px;
}

.aspect-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aspect-item:last-child {
    border-bottom: none;
}

.aspect-item i {
    color: var(--primary-color);
    font-size: 14px;
}

.seo-local {
    background: var(--dark-card);
    padding: 60px;
    border-radius: 24px;
}

.seo-local p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
}

.local-item i,
.content-item i,
.metric-item i {
    font-size: 40px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.tools-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.tool-item i {
    font-size: 40px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tool-item span {
    font-weight: 600;
}

/* === CONTACT PAGE === */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 150px 20px 80px;
    margin-left: 80px;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-hero p {
    font-size: 20px;
    color: var(--text-secondary);
}

.contact-section {
    padding: 80px 20px;
    margin-left: 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-box {
    background: var(--dark-card);
    border-radius: 24px;
    padding: 50px;
    height: fit-content;
}

.contact-info-box h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-info-box > p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-items {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(16, 18, 155, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 22px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.info-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.info-content a:hover {
    color: var(--primary-color);
}

.availability {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.social-contact {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-contact h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.contact-form-box {
    background: var(--dark-card);
    border-radius: 24px;
    padding: 50px;
}

.contact-form-box h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 0;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    justify-content: center;
}

.form-message {
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    display: block;
}

/* FAQ Section */
.faq-section {
    background: var(--dark-secondary);
    padding: 80px 20px;
    margin-left: 80px;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(16, 18, 155, 0.3);
}

.faq-question {
    padding: 24px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
}

.faq-question i {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0 30px 24px;
    margin: 0;
    min-height: 0;
}

/* === RESPONSIVE === */

/* Grand écran (1440px+) - Optimisation pour grands moniteurs */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 52px;
    }
}

/* Desktop intermédiaire (1200px - 1440px) */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablette large et petit desktop (769px - 1024px) */
@media (max-width: 1024px) {
    /* Transformer la navbar en header horizontal */
    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        z-index: 10000;
        background: rgba(10, 14, 39, 0.95);
        backdrop-filter: blur(20px);
    }

    .nav-container:hover {
        width: 100%;
    }

    .liquid-background {
        display: none;
    }

    .nav-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        gap: 20px;
        height: auto;
        width: 100%;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        padding: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    .logo-image {
        height: 40px;
        width: 40px;
    }

    .logo-text {
        display: none;
    }

    .nav-center {
        display: block;
        position: static;
        flex: initial;
        width: auto;
    }

    .nav-right {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        width: auto;
    }

    .theme-toggle {
        display: flex;
        width: 40px;
        height: 40px;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 10000;
        pointer-events: auto;
    }

    .nav-links {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 0 !important;
        background: rgba(10, 14, 39, 0.98) !important;
        backdrop-filter: blur(20px);
        flex-direction: column !important;
        padding: 0 20px !important;
        gap: 8px !important;
        border-left: none !important;
        border-radius: 0 !important;
        transition: all 0.3s ease !important;
        z-index: 9999 !important;
        overflow: hidden !important;
    }

    .nav-links.active {
        max-height: calc(100vh - 70px) !important;
        padding: 20px !important;
        overflow-y: auto !important;
    }

    .nav-link {
        width: 100%;
        padding: 16px 20px;
        border-radius: 8px;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 16px;
        justify-content: flex-start;
    }

    .nav-link i:first-child {
        min-width: 24px;
        font-size: 18px;
    }

    .nav-link .link-text {
        opacity: 1 !important;
        display: inline !important;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-section-title {
        pointer-events: none;
        opacity: 0.7;
        font-size: 0.85rem;
        padding: 12px 20px 8px;
        margin-bottom: 0;
    }

    .nav-section-title .dropdown-icon {
        display: none;
    }

    .dropdown-menu-innovative {
        position: static;
        background: transparent;
        border-left: none;
        margin-top: 0;
        border-radius: 0;
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        opacity: 1 !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0;
    }

    .dropdown-item-innovative {
        padding: 14px 20px;
        background: rgba(16, 18, 155, 0.1);
        border-radius: 8px;
        border-left: 3px solid var(--primary-color);
        transition: all 0.3s ease;
    }

    .dropdown-item-innovative:hover {
        background: rgba(16, 18, 155, 0.2);
        transform: translateX(4px);
    }

    .btn-contact-new {
        display: none;
    }

    /* Bouton contact dans le menu mobile */
    .nav-contact-mobile {
        display: none !important;
        width: 100%;
        padding: 16px 20px;
        background: var(--primary-gradient);
        color: white;
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: 600;
        text-decoration: none;
        margin-top: 8px;
        transition: all 0.3s ease;
    }

    .nav-links.active .nav-contact-mobile {
        display: flex !important;
    }

    .nav-contact-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(16, 18, 155, 0.4);
    }

    .nav-morph-indicator {
        display: none;
    }

    body {
        margin-top: 70px;
    }

    /* Retirer les marges left pour la navbar latérale */
    .hero,
    section,
    .breadcrumb,
    .service-hero,
    .contact-hero,
    .projects-hero,
    .about-hero,
    .service-details,
    .contact-section,
    .mission-section,
    .founder-section,
    .approach-section,
    .why-us-section,
    .expertises-section,
    .testimonials-section,
    .faq-section,
    .footer {
        margin-left: 0 !important;
    }

    /* Ajuster les sections hero des pages */
    .service-hero,
    .contact-hero,
    .projects-hero,
    .about-hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    /* Ajuster le contenu principal */
    .hero {
        margin-top: 0;
        padding: 60px 20px 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-title {
        font-size: 52px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 18px;
        line-height: 1.6;
    }

    .container {
        padding: 0 30px;
        max-width: 100%;
    }

    .section-header {
        padding: 0 20px;
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 42px;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 17px;
    }

    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-cta .btn {
        flex: 1;
        min-width: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-box {
        order: 2;
    }

    .contact-form-box {
        order: 1;
    }

    /* Service cards responsive */
    .service-card {
        padding: 35px 30px;
    }
    
    .service-card h3 {
        font-size: 22px;
    }

    /* Ajuster padding des sections sur mobile */
    .mission-section,
    .founder-section,
    .approach-section,
    .why-us-section,
    .expertises-section {
        padding: 60px 20px !important;
    }

    .service-details {
        padding: 40px 20px !important;
    }

    /* Responsive Pages Projets & À Propos */
    .mission-grid,
    .founder-card-full {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-mini {
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-grid {
        padding: 0;
    }

    .project-card {
        margin: 0;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .timeline-item:not(:last-child)::before {
        left: 30px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .stat-card:nth-child(3) {
        grid-column: 1;
    }
    
    /* Amélioration cards project */
    .project-card {
        transition: transform 0.3s ease;
    }
    
    .project-card:hover {
        transform: translateY(-5px);
    }
    
    /* Optimisation formulaire */
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* FAQ responsive */
    .faq-question h4 {
        font-size: 17px;
    }

    /* === SERVICE PAGES RESPONSIVE 1024px === */
    .types-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .type-card {
        padding: 30px;
    }

    .type-card h4 {
        font-size: 20px;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }

    .tech-item {
        padding: 20px 15px;
    }

    .tech-item i {
        font-size: 36px;
    }

    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .process-step {
        gap: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .process-step:not(:last-child)::after {
        left: 24px;
    }

    .step-content h4 {
        font-size: 18px;
    }

    /* SEO Service specific */
    .platforms-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablette (600px - 768px) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    * {
        max-width: 100vw;
    }

    /* Masquer/limiter les éléments décoratifs qui causent le débordement */
    .gradient-orb,
    .orb-1,
    .orb-2,
    .orb-3 {
        display: none !important;
    }

    .hero-background,
    .grid-overlay {
        overflow: hidden;
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
        overflow: hidden;
    }

    /* Ajuster les sections hero des pages */
    .service-hero,
    .contact-hero,
    .projects-hero,
    .about-hero {
        padding: 100px 20px 50px;
        min-height: auto;
        overflow: hidden;
    }

    .service-hero h1,
    .contact-hero h1 {
        font-size: 32px;
    }

    .hero-description,
    .contact-hero p {
        font-size: 16px;
    }

    /* Réduire padding sections sur mobile */
    .mission-section,
    .founder-section,
    .approach-section,
    .why-us-section,
    .expertises-section {
        padding: 50px 20px !important;
    }

    .service-details {
        padding: 30px 20px !important;
    }

    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .floating-card {
        padding: 20px;
    }
    
    .floating-card i {
        font-size: 24px;
    }
    
    .floating-card span {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .services-grid,
    .projects-grid,
    .portfolio-grid,
    .types-grid,
    .includes-grid,
    .platforms-grid,
    .tools-grid,
    .testimonials-grid,
    .expertises-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    /* Tech grid reste en 2 colonnes sur tablette */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .tech-item {
        padding: 20px;
    }

    .tech-item i {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .tech-item span {
        font-size: 13px;
    }

    /* Type cards améliorations 768px */
    .type-card {
        padding: 25px;
    }

    .type-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .type-icon i {
        font-size: 26px;
    }

    .type-card h4 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .type-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .type-card ul li {
        font-size: 13px;
        padding: 6px 0;
    }

    .featured-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* Process timeline 768px */
    .process-step {
        gap: 15px;
        margin-bottom: 30px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .process-step:not(:last-child)::after {
        left: 21px;
        top: 50px;
        bottom: -30px;
    }

    .step-content h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .step-content p {
        font-size: 14px;
    }

    /* Include items 768px */
    .include-item {
        padding: 12px;
    }

    .include-item i {
        font-size: 16px;
    }

    /* SEO grids 768px */
    .why-grid,
    .aspect-grid,
    .local-features,
    .content-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .platforms-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .why-card,
    .platform-card,
    .aspect-card,
    .local-item,
    .content-item,
    .metric-item,
    .tool-item {
        padding: 25px;
    }

    .why-icon,
    .aspect-icon {
        width: 60px;
        height: 60px;
    }

    .why-icon i,
    .aspect-icon i {
        font-size: 26px;
    }

    .why-card h4,
    .platform-card h4,
    .aspect-card h4 {
        font-size: 18px;
    }

    .include-item span {
        font-size: 13px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Contact form responsive */
    .contact-info-box,
    .contact-form-box {
        padding: 30px;
    }

    .info-items {
        gap: 24px;
    }

    .service-cta {
        padding: 40px 30px;
    }

    .service-cta h3 {
        font-size: 28px;
    }

    .service-cta p {
        font-size: 16px;
    }

    .service-hero h1 {
        font-size: 36px;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Pages Projets & À Propos mobile */
    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .stats-mini {
        flex-direction: column;
        gap: 20px;
    }

    .mission-values {
        flex-direction: column;
        gap: 20px;
    }

    .founder-card-full {
        padding: 30px;
    }

    .founder-skills {
        justify-content: center;
    }

    .founder-card-full {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 25px;
    }

    .founder-image-wrapper {
        max-width: 250px;
        margin: 0 auto;
    }

    .founder-bio {
        font-size: 0.95rem;
    }

    .approach-timeline {
        padding: 0 10px;
    }

    .timeline-item {
        margin-bottom: 30px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .expertise-card,
    .why-item {
        padding: 25px 20px;
    }

    .service-intro h2 {
        font-size: 28px;
    }

    .service-intro p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative;
    }

    /* Masquer les effets visuels qui débordent */
    .gradient-orb,
    .orb-1,
    .orb-2,
    .orb-3,
    .grid-overlay {
        display: none !important;
    }

    .hero-background {
        overflow: hidden !important;
    }

    section,
    .footer,
    .hero,
    .service-hero,
    .contact-hero,
    .projects-hero,
    .about-hero {
        overflow: hidden !important;
    }

    .hero-title {
        font-size: 28px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .service-hero h1,
    .contact-hero h1 {
        font-size: 24px;
    }

    .hero-description,
    .contact-hero p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
        word-wrap: break-word;
    }

    .section-subtitle {
        font-size: 14px;
    }

    /* Réduire encore padding sur petit mobile */
    .mission-section,
    .founder-section,
    .approach-section,
    .why-us-section,
    .expertises-section {
        padding: 40px 15px !important;
    }

    .service-hero,
    .contact-hero,
    .projects-hero,
    .about-hero {
        padding: 90px 15px 40px !important;
    }

    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .type-card,
    .project-info {
        padding: 20px;
    }

    /* === SERVICE PAGES RESPONSIVE 480px === */
    .type-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .type-icon i {
        font-size: 22px;
    }

    .type-card h4 {
        font-size: 16px;
    }

    .type-card p {
        font-size: 13px;
    }

    .type-card ul li {
        font-size: 12px;
        padding: 5px 0;
    }

    .featured-badge {
        font-size: 10px;
        padding: 5px 10px;
        top: 10px;
        right: 10px;
    }

    /* Tech grid en 2x2 sur mobile */
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tech-item {
        padding: 15px 10px;
    }

    .tech-item i {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .tech-item span {
        font-size: 11px;
    }

    /* Process timeline 480px */
    .process-step {
        gap: 12px;
        margin-bottom: 25px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .process-step:not(:last-child)::after {
        left: 19px;
        top: 45px;
        bottom: -25px;
    }

    .step-content h4 {
        font-size: 15px;
    }

    .step-content p {
        font-size: 13px;
    }

    /* Include items 480px */
    .includes-grid {
        gap: 10px;
    }

    .include-item {
        padding: 10px;
        gap: 8px;
    }

    .include-item i {
        font-size: 14px;
    }

    .include-item span {
        font-size: 12px;
    }

    /* Service intro 480px */
    .service-intro h2 {
        font-size: 22px;
    }

    .service-intro p {
        font-size: 14px;
    }

    .service-types h3,
    .service-process h3,
    .service-tech h3,
    .service-includes h3,
    .why-seo h3 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    /* SEO grids 480px */
    .platforms-grid,
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-card,
    .platform-card,
    .aspect-card,
    .local-item,
    .content-item,
    .metric-item,
    .tool-item {
        padding: 20px;
    }

    .why-icon,
    .aspect-icon {
        width: 50px;
        height: 50px;
    }

    .why-icon i,
    .aspect-icon i {
        font-size: 22px;
    }

    .platform-card i {
        font-size: 32px;
    }

    .why-card h4,
    .platform-card h4,
    .aspect-card h4,
    .local-item h4 {
        font-size: 16px;
    }

    .why-card p,
    .platform-card p,
    .aspect-card p {
        font-size: 13px;
    }
    
    .contact-info-box,
    .contact-form-box {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .mission-grid,
    .stats-cards {
        gap: 15px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .service-cta {
        padding: 30px 20px;
    }

    .service-cta h3 {
        font-size: 20px;
    }

    .service-cta p {
        font-size: 14px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h4 {
        font-size: 16px;
    }

    .founder-card-full {
        padding: 20px;
        gap: 20px;
    }

    .founder-info h3 {
        font-size: 1.5rem;
    }

    .founder-bio {
        font-size: 0.9rem;
    }

    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline-item {
        grid-template-columns: 50px 1fr;
        gap: 15px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .mission-text {
        font-size: 0.95rem;
    }

    .value-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .stat-card {
        padding: 20px;
    }

    .expertise-list {
        font-size: 0.9rem;
    }

    .breadcrumb {
        font-size: 12px;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CHATBOT STYLES
   ============================================ */

.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(247, 157, 79, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(247, 157, 79, 0.6);
}

.chatbot-toggle i {
    color: white;
    font-size: 24px;
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 450px;
    max-height: calc(100vh - 150px);
    background: var(--dark-card);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.chatbot-header h4 {
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.chatbot-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.chatbot-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    margin-right: 6px;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chatbot-close i {
    color: white;
    font-size: 16px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.chatbot-message {
    display: flex;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-message.bot {
    justify-content: flex-start;
}

.chatbot-message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.chatbot-message.bot .message-content {
    background: rgba(102, 126, 234, 0.2);
    color: #e8eaf6;
    border-bottom-left-radius: 4px;
}

.chatbot-message.user .message-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 15px;
}

.quick-reply {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-reply:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.chatbot-input-area {
    display: flex;
    gap: 10px;
    padding: 15px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input {
    flex: 1;
    background: var(--dark-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 18px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chatbot-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(247, 157, 79, 0.4);
}

.chatbot-send i {
    color: white;
    font-size: 16px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 10px;
        right: 15px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-window {
        width: calc(100vw - 30px);
        height: calc(100vh - 120px);
        bottom: 20px;
        right: -7.5px;
    }
    
    .quick-reply {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Instagram button in chatbot */
.instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.5);
}

.instagram-btn i:first-child {
    font-size: 18px;
}

.instagram-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.instagram-btn:hover i:last-child {
    transform: translateX(3px);
}

/* ============================================
   WHATSAPP WIDGET STYLES
   ============================================ */

/* WhatsApp green color for toggle button */
.chatbot-toggle {
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.chatbot-toggle:hover {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4) !important;
}

/* WhatsApp content area */
.whatsapp-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    background: var(--dark-card);
}

.whatsapp-message {
    background: rgba(37, 211, 102, 0.1);
    border-left: 4px solid #25D366;
    padding: 20px;
    border-radius: 0 15px 15px 0;
}

.whatsapp-message p {
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.6;
}

.whatsapp-message p:last-child {
    margin-bottom: 0;
}

.whatsapp-message strong {
    color: #25D366;
}

/* WhatsApp button */
.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i:first-child {
    font-size: 22px;
}

.whatsapp-btn i:last-child {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover i:last-child {
    transform: translateX(5px);
}

/* Mobile adjustments for WhatsApp widget */
@media (max-width: 768px) {
    .whatsapp-content {
        padding: 20px;
    }
    
    .whatsapp-message {
        padding: 15px;
    }
    
    .whatsapp-btn {
        padding: 15px 25px;
        font-size: 14px;
    }
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

.legal-section {
    padding: 150px 0 100px;
    background: var(--dark-bg);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--dark-card);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content h1 i {
    margin-right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.legal-block ul {
    list-style: none;
    padding-left: 0;
}

.legal-block ul li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.legal-block ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.legal-block a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-block a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.legal-content em {
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 120px 0 60px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-block h2 {
        font-size: 1.3rem;
    }
}
