* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: 20px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: #1487BE;
    border-color: #1487BE;
    box-shadow: 0 4px 10px rgba(20, 135, 190, 0.4);
}

@media (max-width: 768px) {
    .language-switcher {
        position: absolute;
        top: 15px;
        right: 60px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #305B83;
    background: #f8f9fa;
}

.header-wrapper {
    position: relative;
    width: 100%;
    min-height: 70vh;
    overflow: hidden;
    background: url(/img/relation-client.jpg);
    color: #305B83;

}

.navbar,
.hero {
    position: relative;
    z-index: 2;
}

.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    background-color: transparent;
}

.navbar a {
    margin-top: 0;
}

.navbar img {
    height: 150px;
    width: auto;
    display: block;
}


.nav-container {
    display: flex;
    align-items: flex-start;
    margin-left: auto;
    padding-top: 0.5rem;
}

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

.nav-menu li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-menu li a:hover {
    color: #1487BE;
}

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

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

.hero {
    position: relative;
    z-index: 1;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #1487BE;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #0f6a9a;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    color: #305B83;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: #99A9B7;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.service-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-block:nth-child(even) {
    flex-direction: row-reverse;
}

.service-content {
    flex: 1;
    padding: 2rem;
}

.service-number {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #1487BE;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    color: #305B83;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.service-content p {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-image {
    flex: 1;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.03);
}

/* Section À propos */
.about-section {
    background: linear-gradient(rgba(249, 249, 249, 0.92), rgba(255, 255, 255, 0.88)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&h=900&fit=crop') center/cover fixed;
    margin: 0;
    max-width: 100%;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(20, 135, 190, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.about-section .section-title {
    color: white;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

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

/* Section Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.5s ease,
        opacity 0.6s ease;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-content {
    padding: 2rem;
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #305B83;
    margin-bottom: 1rem;
}

.card p {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.8;
}

/* Section footer */
footer {
    background: rgb(30, 30, 30);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #99A9B7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #1487BE;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    color: #99A9B7;
}

/* Responsive design */
@media (max-width: 968px) {

    .service-block,
    .service-block:nth-child(even) {
        flex-direction: column;
    }

    .service-content h3 {
        font-size: 28px;
    }

    .service-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 85px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

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

    .nav-menu li a {
        color: #305B83;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .service-content h3 {
        font-size: 24px;
    }
}

.esc-footer-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.esc-footer-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    width: 100%;
}

/* Section Contact avant footer */
.esc-pre-footer-cta {
    background: linear-gradient(135deg, #1487BE 0%, #0f6a9a 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.esc-pre-footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.esc-pre-footer-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.esc-pre-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.esc-pre-footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.esc-pre-footer-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.esc-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.esc-btn-cta {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.esc-btn-primary {
    background: white;
    color: #1487BE;
}

.esc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.esc-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
}

.esc-btn-secondary:hover {
    background: white;
    color: #1487BE;
}

/* Footer principal */
.esc-footer-main {
    background: linear-gradient(135deg, #1e1e1e 0%, #141414 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    width: 100%;
}

.esc-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.esc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.esc-footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #1487BE;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.esc-footer-about {
    padding-right: 2rem;
}

.esc-footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.esc-footer-logo span {
    color: #1487BE;
}

.esc-footer-description {
    color: #99A9B7;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.esc-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.esc-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(20, 135, 190, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1487BE;
    text-decoration: none;
    transition: all 0.3s ease;
}

.esc-social-link:hover {
    background: #1487BE;
    color: white;
    transform: translateY(-3px);
}

.esc-footer-links {
    list-style: none;
}

.esc-footer-links li {
    margin-bottom: 0.8rem;
}

.esc-footer-links a {
    color: #99A9B7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.esc-footer-links a:hover {
    color: #1487BE;
    padding-left: 5px;
}

.esc-footer-contact-info {
    color: #99A9B7;
    font-size: 0.9rem;
    line-height: 1.8;
}

.esc-footer-contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.esc-footer-contact-info svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Logo dans le footer contact */
.esc-footer-logo-box {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.esc-footer-logo-box .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.esc-footer-logo-box .logo-text span {
    color: #1487BE;
}

.logo-image {
    height: 200px;
    width: auto;
    display: block;
}

.esc-newsletter-box {
    background: rgba(20, 135, 190, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 135, 190, 0.2);
}

.esc-newsletter-box h4 {
    color: white;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.esc-newsletter-box p {
    color: #99A9B7;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.esc-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.esc-newsletter-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 6px;
    font-size: 0.9rem;
}

.esc-newsletter-input::placeholder {
    color: #99A9B7;
}

.esc-newsletter-btn {
    padding: 0.8rem 1.5rem;
    background: #1487BE;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.esc-newsletter-btn:hover {
    background: #0f6a9a;
}

.esc-partners-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.esc-partners-title {
    text-align: center;
    color: #99A9B7;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.esc-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.esc-partner-logo {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    filter: grayscale(100%) brightness(2);
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
}

.esc-partner-logo:hover {
    opacity: 1;
}

.esc-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.esc-footer-copyright {
    color: #99A9B7;
    font-size: 0.9rem;
}

.esc-footer-legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.esc-footer-legal-links a {
    color: #99A9B7;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.esc-footer-legal-links a:hover {
    color: #1487BE;
}

@media (max-width: 1024px) {
    .esc-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .esc-footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .esc-pre-footer-cta h2 {
        font-size: 1.8rem;
    }

    .esc-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .esc-btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .esc-footer-grid {
        grid-template-columns: 1fr;
    }

    .esc-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .esc-footer-legal-links {
        justify-content: center;
    }

    .esc-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-section {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    color: #305B83;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    color: #99A9B7;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(48, 91, 131, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(48, 91, 131, 0.08);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #305B83 0%, #1487BE 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(48, 91, 131, 0.15);
}

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

.member-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #305B83 0%, #1487BE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(20, 135, 190, 0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.member-avatar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.team-card:hover .member-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(20, 135, 190, 0.35);
}

.team-card:hover .member-avatar::before {
    width: 150%;
    height: 150%;
}

.member-info {
    text-align: center;
}

.member-name {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    color: #305B83;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    color: #1487BE;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-description {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.skills-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #305B83;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    font-family: 'Work Sans', sans-serif;
    font-size: 12px;
    padding: 0.5rem 1rem;
    background: rgba(20, 135, 190, 0.08);
    color: #305B83;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(20, 135, 190, 0.15);
}

.skill-tag:hover {
    background: linear-gradient(135deg, #305B83 0%, #1487BE 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 135, 190, 0.3);
}

.member-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(48, 91, 131, 0.1);
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(20, 135, 190, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1487BE;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.contact-link:hover {
    background: linear-gradient(135deg, #305B83 0%, #1487BE 100%);
    color: white;
    transform: translateY(-3px);
}

/* Animation au chargement */
.team-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.team-card:nth-child(1) {
    animation-delay: 0.1s;
}

.team-card:nth-child(2) {
    animation-delay: 0.2s;
}

.team-card:nth-child(3) {
    animation-delay: 0.3s;
}

.team-card:nth-child(4) {
    animation-delay: 0.4s;
}

.team-card:nth-child(5) {
    animation-delay: 0.5s;
}

.team-card:nth-child(6) {
    animation-delay: 0.6s;
}

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

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-name {
        font-size: 22px;
    }
}

/* Responsive pour les versions tel */

@media screen and (max-width: 1024px) {
    .container {
        padding: 60px 30px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .service-block {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {

    .navbar {
        padding: 10px 15px;
        align-items: center;
    }

    .navbar img {
        height: 80px;
        width: auto;
    }

    .nav-container {
        position: relative;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        transition: 0.3s;
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        padding: 100px 20px 40px;
        z-index: 1000;
        justify-content: flex-start;
        gap: 0;
    }

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

    .nav-menu li {
        margin: 20px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-menu li a {
        color: #305B83;
        font-size: 1.2rem;
        font-weight: 600;
        text-shadow: none;
        display: block;
        padding: 15px 20px;
    }

    .header-wrapper {
        min-height: 60vh;
    }

    .hero {
        padding: 60px 20px 40px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 0.9rem;
        display: inline-block;
        width: auto;
        max-width: 90%;
        text-align: center;
    }

    .container {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 40px;
        padding: 0 15px;
        line-height: 1.6;
    }

    .service-block {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 50px;
    }

    .service-block:nth-child(even) {
        flex-direction: column;
    }

    .service-content,
    .service-image {
        width: 100%;
        padding: 0;
    }

    .service-content {
        padding: 0 10px;
    }

    .service-number {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .service-content p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .service-image img {
        height: 250px;
        border-radius: 8px;
    }

    .about-section {
        padding: 50px 20px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }

    .card {
        margin-bottom: 0;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

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

    .team-section {
        padding: 50px 20px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .team-card {
        padding: 2rem 1.5rem;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 0.85rem;
    }

    .member-description {
        font-size: 0.9rem;
    }

    .skill-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .esc-footer-main {
        padding: 40px 20px 20px;
    }

    .esc-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .esc-footer-about {
        padding-right: 0;
        grid-column: 1;
    }

    .esc-footer-logo {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .esc-footer-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .esc-newsletter-box {
        padding: 1.2rem;
        margin-top: 20px;
    }

    .esc-newsletter-box h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .esc-newsletter-box p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .esc-newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .esc-newsletter-input {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }

    .esc-newsletter-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .esc-footer-column h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .esc-footer-links li {
        margin-bottom: 10px;
    }

    .esc-footer-links a {
        font-size: 0.9rem;
    }

    .esc-footer-contact-info {
        font-size: 0.85rem;
    }

    .esc-footer-contact-info p {
        margin-bottom: 12px;
        flex-wrap: wrap;
    }

    .esc-footer-contact-info span {
        word-break: break-word;
    }

    .logo-image {
        height: 120px;
        max-width: 100%;
    }

    .esc-partners-section {
        margin: 30px 0;
        padding: 25px 0;
    }

    .esc-partners-title {
        font-size: 0.8rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .esc-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .esc-partner-logo {
        font-size: 0.9rem;
        padding: 10px 5px;
        text-align: center;
    }

    .esc-footer-bottom {
        padding-top: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .esc-footer-copyright {
        font-size: 0.85rem;
    }

    .esc-footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .esc-footer-legal-links a {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {

    .navbar img {
        height: 70px;
    }

    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.25;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .service-image img {
        height: 220px;
    }

    .card h3 {
        font-size: 1.2rem;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .esc-partners-grid {
        grid-template-columns: 1fr;
    }

    .esc-partner-logo {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }

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

@media screen and (max-width: 768px) and (orientation: landscape) {
    .header-wrapper {
        min-height: 100vh;
    }

    .hero {
        padding: 40px 20px 30px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        padding: 80px 20px 30px;
    }
}