/* ════════════════════════════════════════════════
   EDVCODER — Charte globale
   ════════════════════════════════════════════════ */
:root {
    --orange: #fd7e14;
    --orange-h: #fb923c;
    --orange-lt: #fff4ec;
    --orange-md: rgba(253, 126, 20, .15);
    --blue: #1a4494;
    --blue-deep: #0d2f6b;
    --blue-lt: #eef3fb;
    --blue-md: #d6e4f7;
    --white: #ffffff;
    --g50: #f8fafd;
    --g100: #eef1f7;
    --g200: #dde4ef;
    --g400: #94a3b8;
    --g600: #4b5e7a;
    --g800: #1e2f4a;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--g600);
    line-height: 1.75;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--g800);
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

a {
    transition: color .25s var(--ease);
}

section {
    padding: 88px 0;
}

/* Scroll reveal */
.sr {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.sr.sl {
    transform: translateX(-40px);
}

.sr.sr2 {
    transform: translateX(40px);
}

.sr.in {
    opacity: 1 !important;
    transform: none !important;
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

.d5 {
    transition-delay: .5s
}

.d6 {
    transition-delay: .6s
}

/* Bootstrap overrides */
.btn {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .05em;
    border-radius: 8px;
    padding: 11px 26px;
    transition: all .25s var(--ease);
}

.btn-primary {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(249, 115, 22, .28);
}

.btn-primary:hover {
    background: var(--blue-deep) !important;
    border-color: var(--blue-deep) !important;
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}


/* ════════════════════════════════════════════════
   HERO BANNIÈRE
   ════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(130deg, var(--blue-deep) 0%, var(--blue) 60%, #2259b8 100%);
}

/* Cercles déco */
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .06);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(249, 115, 22, .08);
    pointer-events: none;
}

/* Blob orange décor */
.hero-blob {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 115, 22, .18) 0%, transparent 70%);
}

/* Ligne d'accent top */
.hero-topline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-deep), var(--orange) 45%, var(--blue));
}

/* Grid géométrique subtil */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 72px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .08em;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
    animation: fadeSlideDown .6s var(--ease) .1s both;
}

.hero-badge i {
    color: var(--orange);
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .2);
    animation: fadeSlideDown .65s var(--ease) .2s both;
}

.hero-title .hl {
    color: var(--orange);
    position: relative;
}

.hero-title .hl::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: scaleIn .5s var(--ease) .85s both;
}

@keyframes scaleIn {
    from {
        transform: scaleX(0)
    }

    to {
        transform: scaleX(1)
    }
}

.hero-sub {
    color: rgba(255, 255, 255, .65);
    font-size: 15px;
    margin-bottom: 28px;
    animation: fadeSlideDown .7s var(--ease) .35s both;
}

.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 100px;
    padding: 7px 22px;
    font-size: 13px;
    animation: fadeSlideDown .7s var(--ease) .45s both;
    backdrop-filter: blur(6px);
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .2s;
}

.hero-breadcrumb a:hover {
    color: var(--orange);
}

.hero-breadcrumb .sep {
    color: rgba(255, 255, 255, .3);
    margin: 0 10px;
    font-size: 11px;
}

.hero-breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vague bas */
.hero-wave {
    display: block;
    width: 100%;
    line-height: 0;
    margin-top: -1px;
}

/* ════════════════════════════════════════════════
   SECTION LABELS
   ════════════════════════════════════════════════ */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.sec-label::before,
.sec-label::after {
    content: '';
    height: 2px;
    width: 22px;
    background: var(--orange);
    border-radius: 2px;
}

.sec-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--g800);
    margin-bottom: 16px;
}

/* ════════════════════════════════════════════════
   ABOUT MAIN
   ════════════════════════════════════════════════ */
.about-img-stack {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(13, 47, 107, .14);
}

.about-img-main img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.about-img-sub {
    margin-top: 14px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(13, 47, 107, .1);
}

.about-img-sub img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 16px 16px 200px 200px;
}

/* Badge flottant */
.img-float-badge {
    position: absolute;
    top: 24px;
    left: -20px;
    background: var(--white);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 28px rgba(13, 47, 107, .15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.ifb-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--orange-lt);
    border: 1.5px solid var(--orange-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 18px;
}

.ifb-num {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.ifb-lbl {
    font-size: 11px;
    color: var(--g400);
    font-weight: 600;
    line-height: 1.3;
}

/* Expertise pills */
.exp-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.exp-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all .25s var(--ease);
}

.exp-pill.blue {
    background: var(--blue-lt);
    border: 1.5px solid var(--blue-md);
    color: var(--blue);
}

.exp-pill.orange {
    background: var(--orange-lt);
    border: 1.5px solid var(--orange-md);
    color: var(--orange);
}

.exp-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(13, 47, 107, .1);
}

.exp-pill i {
    font-size: 18px;
}

/* Mission / Vision cards */
.mv-card {
    background: var(--white);
    border: 1px solid var(--g100);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all .3s var(--ease);
    margin-bottom: 16px;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--orange);
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease);
}

.mv-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, .08);
    border-color: rgba(249, 115, 22, .2);
}

.mv-card:hover::before {
    transform: scaleY(1);
}

.mv-card h4 {
    font-size: 16px;
    color: var(--g800);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-card h4 i {
    color: var(--orange);
    font-size: 18px;
}

.mv-card p {
    font-size: 14px;
    color: var(--g600);
    margin: 0;
    line-height: 1.7;
}

/* Stats row */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.stat-item {
    background: var(--g50);
    border: 1px solid var(--g100);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all .25s var(--ease);
}

.stat-item:hover {
    border-color: rgba(249, 115, 22, .2);
    background: var(--orange-lt);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, .08);
}

.stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--orange-lt);
    border: 1.5px solid var(--orange-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 16px;
    transition: all .25s;
}

.stat-item:hover .stat-icon {
    background: var(--orange);
    color: #fff;
}

.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--g800);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 12.5px;
    color: var(--g400);
    font-weight: 500;
}

/* ════════════════════════════════════════════════
   VALEURS
   ════════════════════════════════════════════════ */
.value-card {
    background: var(--white);
    border: 1px solid var(--g100);
    border-radius: 18px;
    padding: 32px 26px;
    text-align: center;
    height: 100%;
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(249, 115, 22, .1);
    border-color: rgba(249, 115, 22, .2);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.val-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--orange-lt);
    border: 1.5px solid var(--orange-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--orange);
    transition: all .35s var(--ease);
}

.value-card:hover .val-icon {
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    transform: rotate(-8deg) scale(1.08);
}

.value-card h5 {
    font-size: 17px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--g400);
    line-height: 1.7;
    margin: 0;
}

/* ════════════════════════════════════════════════
   TEAM
   ════════════════════════════════════════════════ */
.team-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(13, 47, 107, .09);
    transition: transform .3s var(--ease), box-shadow .3s;
    background: var(--white);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(13, 47, 107, .15);
}

.team-img-wrap {
    position: relative;
    overflow: hidden;
}

.team-img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}

.team-card:hover .team-img-wrap img {
    transform: scale(1.07);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 47, 107, .0);
    transition: background .35s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-overlay {
    background: rgba(13, 47, 107, .65);
}

.team-socials {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.team-card:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
}

.ts-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .15);
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all .22s;
    backdrop-filter: blur(4px);
}

.ts-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: scale(1.1);
}

.team-body {
    padding: 20px;
    text-align: center;
}

.team-body h5 {
    font-size: 17px;
    margin-bottom: 4px;
    transition: color .2s;
}

.team-card:hover .team-body h5 {
    color: var(--orange);
}

.team-body .role {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--g400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.role-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
}

/* ════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════ */
.cta-band {
    background: linear-gradient(120deg, var(--blue-deep), var(--blue) 60%, #2259b8 100%);
    border-radius: 24px;
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
}

.cta-band::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(249, 115, 22, .12);
}

.cta-band::after {
    content: '';
    position: absolute;
    left: 20%;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-band p {
    color: rgba(255, 255, 255, .6);
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .cta-band {
        flex-direction: column;
        text-align: center;
        margin: 0 12px;
        padding: 40px 28px;
    }

    .cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .img-float-badge {
        left: 10px;
    }
}