/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #111;
}

/* Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
}
.hero .btn {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero .btn:hover {
    transform: scale(1.05);
}



/* Points forts */
.points-forts, .services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 10px;
}
@media(min-width: 768px) {
    .points-forts, .services {
        grid-template-columns: repeat(3, 1fr);
    }
}
.point, .service {
    background: #f9fafb;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.point:hover, .service:hover {
    transform: scale(1.05);
}
.point img, .service img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}
.point h3, .service h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #7f00ff;
}
.point p, .service p {
    color: #4b5563;
    font-size: 1rem;
}

.logo {
    width: 200px;
}



/* Banner */
.banner {
    position: relative;
    min-height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    
}
.banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 60, 0.6);
}
.banner h2 {
    font-size: 2rem;
    font-weight: 600;
}

/* Problématiques */
.problematics {
    display: grid;
    gap: 30px;
    padding: 60px 20px;
}
@media(min-width: 768px) {
    .problematics {
        grid-template-columns: repeat(4, 1fr);
    }
}
.problems .problem, .problematics .problem {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.problems img, .problematics img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.problems .text, .problematics .text {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #374151;
    font-size: 0.95rem;
}

/* Blog */
.blog .article {
    background: #f9fafb;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.blog .article:hover {
    transform: scale(1.03);
}
.blog .article h3 {
    color: #7f00ff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.blog .article small {
    display: block;
    margin-bottom: 15px;
    color: #9ca3af;
}
.blog .article p {
    color: #4b5563;
}
.blog .article .btn {
    display: inline-block;
    margin-top: 15px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
}



/* Contact */
.contact {
    display: grid;
    gap: 40px;
    padding: 60px 20px;
}
@media(min-width:768px){
    .contact{
        grid-template-columns: 1fr 1fr;
    }
}
.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-bottom: 12px;
    font-size: 1rem;
}
.contact-form button {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact-form button:hover {
    transform: scale(1.05);
}
.contact-info p {
    margin-bottom: 12px;
}
.contact-info a {
    color: #7f00ff;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}
.contact-info .map {
    margin-top: 20px;
    border-radius: 12px;
}

.footer {
    background-color: #0f192b;
    color: #fff;
    padding: 50px 20px 20px 20px;
}
.footer a {
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.grid-3 {
    display: flex;
    gap: 40px;
}
.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section ul li {
    margin-bottom: 10px;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.newsletter-form input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    flex: 1;
}
.newsletter-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(90deg, #5f72be, #9b23ea);
    color: #fff;
    cursor: pointer;
}
.newsletter-form button:hover {
    opacity: 0.9;
}
.footer p {
    margin: 5px 0;
}
footer .copyright {
    text-align: center;
    margin-top: 40px;
    color: #a0a0a0;
    font-size: 14px;
}







/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Bannière rotative */
.banner {
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Header/Navbar */
.navbar {
    background-color: #ffff;
}

/* Section du haut (Logo + Slogan) */
.navbar-top {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 30px 40px;
    gap: 40px;
}

/* Logo */
.logo {
    height: 200px;
    width: 200px;
    flex-shrink: 0;
}

/* Slogan */
.slogan {
    flex: 1;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #7c3aed;
}

/* Navigation Menu - Pleine largeur */
.nav-menu {
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.nav-menu a:last-child {
    border-right: none;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-top {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    
    .slogan {
        font-size: 18px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu a {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }

}

/* ========== HERO CAROUSEL ========== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7) 0%, rgba(124, 58, 237, 0.7) 50%, rgba(236, 72, 153, 0.6) 100%);
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.carousel-content p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    display: inline-block;
    background-color: white;
    color: #7c3aed;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #f0f0f0;
}

/* Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-arrow span {
    display: block;
    line-height: 1;
}

/* Dots Indicators */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: white;
    width: 35px;
    border-radius: 6px;
}

/* ========== PRÉSENTATION ========== */

.presentation {
    margin-top: 50px;
    margin-bottom: 50px;
    display: block !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
}

.presentation h2 {
    font-size: 32px;
    color: #8a2be2; /* violet */
    font-weight: 700;
    margin-bottom: 15px;
    display: block; /* ⬅️ Assure que c'est un bloc */
    letter-spacing: 0.5px;
}

.presentation .separator {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4A55FF, #EC4899); /* bleu → rose */
    margin: 15px auto 25px; /* ⬅️ Centré horizontalement */
    border-radius: 2px;
}

.presentation p {
    font-size: 16px;
    color: #4b5563; /* gris foncé */
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto; /* ⬅️ Centré horizontalement */
    text-align: center; /* ⬅️ Alignement du texte */
    font-weight: 400;
}



/* ========== POINTS FORTS ========== */
.points-forts {
    padding: 40px 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.point-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.point-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.point-card h3 {
    font-size: 20px;
    color: #8a2be2; /* violet */
    margin-bottom: 15px;
    font-weight: 600;
}

.point-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ========== CTA ========== */
.cta {
    padding: 60px 20px;
    text-align: center;
}

.btn-gradient {
    display: block; /* ← changement ici */
    width: fit-content; /* ← pour ne pas occuper toute la largeur */
    margin: 0 auto; /* ← centrage garanti */
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}



/* ========== BANNIÈRE 1========== */
.banner1 {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner1 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner1 h2 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
}

.banner1, .container h2{
    text-align: center;
}

/* ========== PROBLÉMATIQUES ========== */
.problematics-section {
    padding: 60px 0;
}

.problematics-section .container.text-center h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #000;
    text-align: center;
}

.problematics-section .container.text-center h2 span {
    color: #8a2be2; /* violet */
}

.problematics-grid {
    display: grid;
    gap: 30px;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .problematics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.problem {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.problem:hover {
    transform: translateY(-3px);
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.text {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

.text b {
    font-weight: 600;
    color: #000;
}