/* Site Freelance i-doxa - Styles principaux */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
}

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

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

nav {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    height: 70px;
    padding: 10px 10px 10px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #00286b;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffa500;
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #00286b;
    cursor: pointer;
}

/* Hero Section - b_accueil_hero */
.hero {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.btn-primary {
    background: #00286b;
    color: white;
}

.btn-primary:hover {
    background: #001a4a;
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #00286b;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Values Section - b_accueil_valeurs */
.values {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #00286b;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #ffa500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card h3 {
    color: #00286b;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Services Section - b_accueil_services */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-left: 5px solid #ffa500;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #00286b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: #ffa500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tech Stack - b_accueil_techno */
.tech-stack {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.tech-category h4 {
    color: #00286b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.tech-list li {
    padding: 0.3rem 0;
    color: #555;
}

/* Realizations - b_accueil_realisations */
.realizations {
    padding: 80px 0;
}

.realization-grid {
    display: grid;
    gap: 3rem;
}

.realization-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    align-items: center;
}

.client-logo {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #eee;
}

.realization-content h4 {
    color: #00286b;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.realization-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    background: #b9d51c;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* AI Focus - b_accueil_ia_focus */
.ai-focus {
    padding: 80px 0;
    background: linear-gradient(135deg, #00286b 0%, #003d8a 100%);
    color: white;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ai-features {
    display: grid;
    gap: 1.5rem;
}

.ai-feature {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ffa500;
}

.ai-feature h4 {
    margin-bottom: 0.5rem;
    color: #ffa500;
}

/* Process - b_accueil_approche */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #ffa500;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.process-step h4 {
    color: #00286b;
    margin-bottom: 1rem;
}

/* Geography - b_accueil_zone */
.geography {
    padding: 80px 0;
}

.geo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.geo-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.geo-icon {
    width: 60px;
    height: 60px;
    background: #b9d51c;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Final CTA - b_accueil_cta_final */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #b9d51c 0%, #a8c519 100%);
    text-align: center;
    color: #333;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00286b;
}

.reassurance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.reassurance-item {
    background: rgba(255,255,255,0.3);
    padding: 1rem;
    border-radius: 10px;
}

/* Footer */
footer {
    background: #b9d51c;
    color: #333;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #00286b;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,40,107,0.2);
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #00286b;
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 10000;
    display: none;
}

#cookie-banner button {
    margin-left: 10px;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

#cookie-banner .accept-btn {
    background: #ffa500;
    color: white;
}

#cookie-banner .refuse-btn {
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* SVG Icons */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.icon-lg {
    width: 40px;
    height: 40px;
}

         /* Styles spécifiques à la page IA */
        .ia-hero {
            background: linear-gradient(135deg, #00286b 0%, #003d8a 100%);
            color: white;
            padding: 100px 0 80px;
            margin-top: 20px;
        }
        
        .ia-hero .hero-content {
            display: grid;
            gap: 3rem;
            align-items: center;
        }
        
        .ia-hero .hero-visual {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .ia-tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .tool-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-top: 4px solid #ffa500;
            transition: transform 0.3s;
        }
        
        .tool-card:hover {
            transform: translateY(-5px);
        }
        
        .tool-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ffa500, #ff8c00);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }
        
        .methodology-card {
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            border-left: 5px solid #b9d51c;
        }
        
        .use-case-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .use-case-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 2rem;
            border-radius: 15px;
            border: 1px solid #dee2e6;
        }
        
        .process-ia {
            background: linear-gradient(135deg, #b9d51c 0%, #a8c519 100%);
            color: #333;
        }
        
        .breadcrumb {
            background: #f8f9fa;
            padding: 1rem 0;
            font-size: 0.9rem;
        }
        
        .breadcrumb a {
            color: #00286b;
            text-decoration: none;
        }
        
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        
        .cta-ia {
            background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
            color: white;
            text-align: center;
            padding: 80px 0;
        }

        .cta-main-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .cta-main-title {
            font-size: 2.8rem;
            margin-bottom: 2rem;
            font-weight: 700;
        }

        .cta-main-description {
            font-size: 1.3rem;
            margin-bottom: 3rem;
            opacity: 0.95;
            line-height: 1.6;
        }

        .ia-cta-container {
            margin-bottom: 4rem;
        }

        .ia-cta-container .btn {
            margin: 0 1rem;
            font-size: 1.1rem;
            padding: 15px 30px;
        }

        .ia-consultation-box {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2.5rem;
            margin-top: 3rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .ia-consultation-title {
            font-size: 1.6rem;
            margin-bottom: 2rem;
            color: white;
            font-weight: 600;
        }

        .ia-consultation-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .ia-consultation-item {
            text-align: left;
        }

        .ia-consultation-item strong {
            display: block;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: white;
        }

        .ia-consultation-item p {
            margin: 0;
            opacity: 0.9;
            font-size: 0.95rem;
            line-height: 1.4;
        }

.methodology-card h3,
.service-card h3,
.value-card h3,
.use-case-card h4 {

    margin-bottom: 10px;
}

.methodology-card h3 svg,
.service-card h3 svg,
.value-card h3 svg,
.use-case-card h4 svg {
    flex-shrink: 0;
}

/* Correction spécifique pour les h4 des cas d'usage */
.use-case-card h4 {
    color: #00286b;
    margin-bottom: 1rem;
}

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

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
    }
    
    .realization-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-main-title {
        font-size: 2.2rem;
    }
    
    .cta-main-description {
        font-size: 1.1rem;
    }
    
    .ia-consultation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ia-consultation-box {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .ia-cta-container .btn {
        margin: 0.5rem;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}