/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 100px; /* Compensation pour header fixe */
}

/* Variables CSS pour les couleurs */
:root {
    --primary-color: #3498db;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-light: 0 5px 25px rgba(0,0,0,0.1);
    --shadow-medium: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0; /* Réduit pour mobile */
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem; /* Réduit de 2.8rem à 2rem */
    font-weight: 700;
    transition: all 0.3s ease;
    gap: 10px; /* Espace entre logo et texte */
}

.logo-text {
    display: inline;
}

.logo-debarr {
    color: #3498db;
    font-size: 2rem; /* Adapté à la nouvelle taille */
    font-weight: 700;
}

.logo-action {
    color: #e74c3c;
    font-size: 2rem; /* Adapté à la nouvelle taille */
    font-weight: 700;
}

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

.logo-img {
    height: 50px; /* Réduit de 120px à 50px pour mobile */
    width: auto;
    transition: all 0.3s ease;
    object-fit: contain;
}

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

.logo i {
    margin-right: 12px;
    font-size: 2.2rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-3);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    color: white;
    padding: 140px 0 0; /* Supprimer padding bas pour éviter espacement */
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1; /* Z-index plus bas que services */
}

/* Ajustement pour toutes les sections avec ancres (sauf accueil) */
section[id]:not(#accueil) {
    scroll-margin-top: 100px; /* Espace pour header fixe */
}

/* Ajustement spécifique pour la section services */
#services {
    scroll-margin-top: 120px; /* Plus d'espace pour éviter chevauchement avec hero */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInLeft 1s ease-out;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

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

.hero-image {
    text-align: center;
    opacity: 0.3;
}

/* Services Section */
.services {
    padding: 150px 0 80px 0; /* Encore plus d'espace en haut */
    background: #f8f9fa;
    margin-top: 0;
    position: relative;
    z-index: 10; /* S'assurer qu'elle est au-dessus */
    clear: both; /* Forcer la séparation */
}

/* Séparateur visuel entre Hero et Services */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: #f8f9fa;
    z-index: 11;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* Gestion des titres responsive */
.title-mobile {
    display: none; /* Caché par défaut */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card i {
    font-size: 3.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

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

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.features {
    display: grid;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 5px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature p {
    color: #666;
}

.about-stats {
    display: grid;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat h3 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
    background: white;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #2c5aa0;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section p i {
    margin-right: 10px;
    color: #2c5aa0;
}

.footer .logo-img {
    height: 80px;
    width: auto;
    margin-right: 15px;
}

.footer .logo {
    font-size: 2.2rem;
}

.footer .logo-debarr {
    color: #3498db;
    font-size: 2.2rem;
    font-weight: 700;
}

.footer .logo-action {
    color: #e74c3c;
    font-size: 2.2rem;
    font-weight: 700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .contact-form {
        padding: 20px;
    }
}

/* Animation pour le menu mobile */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Effets supplémentaires et animations */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--gradient-2);
    border-radius: 2px;
}

/* Animation de pulsation pour les éléments importants */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Effet de brillance */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    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;
}

.shine-effect:hover::after {
    left: 100%;
}

/* Amélioration des statistiques */
.stat {
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

/* Effet de particules flottantes */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: floatUp 6s infinite linear;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Gradient de texte pour les titres */
.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Effet de survol pour les liens du footer */
.footer-section ul li a {
    position: relative;
    transition: all 0.3s ease;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-color);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

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

/* ==================== VIDEO SECTION ==================== */
.video-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.video-section::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="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.video-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    background: #000;
    margin: 0 auto;
    max-width: 800px;
}

.promo-video {
    width: 100%;
    height: auto;
    min-height: 300px;
    display: block;
    border-radius: 15px;
    background: #000;
}

.promo-video:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Galerie Avant/Après */
.before-after-gallery {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    margin-top: 40px;
}

.before-after-gallery h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
}

.before-after-gallery h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    aspect-ratio: 16/10;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Animation d'apparition pour la section vidéo */
.video-section .section-title,
.video-description,
.video-wrapper,
.before-after-gallery {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.video-description {
    animation-delay: 0.2s;
}

.video-wrapper {
    animation-delay: 0.4s;
}

.before-after-gallery {
    animation-delay: 0.6s;
}

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

/* Responsive Design Mobile */
@media (max-width: 768px) {
    /* Header optimisé pour mobile */
    .navbar {
        padding: 0.5rem 0; /* Encore plus compact sur mobile */
    }
    
    .nav-container {
        padding: 0 15px; /* Réduire padding latéral */
    }
    
    .logo {
        font-size: 1.6rem; /* Plus petit sur mobile */
        gap: 8px;
    }
    
    .logo-debarr,
    .logo-action {
        font-size: 1.6rem; /* Adapté à la taille mobile */
    }
    
    .logo-img {
        height: 40px; /* Encore plus petit sur mobile */
    }
    
    .logo-text {
        display: flex;
        flex-direction: row; /* Garder sur une ligne */
        align-items: center;
    }
    
    /* Réduire l'espace entre sections sur mobile */
    .services {
        padding: 80px 0 60px 0; /* Réduit de 150px à 80px */
    }
    
    .services::before {
        height: 80px; /* Réduit de 150px à 80px */
    }
    
    /* Titre des services responsive */
    .services h2 {
        font-size: 1.8rem; /* Plus petit sur mobile */
        line-height: 1.3; /* Meilleure gestion des retours ligne */
        padding: 0 15px; /* Marge latérale */
    }
    
    /* Basculer vers titre court sur mobile */
    .title-full {
        display: none; /* Cacher titre long */
    }
    
    .title-mobile {
        display: inline; /* Afficher titre court */
    }
    
    /* Video section pour mobile */
    .video-section {
        padding: 60px 0;
    }
    
    .video-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .video-wrapper {
        margin: 0 10px;
        border-radius: 10px;
    }
    
    .promo-video {
        border-radius: 10px;
        min-height: 200px;
    }
    
    .before-after-gallery {
        padding: 20px;
        margin-top: 30px;
    }
    
    .before-after-gallery h3 {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-label {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    /* Header ultra-compact pour petits écrans */
    .navbar {
        padding: 0.3rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.4rem; /* Encore plus petit */
        gap: 6px;
    }
    
    .logo-debarr,
    .logo-action {
        font-size: 1.4rem;
    }
    
    .logo-img {
        height: 35px; /* Très compact */
    }
    
    /* Espacement encore plus réduit pour petits écrans */
    .services {
        padding: 60px 0 50px 0; /* Encore plus compact */
    }
    
    .services::before {
        height: 60px; /* Séparateur plus fin */
    }
    
    /* Titre services optimisé pour petits écrans */
    .services h2 {
        font-size: 1.5rem; /* Plus petit */
        padding: 0 10px; /* Moins d'espace latéral */
        text-align: center;
    }
    
    /* Titre encore plus court pour très petits écrans */
    .title-mobile {
        font-size: 1.5rem; /* Assurer cohérence de taille */
    }
    
    /* Video section pour petits écrans */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .video-wrapper {
        margin: 0 5px;
    }
}