:root {
            --primary: #0d47a1;
            --primary-dark: #082e6b;
            --secondary: #ff6d00;
            --secondary-dark: #e65100;
            --text: #333333;
            --text-light: #666666;
            --light: #f5f5f5;
            --white: #ffffff;
            --dark: #263238;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--text);
            line-height: 1.6;
        }
        
        h1, h2, h3, h4 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo img {
            height: 50px;
        }
        
        .logo-text {
            margin-left: 10px;
        }
        
        .logo-text h1 {
            font-size: 1.5rem;
            margin-bottom: 0;
            color: var(--primary);
        }
        
        .logo-text p {
            font-size: 0.8rem;
            color: var(--text-light);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        nav ul li a:hover {
            color: var(--primary);
        }
        
        .nav-cta .phone-link {
            background-color: var(--primary);
            color: white;
            padding: 10px 15px;
            border-radius: 5px;
            font-weight: 600;
            transition: background-color 0.3s;
        }
        
        .nav-cta .phone-link:hover {
            background-color: var(--primary-dark);
            text-decoration: none;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('apres5.JPG') no-repeat center center/cover;
            height: 100vh;
            display: flex;
            align-items: center;
            text-align: center;
            color: white;
            padding-top: 80px;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: white;
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
        }
        
        .cta-button {
            display: inline-block;
            background-color: var(--secondary);
            color: white;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: background-color 0.3s;
        }
        
        .cta-button:hover {
            background-color: var(--secondary-dark);
        }
        
        /* Services Section */
        .services {
            padding: 80px 0;
            background-color: var(--light);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.2rem;
            color: var(--primary);
        }
        
        .section-title p {
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            padding: 30px;
            text-align: center;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .service-card i {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        /* Portfolio Section */
        .portfolio {
            padding: 80px 0;
        }
        
        .before-after-slider {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .ba-item {
            position: relative;
            height: 350px;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .before, .after {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .before img, .after img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .before {
            width: 50%;
            z-index: 2;
        }
        
        .before span, .after span {
            position: absolute;
            bottom: 20px;
            padding: 5px 10px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            border-radius: 3px;
            font-size: 0.9rem;
        }
        
        .before span {
            left: 20px;
        }
        
        .after span {
            right: 20px;
        }
        
        /* Contact Section */
        .contact {
            padding: 80px 0;
            background-color: var(--light);
        }
        
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }
        
        .contact-info {
            margin-bottom: 30px;
        }
        
        .contact-info h2 {
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .contact-info address p {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .contact-info i {
            margin-right: 10px;
            color: var(--primary);
            width: 20px;
            text-align: center;
        }
        
        .social-links {
            margin-top: 30px;
        }
        
        .social-links a {
            display: inline-block;
            margin-right: 15px;
            color: var(--primary);
            font-size: 1.5rem;
            transition: color 0.3s;
        }
        
        .social-links a:hover {
            color: var(--primary-dark);
        }
        
        .contact-form {
            background-color: var(--white);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: 'Open Sans', sans-serif;
        }
        
        .contact-form textarea {
            height: 150px;
        }
        
        .contact-form button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.3s;
        }
        
        .contact-form button:hover {
            background-color: var(--primary-dark);
        }
        
        .map-container {
            grid-column: 1 / -1;
            height: 400px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 60px 0 20px;
        }
        
        .footer-columns {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-about img {
            height: 50px;
            margin-bottom: 20px;
        }
        
        .footer-about p {
            color: #aaa;
        }
        
        .footer-links h3, .footer-contact h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #aaa;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .footer-contact address p {
            color: #aaa;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .footer-contact i {
            margin-right: 10px;
            color: var(--secondary);
            width: 20px;
            text-align: center;
        }
        
        .footer-legal {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #777;
            font-size: 0.9rem;
        }
        
        .footer-legal a {
            color: #aaa;
            text-decoration: none;
            margin-left: 15px;
        }
        
        .footer-legal a:hover {
            text-decoration: underline;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                padding: 15px 0;
            }
            
            .logo {
                margin-bottom: 15px;
            }
            
            nav ul {
                margin-bottom: 15px;
            }
            
            nav ul li {
                margin-left: 15px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .ba-item {
                height: 250px;
            }
        }
        /* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

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

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text);
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}
/* Service Details Modal */
.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.service-modal-content {
    background-color: var(--white);
    max-width: 900px;
    margin: 50px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.3s;
}

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

.modal-header {
    padding: 20px;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.modal-body {
    padding: 30px;
}

.service-description {
    margin-bottom: 30px;
}

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

.service-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.service-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-gallery-item span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
}

.modal-cta {
    text-align: center;
    margin-top: 30px;
}

/* Service card descriptions */
.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    min-height: 60px;
}

/* Ajoutez ceci dans votre fichier home.css, dans la section du header */
nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative; /* Ajouté pour positionner la ligne */
    padding-bottom: 5px; /* Espace pour la ligne */
}

nav ul li a:hover {
    color: var(--primary);
}

/* Ajoutez ces styles pour la ligne animée */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var( --secondary-dark);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Pour le lien actif (optionnel) */
nav ul li a.active::after {
    width: 100%;
}
/* Animation du slideshow */
.hero-slideshow {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
    padding: 0 20px;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-logo {
    max-height: 150px;
    width: auto;
}

/* Animation typewriter */
.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--secondary);
    white-space: nowrap;
    margin: 0 auto 20px auto;
    letter-spacing: .15em;
    animation: 
        typing 2s steps(40, end),
        blink-caret .75s step-end infinite;
}

.typewriter-delay {
    overflow: hidden;
    border-right: .15em solid var(--secondary);
    white-space: nowrap;
    margin: 0 auto 30px auto;
    letter-spacing: .15em;
    opacity: 0;
    animation: 
        typing 2s steps(40, end) 2s forwards,
        blink-caret .75s step-end infinite,
        fadeIn 0.1s 2s forwards;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--secondary); }
}

@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}
/* Animation du slideshow */
.hero {
    position: relative;
    height: 100vh;
    padding-top: 80px;
    overflow: hidden;
}

.hero-slideshow {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
    padding: 0 20px;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-logo {
    max-height: 150px;
    width: auto;
    margin-bottom: 20px;
}

.slide-logo.isollharmony {
    max-height: 250px;
}

/* Animation typewriter améliorée */
.typewriter-line {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: normal;
    position: relative;
    display: inline-block;
}

.typewriter-line::after {
    content: none;
    position: absolute;
    right: 0;
    color: var(--secondary);
    animation: none;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { opacity: 0 }
    50% { opacity: 1 }
}

/* Conteneur CTA fixe */
.hero-cta {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    opacity: 1 !important;
}
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.typewriter-line {
    opacity: 0; /* Caché par défaut */
}
.section-title1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 4px solid #007BFF;
}
/* Ajoutez ceci dans la section Portfolio */
.portfolio .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.see-more-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s;
    border: 2px solid var(--primary);
}

.see-more-btn:hover {
    background-color: transparent;
    color: var(--primary);
}
/* Galerie complète */
.gallery {
    padding: 80px 0;
    background-color: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 20px;
    background-color: var(--white);
}

.gallery-caption h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.gallery-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
   /* Styles de base */
        body {
            font-family: 'Open Sans', sans-serif;
            margin: 0;
            padding: 0;
            color: #333;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        

        
        /* Galerie */
        .gallery {
            padding: 100px 0 50px;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-title h2 {
            font-size: 2.5em;
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        
        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            cursor: pointer;
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
        }
        
        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }
        
        .gallery-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8em;
        }
        
        .gallery-caption {
            padding: 15px;
            background-color: white;
        }
        
        .gallery-caption h3 {
            margin: 0 0 5px;
            color: #2c3e50;
        }
        
        .gallery-caption p {
            margin: 0;
            color: #7f8c8d;
        }
        
        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
        
        .lightbox.active {
            display: flex;
        }
        
        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90vh;
            text-align: center;
        }
        
        .lightbox-img {
            max-height: 70vh;
            max-width: 90vw;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        
        .lightbox-caption {
            color: white;
            text-align: center;
            margin-top: 20px;
            font-size: 1.2em;
            max-width: 800px;
        }
        
        .lightbox-caption h3 {
            margin: 0 0 10px;
            font-size: 1.5em;
        }
        
        .lightbox-caption p {
            margin: 0;
            opacity: 0.9;
        }
        
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 2.5em;
            color: white;
            cursor: pointer;
            transition: color 0.2s;
        }
        
        .lightbox-close:hover {
            color: #4CAF50;
        }
        
        .lightbox-nav-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 25px;
        }
        
        .lightbox-nav-btn {
            padding: 12px 25px;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1em;
            font-weight: 600;
            transition: background 0.2s;
        }
        
        .lightbox-nav-btn:hover {
            background: #3e8e41;
        }
        
        .lightbox-nav-btn:disabled {
            background: #cccccc;
            cursor: not-allowed;
        }
        
        /* Équipe Section - Style moderne et centré */
.team-section {
    padding: 80px 0;
    background-color: var(--light);
}

.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.team-content {
    width: 75%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.team-content h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.team-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
}

.team-image {
    width: 100vw;
    max-width: 100vw;
    margin: 40px 0 0 50%;
    transform: translateX(-50%);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    object-fit: cover;
    transition: 
        filter 0.5s cubic-bezier(0.4,0,0.2,1),
        transform 0.7s cubic-bezier(0.4,0,0.2,1);
    will-change: filter, transform;
    /* Animation d'apparition */
    opacity: 0;
    transform: scale(1.08);
    animation: teamImgAppear 1.2s cubic-bezier(0.4,0,0.2,1) 0.2s forwards;
}

.team-image:hover img,
.team-image:focus img {
    filter: blur(0) brightness(1);
    transform: scale(1.03);
}

@keyframes teamImgAppear {
    from {
        opacity: 0;
        filter: blur(8px) brightness(0.8);
        transform: scale(1.12);
    }
    to {
        opacity: 1;
        filter: blur(2px) brightness(0.95);
        transform: scale(1.08);
    }
}

@media (max-width: 992px) {
    .team-content {
        width: 95%;
        max-width: 100%;
    }
    .team-image {
        width: 95%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .team-content,
    .team-image {
        width: 100%;
        max-width: 100%;
    }
    .faq-question, .faq-answer {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.faq-question, .faq-answer {
    text-align: left;
}

.faq-question {
    padding: 18px 25px;
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    position: relative;
    padding-right: 40px;
}

.faq-question::after {
    content: '\25B6'; /* triangle arrow right */
    font-size: 1.1em;
    color: var(--secondary);
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(90deg);
    color: var(--primary-dark);
}

.faq-answer {
    padding: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px 25px;
    max-height: 500px;
}
.team-intro-justified {
    width: 98%;
    max-width: 1600px;
    margin: 0 auto 30px auto;
    text-align: justify;
    font-size: 0.92rem;
    color: var(--text);
    letter-spacing: 0.01em;
}

.team-intro-justified p {
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.7;
}

/* Responsive Navigation (Burger menu) */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    margin-right: 10px;
    z-index: 1101;
}

@media (max-width: 900px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        background: var(--white);
        height: 100vh;
        width: 220px;
        padding-top: 80px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.08);
        z-index: 1100;
        transition: transform 0.3s;
        transform: translateX(-100%);
    }
    nav ul.open {
        display: flex;
        transform: translateX(0);
    }
    nav ul li {
        margin: 0 0 25px 25px;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .header-container {
        flex-direction: row;
        align-items: center;
    }
    .nav-cta {
        margin-left: auto;
    }
}

/* Hero section: animated text smaller on mobile */
@media (max-width: 600px) {
    .hero h1,
    .typewriter-line {
        font-size: 1.1rem !important;
        line-height: 1.3;
        padding: 0 10px;
        word-break: break-word;
        white-space: normal !important;
        max-width: 95vw;
    }
    .hero p.typewriter-line {
        font-size: 0.95rem !important;
        padding: 0 10px;
        max-width: 95vw;
    }
    .hero-content {
        padding: 0 5px;
    }
    .slide {
        padding: 0 5px;
    }
}

/* Responsive: phone icon only on mobile, modal styles */
@media (max-width: 900px) {
    .nav-cta .phone-link span {
        display: none;
    }
    .nav-cta .phone-link {
        font-size: 1.3rem;
        padding: 7px 10px;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #f7f9fb;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Open Sans', sans-serif;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0d47a1;
  box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
  outline: none;
}

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

.contact-form button {
  display: inline-block;
  background: #0d47a1;
  color: #fff;
  border: none;
  padding: 14px 25px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button i {
  margin-right: 8px;
}

.contact-form button:hover {
  background: #08306b;
}

.section-title1 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
  color: #0d47a1;
}

.section-title p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 16px;
  color: #555;
}
#bilan {
  padding-top: 120px; /* ajuste selon la hauteur exacte de ton header */
}

/* Phone modal styles */
#phone-modal {
    display: none;
    position: fixed;
    z-index: 2002;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20,20,20,0.45);
    align-items: center;
    justify-content: center;
}
#phone-modal.active {
    display: flex;
}
#phone-modal .modal-content {
    background: #fff;
    color: var(--primary-dark);
    border-radius: 10px;
    padding: 28px 28px 18px 28px;
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    text-align: center;
    position: relative;
    animation: phoneModalIn 0.25s;
}
#phone-modal .modal-content .close-modal {
    position: absolute;
    top: 8px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-dark);
    cursor: pointer;
}
#phone-modal .modal-content .modal-phone-number {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 18px 0 10px 0;
    letter-spacing: 1px;
}
#phone-modal .modal-content .modal-phone-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary);
    font-size: 1.1rem;
    text-decoration: underline;
}
@keyframes phoneModalIn {
    from { opacity: 0; transform: scale(0.85);}
    to { opacity: 1; transform: scale(1);}
}