/* AXONITY CSS - Version Optimisée */
/* Variables globales */
:root {
    --primary-blue: #2563EB; --tech-orange: #F59E0B; --deep-navy: #1E293B;
    --light-gray: #F8FAFC; --medium-gray: #64748B; --success-green: #10B981; --warning-red: #EF4444;
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #F59E0B 100%);
    --gradient-subtle: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    --primary-color: var(--deep-navy); --secondary-color: var(--tech-orange);
    --bg-light: var(--light-gray); --bg-light-alt: #E2E8F0; --text-secondary: var(--medium-gray);
    --hover-color: #3B82F6; --shadow-color: rgba(30, 41, 59, 0.1); --white: #FFFFFF;
    --text-color: var(--deep-navy); --border-color: #E2E8F0;
    --font-heading: 'Montserrat', sans-serif; --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 1.5rem;
    --spacing-xl: 2rem; --spacing-2xl: 3rem; --spacing-3xl: 4rem;
    --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { background: var(--bg-light); color: var(--primary-color); font-family: var(--font-body); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--primary-color); margin-bottom: var(--spacing-lg); font-weight: 600; line-height: 1.2; }
h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.875rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 500; }
p, li, span { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
p { margin-bottom: var(--spacing-sm); }

/* Liens et Boutons condensés */
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary-color); text-decoration: underline; }
.btn { display: inline-block; padding: 0.8rem 1.8rem; border-radius: 5px; font-weight: 600; text-align: center; transition: all 0.3s ease; border: none; cursor: pointer; max-width: 100%; }
.btn-primary { background: var(--gradient-primary); color: var(--white); border-radius: var(--radius-sm); padding: 0.75rem 2rem; font-size: 1rem; font-weight: 600; font-family: var(--font-heading); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); transition: all 0.3s ease; border: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35); }
.btn-secondary { background-color: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); border-radius: var(--radius-sm); padding: 0.75rem 2rem; font-size: 1rem; font-weight: 600; font-family: var(--font-heading); transition: all 0.3s ease; }
.btn-secondary:hover { background-color: var(--primary-blue); color: var(--white); transform: translateY(-1px); }

/* Bouton "Nous contacter" */
.btn-contact {
    background-color: #FF5733; /* Orange vif */
    color: #fff; /* Texte blanc */
    border: none;
    border-radius: 50px; /* Bords arrondis */
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.btn-contact:hover {
    background-color: #E64A19; /* Orange plus foncé au survol */
    transform: translateY(-2px);
}

/* Header Axonity - Amélioré */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(30, 41, 59, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 80px;
    width: 100%;
}

/* Logo Axonity */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 2rem;
    gap: var(--spacing-md);
}

.logo-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    transition: transform 0.3s ease;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-navy);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

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

.logo:hover .logo-text {
    transform: translateY(-1px);
}

/* Barre de navigation */
.navbar {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 1rem; /* Ajoute de l'espace entre les liens */
}

/* Cacher le bouton contact mobile sur desktop */
.mobile-contact-item {
    display: none;
}

.navbar ul {
    display: flex;
    flex-wrap: wrap; /* Permet aux liens de s'empiler sur les petits écrans */
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    display: block;
}

.navbar ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #f2eceb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1000;
}

.navbar ul .dropdown-menu li a {
    padding: 0.5rem 1rem;
    color: #333;
    white-space: nowrap;
}

.navbar ul li:hover > .dropdown {
    display: block;
}

.navbar ul li a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: var(--secondary-color);
}

.btn-primary {
    margin-left: auto; /* Aligne le bouton à droite */
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

/* Dropdown menu */
.navbar ul .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
}

.navbar ul li:hover > .dropdown-menu {
    display: block;
}

.navbar ul .dropdown-menu li a {
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.navbar ul .dropdown-menu li a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* Sections générales */
section {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 5rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Avantages */
.advantages {
    padding: 4rem 2rem;
    background-color: #F5F5F5; /* Arrière-plan gris très pâle */
    text-align: center;
}

.advantages h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    text-align: left; /* Aligné à gauche */
    margin-bottom: 2rem;
}

.advantage-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* Permet l'empilement sur mobile */
}

.card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    width: 300px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Services */
.services {
    text-align: center;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajuste automatiquement le nombre de colonnes */
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.service-item img {
    max-width: 80px;
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #333;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Portfolio */
.portfolio {
    background-color: var(--bg-light);
    text-align: center;
    padding: 5rem 2rem;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

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

.portfolio-item {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left;
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 60, 40, 0.9), rgba(255, 107, 87, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.project-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.project-stats .stat {
    background: white;
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-details {
    padding: 1.5rem;
}

.project-tag {
    display: inline-block;
    background: var(--bg-light-alt);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-details h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.project-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-techs span {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-results {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.project-results strong {
    color: var(--secondary-color);
}

.portfolio-cta {
    text-align: center;
    max-width: 500px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, white);
    border-radius: 15px;
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-item {
        margin: 0 auto;
        max-width: 400px;
    }
}

/* Contact */
.contact {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--bg-light-alt);
}

.contact h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
    color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form .btn-submit {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #FF5733, #FF8C00);
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--bg-light-alt);
    color: var(--text-color);
    padding: var(--spacing-md) 0;
    text-align: center;
}
.footer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes d'animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Process Section */
.process-section {
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    padding: 5rem 2rem;
    position: relative;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    z-index: 2;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), var(--hover-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 60, 40, 0.4);
}

.step-icon {
    font-size: 3rem;
    margin: 1rem 0;
    display: block;
}

.step-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-duration {
    background: var(--bg-light-alt);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.process-guarantee {
    background: linear-gradient(135deg, var(--secondary-color), var(--hover-color));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guarantee-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
}

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

.guarantee-item {
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.guarantee-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* Animation du header au scroll */
.header.scrolled {
    background: rgba(242, 236, 235, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Loader */
.loader-circle {
    border: 6px solid #e6eaf0;
    border-top: 6px solid var(--primary-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#backToTop {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(26,35,126,0.08);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
#backToTop:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    background: var(--bg-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
}
.testimonial {
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    color: var(--text-color);
}
.testimonial span {
    display: block;
    margin-top: var(--spacing-sm);
    font-weight: bold;
    color: var(--primary-color);
}

/* FAQ */
.faq {
    padding: 4rem 2rem;
    background-color: var(--bg-light-alt);
    text-align: center;
}

.faq h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.faq-item {
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 1rem;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.5rem;
    color: #FF5733;
    transition: transform 0.3s ease;
}

.faq-answer {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* Accueil */
.accueil-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.accueil-texte {
    flex: 1 1 320px;
    min-width: 280px;
}
.accueil-logo {
    flex-basis: 50%; /* Le logo prend 50% de la largeur */
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-img {
    max-width: 160px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(26,35,126,0.08);
    background: var(--white);
    padding: 1rem;
    object-fit: contain;
}
@media (max-width: 900px) {
    .accueil-flex {
        flex-direction: column-reverse;
        align-items: center;
        gap: 1.5rem;
    }
    .accueil-logo {
        margin-bottom: 1rem;
    }
    .logo-img {
        max-width: 120px;
        padding: 0.5rem;
    }
}

/* Section Accueil en plein écran */
.accueil-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #F8F8F8 0%, #E8E2E1 100%);
    position: relative;
    overflow: hidden;
}

.accueil-fullscreen::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Hero Badge Axonity */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--tech-orange));
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* Signature Axonity */
.axonity-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.signature-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--tech-orange));
    border-radius: 1px;
}

.axonity-signature span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--deep-navy);
    letter-spacing: 0.5px;
    font-style: italic;
}



@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

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

/* Highlight text */
.highlight {
    background: linear-gradient(135deg, var(--secondary-color), var(--hover-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Highlight super - Pour "expériences web" plus lisible */
.highlight-super {
    background: linear-gradient(135deg, var(--primary-blue), var(--tech-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.05em;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    position: relative;
    display: inline-block;
    animation: highlightPulse 3s ease-in-out infinite;
}

.highlight-super::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -4px;
    right: -4px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(245, 158, 11, 0.1) 100%);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-super:hover::before {
    opacity: 1;
}

@keyframes highlightPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.1);
    }
}

/* Responsive pour highlight-super - SANS ANIMATION - Lisibilité pure */
@media (max-width: 768px) {
    /* Optimisation du titre principal sur mobile */
    .accueil-texte h1 {
        font-size: 2.2rem;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .highlight-super {
        /* Style fixe sans animation - Maximum de lisibilité */
        background: #2563EB !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: white !important;
        background-clip: unset !important;
        color: white !important;
        
        font-size: 1.4em;
        font-weight: 900;
        letter-spacing: 1px;
        line-height: 1.3;
        text-transform: uppercase;
        
        /* Style badge fixe très visible */
        padding: 0.5rem 1rem;
        border-radius: 8px;
        border: 3px solid white;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
        
        /* Position simple sans animation */
        position: relative;
        display: inline-block;
        z-index: 10;
        margin: 0 0.2rem;
        
        /* AUCUNE ANIMATION - style fixe uniquement */
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
    
    .highlight-super::before {
        display: none !important;
    }
    
    .highlight-super::after {
        display: none !important;
    }
}

@media (max-width: 480px) {
    /* Optimisation du titre principal sur très petits écrans */
    .accueil-texte h1 {
        font-size: 1.8rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .highlight-super {
        /* Version ultra-simple et ultra-contrastée */
        background: #FF5733 !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: white !important;
        background-clip: unset !important;
        color: white !important;
        
        font-size: 1.5em;
        font-weight: 900;
        letter-spacing: 1px;
        line-height: 1.4;
        text-transform: uppercase;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        
        /* Style badge ultra-simple */
        padding: 0.6rem 1.2rem;
        border-radius: 10px;
        border: 3px solid white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        
        /* Position simple - pas de block, reste inline */
        position: relative;
        display: inline-block;
        z-index: 10;
        margin: 0 0.3rem;
        
        /* AUCUNE ANIMATION DU TOUT */
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
    
    .highlight-super::before {
        display: none !important;
    }
    
    .highlight-super::after {
        display: none !important;
    }
}

/* Animation spécifique mobile plus douce */
@keyframes mobileHighlightPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.6);
    }
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--hover-color));
    color: white;
    box-shadow: 0 6px 20px rgba(255, 60, 40, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 60, 40, 0.6);
}

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

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

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Citation personnalisée Axonity */
.hero-quote {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(245, 158, 11, 0.05));
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 12px 12px 0;
    position: relative;
    overflow: visible;
}

.hero-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.2;
    font-family: serif;
}

.hero-quote blockquote {
    margin: 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--deep-navy);
    position: relative;
    z-index: 1;
}

.hero-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-style: normal;
    position: relative;
}

.hero-quote cite::after {
    content: '👀';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.5;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 0.5; }
    25% { opacity: 1; }
}

/* Message secret */
.secret-message {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(135deg, var(--tech-orange), var(--primary-blue));
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.secret-message::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--tech-orange);
}

.hero-quote:hover .secret-message {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1.02);
    bottom: -45px;
}

/* Effet pulse pour le bouton principal */
.pulse-effect {
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.pulse-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.pulse-effect:hover::before {
    width: 300px;
    height: 300px;
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 4rem 2rem;
    border-top: 1px solid var(--border-color);
}

.trust-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

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

.badge-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.badge-item h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.badge-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.trust-guarantee {
    background: linear-gradient(135deg, var(--secondary-color), var(--hover-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 60, 40, 0.3);
}

.trust-guarantee h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.trust-guarantee ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-guarantee li {
    padding: 0.5rem 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .trust-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .trust-badges {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .badge-item {
        padding: 1rem;
    }
}

.accueil-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    align-items: flex-start; /* Alignement au début pour que les colonnes commencent au même niveau */
    justify-content: space-between;
}

.accueil-texte {
    flex: 1;
    max-width: 50%;
    text-align: left;
    align-self: flex-start; /* Assure l'alignement au début */
}

.accueil-texte h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem; /* Marge normale restaurée */
}

.accueil-texte h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FF5733; /* Orange vif */
    margin-bottom: 1.5rem;
}

.accueil-texte p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.accueil-texte .btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #FF5733; /* Orange vif */
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.accueil-texte .btn-primary:hover {
    background-color: #E64A19;
    transform: translateY(-2px);
}

.accueil-visuel {
    width: 465.5px;
    height: 1193.8px;
    text-align: center;
    margin-top: 0;
    align-self: flex-start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(245, 158, 11, 0.08) 50%, 
        rgba(30, 41, 59, 0.03) 100%);
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 
        0 20px 40px rgba(37, 99, 235, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Effet de particules flottantes en arrière-plan */
.accueil-visuel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

/* Animation de flottement pour l'arrière-plan */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* Container principal des éléments visuels */
.accueil-visuel .hero-visuals {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.accueil-visuel .responsive-devices {
    max-width: 100%;
    height: auto;
    transform: rotate(-2deg); /* Inclinaison pour donner de la profondeur */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo-img-large {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: fadeIn 1.5s ease-out;
}

/* Menu sous le logo */
.hero-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-menu ul li a {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.hero-menu ul li a:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* Indicateur de défilement */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--primary-color);
    font-size: 2rem;
    text-decoration: none;
}

.scroll-indicator a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Flèche de défilement vers le bas */
.scroll-down-arrow {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeIn 1.5s ease-out;
}

.scroll-down-arrow span {
    display: block;
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Accessibility */
.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;
}

/* Focus styles pour l'accessibilité */
a:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Ajout du style pour la classe hidden */
.scroll-down-arrow.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        align-items: stretch;
    }
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .navbar ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Empile les liens verticalement */
        align-items: center;
    }

    .packs-container,
    .service-list {
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
    }

    .pricing-card,
    .maintenance-card {
        width: 100%; /* Les cartes prennent toute la largeur */
        max-width: 400px;
        margin: 0 auto; /* Centre les cartes */
    }

    .accueil-container {
        flex-direction: column; /* Empile les colonnes de la section accueil */
        text-align: center;
    }

    .accueil-texte {
        margin-bottom: 2rem;
    }
}

/* NAVIGATION MOBILE COMPLETE */

/* Bouton hamburger - Amélioré avec design moderne */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-toggle:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

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

.menu-toggle:hover::before {
    left: 100%;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-blue), var(--tech-orange));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    position: relative;
}

.hamburger-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-toggle:hover .hamburger-line::after {
    opacity: 1;
}

/* Animation du bouton hamburger - Améliorée */
.menu-toggle.active {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    transform: rotate(180deg);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: linear-gradient(45deg, var(--warning-red), var(--tech-orange));
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: linear-gradient(45deg, var(--warning-red), var(--tech-orange));
}

.accueil-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.accueil-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-color);
    z-index: 2000;
}

/* Stats */
.stats {
    background: var(--bg-light);
    text-align: center;
    padding: var(--spacing-lg) 0;
}
.stats .stat {
    margin: var(--spacing-md);
}
.stats .stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}
.stats .stat p {
    color: var(--text-color);
}

/* Cards */
.card {
    background-color: var(--white);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px var(--shadow-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.service-item, .portfolio-item {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 44, 29, 0.1);
}

@keyframes slideDown {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Section Accueil */
.accueil-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.accueil-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accueil-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Ajustement pour aligner le logo, le menu et le bouton horizontalement */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Assure l'alignement vertical */
    padding: 1rem 2rem; /* Ajoute un peu d'espace autour */
}

.logo {
    flex-shrink: 0; /* Empêche le logo de rétrécir */
    font-size: 2.5rem; /* Taille légèrement augmentée pour plus de visibilité */
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-right: 2rem; /* Ajoute un espace entre le logo et le menu */
}

.navbar {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
    gap: 1rem; /* Ajoute de l'espace entre les liens */
}

/* Conteneur principal pour les visuels */
.hero-visuals {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem;
}

/* Adaptation pour les grands écrans */
@media (min-width: 1200px) {
    .hero-visuals {
        max-width: 700px;
        gap: 2rem;
    }
    
    .device.laptop {
        width: min(380px, 45vw);
        height: min(238px, 28vw);
    }
}

/* Style général pour les appareils */
.device {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Écran commun à tous les appareils */
.device .screen {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.device .screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Ordinateur portable (style iMac) */
.device.laptop {
    width: min(320px, 45vw);
    height: min(200px, 28vw);
    border-radius: 12px;
    border: 6px solid #333;
    background-color: #000;
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

/* Écran de l'iMac */
.device.laptop .screen {
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Coins arrondis pour l'écran */
    overflow: hidden;
    background-color: #fff; /* Fond blanc pour l'écran */
}

/* Image à l'intérieur de l'écran */
.device.laptop .screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
}

/* Pied de l'iMac */
.device.laptop .stand {
    position: absolute;
    bottom: -30px; /* Position sous l'écran */
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Largeur du pied */
    height: 10px; /* Hauteur du pied */
    background-color: #333; /* Couleur noire pour le pied */
    border-radius: 5px; /* Coins arrondis pour le pied */
}

/* Base du pied */
.device.laptop .stand::after {
    content: '';
    position: absolute;
    bottom: -10px; /* Position sous le pied */
    left: 50%;
    transform: translateX(-50%);
    width: 120px; /* Largeur de la base */
    height: 8px; /* Hauteur de la base */
    background-color: #333; /* Couleur noire pour la base */
    border-radius: 4px; /* Coins arrondis pour la base */
}

/* ===== AMÉLIORATIONS POUR L'INTÉGRATION CONTAINER ===== */

/* Hero-visuals wrapper pour une meilleure structure */
.hero-visuals {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Amélioration du container global pour une meilleure harmonie */
.accueil-container .accueil-visuel .hero-visuals {
    min-height: 450px;
    max-width: 100%;
}

/* Équilibrage visuel entre les colonnes */
.accueil-container {
    gap: 2rem; /* Espacement entre les colonnes */
    align-items: stretch; /* Les colonnes prennent la même hauteur */
}

/* Adaptation de la colonne texte pour l'équilibre */
.accueil-texte {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 1rem;
}

/* Ordinateur central - Design moderne et attractif */
.central-device {
    position: relative;
    z-index: 10;
    margin: 0 auto;
    transform: scale(1.15) perspective(1000px) rotateY(-5deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 25px 50px rgba(37, 99, 235, 0.15));
    animation: deviceFloat 6s ease-in-out infinite;
}

.central-device:hover {
    transform: scale(1.2) perspective(1000px) rotateY(0deg) translateY(-10px);
    filter: drop-shadow(0 35px 70px rgba(37, 99, 235, 0.25));
}

@keyframes deviceFloat {
    0%, 100% { transform: scale(1.15) perspective(1000px) rotateY(-5deg) translateY(0px); }
    50% { transform: scale(1.15) perspective(1000px) rotateY(-5deg) translateY(-8px); }
}

/* ===== ZONE VISUELLE ÉPURÉE ET PROFESSIONNELLE ===== */

/* Container des éléments visuels modernisé */
.visual-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

/* Éléments décoratifs flottants */
.visual-elements::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-blue), var(--tech-orange));
    border-radius: 50%;
    opacity: 0.1;
    animation: orbitFloat 15s linear infinite;
}

.visual-elements::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--tech-orange), var(--success-green));
    border-radius: 50%;
    opacity: 0.08;
    animation: orbitFloat 20s linear infinite reverse;
}

@keyframes orbitFloat {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

/* Lignes de connexion délibérées */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-blue) 20%, 
        var(--tech-orange) 50%, 
        var(--primary-blue) 80%, 
        transparent 100%);
    height: 3px;
    opacity: 0.7;
    border-radius: 2px;
    box-shadow: 
        0 0 10px rgba(37, 99, 235, 0.3),
        0 0 20px rgba(37, 99, 235, 0.1);
    animation: connectionFlow 4s ease-in-out infinite;
}

.line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        transparent 100%);
    transform: translateY(-50%);
    animation: lightningFlow 4s ease-in-out infinite;
}

.line-top {
    top: 25%;
    left: 15%;
    width: 70%;
    transform: rotate(-5deg);
    animation-delay: 0s;
}

.line-bottom {
    bottom: 25%;
    left: 15%;
    width: 70%;
    transform: rotate(5deg);
    animation-delay: 2s;
}

/* Métrique essentielle - Design glassmorphism moderne */
.key-metric {
    position: absolute;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 
        0 15px 35px rgba(37, 99, 235, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: gentleFloat 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.key-metric:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(37, 99, 235, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.35);
}

.responsive-metric {
    top: 15%;
    right: 10%;
    animation-delay: 1s;
}

.key-metric .metric-icon {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary-blue), var(--tech-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3));
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.5)); }
}

.key-metric .metric-text strong {
    display: block;
    font-size: 1.6rem;
    background: linear-gradient(45deg, var(--primary-blue), var(--tech-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.key-metric .metric-text span {
    font-size: 1.1rem;
    color: var(--deep-navy);
    font-weight: 600;
    font-family: var(--font-heading);
    opacity: 0.8;
    letter-spacing: 0.5px;
}

/* Citation professionnelle modernisée */
.professional-quote {
    position: absolute;
    bottom: 15%;
    left: -5%;
    z-index: 8;
    animation: gentleFloat 8s ease-in-out infinite;
    animation-delay: 2s;
}

.quote-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-left: 5px solid var(--tech-orange);
    padding: 2rem 2.5rem;
    border-radius: 0 20px 20px 0;
    font-style: italic;
    color: var(--deep-navy);
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--font-heading);
    box-shadow: 
        0 10px 30px rgba(245, 158, 11, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.quote-content::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--tech-orange);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.quote-content:hover {
    transform: translateX(10px);
    box-shadow: 
        0 15px 40px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.quote-author {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-style: normal;
}

/* Badge de qualité Ultra Premium */
.quality-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    color: var(--primary-blue);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: premiumGlow 4s ease-in-out infinite;
    box-shadow: 
        0 8px 32px rgba(37, 99, 235, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.quality-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 45px rgba(37, 99, 235, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 1);
}

.quality-badge i {
    color: var(--tech-orange);
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    animation: starTwinkle 2s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

/* ===== ANIMATIONS ÉPURÉES ===== */

@keyframes connectionFlow {
    0%, 100% {
        opacity: 0.3;
        background-position: 0% 50%;
    }
    50% {
        opacity: 0.8;
        background-position: 100% 50%;
    }
}

@keyframes lightningFlow {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%) translateY(-50%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%) translateY(-50%);
    }
}

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

@keyframes subtlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    }
}

@keyframes premiumGlow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
    }
}

/* ===== ANIMATIONS OPTIMISÉES ===== */





/* Réactivité pour les écrans mobiles - Améliorée */
@media (max-width: 768px) {
    /* Adaptations pour le container */
    .accueil-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        padding: 1rem;
    }
    
    .accueil-texte {
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
        text-align: center;
        order: 1;
    }
    
    /* Section visuelle adaptative pour mobile */
    .accueil-visuel {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 400px;
        padding: 1.5rem;
        order: 2;
        border-radius: 16px;
        margin: 0;
    }
    
    /* Conteneur des éléments visuels mobile */
    .hero-visuals {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
        align-items: center;
        padding: 1rem;
        height: auto;
    }

    /* Ordinateur central adapté mobile */
    .central-device {
        margin: 1rem auto;
        transform: scale(0.8) perspective(1000px) rotateY(0deg) !important;
        width: 100%;
        max-width: 300px;
    }
    
    .central-device:hover {
        transform: scale(0.85) perspective(1000px) rotateY(0deg) translateY(-5px) !important;
    }

    .device {
        position: relative;
        width: 100%;
        margin-bottom: 1rem;
    }

    .device.laptop {
        width: min(300px, 90vw);
        height: min(190px, 56vw);
    }
    
    /* Adaptation des éléments visuels pour mobile */
    .visual-elements {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .visual-elements::before,
    .visual-elements::after {
        display: none; /* Masquer les éléments décoratifs sur mobile */
    }
    
    /* Métrique responsive mobile */
    .key-metric {
        position: static !important;
        margin: 1rem auto;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        max-width: 280px;
        transform: none !important;
    }
    
    .responsive-metric {
        top: auto !important;
        right: auto !important;
        position: static !important;
    }
    
    /* Citation mobile */
    .professional-quote {
        position: static !important;
        bottom: auto !important;
        left: auto !important;
        margin: 1.5rem auto 0;
        max-width: 100%;
    }
    
    .quote-content {
        padding: 1.2rem 1.8rem;
        font-size: 1rem;
        border-radius: 16px;
        border-left: 4px solid var(--tech-orange);
        text-align: center;
    }
    
    /* Lignes de connexion simplifiées */
    .connection-lines {
        display: none; /* Masquer sur mobile pour simplifier */
    }
    
    /* Badge premium mobile */
    .quality-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
}

/* Réactivité pour les très petits écrans - Améliorée */
@media (max-width: 480px) {
    .accueil-container {
        padding: 0.5rem;
        gap: 1.5rem;
    }
    
    .accueil-visuel {
        padding: 1rem !important;
        min-height: 350px !important;
        border-radius: 12px;
    }
    
    .hero-visuals {
        padding: 0.5rem;
        gap: 1rem;
    }

    /* Ordinateur encore plus compact */
    .central-device {
        transform: scale(0.7) perspective(1000px) rotateY(0deg) !important;
        margin: 0.5rem auto;
        max-width: 260px;
    }
    
    .central-device:hover {
        transform: scale(0.75) perspective(1000px) rotateY(0deg) translateY(-3px) !important;
    }

    .device.laptop {
        width: min(260px, 95vw);
        height: min(165px, 60vw);
        border: 3px solid #333;
    }
    
    /* Éléments visuels compacts */
    .key-metric {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
        max-width: 250px;
    }
    
    .quote-content {
        padding: 1rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .quality-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    /* Textes adaptés */
    .accueil-texte h1 {
        font-size: 2rem;
    }
    
    .accueil-texte p {
        font-size: 0.9rem;
    }
    
    /* Adaptation très petits écrans pour les nouveaux éléments */
    .key-metric {
        padding: 0.8rem 1rem;
        font-size: 0.75rem;
    }
    
    .responsive-metric {
        top: 5%;
        right: 2%;
    }
    
    .professional-quote {
        bottom: 5%;
        left: -2%; /* Légèrement débordante à gauche sur très petits écrans */
        max-width: 85%; /* Augmenter la largeur max */
    }
    
    .quote-content {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .line {
        display: none; /* Masquer les lignes sur très petits écrans */
    }
    
    .quality-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Optimisation pour mobile en mode paysage */
@media (max-width: 768px) and (orientation: landscape) {
    .accueil-visuel {
        height: auto !important;
        min-height: 300px !important;
        padding: 1rem !important;
    }
    
    .hero-visuals {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .central-device {
        flex: 1;
        max-width: 300px;
        transform: scale(0.7) perspective(1000px) rotateY(0deg) !important;
    }
    
    .visual-elements {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .key-metric, .professional-quote {
        position: static !important;
        margin: 0.5rem 0;
    }
}

/* Media query pour tablettes et écrans moyens */
@media (min-width: 769px) and (max-width: 1024px) {
    .accueil-visuel {
        width: 400px !important;
        height: 800px !important;
        padding: 1rem;
    }
    
    .central-device {
        transform: scale(1) perspective(1000px) rotateY(-3deg);
    }
    
    .key-metric {
        padding: 1rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .quote-content {
        padding: 1.3rem 1.8rem;
        font-size: 1rem;
    }
}

/* Media query pour écrans larges */
@media (min-width: 1200px) {
    .accueil-visuel {
        width: 500px !important;
        height: 1200px !important;
    }
    
    .central-device {
        transform: scale(1.2) perspective(1000px) rotateY(-5deg);
    }
    
    .key-metric {
        padding: 1.8rem 2.2rem;
        font-size: 1.1rem;
    }
    
    .quote-content {
        padding: 2.2rem 2.8rem;
        font-size: 1.3rem;
    }
}

/* Section principale */
#tarifs {
    text-align: center;
    padding: 80px 20px;
    background-color: #F8F8F8;
}

#tarifs h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 60px;
}

/* Conteneur des packs */
.packs-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Cartes de packs */
.pricing-card {
    width: 300px;
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pricing-card .icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF5733;
    margin-bottom: 20px;
}

.pricing-card .description {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 25px;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.pricing-card ul li i {
    color: #FF5733;
    margin-right: 10px;
}

/* Style spécifique pour le Pack Pro */
.pack-pro {
    background-color: #F0F8FF;
    border: 2px solid #A8D9FF;
}



/* Carte Option Maintenance */
.maintenance-card {
    margin-top: 50px;
    width: 700px;
    background-color: #FFFFFF;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.maintenance-card .icon {
    font-size: 50px;
    color: #666666;
    margin-bottom: 15px;
}

.maintenance-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 20px;
}

.maintenance-card ul li i {
    color: #FF5733;
}

/* Réactivité */
@media (max-width: 768px) {
    .packs-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card,
    .maintenance-card {
        width: 90%;
        max-width: 400px;
    }
    
    /* Logo responsive */
    .header {
        padding: var(--spacing-md) var(--spacing-lg);
        min-height: 70px;
    }
    
    .logo {
        margin-right: var(--spacing-md);
        gap: var(--spacing-sm);
    }
    
    .logo-image {
        width: 48px;
        height: 48px;
    }
    
    .logo-text {
        font-size: 1.75rem;
    }
}

/* AMÉLIORATIONS RESPONSIVE MOBILE */

/* Mobile Medium (768px et moins) - Header Ultra-Responsive */
@media (max-width: 768px) {
    /* Header mobile ultra-amélioré */
    .header {
        padding: 0.75rem 1rem;
        position: sticky;
        justify-content: space-between;
        align-items: center;
        min-height: 70px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: 0 2px 25px rgba(30, 41, 59, 0.12);
        z-index: 1000;
    }
    
    .header .container {
        padding: 0;
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Logo mobile optimisé */
    .logo {
        flex-shrink: 0;
        z-index: 1002;
        margin-right: 1rem;
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 40px;
        width: 40px;
        border-radius: 8px;
    }
    
    .logo-text {
        font-size: 1.4rem;
        font-weight: 700;
    }
    
    /* Afficher le bouton hamburger sur mobile avec animations */
    .menu-toggle {
        display: flex !important;
        order: 3;
        position: relative;
        margin-left: auto;
    }
    
    /* Forcer le masquage du bouton contact original */
    header .btn-contact,
    .header > .btn-contact,
    .btn-contact:not(.mobile-contact-btn) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Navigation mobile ultra-moderne */
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(248, 250, 252, 0.98) 100%);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 90px 0 2rem 0;
        overflow-y: auto;
        border-left: 1px solid rgba(37, 99, 235, 0.1);
    }
    
    .navbar.active {
        right: 0;
    }
    
    /* Effet de fermeture par swipe */
    .navbar::after {
        content: '';
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 3px;
        background: var(--medium-gray);
        border-radius: 2px;
        opacity: 0.5;
    }
    
    .nav-menu {
        flex-direction: column !important;
        padding: 0;
        margin: 0;
        list-style: none;
        gap: 0 !important;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(37, 99, 235, 0.08);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu li::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(37, 99, 235, 0.05), 
            transparent);
        transition: left 0.6s ease;
    }
    
    .nav-menu li:hover::before {
        left: 100%;
    }
    
    .nav-menu li a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--deep-navy);
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        position: relative;
        z-index: 2;
    }
    
    .nav-menu li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 4px;
        height: 0;
        background: linear-gradient(45deg, var(--primary-blue), var(--tech-orange));
        transition: height 0.3s ease;
        transform: translateY(-50%);
        border-radius: 0 2px 2px 0;
    }
    
    .nav-menu li a:hover {
        background: linear-gradient(90deg, 
            rgba(37, 99, 235, 0.08) 0%, 
            rgba(245, 158, 11, 0.05) 100%);
        color: var(--primary-blue);
        padding-left: 2.5rem;
        transform: translateX(5px);
    }
    
    .nav-menu li a:hover::before {
        height: 60%;
    }
    
    /* Dropdown mobile */
    .dropdown-menu {
        position: static !important;
        display: none;
        box-shadow: none;
        background: var(--light-gray);
        border-radius: 0;
        padding: 0;
        margin: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 0.8rem 3rem;
        font-size: 0.9rem;
        color: var(--medium-gray);
    }
    
    .dropdown-menu li a:hover {
        background: #E2E8F0;
        padding-left: 3.5rem;
    }
    
    /* Bouton contact dans le menu mobile */
    .mobile-contact-item {
        border-top: 2px solid var(--border-color);
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .mobile-contact-btn {
        background: var(--gradient-primary) !important;
        color: white !important;
        font-weight: 600 !important;
        text-align: center !important;
        border-radius: 25px !important;
        margin: 1rem !important;
        padding: 1rem 2rem !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    }
    
    .mobile-contact-btn:hover {
        background: linear-gradient(135deg, #3B82F6, #F59E0B) !important;
        transform: translateY(-2px) !important;
        padding-left: 2rem !important;
    }
    
    /* Afficher le bouton contact mobile */
    .mobile-contact-item {
        display: list-item !important;
    }
    
    /* Bouton contact mobile - caché dans le header, affiché dans le menu */
    .header .btn-contact {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Overlay amélioré pour fermer le menu */
    .navbar::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.4) 0%, 
            rgba(30, 41, 59, 0.6) 100%);
        backdrop-filter: blur(5px);
        z-index: -1;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .navbar.active::before {
        left: -320px;
    }
    
    /* Section accueil mobile améliorée */
    .accueil-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .accueil-texte,
    .accueil-visuel {
        max-width: 100%;
        flex: none;
    }
    
    .accueil-texte h1 {
        font-size: 2.2rem !important;
        line-height: 1.3; /* Améliorer la ligne pour le highlight */
        margin-bottom: 1rem;
        /* Assurer une bonne lisibilité du titre complet */
        color: var(--deep-navy) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .accueil-texte h2 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem;
    }
    
    .accueil-texte p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .accueil-texte .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        width: auto;
        min-width: 200px;
    }
    
    /* Visuel mobile */
    .accueil-visuel {
        padding: 0;
        margin-top: 1rem;
    }
    
    .accueil-visuel .responsive-devices {
        transform: none;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Sections générales mobile */
    section {
        padding: 2rem 1rem !important;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Titres mobile */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.3rem !important;
    }
    
    /* Stats mobile */
    .stats .stat h3 {
        font-size: 2rem;
    }
    
    /* Hero buttons mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Mobile Small (480px et moins) - Ultra-Optimisé */
@media (max-width: 480px) {
    /* Header très petit écran ultra-compact */
    .header {
        padding: 0.5rem 0.75rem;
        min-height: 60px;
        box-shadow: 0 1px 15px rgba(30, 41, 59, 0.1);
    }
    
    .logo {
        gap: 0.3rem;
    }
    
    .logo-image {
        height: 32px;
        width: 32px;
    }
    
    .logo-text {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    /* Menu hamburger compact */
    .menu-toggle {
        width: 36px;
        height: 36px;
        padding: 4px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    /* Navigation plein écran pour petits écrans */
    .navbar {
        width: 100vw;
        right: -100vw;
        padding: 70px 0 2rem 0;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(248, 250, 252, 1) 100%);
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-menu li a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .dropdown-menu li a {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Boutons contact mobile optimisés */
    .mobile-contact-btn {
        margin: 0.5rem 1rem !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    /* Overlay plein écran */
    .navbar::before {
        left: -100vw;
    }
    
    .navbar.active::before {
        left: -100vw;
    }
    
    /* Bouton contact reste caché sur très petits écrans */
    .header .btn-contact {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Accueil très petit écran */
    .accueil-container {
        padding: 1.5rem 0.5rem;
    }
    
    .accueil-texte h1 {
        font-size: 1.8rem !important;
        line-height: 1.2; /* Améliorer l'espacement pour le highlight */
        /* Assurer le contraste sur très petits écrans */
        color: var(--deep-navy) !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }
    
    .accueil-texte h2 {
        font-size: 1.1rem !important;
    }
    
    .accueil-texte p {
        font-size: 0.9rem;
        padding: 0;
    }
    
    .accueil-texte .btn-primary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .accueil-visuel .responsive-devices {
        max-width: 240px;
    }
    
    /* Sections très petit écran */
    section {
        padding: 1.5rem 0.5rem !important;
    }
    
    /* Titres très petit écran */
    h1 {
        font-size: 1.6rem !important;
    }
    
    h2 {
        font-size: 1.3rem !important;
    }
    
    h3 {
        font-size: 1.1rem !important;
    }
    
    /* Stats très petit écran */
    .stats .stat h3 {
        font-size: 1.8rem;
    }
    
    /* Boutons très petit écran */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Cartes et grid très petit écran */
    .grid-container,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Bannière cookies mobile */
    #cookieBanner {
        padding: 0.8rem !important;
        text-align: center;
        flex-direction: column;
    }
    
    #cookieBanner p {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }
    
    #cookieBanner button {
        margin: 0.2rem;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Corrections spécifiques pour l'orientation portrait */
@media (max-width: 768px) and (orientation: portrait) {
    .accueil-fullscreen {
        min-height: 70vh;
    }
    
    .accueil-container {
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
}

/* Améliorations pour l'accessibilité mobile */
@media (max-width: 768px) {
    /* Zones de toucher plus grandes */
    a, button, .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Espacement amélioré */
    .navbar ul li {
        margin: 0.2rem;
    }
    
    /* Dropdowns mobiles */
    .dropdown-menu {
        position: static !important;
        display: block;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

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

/* =======================================================
   BREAKPOINTS RESPONSIVE ADDITIONNELS POUR TABLETTES & GRANDS ÉCRANS
   ======================================================= */

/* Améliorations pour tablettes en mode paysage (481px-768px) */
@media (min-width: 481px) and (max-width: 768px) {
    /* Header adapté pour tablettes */
    .header {
        padding: 1rem 1.5rem;
        min-height: 75px;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    /* Navigation tablette - masquer hamburger, afficher menu horizontal compact */
    .menu-toggle {
        display: none !important;
    }
    
    .navbar {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow: visible !important;
        border: none !important;
        right: auto !important;
    }
    
    .nav-menu {
        flex-direction: row !important;
        gap: 0.8rem !important;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu li {
        border-bottom: none !important;
        width: auto !important;
    }
    
    .nav-menu li a {
        padding: 0.6rem 0.8rem !important;
        font-size: 1rem !important;
        color: var(--deep-navy) !important;
        background: none !important;
        transform: none !important;
    }
    
    .nav-menu li a:hover {
        background: rgba(37, 99, 235, 0.1) !important;
        border-radius: 6px;
        padding-left: 0.8rem !important;
        transform: none !important;
    }
    
    /* Cacher le bouton contact mobile sur tablettes */
    .mobile-contact-item {
        display: none !important;
    }
    
    /* Afficher le bouton contact principal sur tablettes */
    .header .btn-contact {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Sections adaptées pour tablettes */
    .accueil-container {
        flex-direction: row;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .accueil-texte {
        max-width: 55%;
        text-align: left;
    }
    
    .accueil-visuel {
        width: 45% !important;
        max-width: 400px !important;
        height: auto !important;
        min-height: 500px !important;
    }
    
    /* Grids adaptées pour tablettes */
    .service-list,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .packs-container {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .pricing-card {
        width: 280px;
        max-width: none;
    }
}

/* Améliorations pour grands écrans (1200px+) */
@media (min-width: 1200px) {
    /* Header premium pour grands écrans */
    .header {
        padding: 1.5rem 2rem;
        min-height: 85px;
    }
    
    .container {
        max-width: 1400px;
        padding: 0 2rem;
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    /* Navigation étendue pour grands écrans */
    .nav-menu {
        gap: 2rem !important;
    }
    
    .nav-menu li a {
        font-size: 1.1rem !important;
        padding: 0.7rem 1.2rem !important;
    }
    
    .btn-contact {
        padding: 0.8rem 1.8rem !important;
        font-size: 1rem !important;
    }
    
    /* Section accueil optimisée pour grands écrans */
    .accueil-fullscreen {
        padding: 6rem 3rem;
    }
    
    .accueil-container {
        max-width: 1400px;
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .accueil-texte h1 {
        font-size: 3.5rem !important;
        line-height: 1.1;
    }
    
    .accueil-texte h2 {
        font-size: 1.8rem !important;
    }
    
    .accueil-texte p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .accueil-visuel {
        width: 550px !important;
        height: 1300px !important;
    }
    
    /* Grids étendues pour grands écrans */
    .service-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .packs-container {
        gap: 2.5rem;
    }
    
    .pricing-card {
        width: 320px;
        padding: 2rem;
    }
    
    /* Sections étendues */
    section {
        padding: 6rem 0 !important;
    }
    
    h1 {
        font-size: 3.5rem !important;
    }
    
    h2 {
        font-size: 2.8rem !important;
    }
    
    h3 {
        font-size: 2.2rem !important;
    }
    
    /* Stats premium */
    .stats .stat h3 {
        font-size: 3rem;
    }
    
    /* Boutons étendus */
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        padding: 1.2rem 2.8rem;
        font-size: 1.2rem;
    }
}