/* ========================================
   Variables CSS - Thème Noir & Blanc Ultra-Moderne
   ======================================== */
:root {
    /* Couleurs principales - Noir & Blanc sophistiqué */
    --primary-color: #000000; /* Noir absolu */
    --primary-dark: #0A0A0A; /* Noir profond */
    --primary-light: #1A1A1A; /* Gris très foncé */
    --secondary-color: #2A2A2A; /* Gris foncé moderne */
    --accent-color: #FFFFFF; /* Blanc pur */
    
    /* Arrière-plans avec nuances modernes */
    --dark-bg: #0F0F0F; /* Noir élégant */
    --darker-bg: #050505; /* Noir intense */
    --medium-bg: #1F1F1F; /* Gris charbon */
    --medium-light-bg: #2A2A2A; /* Gris moderne */
    --light-bg: #F8F8F8; /* Blanc cassé élégant */
    --lighter-bg: #FAFAFA; /* Blanc pur */
    --white: #FFFFFF;
    
    /* Textes avec contraste parfait */
    --text-primary: #000000; /* Noir intense */
    --text-secondary: #333333; /* Gris foncé */
    --text-muted: #666666; /* Gris moyen */
    --text-light: #999999; /* Gris clair */
    --text-white: #FFFFFF;
    
    /* États avec couleurs modernes */
    --success: #00C896; /* Vert émeraude moderne */
    --error: #FF4757; /* Rouge corail moderne */
    --warning: #FFA502; /* Orange ambre moderne */
    --info: #3742FA; /* Bleu cobalt moderne */
    
    /* Bordures subtiles */
    --border-color: #E8E8E8; /* Gris très clair */
    --border-dark: #2A2A2A; /* Gris foncé */
    --border-light: #F5F5F5; /* Gris ultra clair */
    
    /* Ombres modernes et profondes */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.20);
    --shadow-2xl: 0 32px 80px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 8px rgba(0, 0, 0, 0.06);
    
    /* Transitions fluides et modernes */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Gradients modernes */
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1A1A1A 100%);
    --gradient-light: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    --gradient-accent: linear-gradient(135deg, #FFFFFF 0%, #E8E8E8 100%);
}

/* ========================================
   Reset & Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-weight: 400;
}

/* Background responsive */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--darker-bg);
    color: var(--text-white);
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        background-image: url('../images/background_phone.png');
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation - Design Noir & Blanc Ultra-Moderne
   ======================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    background-clip: padding-box;
    border-radius: 0 0 24px 24px;
}

/* Effet moderne minimaliste */
.navbar::before {
    display: none;
}

.navbar::after {
    display: none;
}

/* Effet de vagues liquides supplémentaires */
.navbar .liquid-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: waveFlow 3s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes liquidRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes liquidShimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-10px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(10px);
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-dark);
    border-radius: 0 0 20px 20px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 50px;
    width: auto;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.logo-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

/* Effet moderne minimaliste sur les liens */
.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a::after {
    display: none;
}

/* Effet de vague liquide au survol */
.nav-menu a:hover::before {
    width: calc(100% - 2.8rem);
    animation: liquidWave 0.6s ease-in-out;
}

@keyframes liquidWave {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    25% {
        transform: translateX(-50%) translateY(-2px);
    }
    75% {
        transform: translateX(-50%) translateY(2px);
    }
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    display: none;
}

@keyframes liquidPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: calc(100% - 2rem);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: var(--gradient-accent);
    border: 2px solid var(--border-color);
    cursor: pointer;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
    position: relative;
    transform-origin: center;
}

/* Animation du burger en croix */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-color);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--primary-color);
}

.nav-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--border-dark);
}

/* ========================================
   Hero Section
   ======================================== */

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.85) 0%,
        rgba(15, 15, 15, 0.8) 25%,
        rgba(31, 31, 31, 0.75) 50%,
        rgba(15, 15, 15, 0.8) 75%,
        rgba(5, 5, 5, 0.85) 100%
    );
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -2px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #FFFFFF 0%, #E5E7EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.4s both;
    opacity: 0.9;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-dark);
    color: var(--white);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    display: none;
}

.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--border-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-outline::before {
    display: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ========================================
   Sections
   ======================================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title + p {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-preview {
    padding: 100px 0;
    background: var(--gradient-light);
    position: relative;
}

/* Design moderne minimaliste */
.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color), 
        transparent);
}

.services-preview::after {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out both;
}

/* Effet moderne épuré */
.service-card::before {
    display: none;
}

.service-card::after {
    display: none;
}

.service-card:hover::before {
    display: none;
}

.service-card:hover::after {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-dark);
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.service-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service-card:hover p {
    color: var(--text-primary);
}

.text-center {
    text-align: center;
}

.configurateur-cta {
    padding: 120px 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.configurateur-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Design moderne minimaliste */
.configurateur-cta::after {
    display: none;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.configurateur-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Contact Form Styles - Simplifié
   ======================================== */
.contact-section {
    padding: 120px 0;
    background: var(--gradient-light);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-primary);
    box-sizing: border-box;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Cases à cocher */
.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    left: 0;
    top: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: var(--transition);
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Messages */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.contact-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.contact-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-dark);
    position: relative;
}

/* Design moderne minimaliste */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
}

.footer::after {
    display: none;
}

.footer-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.footer-section:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section ul li:hover {
    transform: translateX(2px);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 0.2rem 0;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: var(--transition);
}

.footer-section a:hover::before {
    width: 100%;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateY(-1px);
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ========================================
   Animations avancées et effets de particules
   ======================================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    }
}

/* Effet de brillance subtile sur les cartes */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: var(--transition-smooth);
    opacity: 0;
    z-index: 1;
}

.service-card:hover::after {
    animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* ========================================
   Page À Propos - Styles Liquid Glass
   ======================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.about-photo {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-light);
    border: 4px solid var(--border-color);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.photo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.photo-placeholder span {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.photo-placeholder p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.about-text {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 2.5rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08), 
        0 6px 20px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.about-text::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(255, 255, 255, 0.02) 90deg,
        rgba(255, 255, 255, 0.04) 180deg,
        rgba(255, 255, 255, 0.02) 270deg,
        transparent 360deg
    );
    animation: liquidRotate 15s linear infinite;
    z-index: 1;
    opacity: 0.4;
}

.about-text p {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.value-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 50%, 
        rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08), 
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(255, 255, 255, 0.02) 60deg,
        rgba(255, 255, 255, 0.04) 120deg,
        rgba(255, 255, 255, 0.02) 180deg,
        transparent 240deg,
        transparent 360deg
    );
    animation: liquidRotate 12s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.12), 
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.18);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.value-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
}

/* Statistiques d'expertise */
.expertise-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* Tablettes - 768px à 1024px */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
    
    .navbar {
        border-radius: 0 0 20px 20px;
        padding: 1.2rem 0;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.8rem;
    }
    
    .service-card {
        padding: 2rem;
        border-radius: 28px;
    }
    
    .hero-content h1 {
        font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    }
    
    /* Responsive pour la page À propos */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-photo {
        margin-bottom: 1.5rem;
    }
    
    .profile-photo,
    .photo-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .expertise-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile - 480px à 768px */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.9) 100%);
        backdrop-filter: blur(30px) saturate(200%);
        -webkit-backdrop-filter: blur(30px) saturate(200%);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 2rem 0;
        box-shadow: 
            0 16px 48px rgba(0, 0, 0, 0.15), 
            0 8px 24px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        display: block;
        margin: 0.5rem auto;
        width: fit-content;
        min-width: 150px;
        padding: 1rem 2rem;
        border-radius: 25px;
        font-size: 1rem;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.2) 0%, 
            rgba(255, 255, 255, 0.1) 100%);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .nav-menu a:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.1), 
            0 4px 12px rgba(0, 0, 0, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .nav-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        background: var(--gradient-accent);
        border: 2px solid var(--border-color);
        border-radius: 8px;
        padding: 6px;
        gap: 2px;
    }
    
    .nav-toggle span {
        width: 20px;
        height: 2px;
        background: var(--primary-color);
        border-radius: 2px;
    }

    .navbar {
        border-radius: 0 0 16px 16px;
        padding: 1rem 0;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }

    .hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.8rem;
        border-radius: 24px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .configurateur-cta {
        padding: 80px 0;
    }
    
    .cta-content h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .cta-content p {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    
    /* Responsive pour la page À propos */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .expertise-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Petit Mobile - Moins de 480px */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar {
        border-radius: 0 0 12px 12px;
        padding: 0.8rem 0;
    }
    
    .nav-menu {
        top: 70px;
        border-radius: 0 0 12px 12px;
    }
    
    .nav-menu a {
        min-width: 120px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .service-icon {
        font-size: 2.2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .configurateur-cta {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
        border-radius: 24px;
    }
    
    .contact-info {
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Responsive pour la page À propos */
    .about-text {
        padding: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .about-photo {
        margin-bottom: 1rem;
    }
    
    .profile-photo,
    .photo-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .value-card {
        padding: 1.2rem;
    }
    
    .value-icon {
        font-size: 2rem;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
    }
    
    .expertise-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Ultra petit mobile - Moins de 360px */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-brand .logo {
        max-height: 40px;
    }
    
    .nav-toggle {
        width: 30px;
        height: 30px;
    }
    
    .nav-toggle span {
        width: 18px;
        height: 2px;
    }
    
    .hero-content h1 {
        font-size: clamp(1.5rem, 10vw, 2rem);
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
