        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            background: #353a43;
            color: white;
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        header .container {
            margin-left: 125px; /* espace entre le container et le bord gauche */
            padding-left: 125px;
        }

        .header-title {
            display: none;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            font-size:large;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: #ff8400;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #ff8400;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }
        
        /*Logo footer et header*/
        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        .logo::before {
            content: "";
            background-image: url('../images/chatlogorond2.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            width: 60px;  
            height: 60px; 
            margin-right: 15px;
            display: inline-block;
        }

        footer .logo {
            display: flex;
            justify-content: center;
        }

        /* ===== MENU HAMBURGER ===== */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 4px;
            padding: 10px;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: white;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        /* Animation du hamburger quand ouvert */
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* ===== OVERLAY MENU MOBILE ===== */
        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(53, 58, 67, 0.95);
            backdrop-filter: blur(10px);
            z-index: 999;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-links {
            list-style: none;
            text-align: center;
            padding: 0;
            margin: 0;
        }

        .mobile-menu-links li {
            margin: 1.5rem 0;
        }

        .mobile-menu-links a {
            color: white;
            text-decoration: none;
            font-size: 1.8rem;
            font-weight: 500;
            transition: all 0.3s ease;
            display: block;
            padding: 1rem 2rem;
            border-radius: 10px;
        }

        .mobile-menu-links a:hover {
            color: #ff8400;
            background: rgba(255, 132, 0, 0.1);
            transform: translateY(-2px);
        }

       /* Hero Section */
        .hero {
            color: white;
            padding: 120px 0 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 600px;
            display: flex;
            align-items: center;
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../images/montage.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            z-index: 0;
        }

        /* Overlay sombre pour lisibilité (remplace le ::before) */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4); /* Overlay sombre */
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            max-width: 800px;
            margin: 0 auto;
            padding: 60px 10px 40px; /*hauteur - largeur texte - */
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.203));
            border-radius: 20px;
        }

        .hero h1 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 3.5rem;
            margin-bottom: 1rem;
            animation: slideInUp 1s ease-out;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero p {
            font-family: 'Poppins', sans-serif;
            font-size: 1.3rem;
            margin-bottom: 2rem;
            animation: slideInUp 1s ease-out 0.3s both;
            line-height: 1.6;
        }

        .cta-button {
            background: #525967;
            color: white;
            padding: 15px 40px;
            font-size: 1.2rem;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(82, 89, 103, 0.3);
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.289);
        }


        /* Services Section */
        .services {
            padding: 80px 0;
            background: #f8f9fa;
        }

        .services h2 {
            color:#525967;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #2c3e50;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(45deg, #ff6b6b, #ffd93d);
            border-radius: 2px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .service-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.6s ease;
            opacity: 0;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        }

        .service-card:hover::before {
            opacity: 1;
            left: 100%;
        }

        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            display: block;
        }

        .service-card h3 {
            color: #2c3e50;
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }

        /* About Section */
        .about {
            padding: 80px 0;
            background: #2c3e50;
            color: white;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
        }

        .about-text p {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        .advantages {
            list-style: none;
        }

        .advantages li {
            padding: 0.5rem 0;
            position: relative;
            padding-left: 2rem;
        }

        .advantages li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #ef8300;
            font-weight: bold;
            font-size: 1.2rem;
        }

        .about-logo {
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .about-logo img {
            max-width: 300px;
            width: 100%;
            height: auto;
            border-radius: 50%;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            transition: transform 0.3s ease;
            padding: 20px;
            background: #2c3e50;
        }
        .about-logo img:hover {
            transform: scale(1.05);
        }

        .about-text .logo {
            display: none;
        }

        /* Section FAQ */
        .faq-section {
            padding: 80px 0;
            background: #2c3e50;
            color: white;
        }

        .faq-section h2 {
            color: white;
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: rgba(255,255,255,0.1);
            margin-bottom: 1rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        }

        .faq-question {
            padding: 1.5rem 2rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: none;
            background: none;
            color: white;
            text-align: left;
            width: 100%;
        }

        .faq-question:hover {
            background: rgba(255,255,255,0.1);
        }

        .faq-icon {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
            color: #ff8400;
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background: rgba(255,255,255,0.05);
        }

        .faq-answer.active {
            max-height: 600px;
        }

        .faq-answer-content {
            padding: 1.5rem 2rem;
            font-size: 1rem;
            line-height: 1.6;
            color: rgba(255,255,255,0.9);
        }

        .faq-answer-content p {
            margin-bottom: 1rem;
        }
        
        .faq-image {
            max-width: 25%;
            height: auto;
            margin-top: 15px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            display: block;
            margin-left: auto;
            margin-right: auto;
        }


        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Contact Section */
        .contact {
            padding: 80px 0;
            background: linear-gradient(to right, white 50%, #ff8400 50%);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.1;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: start;
            position: relative;
            z-index: 1;
        }

        .contact-info {
            background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
            padding: 3rem;
            border-radius: 25px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.5);
            backdrop-filter: blur(20px);
            color: #2c3e50;
        }

        .contact-header {
            margin-bottom: 3rem;
            text-align: center;
        }

        .contact-icon {
            background: linear-gradient(135deg, #ff8400, #fd7e14);
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 10px 30px rgba(255, 132, 0, 0.3);
            overflow: hidden; 
        }

        .contact-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .contact-subtitle {
            color: #ff8400;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .contact-header h2 {
            font-size: 2.2rem;
            margin-bottom: 1rem;
            color: #2c3e50;
            font-weight: 700;
        }

        .contact-description {
            color: #6c757d;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 0;
        }

        .contact-details {
            margin-bottom: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(255, 132, 0, 0.05);
            border-radius: 15px;
            transition: all 0.3s ease;
            border-left: 4px solid #ff8400;
        }

        .contact-item:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 20px rgba(255, 132, 0, 0.1);
        }

        .contact-item-icon {
            background: #ff8400;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            flex-shrink: 0;
            font-size: 1.5rem;
        }

        .contact-item-content h4 {
            color: #2c3e50;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.3rem;
        }

        .contact-item-content p {
            color: #495057;
            font-size: 1rem;
            margin-bottom: 0.2rem;
            font-weight: 500;
        }

        .contact-item-content small {
            color: #6c757d;
            font-size: 0.85rem;
            font-style: italic;
        }

        .contact-cta {
            background: linear-gradient(135deg, #ff8400, #fd7e14);
            color: white;
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .contact-cta::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shine 3s infinite;
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.136);
            padding: 2rem;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .default-message p {
            color: #353a43;
            font-style: italic;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
            color: white;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: none;
            border-radius: 10px;
            background: rgba(255,255,255,0.2);
            color: white;
            backdrop-filter: blur(5px);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255,255,255,0.8);
            font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
            font-size: large;
        }

        .submit-btn {
            background: #353a43;
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            width: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.289);
        }

        select, input[type="text"], input[type="tel"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
        }

        .other-input {
            margin-top: 10px;
        }
        
        .hidden {
            display: none;
        }
        
        optgroup {
            font-weight: bold;
            font-style: normal;
        }
        
        option {
            font-weight: normal;
            padding-left: 10px;
        }

        .hidden-field {
            position: absolute;
            left: -9999px;
            opacity: 0;
            pointer-events: none;
        }

    

        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        /* Footer */
        footer {
            background: #1a1a1a;
            color: white;
            text-align: center;
            padding: 1.25rem 0;
        }
        footer .logo::before {
            width: 60px;   /* Plus petit pour le footer */
            height: 60px;
        }

        /* Animations */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive part*/
        /* ===== RESPONSIVE DESIGN ===== */
/* ===== RESPONSIVE DESIGN ===== */

/* Tablette et écrans moyens */
@media (max-width: 1024px) {
    /* Reset du container header pour éviter les débordements */
    header .container {
        margin-left: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Afficher le menu hamburger */
    .hamburger {
        display: flex;
    }

    /* Cacher la navigation desktop */
    .nav-links {
        display: none;
    }

    /* Navigation mobile */
    nav {
        position: relative;
        justify-content: space-between;
    }

    /* Afficher le texte centré et ajuster sa position */
    .header-title {
        display: block;
        font-size: 1.2rem;
    }

    /* SUPPRIMER le texte du logo à gauche dès que hamburger apparait */
    .logo {
        font-size: 0; /* Cache le texte "Twister Bedbug" */
        flex-shrink: 0;
    }

    .logo::before {
        width: 50px;
        height: 50px;
        margin-right: 0; /* Pas de marge puisque pas de texte */
    }
}

/* Tablette en mode portrait */
@media (max-width: 768px) {          
    header .container {
        padding-left: 15px;
        padding-right: 30px;
    }
    
    /* Hero section adjustments */
    .hero {
        min-height: 500px;
        padding: 100px 0 60px;
    }

    .hero-background {
        background-image: url('../images/chien10.jpg'); 
        background-position: center;
    }
    
    .hero-content {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-logo img {
        max-width: 200px;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact {
        background: linear-gradient(to bottom, white 0%, white 41%, #ff8400 41%, #ff8400 100%);
        padding: 60px 0;
    }

    .contact-info {
        padding: 2rem;
        margin-bottom: 1rem;
    }
    
    .contact-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Header spécifique tablette */
    .header-title {
        font-size: 1.2rem; /* Plus grand pour compenser la disparition du texte de gauche */
    }

    /* Le logo reste sans texte mais AGRANDI */
    .logo::before {
        width: 65px; /* Plus grand qu'avant (était 45px) */
        height: 65px;
        margin-right: 0;
    }
}

/* Mobile */
@media (max-width: 480px) {
    /* Container mobile avec moins de padding */
    header .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Navigation mobile compacte */
    nav {
        min-height: 60px; /* Hauteur minimale pour éviter l'écrasement */
    }
    
    /* Hero section mobile */
    .hero-background {
        background-image: url('../images/photo-mobile.jpg');
        background-position: center top;
    }
    
    .hero {
        min-height: 400px;
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 30px 10px 20px;
        margin: 0 10px;
    }
    
    .contact {
        background: linear-gradient(to bottom, white 0%, white 44%, #ff8400 44%, #ff8400 100%);
        padding: 40px 0;
    }

    .contact-info {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .contact-form {
        padding: 1rem;
        border-radius: 15px;
    }

    /* Header mobile - ajustements finaux */
    .header-title {
        font-size: 1rem;
        /* Ajuster la position pour éviter le chevauchement */
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        margin-top: -0.5rem; /* Centrage vertical */
    }

    /* Logo mobile PLUS GRAND */
    .logo {
        font-size: 0;
        min-width: 55px; /* Largeur minimale augmentée */
    }

    .logo::before {
        width: 55px; /* Augmenté de 40px à 55px */
        height: 55px; /* Augmenté de 40px à 55px */
        margin-right: 0;
    }

    /* Menu mobile plus grand */
    .mobile-menu-links a {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }

    /* Footer logo mobile */
    footer .logo::before {
        width: 100px;
        height: 80px;
    }

    .contact-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Très petits écrans */
@media (max-width: 320px) {
    header .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    /* Navigation ultra-compacte */
    nav {
        min-height: 50px;
    }
    
    .contact {
        background: linear-gradient(to bottom, white 0%, white 48%, #ff8400 48%, #ff8400 100%);
    }

    .header-title {
        font-size: 0.9rem;
    }

    /* Logo ultra-compact */
    .logo {
        min-width: 35px;
    }
    
    .logo::before {
        width: 35px;
        height: 35px;
        margin-right: 0;
    }
    
    /* Hamburger plus petit */
    .hamburger {
        padding: 5px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }

    .contact-icon img {
        width: 95%;
        height: 95%;
        object-fit: cover;
    }
}

/* Règles supplémentaires pour éviter les débordements */
@media (max-width: 1024px) {
    /* Empêcher le débordement horizontal */
    nav {
        overflow: hidden;
    }
    
    /* S'assurer que le header-title ne dépasse pas */
    .header-title {
        max-width: calc(100% - 200px); /* Laisser de la place pour logo + hamburger */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}