/* Design System Monochrome & Minimaliste - Inspiré de Nevire pour Consilys */

:root {
    --bg-primary: #ffffff;      /* Blanc pur */
    --bg-secondary: #ededed;    /* Gris moyen doux pour le contraste */
    --bg-card: #f6f6f6;         /* Gris clair pour les conteneurs et cartes */
    --text-primary: #000000;    /* Noir pur */
    --text-secondary: #333333;  /* Gris très foncé pour la lecture douce */
    --text-light: #777777;      /* Gris moyen pour les détails et numéros */
    
    --accent-color: #000000;    /* Accent noir */
    --border-color: #d8d8d8;    /* Bordure gris moyen fine pour la structure */
    --border-hover: #888888;    /* Bordure au survol */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-custom: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
}

/* Configuration requise pour Lenis (Smooth Scroll) */
html.lenis, html.lenis body {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis-stopped {
    overflow: hidden;
}

.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    overflow-x: hidden;
    line-height: 1.65;
    background-color: var(--bg-primary);
}

body.lock-scroll {
    overflow: hidden;
    height: 100vh;
}

/* Conteneurs et espacements fluides */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem) clamp(1.2rem, 5vw, 2.5rem);
}

/* Typographie Minimaliste */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 400;
}

p {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.65;
    text-align: justify;
}

/* Boutons et Liens */
.btn-underlined {
    display: inline-block;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 4px;
    margin-top: 1.5rem;
    transition: var(--transition-custom);
}

.btn-underlined:hover {
    color: var(--text-secondary);
    border-color: var(--text-secondary);
    transform: translateX(5px);
}

/* Navbar Translucide Claire */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.mobile-menu-active {
    z-index: 2010;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-custom);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-primary);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: none;
    transition: var(--transition-custom);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.btn-nav {
    display: inline-block;
    padding: 0.65rem 1.8rem;
    background-color: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    transition: var(--transition-custom);
}

.btn-nav:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-change-profile {
    display: inline-block;
    padding: 0.65rem 1.8rem;
    background-color: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-custom);
    margin-right: 1rem;
}

.btn-change-profile:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-actions {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    display: none;
}

@media (max-width: 800px) {
    .nav-menu, .btn-nav, .btn-change-profile {
        display: none;
    }
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 16px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 2100;
    }
    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    }
    /* Hamburger actif (X) */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 1990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-container {
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-custom);
    display: inline-block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active-profile {
    color: var(--text-primary);
    transform: scale(1.05);
}

.btn-mobile-contact {
    border: 1px solid var(--border-color);
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-size: 1.1rem !important;
}

.btn-mobile-contact:hover {
    border-color: var(--text-primary);
}

/* ===================================================
   SPLASH SCREEN (RECTANGLES VERTICAUX + FOND IMAGÉ)
=================================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    overflow: hidden;
    background-color: #000000;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.splash-screen.fade-out {
    transform: translateY(-100%);
    pointer-events: none;
}

/* Accordéon de bandes verticales interactives (Effet 3D Persienne) */
.splash-bg-accordion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    perspective: 1200px;
    overflow: hidden;
    background-color: #000000;
}

.splash-stripe {
    flex: 1;
    height: 100%;
    background-color: #0c0c0c;
    background-size: 100vw 100vh;
    background-repeat: no-repeat;
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    filter: grayscale(1) brightness(0.18) contrast(1.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s ease, border-color 0.6s ease, filter 0.6s ease;
    transform-style: preserve-3d;
    transform: rotateY(0deg) translateZ(0px); /* À plat par défaut */
}

.splash-stripe:nth-child(even) {
    background-color: #050505;
}

/* 1. La bande active s'assombrit et s'enfonce (effet encastré) */
.splash-stripe.active {
    background-color: #000000 !important;
    filter: grayscale(1) brightness(0.08) contrast(1.1) !important;
    transform: translateZ(-45px) !important;
    border-right-color: rgba(255, 255, 255, 0.01) !important;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

/* 2. La bande de gauche penche vers la droite (effet reflet de lumière) */
.splash-stripe.tilt-right {
    transform: rotateY(38deg) translateZ(-18px) !important;
    background-color: #161616 !important;
    filter: grayscale(1) brightness(0.28) contrast(1.1) !important;
    border-right-color: rgba(255, 255, 255, 0.06) !important;
}

/* 3. La bande de droite penche vers la gauche (effet reflet de lumière) */
.splash-stripe.tilt-left {
    transform: rotateY(-38deg) translateZ(-18px) !important;
    background-color: #161616 !important;
    filter: grayscale(1) brightness(0.28) contrast(1.1) !important;
    border-right-color: rgba(255, 255, 255, 0.06) !important;
}

/* Texture de grille fine par-dessus */
.splash-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Conteneur principal */
.splash-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    width: 100%;
    max-width: 1000px;
}

.splash-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.95;
}

.splash-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: #a0a0a0;
    letter-spacing: 0.05em;
    margin-bottom: 4.5rem;
    text-align: center;
}

/* Grille de cartes verticales (Rectangles verticaux) */
.splash-cards {
    display: flex;
    gap: 3.5rem;
    width: 100%;
    justify-content: center;
}

.splash-card {
    width: 290px;
    height: 390px;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
    transition: var(--transition-custom);
}

/* Zone du haut (Titre + Numéro alignés et centrés) */
.splash-card .card-header {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

/* Cartes Maître d'Ouvrage (Sombre - Ultra Noir épuré) */
.splash-card.moa {
    background-color: #000000;
    color: #ffffff;
    border-color: #1a1a1a;
}

/* Cartes Entreprise (Clair - Blanc Pur épuré) */
.splash-card.pro {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.card-num {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.moa .card-num {
    color: var(--text-light);
}

.pro .card-num {
    color: #888888;
}

.splash-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.25;
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: inherit;
}

/* Zone du texte (centrée et hauteur fixe pour alignement parfait) */
.splash-card p {
    font-size: 0.82rem;
    line-height: 1.55;
    font-weight: 300;
    text-align: center;
    height: 90px;
    margin-top: 1rem;
    margin-bottom: 0;
}

.moa p {
    color: #e0e0e0;
}

.pro p {
    color: #444444;
}

/* Pied de carte épuré (sans bordure de séparation) */
.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.card-action {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-arrow {
    font-size: 1.4rem;
    transition: var(--transition-custom);
}

.moa .card-arrow {
    color: #ffffff;
}

.pro .card-arrow {
    color: #000000;
}

/* Hovers ultra-épurés (bordures pures réactives, pas d'ombres diffuses) */
.splash-card:hover {
    transform: translateY(-8px);
}

.splash-card.moa:hover {
    border-color: #ffffff;
}

.splash-card.pro:hover {
    border-color: #000000;
}

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

/* Règle Responsive Mobile */
@media (max-width: 960px) {
    .splash-screen {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding: 3rem 1.5rem;
        overflow-y: auto;
    }
    .splash-container {
        padding: 0;
    }
    .splash-subtitle {
        margin-bottom: 1.5rem;
    }
    .splash-cards {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .splash-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: auto;
        padding: 1.2rem 1.5rem;
    }
    .splash-card .card-header {
        height: auto;
    }
    .splash-card p {
        height: auto;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* ===================================================
   SECTIONS PROFILÉES DU SITE
=================================================== */
.profile-section {
    display: none;
    padding-top: 5rem;
}

.profile-section.active {
    display: block;
}

/* ===================================================
   AUTRES SECTIONS (SERVICES, SIMULATEUR, PROCESS)
=================================================== */

/* Services Section */
.services-section {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.services-header-row {
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    display: inline-block;
}

.services-header-row h2 {
    max-width: 800px;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-custom);
}

.service-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-light);
    font-weight: 300;
    width: clamp(100px, 15vw, 150px);
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-custom);
}

.service-icon {
    width: 20px;
    height: 20px;
    opacity: 0.4;
    color: var(--text-primary);
    transition: var(--transition-custom);
}

.service-item:hover {
    border-top-color: var(--border-hover);
}

.service-item:hover .service-num {
    transform: translateX(8px);
    color: var(--text-primary);
}

.service-item:hover .service-icon {
    opacity: 0.95;
    transform: scale(1.15);
}

.service-item:hover .finance-icon {
    transform: none;
    animation: financeGrow 1.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes financeGrow {
    0% {
        transform: translateY(0) scale(1);
    }
    20% {
        transform: translateY(-5px) scale(1.25) rotate(5deg);
    }
    40% {
        transform: translateY(-2px) scale(1.15) rotate(-3deg);
    }
    60% {
        transform: translateY(-4px) scale(1.2) rotate(2deg);
    }
    80% {
        transform: translateY(-1px) scale(1.1) rotate(0deg);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.service-body {
    flex: 1;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
}

.service-body h3 {
    font-size: 1.45rem;
    font-weight: 400;
}

.service-body p {
}

@media (max-width: 820px) {
    .service-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .service-item {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Securite Section */
.securite-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.securite-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.securite-sidebar h2 {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.securite-sidebar p {
}

.securite-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.sec-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.sec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sec-list li {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.sec-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

.sec-list.muted li {
    color: var(--text-secondary);
}

.sec-list.muted li::before {
    color: var(--text-light);
}

@media (max-width: 1024px) {
    .securite-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 640px) {
    .securite-columns {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Simulator Section */
.simulator-section {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.simulator-intro {
    max-width: 750px;
    margin-bottom: 4rem;
}

.prestige-simulator {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    overflow: hidden;
}

/* Tab controls */
.prestige-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.prestige-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-right: 1px solid var(--border-color);
    padding: 1.8rem 1.5rem;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: var(--transition-custom);
}

.prestige-tab:last-child {
    border-right: none;
}

.prestige-tab.active {
    background-color: var(--bg-primary);
    border-top: 2px solid var(--text-primary);
}

.tab-number {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.prestige-tab.active .tab-number {
    color: var(--text-primary);
}

.tab-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition-custom);
}

.prestige-tab.active .tab-title {
    color: var(--text-primary);
}

/* Workspace calculator */
.simulator-workspace {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0px;
}

.workspace-inputs {
    padding: 4rem;
}

.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.budget-header h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

#budgetValue, #budgetValuePro {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-primary);
}

/* Custom minimal slider */
.range-container {
    position: relative;
    padding-bottom: 2rem;
}

.prestige-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 1px;
    background: var(--border-color);
    outline: none;
}

.prestige-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    border: 1px solid var(--text-primary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transition: var(--transition-custom);
}

.prestige-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
    background: #ffffff;
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-family: monospace;
}

/* Workspace Outputs */
.workspace-outputs {
    background-color: var(--bg-secondary);
    padding: 4rem;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.output-block {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.output-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.output-value {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-primary);
}

.output-value.highlight {
    font-size: 1.5rem;
    font-weight: 400;
}

.output-value.muted-value {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    margin-top: 4px;
}

.output-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.output-total {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.total-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
}

.btn-prestige {
    width: 100%;
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 1.1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-custom);
}

.btn-prestige:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

@media (max-width: 960px) {
    .prestige-tabs {
        flex-direction: column;
    }
    .prestige-tab {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .simulator-workspace {
        grid-template-columns: 1fr;
    }
    .workspace-outputs {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}

@media (max-width: 640px) {
    .workspace-inputs, .workspace-outputs {
        padding: 2.5rem 1.5rem;
    }
}

/* Timeline Process Grid */
.process-section {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.process-header {
    margin-bottom: 4rem;
}

.process-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-card {
    display: grid;
    grid-template-columns: 80px 280px 1fr;
    align-items: baseline;
    gap: 2rem;
    padding: 1.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.process-card:first-child {
    border-top: 1px solid var(--border-color);
}

.process-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-light);
    transition: var(--transition-custom);
    line-height: 1;
}

.process-card:hover .process-num {
    color: var(--text-primary);
    transform: translateX(5px);
}

.process-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.process-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    text-align: left; /* Non justifié pour éviter les vilains espaces sur textes courts */
}

@media (max-width: 800px) {
    .process-card {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 1.5rem 0;
    }
    .process-card:hover .process-num {
        transform: translateY(-3px);
    }
}

/* Footer layout */
.footer {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-legal {
    font-size: 0.85rem;
    max-width: 800px;
    line-height: 1.6;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
}

.footer-year {
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (max-width: 640px) {
    .footer-bottom-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* GSAP Scroll Animations Helper Classes */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.gsap-char {
    display: inline-block;
}

.gsap-word {
    display: inline-block;
    white-space: nowrap;
}

/* ===================================================
   LOGO SVG RESPONSIVE & DIMENSIONS
   =================================================== */
.logo-svg {
    display: block;
    height: auto;
}

/* Logo de la navbar */
.logo .logo-svg {
    height: 20px;
    width: auto;
}

/* Logo du Splash Screen (plus grand) */
.splash-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
}

.splash-brand .logo-svg {
    width: 100%;
    height: auto;
}

/* Logo du footer */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-brand .logo-svg {
    height: 14px;
    width: auto;
}

/* Gestion des couleurs monochromes */
.logo-primary {
    fill: currentColor;
}

.logo-secondary {
    fill: var(--bg-primary); /* S'adapte au fond du site (blanc) */
    transition: fill var(--transition-custom);
}

.splash-brand .logo-secondary {
    fill: #000000; /* Reste noir sur le splash screen noir */
}

/* État actif du menu de navigation de profil */
.nav-menu a.active-profile {
    color: var(--text-primary) !important;
    font-weight: 500;
    border-bottom: 1px solid var(--text-primary);
    padding-bottom: 4px;
}

/* Section À Propos */
.apropos-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.apropos-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.apropos-header h2 {
    margin-top: 1rem;
}

.apropos-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: justify;
}

.apropos-text p:last-child {
    margin-bottom: 0;
}

/* Section Contact */
.contact-section {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-sidebar h2 {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.contact-sidebar p {
}

.contact-form-container {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.prestige-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: 2px;
    transition: var(--transition-custom);
    width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: #ffffff;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 1024px) {
    .apropos-layout, .contact-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .contact-form-container {
        padding: 2rem;
    }
}

/* Styles des images d'architecture minimaliste */
.apropos-image-container {
    width: 100%;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-card);
}

.apropos-image {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1) brightness(0.95);
    transition: var(--transition-custom);
}

.apropos-image:hover {
    filter: grayscale(100%) contrast(1.15) brightness(1.05);
    transform: scale(1.03);
}

.contact-image-container {
    width: 100%;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-card);
}

.contact-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.1) brightness(0.95);
    transition: var(--transition-custom);
}

.contact-image:hover {
    filter: grayscale(100%) contrast(1.15) brightness(1.05);
    transform: scale(1.03);
}


