/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

#accueil,
#services,
#contact {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.nav-inner {
    padding: 1rem 0;
}

/* Header et Navigation */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1e3a5f;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
    padding: 160px 0 120px;
    margin-top: 70px;
}

.hero-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    max-width: 180px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #1e3a5f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Trusted By Section */
.trusted-by {
    padding: 60px 2rem;
    text-align: center;
    background: #f8f9fa;
}

.trusted-by h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.trusted-logos img {
    max-width: 150px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.trusted-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Services Section */
.services {
    padding: 90px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.service-card {
    background: #f8f9fa;
    padding: 2.4rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(30,58,95,0.1);
    display: block;
    color: inherit;
    text-decoration: none !important;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(30,58,95,0.3);
}

.service-card i {
    font-size: 3rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    color: #475569;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.service-card .service-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    font-weight: 600;
    color: #1e3a5f;
}

.service-card .service-more::after {
    content: "→";
    transition: transform 0.3s;
}

.service-card:hover .service-more::after {
    transform: translateX(5px);
}

.service-mode {
    color: #1e3a5f;
    font-weight: 600;
    margin-top: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e8f0 100%);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured li {
    color: white;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3a5f;
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: #666;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 90px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-info {
    max-width: 520px;
    margin: 0 auto;
    padding: 2.8rem 2.4rem;
    text-align: center;
    background: #f1f5f9;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15,23,42,0.12);
    border: 1px solid rgba(30,58,95,0.12);
}

.contact-info p {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.6;
}

.contact-info a {
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #0f172a;
}

.contact-phone,
.contact-email {
    font-weight: 500;
}

.contact-availability {
    font-size: 0.95rem;
    color: #6b7a90;
    margin-bottom: 0;
}

/* Page service détail */
.service-detail {
    padding: 140px 0 100px;
}

.service-detail .container {
    max-width: 1050px;
}

.service-hero {
    text-align: center;
    margin-bottom: 60px;
}

.service-hero h1 {
    font-size: 3rem;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.service-hero p {
    font-size: 1.2rem;
    color: #2c3e50;
    max-width: 800px;
    margin: 0 auto;
}

.service-cases h2,
.service-cta h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.service-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.case-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: 0 22px 40px rgba(15,23,42,0.12);
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.case-card h3 {
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.case-card p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.case-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: #475569;
    line-height: 1.5;
}

.service-cta {
    text-align: center;
    margin-top: 70px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: #ffffff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 24px 45px rgba(15,23,42,0.25);
}

.service-cta p {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.service-cta .cta-button {
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3.5rem 0 1.5rem;
}

.footer-contact {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-align: center;
    padding: 0 2rem;
}

footer h4 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.2rem;
}

footer p {
    margin: 0.5rem 0;
    color: #ffffff;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Chatbot */
.chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.chatbot-button:hover {
    transform: scale(1.1);
}

.chatbot-button i {
    font-size: 1.5rem;
    color: white;
}

.chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: white;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f8f9fa;
}

.chatbot-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    max-width: 80%;
}

.chatbot-message.bot {
    background: #e9ecef;
    color: #333;
    margin-right: auto;
}

.chatbot-message.user {
    background: #1e3a5f;
    color: white;
    margin-left: auto;
}

.chatbot-form {
    display: flex;
    padding: 1rem;
    background: white;
    border-top: 1px solid #ddd;
}

.chatbot-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 20px;
    margin-right: 0.5rem;
}

.chatbot-form button {
    padding: 0.75rem 1.5rem;
    background: #1e3a5f;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.chatbot-form button:hover {
    background: #0f172a;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .contact-info {
        padding: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .chatbot-window {
        width: calc(100% - 60px);
        right: 30px;
        bottom: 100px;
    }
}

