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

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    --font-family: 'Inter', sans-serif;
    --header-height: 80px;
    --container-max-width: 1200px;
    --border-radius: 12px;
    --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typographie */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--light-color);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: var(--header-height);
    gap: 3rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.nav-logo i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.nav-logo .logo-img:hover {
    filter: drop-shadow(0 6px 12px rgba(56, 189, 248, 0.3));
    transform: translateY(-2px);
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.language-flag-btn {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.language-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.language-btn .fas.fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition);
}

.language-btn.active .fas.fa-chevron-down {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--gray-50);
    color: var(--primary-color);
}

.language-option.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.language-flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

.language-text {
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

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

/* Section Hero avec effet constellation */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-color) 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Effet de constellation de fond */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(103, 126, 234, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(240, 147, 251, 0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(79, 172, 254, 0.3), transparent),
        radial-gradient(1px 1px at 60% 80%, rgba(67, 233, 123, 0.3), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(168, 237, 234, 0.3), transparent);
    background-size: 300px 300px, 250px 250px, 400px 400px, 350px 350px, 200px 200px;
    animation: constellationBackground 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes constellationBackground {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 300px 300px, -250px 250px, 400px -400px, -350px 350px, 200px -200px;
    }
}

/* Z-index pour les éléments hero */
.hero-container {
    position: relative;
    z-index: 5;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.3;
}

.hero-main {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.1;
    margin: 0.2rem 0;
}

.hero-highlight {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.4;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Mise en évidence du nom de marque HospIA */
.brand-highlight {
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: normal;
}

/* Mise en évidence du mot patient */
.patient-highlight {
    color: var(--accent-color);
    font-weight: 600;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(6, 182, 212, 0.2);
    position: relative;
}

.patient-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.6;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -5px rgba(37, 99, 235, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Animation de la section visuelle hero */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container pour la vidéo et les boutons */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Styles pour la vidéo intro */
.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Nouveaux boutons d'action flottants */
.floating-action-btn {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
    min-width: 60px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.floating-action-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

/* Positionnement harmonieux selon la spirale dorée - Zones sûres (descendu de 1cm) */
.floating-action-btn[data-action="ai"] {
    top: calc(12% + 1cm);
    left: 15%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: scale(1.1); /* Légèrement plus grand - bouton principal */
}

.floating-action-btn[data-action="time-saving"] {
    top: 35%;
    right: 8%;
    animation: floatConstellation2 6s ease-in-out infinite;
    background: linear-gradient(135deg, #ff9a56, #ffad56);
}

.floating-action-btn[data-action="automation"] {
    bottom: calc(15% - 1cm);
    left: 8%;
    animation-delay: 2.4s;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.floating-action-btn[data-action="integration"] {
    top: calc(75% + 1cm);
    right: 8%;
    animation-delay: 3.6s;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.floating-action-btn[data-action="analytics"] {
    bottom: calc(8% - 0.5cm);
    right: 25%;
    animation-delay: 4.8s;
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
    transform: scale(0.95); /* Légèrement plus petit */
}

/* Icônes des boutons flottants */
.fab-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.fab-icon i {
    font-size: 1.2rem;
    color: white;
}

/* Labels des boutons flottants */
.fab-label {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-action-btn:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

.floating-action-btn:active .fab-label,
.floating-action-btn:focus .fab-label {
    opacity: 0;
    transform: translateX(-10px);
}

.floating-action-btn:hover .fab-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Animation fluide pour les boutons flottants */
@keyframes floatSmooth {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-12px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-8px) rotate(-1deg); 
    }
}

/* Animations variées pour l'effet constellation */
@keyframes floatConstellation1 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1.1); 
    }
    25% { 
        transform: translateY(-10px) translateX(3px) rotate(2deg) scale(1.12); 
    }
    50% { 
        transform: translateY(-15px) translateX(0px) rotate(0deg) scale(1.1); 
    }
    75% { 
        transform: translateY(-8px) translateX(-3px) rotate(-2deg) scale(1.12); 
    }
}

@keyframes floatConstellation2 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-12px) translateX(-5px) rotate(1.5deg); 
    }
    66% { 
        transform: translateY(-18px) translateX(2px) rotate(-1deg); 
    }
}

@keyframes floatConstellation3 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
    }
    20% { 
        transform: translateY(-6px) translateX(4px) rotate(-1deg); 
    }
    50% { 
        transform: translateY(-14px) translateX(-2px) rotate(1.5deg); 
    }
    80% { 
        transform: translateY(-10px) translateX(3px) rotate(-0.5deg); 
    }
}

@keyframes floatConstellation4 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
    }
    30% { 
        transform: translateY(-8px) translateX(-3px) rotate(1deg); 
    }
    70% { 
        transform: translateY(-16px) translateX(4px) rotate(-1.5deg); 
    }
}

@keyframes floatConstellation5 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(0.95); 
    }
    40% { 
        transform: translateY(-10px) translateX(2px) rotate(-1deg) scale(0.97); 
    }
    60% { 
        transform: translateY(-14px) translateX(-4px) rotate(1.5deg) scale(0.95); 
    }
}

/* Effet de lueur de constellation au survol */
@keyframes constellationGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4), 0 0 20px 5px rgba(255, 255, 255, 0.2);
    }
}

/* Application des animations spécifiques à chaque bouton */
.floating-action-btn[data-action="ai"] {
    animation: floatConstellation1 6s ease-in-out infinite;
}

.floating-action-btn[data-action="time-saving"] {
    animation: floatConstellation2 5.5s ease-in-out infinite;
}

.floating-action-btn[data-action="automation"] {
    animation: floatConstellation3 7s ease-in-out infinite;
}

.floating-action-btn[data-action="integration"] {
    animation: floatConstellation4 6.5s ease-in-out infinite;
}

.floating-action-btn[data-action="analytics"] {
    animation: floatConstellation5 5.8s ease-in-out infinite;
}

/* Effet de constellation connectée au survol */
.floating-action-btn:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    animation: constellationGlow 2s ease-in-out infinite;
}

/* Animation au clic */
.floating-action-btn:active {
    transform: none !important;
    transition: all 0.1s ease;
}

/* Animation de ripple */
@keyframes ripple {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }
}

/* Styles pour les notifications d'action */
.action-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    min-width: 300px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-content h4 {
    margin: 0 0 8px 0;
    color: var(--gray-900);
    font-size: 1.1rem;
    font-weight: 600;
}

.notification-content p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    /* Correction du layout de navigation mobile */
    .navbar {
        height: var(--header-height);
        position: fixed;
        top: 0;
        z-index: 1000;
    }

    .nav-container {
        height: 100%;
        align-items: center;
        justify-content: space-between;
    }

    /* Amélioration de la section hero */
    .hero::before {
        display: none; /* Supprimer l'overlay complexe sur mobile */
    }

    .hero::after {
        opacity: 0.3; /* Réduire l'effet de constellation sur mobile */
    }

    /* Amélioration des cartes solutions */
    .solution-card {
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease;
    }

    .solution-card:hover {
        transform: translateY(-2px);
    }

    .solution-icon {
        margin-bottom: 1rem;
    }

    .solution-icon i {
        font-size: 2.5rem;
    }

    /* Amélioration des badges */
    .featured-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        top: 1rem;
        right: 1rem;
    }

    /* Amélioration du footer */
    .footer-section h4 {
        position: relative;
        padding-bottom: 0.5rem;
    }

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

    /* Amélioration de la section about */
    .about-visual .mission-values {
        margin-bottom: 1.5rem;
    }

    .about-visual .tech-stack {
        margin-top: 1rem;
    }

    /* Espacement amélioré pour les sections */
    .solutions {
        margin-top: 0;
    }

    .about {
        margin-top: 0;
    }

    /* Amélioration des formulaires si présents */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Éviter le zoom sur iOS */
    }

    /* Navigation mobile améliorée */
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
    }

    /* Logo mobile optimisé */
    .logo-img {
        height: 60px;
        max-width: 120px;
    }

    .nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }

    /* Sélecteur de langue mobile */
    .language-selector {
        margin-left: auto;
        margin-right: 1rem;
    }

    .language-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-width: 80px;
    }

    .language-flag-btn {
        width: 16px;
        height: 12px;
    }

    .language-dropdown {
        min-width: 100px;
        right: 0;
    }

    /* Section Hero mobile optimisée */
    .hero {
        min-height: 80vh;
        padding: var(--header-height) 0 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-visual {
        order: -1;
        height: 250px;
        margin-bottom: 1rem;
    }

    .video-container {
        border-radius: 15px;
        height: 100%;
    }

    .hero-title {
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        line-height: 1.3;
    }

    .hero-main {
        font-size: clamp(2rem, 6vw, 3rem);
        line-height: 1.1;
    }

    .hero-highlight {
        font-size: clamp(1.1rem, 3vw, 1.6rem);
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Boutons flottants mobile optimisés */
    .floating-action-btn {
        display: none; /* Cachés sur mobile pour éviter l'encombrement */
    }

    /* Solutions mobile */
    .solutions {
        padding: 3rem 0;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .solution-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .solution-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .solution-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .solution-features {
        margin-bottom: 1.5rem;
    }

    .feature {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    /* Section À propos mobile */
    .about {
        padding: 3rem 0;
    }

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

    .about .section-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .about-description {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    /* Grille des fondateurs mobile */
    .founders-info {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .founders-info > div[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .founders-info h4 {
        font-size: 1.1rem;
        text-align: center;
    }

    .founders-info h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .founders-info p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Mission et valeurs mobile */
    .mission-values h4 {
        font-size: 1.2rem !important;
        text-align: center;
    }

    .mission-values > div {
        margin-bottom: 1rem;
        padding: 1.2rem !important;
    }

    .mission-values p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Stats mobile */
    .stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

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

    .stat p {
        font-size: 0.9rem;
    }

    /* Tech stack mobile */
    .tech-stack {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .tech-item {
        padding: 1.2rem;
        text-align: center;
    }

    .tech-item i {
        font-size: 1.5rem;
    }

    /* Footer mobile */
    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-logo .logo-img {
        height: 60px;
        max-width: 150px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
    }

    .contact-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .contact-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-bottom {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
        text-align: center;
    }

    /* Solutions : une seule colonne pour éviter les cartes étroites */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    /* Solutions : une seule colonne pleine largeur */
    .solutions-grid {
        grid-template-columns: 1fr !important;
    }

    /* Cartes : un padding raisonnable sur mobile */
    .solution-card {
        padding: 1.5rem !important;
    }

    /* À propos : contenu centré et empilé */
    .about-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .about-text {
        max-width: 600px;
    }

    .about .section-title {
        text-align: center !important;
    }
}

/* Améliorations pour très petits écrans */
@media (max-width: 480px) {
    /* Container général */
    .container {
        padding: 0 1rem;
    }

    /* Hero très petit écran */
    .hero {
        min-height: 70vh;
        padding: calc(var(--header-height) + 1rem) 0 2rem;
    }

    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .hero-visual {
        height: 200px;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    .hero-main {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-highlight {
        font-size: clamp(1rem, 3vw, 1.4rem);
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .brand-highlight {
        display: inline-block;
        margin-bottom: 0.3rem;
    }
    
    .patient-highlight::after {
        height: 1px;
        opacity: 0.8;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        padding: 0 0.5rem;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        max-width: 100%;
    }

    /* Solutions très petit écran */
    .solutions {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 1rem;
    }

    .solutions-grid {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .solution-card {
        padding: 1.2rem;
    }

    /* Footer très petit écran */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section:first-child {
        grid-column: auto;
    }

    .contact-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    /* About très petit écran */
    .about {
        padding: 2.5rem 0;
    }

    .about-content {
        padding: 0 0.5rem;
    }

    .founders-info {
        padding: 1rem;
    }

    .founders-info h4 {
        font-size: 1rem !important;
    }

    .founders-info h5 {
        font-size: 0.9rem !important;
    }

    .founders-info p {
        font-size: 0.85rem !important;
    }

    .mission-values > div {
        padding: 1rem !important;
    }

    .mission-values p {
        font-size: 0.9rem !important;
    }
}

/* Touch-friendly améliorations */
@media (pointer: coarse) {
    .btn,
    .solution-btn,
    .nav-link,
    .language-btn {
        min-height: 44px; /* Taille minimale tactile recommandée */
    }

    .contact-links a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Orientation landscape sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: var(--header-height) 0 1rem;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-container {
        gap: 1.5rem;
    }
}

/* ===== PRODUCT DETAILS SECTION ===== */
.product-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafb 0%, #ffffff 100%);
    position: relative;
}

.product-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

/* Product Selector */
.product-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.product-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.product-btn i {
    font-size: 20px;
}

.product-btn:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.product-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-color: #6366f1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    background: #f1f5f9;
    padding: 8px;
    border-radius: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.tab-btn:hover {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
}

.tab-btn.active {
    background: white;
    color: #6366f1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab-btn i {
    font-size: 16px;
}

/* Content Container */
.tabs-content {
    margin-top: 40px;
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

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

/* Features List */
.features-list,
.benefits-list,
.architecture-list {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item,
.benefit-item,
.arch-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature-item {
    border-left-color: #6366f1;
}

.benefit-item {
    border-left-color: #10b981;
}

.arch-item {
    border-left-color: #8b5cf6;
}

.feature-item:hover,
.benefit-item:hover,
.arch-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Icons */
.feature-icon,
.benefit-icon,
.arch-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.benefit-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.arch-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.feature-icon i,
.benefit-icon i,
.arch-icon i {
    font-size: 24px;
    color: white;
}

/* Info Content */
.feature-info h3,
.benefit-info h3,
.arch-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-info p,
.benefit-info p,
.arch-info p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-details {
        padding: 60px 0;
    }
    
    .product-selector {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .product-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 16px 24px;
    }
    
    .tabs-navigation {
        flex-direction: column;
        gap: 4px;
        max-width: 300px;
    }
    
    .tab-btn {
        justify-content: flex-start;
        padding: 16px 20px;
    }
    
    .features-list,
    .benefits-list,
    .architecture-list {
        gap: 16px;
    }
    
    .feature-item,
    .benefit-item,
    .arch-item {
        padding: 20px;
        gap: 16px;
    }
    
    .feature-icon,
    .benefit-icon,
    .arch-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon i,
    .benefit-icon i,
    .arch-icon i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .feature-item,
    .benefit-item,
    .arch-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .feature-info h3,
    .benefit-info h3,
    .arch-info h3 {
        font-size: 16px;
    }
    
    .feature-info p,
    .benefit-info p,
    .arch-info p {
        font-size: 13px;
    }
}

/* Section Solutions */
.solutions {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.solution-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.solution-card.coming-soon {
    border: 2px solid var(--warning-color);
    position: relative;
    opacity: 0.9;
    display: none !important; /* Hidden by default */
}

.solution-card.coming-soon .featured-badge {
    background: linear-gradient(135deg, var(--warning-color), #f97316);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-card.coming-soon .solution-icon {
    background: linear-gradient(135deg, var(--warning-color), #f97316);
}

.solution-icon i {
    font-size: 2rem;
    color: white;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.solution-description {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.solution-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

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

.solution-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: auto;
    text-align: center;
}

.solution-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.solution-btn.disabled {
    background: linear-gradient(135deg, var(--gray-500), var(--gray-700));
    cursor: not-allowed;
    opacity: 0.7;
}

.solution-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Section À Propos */
.about {
    padding: 5rem 0;
    background: var(--gray-900);
    color: white;
}

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

.about .section-title {
    color: white;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--gray-200);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray-200);
    font-weight: 500;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Section Contact */
.contact {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--gray-500);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* Modern Footer Styles */
.footer {
    position: relative;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0d1117 100%);
    color: white;
    padding: 4rem 0 0;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-section {
    position: relative;
}

.footer-section:first-child {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: 2rem;
}

.footer-logo .logo-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.footer-logo .logo-img:hover {
    filter: drop-shadow(0 6px 12px rgba(56, 189, 248, 0.3));
    transform: translateY(-2px);
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

/* Contact Links Modernized */
.contact-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 200px;
}

.contact-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.contact-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-links a:hover::before {
    left: 100%;
}

.contact-links a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-links a[href^="mailto"]:hover {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-color: #4F46E5;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.contact-links a[href^="tel"]:hover {
    background: linear-gradient(135deg, #059669, #0D9488);
    border-color: #059669;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
}

.contact-links a[href*="maps"]:hover {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    border-color: #DC2626;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

/* Social Links Modernized */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

.social-links a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-bottom p {
    color: var(--gray-300);
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Company Info Enhancement */
.company-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: right;
    max-width: 400px;
}

.company-info:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
}

.company-tagline {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
        align-items: center;
    }
    
    .footer-logo {
        align-items: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .company-info {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-links,
    .social-links {
        justify-content: center;
    }
    
    .footer-logo {
        align-items: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .footer-logo .logo-img {
        height: 150px;
    }
    
    .footer-section:first-child {
        grid-column: auto;
        align-items: center;
    }
    
    .company-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .contact-links a,
    .social-links a {
        width: 45px;
        height: 45px;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
}

/* Améliorations finales pour l'optimisation mobile */
@media (max-width: 768px) {
    /* Correction des débordements horizontaux */
    body {
        overflow-x: hidden;
    }

    /* Amélioration globale des containers */
    .container {
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }

    /* Navigation améliorée */
    .nav-menu.active {
        animation: slideDown 0.3s ease-in-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Section header optimisée avec meilleure lisibilité */
    .section-header {
        text-align: center;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
        border-radius: 20px;
        padding: 2rem 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0 1rem 3rem 1rem;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 1rem;
        color: var(--gray-900);
        font-weight: 800;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .section-subtitle {
        font-size: clamp(1rem, 3vw, 1.1rem);
        line-height: 1.6;
        color: var(--gray-600);
        max-width: 100%;
        margin: 0 auto;
        font-weight: 500;
        padding: 0 0.5rem;
    }

    /* Solutions grid avec espacement optimal et lisibilité améliorée */
    .solutions {
        background: linear-gradient(135deg, var(--light-color) 0%, rgba(248, 250, 252, 0.8) 100%);
        position: relative;
        padding: 4rem 0;
    }

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

    /* Cards solutions avec design moderne et lisible */
    .solution-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
        border-radius: 24px;
        padding: 2.5rem 2rem;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.08), 
            0 4px 16px rgba(0, 0, 0, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(20px);
    }

    .solution-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .solution-card:hover::before,
    .solution-card.featured::before {
        opacity: 1;
    }

    .solution-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.15), 
            0 8px 32px rgba(37, 99, 235, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .solution-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90px;
        height: 90px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-radius: 24px;
        margin: 0 auto 2rem;
        color: white;
        box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3);
        position: relative;
        overflow: hidden;
    }

    .solution-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
        transition: transform 0.3s ease;
    }

    .solution-card:hover .solution-icon::before {
        transform: translateX(100%);
    }

    .solution-icon i {
        font-size: 2.2rem;
        z-index: 2;
        position: relative;
    }

    .solution-title {
        text-align: center;
        color: var(--gray-900);
        font-weight: 800;
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .solution-description {
        text-align: center;
        color: var(--gray-700);
        line-height: 1.7;
        margin-bottom: 2rem;
        font-size: 1.05rem;
        font-weight: 500;
        padding: 0 0.5rem;
    }

    .solution-features {
        list-style: none;
        padding: 0;
        margin-bottom: 2.5rem;
        background: rgba(248, 250, 252, 0.6);
        border-radius: 16px;
        padding: 1.5rem;
    }

    .feature {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
        padding: 0.75rem 0;
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--gray-700);
        font-weight: 500;
    }

    .feature:last-child {
        margin-bottom: 0;
    }

    .feature i {
        color: var(--success-color);
        margin-top: 0.2rem;
        flex-shrink: 0;
        font-size: 1rem;
        width: 18px;
        text-align: center;
    }

    .solution-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        text-decoration: none;
        border-radius: 16px;
        font-weight: 700;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        font-size: 1.05rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    }

    .solution-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
        background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    }

    .solution-btn.disabled {
        background: var(--gray-400);
        color: var(--gray-600);
        cursor: not-allowed;
        box-shadow: none;
    }

    .solution-btn.disabled:hover {
        transform: none;
        box-shadow: none;
    }

    /* Badge featured optimisé avec meilleure visibilité */
    .featured-badge {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 0.8rem;
        font-weight: 700;
        box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* MASQUER la section "Notre Mission" sur mobile */
    .mission-values {
        display: none !important;
    }

    /* Section About avec layout mobile optimisé */
    .about {
        background: var(--gray-900);
        color: white;
        position: relative;
        overflow: hidden;
    }

    .about::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }

    .about-content {
        position: relative;
        z-index: 2;
    }

    /* Amélioration des fondateurs info */
    .founders-info {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 2rem 1.5rem;
        margin: 2rem 0;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .founders-info h4 {
        color: var(--accent-color);
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .founders-info i {
        color: var(--accent-color);
    }

    /* Tech stack mobile optimisé */
    .tech-stack {
        margin-top: 2rem;
        gap: 1rem;
    }

    .tech-item {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }

    .tech-item:hover {
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-3px);
    }

    .tech-item i {
        color: var(--accent-color);
        font-size: 2rem;
        margin-bottom: 0.75rem;
        display: block;
    }

    .tech-item span {
        color: white;
        font-weight: 500;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Corrections supplémentaires pour très petits écrans */
    .solution-card {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }

    .solution-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }

    .solution-icon i {
        font-size: 1.8rem;
    }

    .solution-title {
        font-size: 1.2rem;
    }

    .solution-description {
        font-size: 0.95rem;
    }

    .feature {
        font-size: 0.9rem;
    }

    .founders-info {
        padding: 1.5rem 1rem;
    }

    .founders-info h4 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .tech-item {
        padding: 1.2rem 1rem;
    }

    .tech-item i {
        font-size: 1.8rem;
    }

    .tech-item span {
        font-size: 0.9rem;
    }
}

/* Améliorations d'accessibilité et UX */
@media (max-width: 768px) {
    /* Focus states améliorés pour mobile */
    .btn:focus,
    .solution-btn:focus,
    .nav-link:focus,
    .language-btn:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }

    /* Taille de police minimale pour la lisibilité */
    p, span, div {
        font-size: max(0.875rem, 14px);
    }

    /* Espacement des éléments tactiles */
    .nav-menu li {
        margin: 1.2rem 0;
    }

    .nav-link {
        padding: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Amélioration des contrastes */
    .hero-description {
        color: var(--gray-600);
        font-weight: 500;
    }

    .section-subtitle {
        color: var(--gray-600);
        font-weight: 500;
    }
}

/* =============================== */
/* Améliorations mobile spécifiques */
/* =============================== */
@media (max-width: 768px) {
  /* Section Nos solutions innovantes : cartes empilées, lisibles */
  .solutions-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: 0 0.5rem;
  }
  .solution-card {
    width: 100%;
    min-width: unset;
    margin: 0 auto 1.5rem auto;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .solution-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  .solution-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  .solution-features {
    margin-bottom: 1.5rem;
    padding: 1rem 0.5rem;
  }
  .solution-btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 1rem 0;
  }

  /* Section Notre histoire : texte lisible et aéré */
  .notre-histoire-section, .about-history, .about-story {
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
  .notre-histoire-section h2, .about-history h2, .about-story h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  .notre-histoire-section p, .about-history p, .about-story p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .solution-card {
    padding: 1.2rem 0.5rem;
    border-radius: 14px;
  }
  .notre-histoire-section, .about-history, .about-story {
    padding: 1rem 0.5rem;
  }
  .notre-histoire-section h2, .about-history h2, .about-story h2 {
    font-size: 1.3rem;
  }
  .notre-histoire-section p, .about-history p, .about-story p {
    font-size: 1rem;
  }
} 