/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Buttons */
.btn-primary {
    background: #FF4444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary:hover {
    background: #FF3333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-secondary:hover {
    border-color: #999;
    color: #333;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-consent.show {
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cookie-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cookie-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.cookie-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.logo-icon {
    font-size: 24px;
    color: #FF4444;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF4444;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #FF4444;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 12px;
}

.flag {
    font-size: 16px;
}

.burger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(66, 133, 244, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%);
    z-index: 1;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-features {
    list-style: none;
    margin-bottom: 40px;
}

.hero-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #555;
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF4444;
    font-weight: bold;
}

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

.cta-text {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.language-small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 12px;
}

.hero-image {
    position: relative;
    height: 400px;
}

.ai-visualization {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-network {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    animation: float 4s ease-in-out infinite;
}

.element:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.element:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.element:nth-child(3) {
    bottom: 25%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.services-cta {
    text-align: center;
}

/* Histoire Section */
.histoire {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

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

.histoire h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.histoire p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.histoire-points {
    margin: 30px 0;
}

.point {
    margin-bottom: 25px;
}

.point h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.point p {
    color: #666;
    margin-bottom: 0;
}

.histoire-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #FF4444;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.histoire-image {
    height: 400px;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.team-working {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23f3f4f6" width="400" height="300"/><circle cx="150" cy="120" r="30" fill="%23d1d5db"/><rect x="100" y="180" width="100" height="60" rx="10" fill="%23d1d5db"/><circle cx="250" cy="120" r="30" fill="%23d1d5db"/><rect x="200" y="180" width="100" height="60" rx="10" fill="%23d1d5db"/></svg>') center/cover;
}

/* Avantages Section */
.avantages {
    padding: 80px 0;
    background: #fff;
}

.avantages h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.avantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    height: 600px;
}

.avantage-card {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.avantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.avantage-visual {
    grid-row: 1 / -1;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-visualization {
    position: relative;
    width: 200px;
    height: 200px;
}

.ai-brain {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    position: relative;
}

.ai-brain::before {
    content: 'AI';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #60a5fa;
    font-size: 24px;
    font-weight: 700;
}

.data-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(59, 130, 246, 0.1) 10px,
        rgba(59, 130, 246, 0.1) 20px
    );
    animation: flow 4s linear infinite;
}

@keyframes flow {
    0% { transform: translateX(-20px) translateY(-20px); }
    100% { transform: translateX(20px) translateY(20px); }
}

.avantage-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.avantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.avantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Avis Section */
.avis {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.avis h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.avis-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.avis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fbbf24;
}

.avis-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.client-info strong {
    color: #1a1a1a;
    font-weight: 600;
}

.client-info span {
    color: #888;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

/* Pourquoi Section */
.pourquoi {
    padding: 80px 0;
    background: #fff;
}

.pourquoi h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.pourquoi-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pourquoi-card {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.pourquoi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.pourquoi-number {
    width: 60px;
    height: 60px;
    background: #FF4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.pourquoi-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.pourquoi-card p {
    color: #666;
    line-height: 1.6;
}

.pourquoi-image {
    height: 300px;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ai-dashboard {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23172554" width="400" height="200"/><rect x="20" y="20" width="100" height="60" rx="8" fill="%233b82f6" opacity="0.3"/><rect x="140" y="20" width="100" height="60" rx="8" fill="%23ef4444" opacity="0.3"/><rect x="260" y="20" width="100" height="60" rx="8" fill="%2310b981" opacity="0.3"/><line x1="20" y1="120" x2="380" y2="120" stroke="%233b82f6" stroke-width="2"/><circle cx="60" cy="120" r="4" fill="%233b82f6"/><circle cx="120" cy="110" r="4" fill="%233b82f6"/><circle cx="180" cy="130" r="4" fill="%233b82f6"/><circle cx="240" cy="115" r="4" fill="%233b82f6"/><circle cx="300" cy="125" r="4" fill="%233b82f6"/><circle cx="360" cy="118" r="4" fill="%233b82f6"/></svg>') center/cover;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

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

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item strong {
    color: #1a1a1a;
    font-weight: 600;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF4444;
    background: white;
}

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

.contact-visual {
    height: 400px;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ai-consultant {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 400"><rect fill="%23172554" width="300" height="400"/><circle cx="150" cy="120" r="40" fill="%233b82f6" opacity="0.3"/><rect x="100" y="180" width="100" height="120" rx="15" fill="%233b82f6" opacity="0.2"/><circle cx="130" cy="200" r="8" fill="%2360a5fa"/><circle cx="170" cy="200" r="8" fill="%2360a5fa"/><rect x="125" y="220" width="50" height="4" rx="2" fill="%2360a5fa"/></svg>') center/cover;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer .logo {
    color: white;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF4444;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .histoire-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .histoire-stats {
        justify-content: center;
    }
    
    .avantages-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    
    .avantage-visual {
        grid-row: auto;
        height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px 0;
        font-size: 18px;
    }
    
    .language-selector {
        margin-top: 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .avantages-grid {
        grid-template-columns: 1fr;
    }
    
    .avis-grid {
        grid-template-columns: 1fr;
    }
    
    .pourquoi-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cookie-content {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .service-card,
    .avantage-card,
    .avis-card,
    .pourquoi-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.thank-you{
     padding-block: 100px;
}