.custom-select {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.custom-select-selected {
    background: #fff;
    border-bottom: 1px solid black;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #0026a3;
    cursor: pointer;
    transition: border-color 0.2s;
    min-width: 180px;
    user-select: none;
}

.custom-select-selected:after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-top: 7px solid var(--primary, #6366f1);
}

.custom-select-options {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--primary, #6366f1);
    border-radius: .25vh;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    z-index: 100;
    display: none;
    max-height: 220px;
    overflow-y: auto;
}

.custom-select.open .custom-select-options {
    display: block;
}

.custom-select-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 1rem;
    color: #0026a3;
    transition: background 0.15s, color 0.15s;
}

.custom-select-option:hover,
.custom-select-option.selected {
    background: var(--primary, #6366f1);
    font-weight: 600;
    color: #fff;
}

.custom-select-option:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
}

.navbar-logo-ct-fixed {
    height: 38px;
    margin-right: 2.5rem;
    margin-left: 0.5rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.navbar-logo-ct-fixed:hover {
    transform: scale(1.08) rotate(-2deg);
}

.navbar-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    flex: 1;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: .2rem 0 .2rem 0;
    max-width: 300px;
}

.footer-logo img {
    height: 32px;
    max-width: 80px;
    display: block;

    margin-top: 40px;
}

.footer-infos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray);
    margin-left: 30px; /* ajuste la valeur selon le rendu */
}

.footer-locations {
    font-size: 0.95rem;
    color: var(--gray);
    margin-left: 80px; /* ajuste la valeur selon le rendu */
}

footer {
    border-top: 1px solid var(--border-color);
    text-align: left;
    color: var(--gray);
    font-size: 0.5rem;
    background: #fff;
    margin-top: 0;
}

@media (max-width: 700px) {
    .footer-flex {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 1.2rem 0 0.5rem 0;
    }

    .footer-logo img {
        height: 38px;
        max-width: 90px;
    }

    .footer-infos {
        align-items: center;
    }
}

.stats-home {
    background: var(--primary);
    color: #fff;
    padding: 40px 0 30px 0;
    margin-bottom: 0;
}

.stats-flex {
    display: flex;
    justify-content: center;
    gap: 80px;
    align-items: center;
}

.stat-block {
    text-align: center;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #fff;
    transition: color 0.3s;
    gap: 4px;
}

.stat-plus {
    font-size: 2.2rem;
    font-weight: 700;
    margin-left: 2px;
    color: #fff;
    line-height: 1;
    position: relative;
    top: 2px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #e0e7ff;
    letter-spacing: 1px;
}

:root {
    --primary: #6366f1;
    --secondary: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #94a3b8;
    --border-color: rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.17, 0.55, 0.55, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 .2rem;
}

.container-large {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 .2rem;
}

nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo span {
    color: var(--dark);
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-left: 2rem;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    background: var(--light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: inline-block;
    border: 1px solid var(--border-color);
}

.section-separator {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.expertise-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.expertise-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.talent-card {
    min-width: calc(20% - 12px);
    height: 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dark);
}

.talent-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.4s;
}

.talent-card:hover img {
    opacity: 0.85;
    transform: scale(1.05);
}

.talent-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: white;
    z-index: 2;
    pointer-events: none;
    font-weight: 900;

    opacity: 1;
    filter: blur(0px);

    transition:
        transform 0.65s cubic-bezier(.77, 0, .175, 1),
        opacity 0.65s cubic-bezier(.77, 0, .175, 1),
        filter 0.65s cubic-bezier(.77, 0, .175, 1);
}

.talent-card:hover .talent-info {
    opacity: 0;
    filter: blur(12px);
    transform: translate(-50%, -90%);
}

.talent-info h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.separator {
    width: 40px;
    height: 2px;
    background: white;
    margin: 0 auto 8px auto;
    border-radius: 2px;
}

.talent-info p {
    font-size: 0.6rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

.carousel-btn:disabled {
    opacity: 0.1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 30px;
    height: 8px;
    background: var(--border-color);
    border-radius: 2px;
    cursor: pointer;
    margin: 0 4px; 
    display: inline-block;
    transform: rotate(-75deg); 
    transition: background 0.3s, transform 0.3s; 
}

.dot.active {
    background: var(--primary); 
}


.contact-box {
    max-width: 1500px;
    margin: 0 auto;
    border-radius: 18px;
    padding: 40px 30px 30px 30px;
}

.contact-title {
    text-align: left;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #0026a3;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.contact-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / 3;
}

.form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: #0026a3;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-bottom: 1px solid black;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group select {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%230026a3" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7.293 7.293a1 1 0 011.414 0L10 8.586l1.293-1.293a1 1 0 111.414 1.414l-2 2a1 1 0 01-1.414 0l-2-2a1 1 0 010-1.414z"/></svg>') no-repeat right 1rem center/1.2em auto;
}

select#objet option {
    color: #0026a3;
    background: #f3f4f6;
    font-weight: 600;
    font-size: 1rem;
}

select#objet option:checked {
    background: #6366f1;
    color: #fff;
}

.form-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.form-captcha {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #0026a3;
    font-weight: 600;
}

.btn-submit {
    padding: 10px 32px;
    border-radius: .25vh;
    border: none;
    background: #0026a3;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.btn-submit:hover {
    background: #1636c7;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: 1 / 2;
    }

    .contact-box {
        padding: 30px 8px 20px 8px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s;
}

#backToTop.visible {
    opacity: 1;
}

footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--gray);
    font-size: 0.8rem;
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    margin-left: 450px; 
    position: relative;
    top: 103px;
    gap: 1rem;
}

.social-links a {
    color: var(--dark);
    font-size: 2.1rem;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .contact-name {
        font-size: 2rem;
    }
}

.services {
    background: var(--light);
}

.title-small {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--gray);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    padding: 3rem;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.card.dark {
    background: var(--dark);
    color: white;
    border: none;
}

.icon-box {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-privacy {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-privacy .link-page {
    color: var(--primary, #6366f1);
    font-size: 0.95rem;
    text-decoration: underline;
}