/* ===========================
   VOLTAURA - CSS PROFESSIONNEL
   Style moderne inspiré Equans/Bouygues
   =========================== */

:root {
    --primary: #0066CC;
    --secondary: #00A3E0;
    --dark: #1A1A2E;
    --grey-dark: #2D2D44;
    --grey: #6B7280;
    --grey-light: #E5E7EB;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #0066CC 0%, #00A3E0 100%);
    --gradient-2: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER MODERNE ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.98);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-brand img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

.nav-link:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--gradient-1);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s;
    border-radius: 3px;
}

/* ===== HERO MODERNE ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-2);
    overflow: hidden;
    padding-top: 80px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-left .highlight {
    background: linear-gradient(135deg, var(--secondary), white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* ===== CHIFFRES CLÉS ANIMÉS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
    background: white;
}

.section-dark {
    background: var(--grey-dark);
    color: white;
}

.section-dark .section-description {
    color: rgba(255,255,255,0.8);
}

.section-dark .service-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.section-dark .service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
}

.section-dark .service-card h3 {
    color: white;
}

.section-dark .service-card p {
    color: rgba(255,255,255,0.7);
}

.section-light {
    background: var(--grey-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.8;
}

/* ===== CARDS SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.service-card p {
    color: var(--grey);
    margin-bottom: 24px;
    line-height: 1.7;
}

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

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

/* ===== IMAGE PLACEHOLDER ===== */
.image-placeholder {
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    min-height: 400px;
    font-size: 120px;
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER MODERNE ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

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

/* ===== PAGES SERVICES ===== */
.page-header {
    background: var(--gradient-2);
    padding: 140px 0 80px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* Service Detail Cards */
.service-detail {
    display: flex;
    gap: 40px;
    padding: 48px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
    align-items: flex-start;
    transition: all 0.3s;
}

.service-detail:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-detail-icon {
    font-size: 64px;
    min-width: 100px;
    text-align: center;
}

.service-detail-content {
    flex: 1;
}

.service-detail-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--dark);
    font-weight: 700;
}

.service-detail-content p {
    color: var(--grey);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Service Page */
.service-page {
    max-width: 1200px;
    margin: 0 auto;
}

.service-intro {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.service-intro h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-intro p {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.service-features {
    margin-bottom: 60px;
}

.service-features h3 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark);
}

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

.feature-box {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.feature-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.feature-box ul {
    list-style: none;
    padding: 0;
}

.feature-box ul li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--grey);
    line-height: 1.6;
}

.feature-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 18px;
}

.service-advantages {
    background: linear-gradient(135deg, rgba(0,102,204,0.05), rgba(0,163,224,0.05));
    padding: 60px 40px;
    border-radius: 16px;
    margin-bottom: 60px;
}

.service-advantages h3 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark);
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage {
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.advantage:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: var(--gradient-1);
    border-radius: 16px;
    color: white;
}

.cta-box h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.cta-box .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-phone {
    margin-top: 24px;
    font-size: 18px;
}

.cta-phone a {
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transition: border-color 0.3s;
}

.cta-phone a:hover {
    border-bottom-color: white;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-2);
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

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

/* Contact Page */
.contact {
    background: var(--grey-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--dark);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 32px;
    min-width: 50px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-item p {
    color: var(--grey);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--grey-light);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

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

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

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-brand img {
        height: 32px;
    }
    
    .hero-left h1 {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .service-detail {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
    
    .service-detail-icon {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-list {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
}
