/* Reset et variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Classe pour l'accessibilité */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    /* Nouvelle charte graphique */
    --primary-color: #0066CC;
    --secondary-color: #FF6600;
    --text-color: #333333;
    --light-gray-bg: #F8F9FA;
    --white-bg: #FFFFFF;
    
    --border-radius: 8px; /* Coins légèrement arrondis */
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ombre portée discrète */
    --shadow-hover: 0 6px 20px rgba(0, 102, 204, 0.15);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container responsive */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

/* Navigation moderne avec Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-header);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 95, 158, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(0, 95, 158, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section moderne */
.hero {
    padding: 80px 0 60px;
    background-color: var(--light-gray-bg);
    /* min-height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 95, 158, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 180, 241, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #FFD700;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-weight: 500;
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #555;
    max-width: 500px;
}

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

.btn {
    text-decoration: none;
    color: var(--white-bg);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-bg);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #e65c00);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white-bg);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-large);
    z-index: -1;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.floating-card i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.floating-card strong {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--dark);
    display: block;
}

.floating-card span {
    font-size: 0.8rem;
    color: var(--text-color);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.stat {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 95, 158, 0.1);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.stat:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white-bg);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Section Header moderne */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 3rem;
}

/* About Section moderne */
.about {
    padding: 80px 0;
    background-color: var(--white-bg);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
    background-color: var(--light-gray-bg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 0.75rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 2rem;
}

.about-list i {
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0.75rem;
}

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

.strength {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 95, 158, 0.05);
}

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

.strength i {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.strength h4 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.strength p {
    color: var(--text-color);
    line-height: 1.6;
}

.about-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.about-img:hover {
    transform: scale(1.03);
}

.services {
    padding: 80px 0;
    background-color: var(--light-gray-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: var(--white-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-card li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Contact Section moderne */
.contact {
    padding: 80px 0;
    background-color: var(--white-bg);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 95, 158, 0.05);
}

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

.contact-item i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-person {
    background: var(--white-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 95, 158, 0.05);
}

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

.contact-person h4 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-person p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-person i {
    color: var(--secondary-color);
}

.contact-form {
    background: var(--white-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 95, 158, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

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

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

/* Footer moderne */
.footer {
    background-color: var(--text-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-img {
    height: 60px;
    margin-bottom: 1rem;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white-bg);
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: var(--white-bg);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white-bg);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 180, 241, 0.4);
}

.social-icon i {
    font-size: 1.1rem;
    color: inherit;
}

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

/* Animations et effets */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.loading.loaded {
    opacity: 0;
    visibility: hidden;
}

/* Bouton WhatsApp flottant moderne */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-bg);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-hover);
    color: var(--white-bg);
}

.whatsapp-float i {
    margin-top: 15px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float i {
        margin-top: 13px;
    }
}

/* Responsive Design - Correction complète */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin: 2rem 20px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero-features {
        gap: 0.5rem;
    }

    .feature {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn {
        justify-content: center;
        padding: 1rem 1.5rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 2rem 15px 0;
    }

    .stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .floating-card {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .image-container {
        text-align: center;
    }

    .hero-img {
        max-width: 100%;
        height: auto;
    }

    .about {
        margin: 1rem;
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .strengths {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .strength {
        padding: 1rem;
    }
    
    .services {
        margin: 1rem;
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact {
        margin: 1rem;
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item,
    .contact-person {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
        height: 70px;
    }
    
    .logo {
        height: 45px;
    }
    
    .hero {
        padding: 40px 0 20px;
    }
    
    .hero-content {
        padding: 0 10px;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-features {
        gap: 0.4rem;
    }
    
    .feature {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        padding: 1rem;
        margin: 1.5rem 10px 0;
        gap: 0.75rem;
    }

    .stat {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .about {
        margin: 0.5rem;
        padding: 40px 0;
    }
    
    .about-content {
        padding: 0 10px;
    }
    
    .about-text h3 {
        font-size: 1.2rem;
    }
    
    .about-list li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .strength {
        padding: 0.75rem;
    }
    
    .strength h4 {
        font-size: 1rem;
    }
    
    .strength p {
        font-size: 0.85rem;
    }
    
    .services {
        margin: 0.5rem;
        padding: 40px 0;
    }
    
    .services-grid {
        padding: 0 10px;
    }

    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-card li {
        font-size: 0.85rem;
    }
    
    .contact {
        margin: 0.5rem;
        padding: 40px 0;
    }
    
    .contact-content {
        padding: 0 10px;
    }
    
    .contact-item,
    .contact-person {
        padding: 0.75rem;
    }
    
    .contact-person h4 {
        font-size: 1rem;
    }
    
    .contact-person p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        padding: 0 10px;
    }

    .footer-logo-img {
        height: 50px;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
    }
    
    .footer-links a,
    .footer-contact p {
        font-size: 0.9rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    .container {
        padding: 0 8px;
    }
    
    .nav-container {
        padding: 0 8px;
    }
    
    .hero-content {
        padding: 0 8px;
    }
    
    .about-content,
    .contact-content,
    .services-grid {
        padding: 0 8px;
    }
}

/* Correction pour les sections avec marges */
.about,
.services,
.contact {
    margin: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .about,
    .services,
    .contact {
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .about,
    .services,
    .contact {
        margin: 0.5rem;
    }
}

/* Amélioration de la navigation mobile */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Correction pour les images responsives */
.hero-img,
.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Amélioration du formulaire mobile */
@media (max-width: 768px) {
    .form-group {
    margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Évite le zoom sur iOS */
    }
}

/* Correction pour le footer mobile */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-contact p {
        justify-content: center;
        text-align: center;
    }
}

/* Effets de hover améliorés */
.strength:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.contact-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 180, 241, 0.4);
}

/* Effet de parallaxe léger pour l'image hero */
.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    transform: perspective(1000px) rotateY(-5deg);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Amélioration des statistiques */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.stat {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 95, 158, 0.1);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.stat:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white-bg);
}

@media (max-width: 768px) {
    .about,
    .services,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .about,
    .services,
    .contact {
        padding: 50px 0;
    }
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.stat-label {
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

.image-section {
    padding: 0 0 80px; /* Ajoute de l'espace avant le footer */
}

.boxed-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    object-fit: cover;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 60px 0 40px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 40px 0 20px;
    }
}

/* Harmonisation des sections principales */
.about,
.services,
.contact,
.footer {
    padding: 60px 0;
}

@media (max-width: 600px) {
    .about,
    .services,
    .contact,
    .footer {
        padding: 32px 0;
    }
}

/* Supprimer la marge basse sur le dernier élément de chaque section */
.about > *:last-child,
.services > *:last-child,
.contact > *:last-child,
.footer > *:last-child {
    margin-bottom: 0;
}

.before-footer {
  width: 100%;
  background: #f8f9fa;
  text-align: center;
  padding: 40px 0 0 0;
}
.before-footer-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

@media (max-width: 768px) {
  .section-header, .section-header h3, .section-header .section-title, .section-header .section-subtitle {
    text-align: center !important;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 15px;
  }
  .hero-image {
    margin-top: 2rem;
    justify-content: center;
    display: flex;
  }
  .hero-img {
    max-width: 100%;
    height: auto;
  }
}
.image-section {
    padding: 0 0 80px; /* Espace avant le footer */
    display: flex;
    justify-content: center;
}

.boxed-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    object-fit: cover;
    background: #fff;
    padding: 8px;
    display: block;
}
  @media (max-width: 600px) {
    .boxed-image {
      max-width: 95vw;
      padding: 4px;
    }
  }
  .footer-bottom p {
    color: var(--secondary-color);
    text-align: center;
    margin: 0;
    padding: 1rem 0;
    font-weight: 600;
}
/* SLIDER SECTION – HICONNECT */
.slider-section {
  width: 100%;
  padding: 80px 0 60px;
  background: var(--light-gray-bg);
}
.slider-boxed {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.slider-container {
  position: relative;
  min-height: 60vh;
}
.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.slider-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}
.slider-slide.prev {
  transform: translateX(-100%);
}
.slider-img {
  width: 100%;
  max-width: 800px;
  max-height: 35vh;
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.slider-slide h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}
.meta-description {
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  max-width: 700px;
  padding: 1rem 1.5rem;
  background: rgba(248, 249, 250, 0.85);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,102,204,0.04);
  color: var(--text-color);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
  transition: var(--transition);
}
.slider-btn:hover {
  background: var(--secondary-color);
}
.slider-btn.prev {
  left: 20px;
}
.slider-btn.next {
  right: 20px;
}
.slider-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 0.7rem;
}
.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--light-gray-bg);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}
.slider-dot.active {
  background: var(--primary-color);
  border-color: var(--secondary-color);
}
@media (max-width: 768px) {
  .slider-section {
    padding: 60px 0 40px;
  }
  .slider-img {
    max-height: 25vh;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

