/* =========================================================
   CABINET MORY DIAKHATE — STYLE PRINCIPAL
   Couleurs :
   Bleu principal : #1E489D
   Bleu foncé     : #213872
   Blanc          : #FFFFFF
========================================================= */

:root {
    --primary: #1E489D;
    --primary-dark: #163979;
    --secondary: #213872;
    --blue-light: #EAF0FB;

    --white: #ffffff;
    --black: #101828;

    --text: #475467;
    --text-light: #667085;

    --border: #E4E7EC;
    --background: #F8FAFC;
    --background-blue: #F3F7FD;

    --shadow-sm: 0 4px 20px rgba(33, 56, 114, 0.08);
    --shadow-md: 0 15px 40px rgba(33, 56, 114, 0.12);
    --shadow-lg: 0 25px 70px rgba(33, 56, 114, 0.18);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 25px;

    --transition: all 0.35s ease;

    --font-body: "DM Sans", sans-serif;
    --font-title: "Playfair Display", serif;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* =========================================================
   PRELOADER
========================================================= */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--secondary);

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-logo {
    width: 80px;
    height: 80px;

    margin: auto;

    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 30px;

    animation: loaderPulse 1.5s infinite;
}

.loader-line {
    width: 100px;
    height: 2px;

    margin: 25px auto 15px;

    background: var(--primary);
}

.loader-content p {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .75;
}

@keyframes loaderPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30,72,157,.35);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(30,72,157,0);
    }
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    background: var(--secondary);
    color: rgba(255,255,255,.75);

    font-size: 12px;
}

.topbar-content {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.topbar span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar i {
    color: #7FA8FF;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid rgba(33,56,114,.08);

    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(15px);
}

.nav-container {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    width: 48px;
    height: 48px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--secondary);
    color: var(--white);

    font-size: 21px;

    position: relative;
}

.logo-symbol::after {
    content: "";

    position: absolute;

    inset: -4px;

    border: 1px solid rgba(30,72,157,.25);
    border-radius: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.logo-text strong {
    color: var(--secondary);
    font-size: 14px;
    letter-spacing: 1.2px;
}

.logo-text span {
    color: var(--primary);
    font-family: var(--font-title);
    font-size: 19px;
}

.logo-text small {
    color: var(--text-light);
    margin-top: 3px;

    font-size: 7px;
    letter-spacing: 3px;
}


/* NAVIGATION */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;

    color: var(--secondary);

    font-size: 13px;
    font-weight: 600;

    padding: 10px 0;

    transition: var(--transition);
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: width .3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-contact {
    padding: 12px 20px;

    background: var(--primary);
    color: var(--white);

    border-radius: 7px;
}

.nav-contact::after {
    display: none;
}

.nav-contact:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    width: 45px;
    height: 45px;

    border: 0;
    background: var(--background-blue);

    border-radius: 8px;

    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 21px;
    height: 2px;

    background: var(--secondary);

    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: calc(100vh - 126px);

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #f7faff 0%,
            #eef4fc 55%,
            #e4ecf9 100%
        );
}

.hero-background {
    position: absolute;

    width: 650px;
    height: 650px;

    right: -180px;
    top: -200px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(30,72,157,.14),
            rgba(30,72,157,0) 70%
        );
}

.hero-shape {
    position: absolute;

    border: 1px solid rgba(30,72,157,.08);

    border-radius: 50%;
}

.shape-one {
    width: 500px;
    height: 500px;

    right: 7%;
    top: 15%;
}

.shape-two {
    width: 700px;
    height: 700px;

    right: -5%;
    top: 0;

    border-color: rgba(30,72,157,.04);
}

.hero-container {
    min-height: calc(100vh - 126px);

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 50px;

    padding-top: 60px;
    padding-bottom: 80px;

    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 25px;
}

.badge-line {
    width: 35px;
    height: 2px;

    background: var(--primary);
}

.hero-title {
    color: var(--secondary);

    font-family: var(--font-title);

    font-size: clamp(48px, 5.5vw, 78px);

    line-height: 1.08;

    font-weight: 600;

    margin-bottom: 25px;

    letter-spacing: -2px;
}

.hero-title span {
    color: var(--primary);
    font-style: italic;
}

.hero-title strong {
    color: var(--secondary);
}

.hero-description {
    max-width: 590px;

    color: var(--text);

    font-size: 16px;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;

    flex-wrap: wrap;
}


/* BUTTONS */

.btn {
    min-height: 52px;

    padding: 0 24px;

    border-radius: 7px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);

    box-shadow: 0 10px 25px rgba(30,72,157,.2);
}

.btn-primary:hover {
    background: var(--secondary);

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(33,56,114,.25);
}

.btn-outline {
    border: 1px solid rgba(33,56,114,.2);

    color: var(--secondary);

    background: rgba(255,255,255,.5);
}

.btn-outline:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);

    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--secondary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-transparent {
    color: var(--white);
    border: 1px solid rgba(255,255,255,.35);
}

.btn-transparent:hover {
    background: rgba(255,255,255,.1);
}


/* HERO SIGNATURE */

.hero-signature {
    margin-top: 40px;

    display: flex;
    align-items: center;
    gap: 14px;
}

.signature-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--white);
    color: var(--primary);

    box-shadow: var(--shadow-sm);
}

.hero-signature div:last-child {
    display: flex;
    flex-direction: column;
}

.hero-signature strong {
    color: var(--secondary);
    font-size: 13px;
}

.hero-signature span {
    color: var(--text-light);
    font-size: 11px;
}


/* HERO VISUAL */

.hero-visual {
    min-height: 570px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-main {
    width: min(390px, 85%);
    min-height: 480px;

    position: relative;

    border-radius: 220px 220px 20px 20px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #213872,
            #15294f
        );

    box-shadow:
        0 35px 80px rgba(33,56,114,.3);

    color: var(--white);

    animation: heroFloat 6s ease-in-out infinite;
}

.hero-card-main::before {
    content: "";

    position: absolute;

    inset: 20px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 200px 200px 10px 10px;
}

.hero-card-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    top: -80px;

    background: rgba(30,72,157,.5);

    filter: blur(60px);

    border-radius: 50%;
}

.hero-scale {
    position: relative;

    width: 100px;
    height: 100px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 40px;

    margin-bottom: 30px;
}

.hero-card-label {
    position: relative;

    font-size: 9px;

    letter-spacing: 4px;

    opacity: .65;

    margin-bottom: 20px;
}

.hero-card-main h3 {
    position: relative;

    font-family: var(--font-title);

    font-size: 32px;

    line-height: 1.2;

    font-weight: 500;
}

.hero-card-bottom {
    position: absolute;

    bottom: 38px;

    left: 50%;

    transform: translateX(-50%);

    width: 80%;

    display: flex;
    justify-content: center;

    gap: 20px;

    font-size: 10px;

    color: rgba(255,255,255,.65);
}

.hero-card-bottom i {
    color: #75a3ff;
    margin-right: 4px;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* FLOATING CARDS */

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 12px;

    background: rgba(255,255,255,.96);

    padding: 13px 18px;

    border-radius: 12px;

    box-shadow: var(--shadow-md);

    z-index: 3;

    animation: floatingCard 5s ease-in-out infinite;
}

.floating-card strong {
    display: block;

    color: var(--secondary);

    font-size: 12px;
}

.floating-card span {
    display: block;

    color: var(--text-light);

    font-size: 9px;
}

.floating-card-one {
    left: 0;
    top: 24%;

    animation-delay: -1s;
}

.floating-card-two {
    right: 0;
    bottom: 20%;
}

.floating-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;
}

.floating-icon.blue {
    background: #e9f0ff;
    color: var(--primary);
}

.floating-icon.gold {
    background: #eef3fb;
    color: var(--secondary);
}

@keyframes floatingCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* HERO SCROLL */

.hero-scroll {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--text-light);

    font-size: 8px;
    letter-spacing: 3px;

    z-index: 3;
}

.hero-scroll i {
    color: var(--primary);

    animation: scrollArrow 1.5s infinite;
}

@keyframes scrollArrow {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 60px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--primary);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 16px;
}

.eyebrow::before {
    content: "";

    width: 25px;
    height: 2px;

    background: currentColor;
}

.eyebrow.light {
    color: #9dbaff;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    color: var(--secondary);

    font-family: var(--font-title);

    font-size: clamp(34px, 4vw, 52px);

    line-height: 1.15;

    font-weight: 600;
}

.section-heading h2 span {
    color: var(--primary);
    font-style: italic;
}

.section-heading p {
    margin-top: 20px;

    color: var(--text-light);

    font-size: 15px;
}

.heading-line {
    width: 55px;
    height: 2px;

    margin: 20px auto 0;

    background: var(--primary);
}


/* =========================================================
   CABINET
========================================================= */

.cabinet-section {
    background: var(--white);
}

.cabinet-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    align-items: center;

    gap: 90px;
}

.cabinet-visual {
    position: relative;

    padding: 20px;
}

.cabinet-image {
    min-height: 510px;

    border-radius: 14px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #213872,
            #1E489D
        );
}

.cabinet-image::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    top: -100px;
    right: -100px;

    background: rgba(255,255,255,.08);
}

.cabinet-image::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    bottom: -90px;
    left: -90px;

    background: rgba(255,255,255,.05);
}

.image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(33,56,114,.1),
            rgba(13,28,58,.7)
        );
}

.cabinet-emblem {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 220px;
    height: 220px;

    border: 1px solid rgba(255,255,255,.35);

    border-radius: 50%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: var(--white);

    text-align: center;

    z-index: 2;
}

.cabinet-emblem i {
    font-size: 55px;

    margin-bottom: 18px;
}

.cabinet-emblem span {
    font-size: 8px;
    letter-spacing: 2px;
}

.experience-card {
    position: absolute;

    left: -5px;
    bottom: 5px;

    background: var(--white);

    padding: 20px 25px;

    border-radius: 10px;

    box-shadow: var(--shadow-md);

    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-card strong {
    color: var(--primary);

    font-family: var(--font-title);

    font-size: 45px;

    line-height: 1;
}

.experience-card span {
    color: var(--secondary);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.cabinet-content h3 {
    color: var(--secondary);

    font-family: var(--font-title);

    font-size: 36px;

    line-height: 1.25;

    margin-bottom: 25px;
}

.cabinet-content p {
    color: var(--text);

    font-size: 15px;

    margin-bottom: 18px;
}

.cabinet-content strong {
    color: var(--secondary);
}

.quote-box {
    margin-top: 30px;

    padding: 25px;

    border-left: 3px solid var(--primary);

    background: var(--background-blue);

    position: relative;
}

.quote-box > i {
    color: var(--primary);

    font-size: 22px;

    margin-bottom: 8px;
}

.quote-box p {
    margin: 0;

    color: var(--secondary);

    font-family: var(--font-title);

    font-size: 17px;

    font-style: italic;
}


/* =========================================================
   VALUES
========================================================= */

.values-section {
    padding: 105px 0;

    position: relative;

    overflow: hidden;

    background: var(--secondary);
}

.values-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: -300px;

    border-radius: 50%;

    background: rgba(30,72,157,.3);
}

.section-heading.light h2 {
    color: var(--white);
}

.section-heading.light h2 span {
    color: #8eb0ff;
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    position: relative;
    z-index: 2;
}

.value-card {
    min-height: 330px;

    padding: 30px 25px;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 12px;

    background: rgba(255,255,255,.04);

    position: relative;

    overflow: hidden;

    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);

    background: rgba(255,255,255,.08);

    border-color: rgba(130,165,255,.3);
}

.value-number {
    color: rgba(255,255,255,.12);

    font-family: var(--font-title);

    font-size: 50px;

    position: absolute;

    right: 18px;
    top: 10px;
}

.value-icon {
    width: 55px;
    height: 55px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.08);

    color: #8eb0ff;

    font-size: 20px;

    margin-bottom: 30px;
}

.value-card h3 {
    color: var(--white);

    font-family: var(--font-title);

    font-size: 25px;

    margin-bottom: 12px;
}

.value-card p {
    color: rgba(255,255,255,.6);

    font-size: 13px;
}

.value-arrow {
    position: absolute;

    left: 25px;
    bottom: 25px;

    color: #8eb0ff;

    transition: var(--transition);
}

.value-card:hover .value-arrow {
    transform: translateX(6px);
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background: var(--background);
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.service-card {
    min-height: 320px;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    position: relative;

    overflow: hidden;

    transition: var(--transition);
}

.service-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    right: -100px;
    bottom: -100px;

    background: var(--background-blue);

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(30,72,157,.25);

    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    transform: scale(1.5);
    background: #e6eefc;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

.service-number {
    color: #b4bfd1;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.service-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--background-blue);

    color: var(--primary);

    font-size: 21px;

    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);

    transform: rotate(-5deg);
}

.service-card h3 {
    color: var(--secondary);

    font-family: var(--font-title);

    font-size: 25px;

    margin-bottom: 12px;

    position: relative;
}

.service-card p {
    color: var(--text-light);

    font-size: 13px;

    margin-bottom: 25px;

    position: relative;
}

.service-link {
    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    position: relative;

    transition: var(--transition);
}

.service-link:hover {
    gap: 15px;
}


/* =========================================================
   DOMAINES
========================================================= */

.domains-section {
    padding: 110px 0;

    background:
        linear-gradient(
            145deg,
            #182d59,
            #213872 60%,
            #1E489D
        );

    position: relative;

    overflow: hidden;
}

.domains-section::before {
    content: "";

    position: absolute;

    width: 800px;
    height: 800px;

    border: 1px solid rgba(255,255,255,.05);

    border-radius: 50%;

    right: -400px;
    top: -300px;
}

.domains-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    position: relative;
    z-index: 2;
}

.domain-card {
    padding: 32px;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 14px;

    color: var(--white);

    transition: var(--transition);

    position: relative;

    overflow: hidden;
}

.domain-card:hover {
    transform: translateY(-8px);

    background: rgba(255,255,255,.1);

    border-color: rgba(255,255,255,.25);
}

.domain-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.08);

    border-radius: 12px;

    color: #91b3ff;

    font-size: 22px;

    margin-bottom: 25px;
}

.domain-number {
    position: absolute;

    right: 25px;
    top: 20px;

    color: rgba(255,255,255,.15);

    font-family: var(--font-title);

    font-size: 48px;
}

.domain-card h3 {
    font-family: var(--font-title);

    font-size: 26px;

    margin-bottom: 12px;
}

.domain-card > p {
    color: rgba(255,255,255,.6);

    font-size: 13px;

    margin-bottom: 25px;
}

.domain-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 28px;
}

.domain-card li {
    display: flex;
    gap: 10px;

    color: rgba(255,255,255,.72);

    font-size: 11px;

    line-height: 1.5;
}

.domain-card li i {
    color: #83a8ff;

    margin-top: 4px;
}

.domain-link {
    color: #a8c1ff;

    font-size: 11px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    transition: var(--transition);
}

.domain-link:hover {
    color: var(--white);
    gap: 15px;
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy-section {
    padding: 120px 0;

    background: var(--background-blue);

    overflow: hidden;
}

.philosophy-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;
}

.philosophy-content {
    max-width: 600px;
}

.philosophy-content h2 {
    color: var(--secondary);

    font-family: var(--font-title);

    font-size: 48px;

    line-height: 1.15;

    margin-bottom: 25px;
}

.philosophy-content h2 span {
    color: var(--primary);
    font-style: italic;
}

.philosophy-content p {
    color: var(--text);

    font-size: 15px;

    margin-bottom: 18px;
}

.philosophy-content .btn {
    margin-top: 20px;
}

.philosophy-visual {
    min-height: 470px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-circle {
    width: 310px;
    height: 310px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--secondary),
            var(--primary)
        );

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 30px 70px rgba(30,72,157,.25);

    position: relative;

    z-index: 2;
}

.circle-inner {
    width: 245px;
    height: 245px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 50%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: var(--white);

    text-align: center;
}

.circle-inner i {
    font-size: 50px;

    margin-bottom: 15px;
}

.circle-inner span {
    font-size: 9px;
    letter-spacing: 4px;

    opacity: .7;
}

.circle-inner strong {
    font-family: var(--font-title);

    font-size: 27px;
}

.orbit {
    position: absolute;

    border: 1px solid rgba(30,72,157,.15);

    border-radius: 50%;
}

.orbit-one {
    width: 410px;
    height: 410px;

    animation: orbitRotate 20s linear infinite;
}

.orbit-two {
    width: 500px;
    height: 500px;

    border-color: rgba(30,72,157,.08);

    animation: orbitRotate 30s linear infinite reverse;
}

@keyframes orbitRotate {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   LEGAL
========================================================= */

.legal-section {
    padding: 110px 0;

    background: var(--white);
}

.legal-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.legal-item {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 10px;

    display: flex;
    gap: 18px;

    transition: var(--transition);
}

.legal-item:hover {
    border-color: rgba(30,72,157,.25);

    box-shadow: var(--shadow-sm);

    transform: translateY(-4px);
}

.legal-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--background-blue);

    color: var(--primary);

    border-radius: 9px;
}

.legal-item h3 {
    color: var(--secondary);

    font-size: 14px;

    margin-bottom: 5px;
}

.legal-item p {
    color: var(--text-light);

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   EQUIPE
========================================================= */

.team-section {
    background: var(--background);
}

.team-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;
}

.team-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 12px;

    overflow: hidden;

    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-md);
}

.team-photo {
    height: 245px;

    background:
        linear-gradient(
            145deg,
            #e9eef7,
            #dbe5f4
        );

    position: relative;

    overflow: hidden;
}

.team-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8ea3c5;

    font-size: 60px;
}

.team-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.team-overlay {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(30,72,157,.75);

    opacity: 0;

    transition: var(--transition);
}

.team-overlay i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    color: var(--primary);

    border-radius: 50%;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-info {
    padding: 18px;
}

.team-info span {
    color: var(--primary);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.team-info h3 {
    color: var(--secondary);

    font-family: var(--font-title);

    font-size: 18px;

    line-height: 1.3;

    margin-top: 5px;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 100px 0;

    background:
        linear-gradient(
            120deg,
            var(--primary),
            var(--secondary)
        );

    position: relative;

    overflow: hidden;

    color: var(--white);
}

.cta-decoration {
    position: absolute;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;
}

.cta-decoration-one {
    width: 500px;
    height: 500px;

    right: -180px;
    top: -200px;
}

.cta-decoration-two {
    width: 300px;
    height: 300px;

    left: -150px;
    bottom: -150px;
}

.cta-content {
    max-width: 700px;

    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: var(--font-title);

    font-size: clamp(40px, 5vw, 60px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.cta-content h2 span {
    color: #a9c2ff;
    font-style: italic;
}

.cta-content p {
    max-width: 600px;

    color: rgba(255,255,255,.7);

    font-size: 15px;

    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 75px 0 0;

    background: #101d38;

    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr .7fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 60px;
}

.footer-logo .logo-text strong,
.footer-logo .logo-text span {
    color: var(--white);
}

.footer-logo .logo-text small {
    color: rgba(255,255,255,.5);
}

.footer-brand > p {
    max-width: 350px;

    color: rgba(255,255,255,.55);

    font-size: 12px;

    margin-top: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {
    color: var(--white);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,.55);

    font-size: 12px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: #9cb9ff;

    transform: translateX(4px);
}

.footer-contact p {
    color: rgba(255,255,255,.55);

    font-size: 12px;

    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: #83a8ff;

    margin-top: 4px;
}

.footer-bottom {
    min-height: 65px;

    border-top: 1px solid rgba(255,255,255,.08);

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: rgba(255,255,255,.4);

    font-size: 10px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: 0;

    border-radius: 8px;

    background: var(--primary);
    color: var(--white);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);

    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary);

    transform: translateY(-4px);
}


/* =========================================================
   ANIMATIONS SCROLL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1100px) {

    .nav-menu {
        gap: 18px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-title {
        font-size: 58px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 900px) {

    .topbar-left span:nth-child(2) {
        display: none;
    }

    .nav-container {
        min-height: 75px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;

        top: 113px;
        left: 0;
        right: 0;

        background: var(--white);

        padding: 25px;

        flex-direction: column;
        align-items: stretch;

        gap: 5px;

        box-shadow: var(--shadow-md);

        transform: translateY(-130%);

        opacity: 0;

        transition: var(--transition);

        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;
    }

    .nav-link {
        padding: 14px 10px;

        border-bottom: 1px solid var(--border);
    }

    .nav-contact {
        text-align: center;

        margin-top: 10px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        padding-top: 70px;

        text-align: center;
    }

    .hero-content {
        max-width: 700px;
        margin: auto;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        min-height: 520px;
    }

    .cabinet-grid,
    .philosophy-container {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .cabinet-content {
        max-width: 700px;
    }

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

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

    .legal-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .topbar {
        display: none;
    }

    .nav-menu {
        top: 75px;
    }

    .logo-symbol {
        width: 42px;
        height: 42px;
    }

    .logo-text strong {
        font-size: 12px;
    }

    .logo-text span {
        font-size: 16px;
    }

    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;

        padding-top: 60px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 43px;

        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 470px;
    }

    .hero-card-main {
        min-height: 410px;

        width: 290px;
    }

    .hero-card-main h3 {
        font-size: 27px;
    }

    .floating-card {
        padding: 10px;

        max-width: 190px;
    }

    .floating-card-one {
        left: -5px;
    }

    .floating-card-two {
        right: -5px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card span {
        font-size: 8px;
    }

    .section,
    .values-section,
    .domains-section,
    .legal-section,
    .philosophy-section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .philosophy-content h2 {
        font-size: 35px;
    }

    .cabinet-image {
        min-height: 400px;
    }

    .experience-card {
        left: 0;
    }

    .values-grid,
    .services-grid,
    .domains-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: 280px;
    }

    .philosophy-visual {
        min-height: 400px;
    }

    .philosophy-circle {
        width: 250px;
        height: 250px;
    }

    .circle-inner {
        width: 195px;
        height: 195px;
    }

    .circle-inner i {
        font-size: 38px;
    }

    .circle-inner strong {
        font-size: 22px;
    }

    .orbit-one {
        width: 330px;
        height: 330px;
    }

    .orbit-two {
        width: 390px;
        height: 390px;
    }

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

    .team-photo {
        height: 190px;
    }

    .team-info h3 {
        font-size: 15px;
    }

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

        gap: 35px;
    }

    .footer-bottom {
        padding: 20px 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 5px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }
}


/* =========================================================
   REDUCTION DES ANIMATIONS
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
