:root {
    --primary: #2c178a;
    --primary-light: #4828b3;
    --primary-lighter: #7045e1;
    --primary-soft: #ede8fb;
    --primary-glow: rgba(44, 23, 138, 0.35);
    --primary-glow-soft: rgba(44, 23, 138, 0.12);
    --dark-bg: #0c0814;
    --dark-gray: #2a2a2a;
    --text-muted: #6b6b6b;
    --light-gray: #f4f1fc;
    --border-soft: #dcd1f4;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

@media (max-width: 991px) {
    html {
        scroll-padding-top: 80px;
    }
}

body {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.82);
    background-color: #07050b;
    background-attachment: fixed;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.main-content {
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0%, rgba(7, 5, 11, 0) 80%, rgba(7, 5, 11, 0.6) 100%);
    z-index: 0;
}

.main-content > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* Top Bar */
.topbar {
    background-color: #1a1a1a;
    color: #fff;
    padding: 0.8rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid #333;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.topbar-text {
    color: #aaa;
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.social-links a:hover {
    color: #9b7eed;
}

.topbar-right {
    display: flex;
    gap: 2rem;
    color: #aaa;
}

.topbar-right a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.topbar-right a:hover {
    color: #fff;
}

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

/* Hero Section */
.hero {
    background-color: transparent;
    background-image:
        radial-gradient(ellipse 50% 40% at 90% 40%, rgba(72, 40, 179, 0.22) 0%, transparent 70%);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Decorative geometric shapes on the right (matches reference image) */
.hero-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-deco-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(180, 180, 195, 0.18) 0%, rgba(120, 80, 180, 0.12) 50%, rgba(60, 40, 90, 0.08) 100%);
    border: 1px solid rgba(192, 132, 252, 0.18);
}

.hero-deco-shape.s1 {
    top: -8%;
    right: -14%;
    width: 55%;
    height: 90%;
    clip-path: polygon(40% 0, 100% 0, 100% 60%, 60% 100%, 0 80%, 18% 30%);
    background: linear-gradient(135deg, rgba(200, 200, 215, 0.16) 0%, rgba(140, 100, 200, 0.1) 40%, rgba(60, 40, 90, 0.04) 100%);
    border: none;
    box-shadow: inset 0 0 60px rgba(192, 132, 252, 0.08);
}

.hero-deco-shape.s2 {
    top: 30%;
    right: -8%;
    width: 40%;
    height: 60%;
    clip-path: polygon(20% 0, 100% 30%, 80% 100%, 0 70%);
    background: linear-gradient(135deg, rgba(160, 130, 200, 0.14) 0%, rgba(80, 50, 130, 0.08) 100%);
    border: none;
}

.hero-deco-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(212, 165, 255, 0.55), transparent);
    width: 1.5px;
    transform-origin: top center;
}

.hero-deco-line.l1 { top: 5%;  right: 28%; height: 75%; transform: rotate(32deg);  opacity: 0.6; }
.hero-deco-line.l2 { top: 20%; right: 12%; height: 60%; transform: rotate(32deg);  opacity: 0.45; }
.hero-deco-line.l3 { top: 0;   right: 38%; height: 80%; transform: rotate(-28deg); opacity: 0.5;  background: linear-gradient(180deg, transparent, rgba(220, 220, 235, 0.45), transparent); }
.hero-deco-line.l4 { top: 15%; right: 5%;  height: 65%; transform: rotate(-28deg); opacity: 0.35; background: linear-gradient(180deg, transparent, rgba(220, 220, 235, 0.4), transparent); }

.hero-deco-glow {
    position: absolute;
    right: -5%;
    top: 25%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(124, 62, 175, 0.35) 0%, transparent 70%);
    filter: blur(50px);
}

.hero > *:not(.hero-deco) {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 1280px;
    padding: 0 2.5rem 6rem;
    margin: 200px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Trust pill at the top of the hero (left-aligned) */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: rgba(15, 10, 22, 0.6);
    border: 1px solid rgba(112, 69, 225, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #c4b8ee;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin: 0 auto 1.8rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.05s both;
}

.hero-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7045e1;
    box-shadow: 0 0 0 3px rgba(112, 69, 225, 0.18), 0 0 10px rgba(112, 69, 225, 0.85);
    animation: heroPulse 2s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(112, 69, 225, 0.18), 0 0 10px rgba(112, 69, 225, 0.85); }
    50%      { box-shadow: 0 0 0 7px rgba(112, 69, 225, 0.05), 0 0 18px rgba(112, 69, 225, 1); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1.3rem;
    max-width: 1100px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.035em;
    text-transform: none;
    color: #fff;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-title-muted {
    color: #6238c8;
    font-weight: 800;
}

.hero-title-accent {
    font-weight: 800;
    background: linear-gradient(
        120deg,
        #666 0%,
        #bbb 20%,
        #777 40%,
        #ddd 50%,
        #777 60%,
        #bbb 80%,
        #555 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #6238c8;
    margin-left: 6px; /* espace avec le texte */
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2rem;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    max-width: 720px;
    animation: fadeInUp 0.8s ease-out 0.25s both;
}

.hero-subtitle strong {
    color: #fff;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
    animation: fadeInUp 0.8s ease-out 0.35s both;
}

.hero-btn-arrow {
    transition: transform 0.35s ease;
}

.btn-primary-hero:hover .hero-btn-arrow {
    transform: translateX(4px);
}

/* Stats card */
.hero-stats-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2rem;
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: rgba(18, 13, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    margin-bottom: 0.85rem;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.hero-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: -0.5rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.hero-stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #6238c8;
    letter-spacing: -0.02em;
}

.hero-stat-value span {
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 0.1rem;
}

.hero-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Certifications row (auto-scrolling marquee) */
.hero-certs {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.5rem;
    width: 100%;
    background: rgba(18, 13, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    animation: fadeInUp 0.8s ease-out 0.55s both;
    overflow: hidden;
}

.hero-certs-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    padding-right: 0.9rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.hero-certs-viewport {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.hero-certs-track {
    display: flex;
    gap: 0.55rem;
    width: max-content;
    animation: heroCertsScroll 32s linear infinite;
}

@keyframes heroCertsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.hero-certs-label i {
    font-size: 1rem;
}

.hero-cert-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.2px;
    transition: all 0.3s ease;
}

.hero-cert-chip i {
    color: #6238c8;
    font-size: 0.85rem;
}

/* Floating "Score RSE" CTA bottom-right */
.hero-floating-cta {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1.4rem;
    background: rgba(15, 10, 22, 0.92);
    border: 1.5px solid rgba(98, 56, 200, 0.55);
    border-radius: 999px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow:
        0 0 0 1px rgba(98, 56, 200, 0.15),
        0 12px 32px rgba(44, 23, 138, 0.5),
        0 0 24px rgba(98, 56, 200, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.8s ease-out 0.75s both;
}

.hero-floating-cta i {
    color: #7045e1;
    font-size: 1rem;
}

.hero-floating-cta:hover {
    color: #fff;
    border-color: #7045e1;
    transform: translateY(-3px);
    box-shadow:
        0 0 0 1px rgba(112, 69, 225, 0.3),
        0 18px 40px rgba(44, 23, 138, 0.6),
        0 0 40px rgba(112, 69, 225, 0.4);
}

/* Scroll indicator - sits in the flex flow below .hero-certs */
.hero-scroll {
    align-self: center;
    margin-top: 2.5rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-scroll:hover {
    color: #fff;
    transform: translateY(-2px);
}

.hero-scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    position: relative;
    display: block;
}

.hero-scroll-wheel {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 2.5px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: heroScrollWheel 1.8s ease-in-out infinite;
}

@keyframes heroScrollWheel {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    40%  { opacity: 1; }
    80%  { opacity: 0; transform: translate(-50%, 12px); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

.btn-primary-hero {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(112, 69, 225, 0.6);
    padding: 0.95rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 0 1px rgba(112, 69, 225, 0.15), 0 8px 24px rgba(44, 23, 138, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-primary-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(112, 69, 225, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary-hero:hover::before {
    transform: translateX(100%);
}

.btn-primary-hero:hover {
    color: #fff;
    border-color: #7045e1;
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(112, 69, 225, 0.35), 0 14px 32px rgba(44, 23, 138, 0.55), 0 0 30px rgba(112, 69, 225, 0.25);
}

.btn-primary-hero i {
    color: #7045e1;
    font-size: 1rem;
}

.btn-secondary-hero {
    background: rgba(20, 14, 30, 0.6);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    padding: 0.95rem 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(30, 22, 44, 0.8);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.btn-secondary-hero i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.fixed-top {
    position: fixed;
    top: 0;
    /* right: 13%!important;
    left: 13%!important;*/
    z-index: 1030;
}

/* Navbar styles */
.navbar {
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(12, 8, 20, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(112, 69, 225, 0.08);
}

.navbar.scrolled .nav-link {
    color: #dcd0f8 !important;
}

.navbar.scrolled .nav-link:hover {
    color: #9b7eed !important;
}

@media (min-width: 1400px) {
    .navbar-brand {
        margin-left: -6rem;
    }
}

.navbar-links{
    font-size: 14px;
}

@media (min-width: 1200px) {
    .navbar-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 !important;
    }

    /* Le ul étant sorti du flux, on pousse les boutons à droite */
    .navbar-collapse > .btn-dd-orange {
        margin-left: auto;
    }
}

/* Empêche le numéro de téléphone et le bouton devis de se casser sur plusieurs lignes */
.btn-light-navbar,
.btn-dd-orange {
    white-space: nowrap;
}

/* Espace minimal entre les éléments de la navbar à toutes les tailles desktop */
@media (min-width: 992px) {
    .navbar .container {
        gap: 0.75rem;
    }

    .navbar-collapse {
        gap: 0.5rem;
    }
}

/* Réduit les paddings et tailles sur largeurs intermédiaires pour éviter le débordement */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-links {
        font-size: 13px;
    }

    .navbar-links .nav-item {
        margin: 0 0.15rem;
    }

    .btn-dd-orange {
        padding: 0.5rem 1rem;
        font-size: 0.72rem;
        letter-spacing: 0.8px;
    }

    .btn-light-navbar {
        padding: 0.5rem 1rem;
        font-size: 0.78rem;
    }

    .navbar-brand img {
        width: 160px;
    }
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7045e1, #9b7eed);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: #9b7eed !important;
}

.nav-link:hover::after {
    width: 80%;
}

/* Caret du dropdown : remettre en ligne avec le texte */
.nav-link.dropdown-toggle::after {
    content: '';
    position: static;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.4em;
    vertical-align: middle;
    background: none;
    border: none;
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-left: 0.35em solid transparent;
    transform: none;
    border-radius: 0;
}

.btn-light-navbar {
    background: rgba(15, 10, 22, 0.85);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 0.55rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
}

.btn-light-navbar:hover {
    background: rgba(30, 22, 44, 0.9);
    color: #fff;
    border-color: rgba(112, 69, 225, 0.45);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

/* Certifications Badges */
.certifications-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Clients Logos Section */
.clients-logos {
    background-color: transparent;
    padding: 1rem 2rem 3rem 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.clients-logos-grid {
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.5rem;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.clients-logos-grid .client-logo:nth-child(5n) {
    border-right: none;
}

.client-logo img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto !important;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-3px);
}

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

/* Logos contenant des éléments blancs invisibles sur fond clair :
   on leur donne une pastille foncée subtile pour les rendre lisibles */
.client-logo.client-logo-dark-bg {
    position: relative;
}

.client-logo.client-logo-dark-bg::before {
    content: "";
    position: absolute;
    inset: 1.25rem 0.75rem;
    background: #1a1a2e;
    border-radius: 12px;
    z-index: 0;
}

.client-logo.client-logo-dark-bg img {
    position: relative;
    z-index: 1;
    padding: 0.5rem 0.75rem;
}

.clients-logos-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 2.5rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.clients-logos-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 0.75rem auto 0;
    background: linear-gradient(90deg, #7045e1, #9b7eed);
    border-radius: 999px;
    box-shadow: 0 2px 14px rgba(112, 69, 225, 0.4);
}

.clients-logos-section {
    padding-top: 2rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
    background: #ffffff;
}

.clients-logos::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 80% 20%, rgba(112, 69, 225, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 15% 80%, rgba(155, 126, 237, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.clients-logos > * {
    position: relative;
    z-index: 2;
}

.btn-dd-orange {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(112, 69, 225, 0.6);
    padding: 0.55rem 1.6rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-right: 0.5rem;
    letter-spacing: 1.2px;
    box-shadow: 0 0 0 1px rgba(112, 69, 225, 0.15), 0 8px 22px rgba(44, 23, 138, 0.4);
    text-transform: uppercase;
}

.btn-dd-orange:hover {
    background: rgba(112, 69, 225, 0.12);
    color: #fff;
    border-color: #7045e1;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(112, 69, 225, 0.3), 0 12px 28px rgba(44, 23, 138, 0.55), 0 0 24px rgba(112, 69, 225, 0.25);
}

@media (max-width: 768px) {
    .clients-logos-title {
        font-size: 1.5rem;
    }

    .clients-logos-section {
        padding: 2.5rem 1rem 1rem;
    }
}

@media (max-width: 768px) {
    .certifications-badges {
        gap: 0.6rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .clients-logos {
        padding: 2rem 1rem;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    .clients-logos-grid .client-logo:nth-child(4n) {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .clients-logos-grid .client-logo:nth-child(3n) {
        border-right: none;
    }

    .client-logo {
        padding: 1.25rem 0.75rem;
    }

    .client-logo img {
        max-height: 45px;
    }

    .badge {
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
    }

}

@media (max-width: 480px) {
    .certifications-badges {
        gap: 0.4rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .clients-logos {
        padding: 1.5rem 0.5rem;
    }

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

    .clients-logos-grid .client-logo:nth-child(5n),
    .clients-logos-grid .client-logo:nth-child(3n) {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .clients-logos-grid .client-logo:nth-child(2n) {
        border-right: none;
    }

    .client-logo {
        padding: 1rem 0.5rem;
    }

    .client-logo img {
        max-height: 38px;
    }

    .badge {
        padding: 0.4rem 0.7rem;
        font-size: 0.65rem;
        gap: 0.3rem;
    }
}

.badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    letter-spacing: 0.2px;
}

.badge:hover {
    background: linear-gradient(135deg, rgba(112, 69, 225, 0.45), rgba(44, 23, 138, 0.55));
    border-color: rgba(155, 126, 237, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(44, 23, 138, 0.4);
}

.badge i {
    font-size: 0.95rem;
    color: #9b7eed;
}

.badge:hover i {
    color: #fff;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.1rem;
    }

    .hero-stats-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.5rem;
        padding: 1.4rem 1.5rem;
    }

    .hero-stat-item {
        flex: unset;
    }

    .hero-stat-item:not(:last-child)::after {
        display: none;
    }

    .hero-stat-value {
        font-size: 1.8rem;
    }

    .hero-certs {
        justify-content: center;
    }

    /* Cache la CTA flottante sur tablette/mobile pour éviter collision avec .floating-btn */
    .hero-floating-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
    }

    .hero-content {
        margin-top: 100px;
        padding: 0 1rem 2.5rem;
    }

    .hero-pill {
        font-size: 0.65rem;
        padding: 0.45rem 1rem;
        letter-spacing: 0.6px;
        text-align: center;
        line-height: 1.4;
        margin: 0 auto 1.5rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    /* Désactive les <br> imposés du hero title sur mobile */
    .hero-title br {
        display: none;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 360px;
        margin-bottom: 2.2rem;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1.6rem;
    }

    .hero-stats-card {
        padding: 1.2rem 1rem;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .hero-certs {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.9rem 1rem;
    }

    .hero-certs-label {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 0.6rem;
        width: 100%;
        justify-content: center;
    }

    .hero-cert-chip {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-floating-cta {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .hero-deco {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }

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

    .hero-pill {
        font-size: 0.6rem;
    }

    .hero-stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem 0.8rem;
    }

    .hero-stat-value {
        font-size: 1.3rem;
    }
}

/* Navbar dark on mobile/tablet (matches hero) */
@media (max-width: 1199px) {
    .navbar {
        background-color: rgba(12, 8, 20, 0.92) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(112, 69, 225, 0.08);
    }

    .navbar-brand img {
        width: 150px;
    }

    .nav-link {
        color: #dcd0f8 !important;
    }

    .nav-link:hover {
        color: #9b7eed !important;
    }

    .nav-link::after {
        background: linear-gradient(90deg, #7045e1, #9b7eed);
    }

    .navbar-toggler {
        border-color: rgba(112, 69, 225, 0.4);
        background: rgba(112, 69, 225, 0.08);
    }

    .navbar-toggler-icon {
        filter: invert(1) brightness(1.3);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(112, 69, 225, 0.25);
    }

    .fixed-top {
        position: fixed;
        top: 0;
        right: 0!important;
        left: 0!important;
        z-index: 1030;
    }

    .navbar-links {
        margin-left: 0!important;
        margin-bottom: 1rem!important;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    /* Boutons CTA dans le menu mobile : pleine largeur, espacés */
    .navbar-collapse .btn-dd-orange,
    .navbar-collapse .btn-light-navbar {
        display: block;
        width: 100%;
        margin: 0.4rem 0;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .navbar-brand img {
        width: 130px;
    }
}

/* Footer Section */
.footer {
    background:
        radial-gradient(circle at 15% 20%, rgba(44, 23, 138, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(72, 40, 179, 0.18) 0%, transparent 45%),
        linear-gradient(135deg, #0a0510 0%, #050308 100%);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 1rem 2rem;
    margin-top: 0;
    border-top: 1px solid rgba(112, 69, 225, 0.18);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2c178a 30%, #7045e1 50%, #2c178a 70%, transparent);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #2c178a;
    padding-bottom: 0.8rem;
    display: inline-block;
}

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

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

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: #7045e1;
    padding-left: 0.3rem;
}

.footer-section.contact p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #999;
}

.footer-section.contact a {
    color: #7045e1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-section.contact a:hover {
    color: #9b7eed;
}

.footer-section.contact .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-section.contact .social-icons a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(112, 69, 225, 0.08);
    border: 1px solid rgba(112, 69, 225, 0.4);
    border-radius: 50%;
    color: #7045e1;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1rem;
    padding: 0;
}

.footer-section.contact .social-icons a:hover {
    background: linear-gradient(135deg, #2c178a 0%, #4828b3 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(44, 23, 138, 0.45);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer-bottom-left {
    font-size: 0.85rem;
    color: #666;
}

.footer-bottom-center {
    gap: 2rem;
    font-size: 0.85rem;
    justify-content: center;
    align-items: center;
}

.footer-bottom-center a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom-center a:hover {
    color: #7045e1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 1.5rem;
    }

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

    .footer-section h3 {
        font-size: 0.95rem;
    }

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

    .footer-bottom-center {
        width: 100%;
        justify-content: center;
    }
}
