/* ═══════════════════════════════════════════════════════════════
   GALLEGO EMPIRE — Design System
   "Old Money × Finance Moderne"
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Core Colors */
    --color-ink:        #0B0C0F;
    --color-ink-deep:   #06070A;
    --color-ink-mid:    #13151A;
    --color-ink-light:  #1C1F27;

    /* Gold Spectrum */
    --gold-bright:      #C9A84C;
    --gold-mid:         #B8933E;
    --gold-muted:       #8B6E30;
    --gold-pale:        #F0D98E;
    --gold-shimmer:     #E8C96A;

    /* Text */
    --text-primary:     #F0EDE6;
    --text-secondary:   #A09880;
    --text-muted:       #6A6350;
    --text-on-dark:     #E8E4DB;

    /* Accent */
    --accent-navy:      #0E1628;
    --accent-slate:     #1A2238;

    /* Typography */
    --font-serif:       'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-display:     'Playfair Display', 'Cormorant Garamond', serif;
    --font-sans:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Layout */
    --max-width: 1280px;
    --nav-height: 80px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-luxury:  cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.35s var(--ease-smooth);
    --transition-long: 0.65s var(--ease-luxury);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--color-ink);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-ink-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-muted); border-radius: 3px; }

/* ═══════════════════════ NAVIGATION ═══════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(11, 12, 15, 0.6);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(201, 168, 76, 0.06);
    transition: background 0.4s var(--ease-smooth),
                border-color 0.4s,
                box-shadow 0.4s;
}

.navbar.scrolled {
    background: rgba(11, 12, 15, 0.92);
    border-bottom-color: rgba(201, 168, 76, 0.15);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.10), 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-primary);
}

.brand-accent { color: var(--gold-bright); }

.brand-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--transition-base);
    padding: 2px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%; right: 50%;
    height: 1px;
    background: var(--gold-bright);
    transition: left 0.3s var(--ease-smooth), right 0.3s var(--ease-smooth);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    left: 0; right: 0;
}

.nav-link.nav-cta {
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 2px;
    color: var(--gold-bright);
    font-size: 0.75rem;
}

.nav-link.nav-cta::after { display: none; }

.nav-link.nav-cta:hover {
    background: var(--gold-bright);
    color: var(--color-ink);
    border-color: var(--gold-bright);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition-base);
}

/* ═══════════════════════ SECTION BASE ═══════════════════════ */
.page-section {
    min-height: 100vh;
    position: relative;
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-bright);
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-label::before,
.section-label::after {
    content: '—';
    margin: 0 0.6em;
    opacity: 0.5;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.section-title em {
    font-style: italic;
    color: var(--gold-bright);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ═══════════════════════ BUTTONS ═══════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary {
    background: var(--gold-bright);
    color: var(--color-ink);
}

.btn-primary:hover {
    background: var(--gold-pale);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(240, 237, 230, 0.25);
}

.btn-ghost:hover {
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--gold-bright);
}

.btn-gold {
    background: transparent;
    color: var(--gold-bright);
    border: 1px solid var(--gold-muted);
}

.btn-gold:hover {
    background: var(--gold-bright);
    color: var(--color-ink);
    border-color: var(--gold-bright);
}

.btn-full { width: 100%; justify-content: center; }

/* ✨ Shimmer CTA — reflet doré animé toutes les 5 secondes */
@keyframes shimmerGold {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes shimmerPulse {
    0%, 78%, 100% {
        background-position: -200% center;
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    94% {
        background-position: 200% center;
        opacity: 0.9;
    }
    96%, 100% {
        opacity: 0;
    }
}

.btn-shimmer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(240, 217, 142, 0.55) 50%,
        rgba(201, 168, 76, 0.3) 55%,
        transparent 70%
    );
    background-size: 200% 100%;
    background-position: -200% center;
    animation: shimmerPulse 5s ease-in-out infinite;
    pointer-events: none;
    border-radius: inherit;
}

/* ═══════════════════════ HERO SECTION ═══════════════════════ */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;
}

/* 4K Video Container — prêt pour l'intégration institutionnelle */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    /* Quand la vidéo est active, masquer le fallback via JS */
}

/* Si aucune source vidéo active, le fallback img reste visible */
.hero-video:not([src]):not([srcset]) {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(6, 7, 10, 0.75) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(11, 12, 15, 0.2) 0%, rgba(11, 12, 15, 0.82) 80%, rgba(11, 12, 15, 0.98) 100%);
    /* Garantit la lisibilité totale du texte par-dessus une vidéo 4K */
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.badge-line {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold-bright);
    opacity: 0.6;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    max-width: 800px;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-bright);
    display: block;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.75;
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 0.02em;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(201, 168, 76, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold-bright), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.1); }
}

/* Animation classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s var(--ease-luxury) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════ SERVICES STRIP ═══════════════════════ */
.services-strip {
    background: var(--color-ink-mid);
    border-top: 1px solid rgba(201, 168, 76, 0.12);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    padding: var(--space-md) 0;
    overflow: hidden;
}

.strip-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color var(--transition-base);
}

.strip-item:hover { color: var(--gold-bright); }

.strip-icon {
    color: var(--gold-muted);
    font-size: 0.5rem;
}

.strip-separator {
    color: rgba(201, 168, 76, 0.2);
    font-size: 0.9rem;
}

/* ═══════════════════════ STRATÉGIE SECTION ═══════════════════════ */
.strategie-section {
    background: var(--color-ink);
    position: relative;
    overflow: hidden;
}

/* Marble texture overlay */
.strategie-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('marble-texture.png');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.strategie-section .section-container {
    position: relative;
    z-index: 1;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.university-badge {
    display: inline-flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 4px;
    padding: var(--space-sm) var(--space-md);
    margin-top: var(--space-lg);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.uni-badge-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.uni-badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.uni-badge-text strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.uni-badge-text span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mission Cards — Glassmorphism */
.missions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.mission-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 6px;
    padding: var(--space-lg);
    transition: border-color 0.4s, transform 0.35s var(--ease-smooth), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.04);
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

/* Subtle inner glow effect */
.mission-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: radial-gradient(ellipse at 20% 0%, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.mission-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}

.mission-card:hover::before { opacity: 1; }

.mission-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.1);
    line-height: 1;
    margin-bottom: var(--space-sm);
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    user-select: none;
}

.mission-icon {
    color: var(--gold-bright);
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.25));
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    padding-right: 3rem;
}

.mission-desc {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.mission-tasks {
    margin-bottom: var(--space-sm);
}

.mission-tasks li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.mission-tasks li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold-muted);
    font-size: 0.7rem;
}

.mission-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255,255,255,0.04);
}

.tool-tag {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--gold-muted);
    background: rgba(201, 168, 76, 0.07);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Methodology Block */
.methodology-block {
    margin-top: var(--space-xl);
    background: linear-gradient(135deg, rgba(14, 22, 40, 0.8), rgba(26, 34, 56, 0.5));
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 4px;
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.methodology-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    opacity: 0.4;
}

.methodology-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.methodology-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.75;
}

.methodology-kpis {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.mkpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.mkpi-label {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.mkpi-value {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--gold-bright);
    font-weight: 500;
}

/* ═══════════════════════ LIFESTYLE SECTION ═══════════════════════ */
.lifestyle-section {
    background: var(--color-ink-deep);
    position: relative;
    overflow: hidden;
}

/* Marble texture on lifestyle section */
.lifestyle-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('marble-texture.png');
    background-size: cover;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.lifestyle-section .section-container {
    position: relative;
    z-index: 1;
}

.lifestyle-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(14, 22, 40, 0.8) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.section-header.light .section-title { color: var(--text-primary); }
.section-header.light .section-subtitle { color: var(--text-secondary); }

/* Lifestyle Grid */
.lifestyle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.lifestyle-card {
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-luxury), border-color 0.4s, box-shadow 0.4s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lifestyle-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lifestyle-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

/* Photo-based card images */
.lifestyle-card-image {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--space-md);
}

.lifestyle-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s var(--ease-luxury);
    display: block;
    max-width: none;
}

.lifestyle-card:hover .lifestyle-photo {
    transform: scale(1.04);
}

.lifestyle-photo-label {
    position: relative;
    z-index: 2;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-bright);
    background: rgba(11,12,15,0.7);
    border: 1px solid rgba(201,168,76,0.2);
    padding: 4px 12px;
    border-radius: 2px;
    align-self: flex-end;
}

/* Concierge 3rd card — styled gradient background */
.concierge-gradient {
    background: linear-gradient(135deg, #0d0d10 0%, #181820 60%, #0d0d10 100%);
    min-height: 220px;
    align-items: center;
    justify-content: center;
}

.concierge-visual {
    position: relative;
    z-index: 2;
    color: var(--gold-bright);
    opacity: 0.5;
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.2));
}

.lifestyle-card-image {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: var(--space-md);
    overflow: hidden;
}

/* Old gradient fallbacks — kept as background for service card */
.prestige-img {
    background: 
        linear-gradient(135deg, #1a1208 0%, #2d2010 50%, #1a1208 100%),
        radial-gradient(circle at 50% 40%, rgba(201, 168, 76, 0.15), transparent 60%);
}

.passion-img {
    background: 
        linear-gradient(135deg, #0a0f1a 0%, #141e2e 50%, #0a0f1a 100%),
        radial-gradient(circle at 50% 40%, rgba(14, 22, 40, 0.8), transparent 60%);
}

.service-img {
    background:
        linear-gradient(135deg, #0f0f12 0%, #1a1a20 50%, #0f0f12 100%);
}

.lifestyle-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(11, 12, 15, 0.3) 50%,
        rgba(11, 12, 15, 0.92) 100%
    );
    z-index: 1;
}

.lifestyle-card-icon {
    font-size: 4rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    opacity: 0.6;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.3));
}

.lifestyle-card-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.lifestyle-card-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-bright);
}

.lifestyle-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.25;
}

.lifestyle-card-desc {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.lifestyle-features {
    margin-top: var(--space-xs);
}

.lifestyle-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 5px 0;
    padding-left: 1.2rem;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lifestyle-features li:last-child { border-bottom: none; }

.lifestyle-features li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: var(--gold-muted);
    font-size: 0.55rem;
    top: 7px;
}

.lifestyle-cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.lifestyle-cta-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ═══════════════════════ CABINET SECTION ═══════════════════════ */
.cabinet-section {
    background: var(--color-ink-mid);
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    position: relative;
    overflow: hidden;
}

/* Subtle marble on cabinet */
.cabinet-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('marble-texture.png');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.03;
    pointer-events: none;
}

.cabinet-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.cabinet-left .section-label { margin-bottom: var(--space-xs); }
.cabinet-left .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: var(--space-lg);
    text-align: left;
}

.cabinet-quote {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--gold-bright);
    border-left: 2px solid var(--gold-muted);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    line-height: 1.65;
}

.cabinet-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
}

.certification-block {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 4px;
    padding: var(--space-md);
    margin-top: var(--space-lg);
}

.cert-icon {
    font-size: 1.5rem;
    color: var(--gold-bright);
    flex-shrink: 0;
    margin-top: 2px;
}

.cert-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.cert-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Pôle Académique & Talents ── */
.academic-pole {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-left: 1px solid rgba(201, 168, 76, 0.2);
    padding-left: var(--space-md);
    position: relative;
}

.academic-pole::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--gold-muted), transparent);
    opacity: 0.6;
}

.academic-pole-label {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: var(--space-xs);
}

.academic-pole-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-style: italic;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.value-card {
    background: var(--color-ink-light);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 4px;
    padding: var(--space-md);
    transition: border-color 0.3s, transform 0.3s;
}

.value-card:hover {
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateY(-2px);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: rgba(201, 168, 76, 0.3);
    margin-bottom: 8px;
    font-style: italic;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Expertise Bars */
.expertise-domains {
    background: var(--color-ink-light);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 4px;
    padding: var(--space-md);
}

.expertise-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.expertise-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.expertise-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.expertise-bar {
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 1px;
    overflow: hidden;
}

.expertise-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-muted), var(--gold-bright));
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s var(--ease-luxury);
}

.expertise-item.animated .expertise-fill {
    transform: scaleX(1);
}

/* ═══════════════════════ CONTACT SECTION ═══════════════════════ */
.contact-section {
    background: var(--color-ink-deep);
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-left .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: var(--space-md);
    text-align: left;
}

.contact-intro {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.contact-notice {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-left: 3px solid var(--gold-muted);
    border-radius: 0 4px 4px 0;
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-xl);
}

.notice-icon {
    font-size: 1.2rem;
    color: var(--gold-bright);
    flex-shrink: 0;
}

.contact-notice p {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.contact-notice strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 0.88rem;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.1rem;
    color: var(--gold-bright);
    width: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-info-value {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form {
    background: var(--color-ink-light);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 4px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.88rem;
    line-height: 1.5;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(201, 168, 76, 0.4);
    background: rgba(201, 168, 76, 0.03);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B6E30' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--color-ink-mid);
    color: var(--text-primary);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-check {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    background: transparent;
    border-radius: 2px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--gold-bright);
}

.check-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 300;
    cursor: pointer;
}

.form-success {
    text-align: center;
    padding: var(--space-md);
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 4px;
}

.success-icon {
    font-size: 2rem;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════ FOOTER ═══════════════════════ */
.site-footer {
    background: var(--color-ink-deep);
    border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-brand-name {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.footer-nav-col h5 {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-muted);
    margin-bottom: var(--space-sm);
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav-col a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.footer-nav-col a:hover { color: var(--gold-bright); }

.footer-divider {
    height: 1px;
    background: rgba(201, 168, 76, 0.08);
    margin-bottom: var(--space-lg);
}

.footer-legal p {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 8px;
}

.footer-copyright {
    color: rgba(160, 152, 128, 0.6) !important;
    font-size: 0.68rem !important;
}

.footer-copyright a {
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.footer-copyright a:hover { color: var(--gold-bright); }

/* ═══════════════════════ SCROLL REVEAL ═══════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1024px) {
    .missions-grid { grid-template-columns: 1fr; }
    .cabinet-layout,
    .contact-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
    .lifestyle-card.featured { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(11, 12, 15, 0.97);
        backdrop-filter: blur(20px);
        padding: var(--space-lg);
        flex-direction: column;
        gap: var(--space-md);
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    }
    .nav-links.open { display: flex; }
    .nav-burger { display: flex; }

    .hero-content { padding: var(--space-xl) var(--space-sm); }
    .hero-stats { flex-direction: column; gap: var(--space-sm); }
    .stat-divider { width: 40px; height: 1px; }

    .values-grid { grid-template-columns: 1fr; }
    .lifestyle-grid { grid-template-columns: 1fr; }
    .lifestyle-card.featured { grid-column: 1; }
    .form-row { grid-template-columns: 1fr; }

    .methodology-kpis { flex-direction: column; gap: var(--space-sm); }
    .footer-nav { grid-template-columns: 1fr; }
    .strip-container { gap: var(--space-sm); }
    .strip-separator { display: none; }
}

@media (max-width: 480px) {
    .section-container { padding: var(--space-2xl) var(--space-sm); }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .nav-container { padding: 0 var(--space-sm); }
}
