/*=========================================================
MBOMI EXPERIENCE 4.0 — CODE CSS HARMONISÉ & STRUCTURÉ
=========================================================*/

:root {
    --primary: #0B2E63;
    --primary-light: #184A9C;
    --gold: #D4AF37;
    --gold-light: #F4D86A;
    --success: #1F9D68;
    --danger: #D14343;
    --white: #FFFFFF;
    --bg: #F4F7FC;
    --surface: #FFFFFF;
    --surface-2: #F8FAFD;
    --border: #E4EBF5;
    --text: #10294A;
    --text-light: #667892;

    --shadow-sm: 0 8px 24px rgba(16, 41, 74, .05);
    --shadow-md: 0 18px 50px rgba(16, 41, 74, .08);
    --shadow-lg: 0 30px 80px rgba(16, 41, 74, .12);

    --radius-xs: 10px;
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --radius-xl: 48px;

    --container: 1400px;
    --transition: .35s cubic-bezier(.2, .8, .2, 1);
}

/*=========================================================
RESET BASE & TYPOGRAPHIE
=========================================================*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--bg);
    font-family: Inter, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.65;
    width: 100%;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/*=========================================================
CONTENEUR GLOBAL DE L'EXPÉRIENCE
=========================================================*/
.mbomi-experience {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        #071B3C 0%,
        #0B2E63 20%,
        #184A9C 32%,
        #EEF4FC 32.1%,
        #F6F9FD 100%
    );
}

.mbomi-experience main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/*=========================================================
DOCK FLOTTANT (NAVIGATION GAUCHE)
=========================================================*/
.mbomi-dock {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(11, 46, 99, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 10px;
    border-radius: 999px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.dock-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: var(--transition);
    position: relative;
}

.dock-item:hover, .dock-item.active {
    background: var(--gold);
    color: var(--primary);
}

.dock-item span {
    position: absolute;
    left: 60px;
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.dock-item:hover span {
    opacity: 1;
    transform: translateX(5px);
}

/*=========================================================
SECTION HERO 4.0
=========================================================*/
.mbomi-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow-1 {
    position: absolute;
    top: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    filter: blur(50px);
}

.hero-glow-2 {
    position: absolute;
    right: -150px;
    bottom: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24, 74, 156, 0.25), transparent 70%);
    filter: blur(50px);
}

.hero-container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px 0 100px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
}

.hero-left h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 32px;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.hero-btn-primary {
    background: var(--gold);
    color: var(--primary);
}

.hero-btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.hero-stat strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold-light);
}

.hero-stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-end;
    width: 100%;
}

.hero-panel {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 32px;
    color: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.hero-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    color: var(--gold-light);
}

.hero-panel-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-panel-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.hero-panel-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.hero-panel-footer strong {
    display: block;
    font-size: 1.2rem;
    color: #fff;
}

.hero-panel-footer span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-rdc {
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    opacity: 0.35;
    transition: var(--transition);
}

.hero-rdc:hover {
    opacity: 0.7;
}

.rdc-svg {
    width: 100%;
    max-height: 160px;
}

.rdc-shape {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2.5;
    stroke-dasharray: 6 6;
}

/*=========================================================
SECTION INTRO PREMIUM
=========================================================*/
.mbomi-intro {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    padding: 0 20px;
}

.intro-card {
    width: min(var(--container), 100%);
    margin: 0 auto;
    padding: 50px 60px;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid rgba(18, 60, 120, 0.08);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.intro-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.intro-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 32px;
    box-shadow: 0 15px 35px rgba(11, 46, 99, 0.2);
    flex-shrink: 0;
}

.intro-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: #EEF5FF;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.intro-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.intro-body p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 1100px;
}

.intro-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-6px);
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.4);
}

.feature i {
    font-size: 30px;
    margin-bottom: 14px;
    color: var(--gold);
}

.feature span {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
}

/*=========================================================
SECTION DASHBOARD
=========================================================*/
.mbomi-dashboard {
    width: min(var(--container), 92%);
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
}

.dashboard-featured {
    border-radius: var(--radius-lg);
    padding: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-label {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.dashboard-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.dashboard-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
    width: fit-content;
}

.dashboard-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dashboard-mini {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.dashboard-mini:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.dashboard-mini i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 14px;
    background: #EEF5FF;
    color: var(--primary-light);
    font-size: 24px;
}

.dashboard-mini strong {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.dashboard-mini span {
    font-size: 0.88rem;
    color: var(--text-light);
}

/*=========================================================
SECTION CALENDRIER ULTRA-IMMERSIF (GLASS & TECH)
=========================================================*/
.calendar-section {
    width: min(var(--container), 92%);
    margin: 80px auto;
    padding: 50px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 80px rgba(11, 46, 99, 0.08), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

/* NOUVELLE EN-TÊTE DU CALENDRIER */
.calendar-header-wrapper {
    position: relative;
    padding: 10px 10px 25px 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(11, 46, 99, 0.08);
    overflow: hidden;
}

.header-ambient-glow {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    animation: ambientPulse 8s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ambientPulse {
    0% { transform: scale(0.9) translateY(0); opacity: 0.6; }
    100% { transform: scale(1.2) translateY(15px); opacity: 1; }
}

.calendar-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.tag-pill-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(11, 46, 99, 0.05);
    border: 1px solid rgba(11, 46, 99, 0.1);
    color: var(--primary, #071B3C);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d4af37;
    box-shadow: 0 0 8px #d4af37;
    animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.counter-badge-glass {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 15px rgba(11, 46, 99, 0.04);
    color: var(--primary, #071B3C);
    font-size: 0.85rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.counter-badge-glass:hover {
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.18);
    transform: translateY(-2px);
}

.calendar-main-title-block {
    margin-bottom: 22px;
}

.calendar-headline {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--primary, #071B3C);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.gold-gradient-text {
    background: linear-gradient(135deg, #d4af37 0%, #aa8218 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calendar-subtext {
    font-size: 0.95rem;
    color: #5a6e85;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calendar-nav-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.month-selector-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #ffffff;
    padding: 8px 12px 8px 22px;
    border-radius: 16px;
    border: 1px solid rgba(11, 46, 99, 0.09);
    box-shadow: 0 8px 25px rgba(11, 46, 99, 0.05);
}

.current-month-display {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary, #071B3C);
    margin: 0;
    min-width: 140px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.calendar-nav-btns {
    display: flex;
    gap: 6px;
    background: rgba(11, 46, 99, 0.04);
    padding: 4px;
    border-radius: 12px;
}

.nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--primary, #071B3C);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-btn:hover {
    background: #ffffff;
    color: #d4af37;
    box-shadow: 0 4px 12px rgba(11, 46, 99, 0.12);
    transform: scale(1.08);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Grille des jours de la semaine */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.calendar-day-name {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    padding: 10px 0;
}

/* Grille principale */
#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Case individuelle d'un jour */
.calendar-day {
    min-height: 120px;
    padding: 12px 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(228, 235, 245, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}

.calendar-day:not(.empty):hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(11, 46, 99, 0.09);
    border-color: var(--gold);
    z-index: 10;
}

.calendar-day .number-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.calendar-day .number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

/* Jour contenant un événement / texte juridique */
.calendar-day.event {
    background: linear-gradient(145deg, #ffffff, #f4f8ff);
    border: 1px solid rgba(24, 74, 156, 0.25);
    cursor: pointer;
}

.calendar-day.event .event-badge-chip {
    margin-top: 8px;
    padding: 5px 10px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 4px 12px rgba(11, 46, 99, 0.15);
    transition: all 0.25s ease;
}

.calendar-day.event:hover .event-badge-chip {
    background: var(--gold);
    color: var(--primary);
}

.event-dot-glow {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: pulseGlow 2s infinite ease-in-out;
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    border: none !important;
    box-shadow: 0 12px 30px rgba(11, 46, 99, 0.35) !important;
}

.calendar-day.today .number {
    color: #ffffff !important;
}

.calendar-day.today .event-badge-chip {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.calendar-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 240px;
    background: #071B3C;
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 100;
}

.calendar-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #071B3C transparent transparent transparent;
}

.calendar-day:hover .calendar-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.calendar-tooltip strong {
    color: var(--gold-light);
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.calendar-tooltip p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* Légende du calendrier */
.calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(11, 46, 99, 0.08);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.today {
    background: var(--primary);
}

.legend-dot.event {
    background: var(--gold);
}

/*=========================================================
SECTION MONTH DASHBOARD
=========================================================*/
.month-dashboard {
    width: min(var(--container), 92%);
    margin: 80px auto;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.month-card {
    padding: 32px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.month-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.month-card-header i {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.month-card-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

/*=========================================================
SECTION PUBLICATIONS & SEARCH
=========================================================*/
.publications-section {
    width: min(var(--container), 92%);
    margin: 80px auto;
}

#mbomiCards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.publication-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.mbomi-search-section {
    width: min(var(--container), 92%);
    margin: 60px auto 100px;
}

.search-box {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--primary);
}

.search-box input {
    width: 100%;
    height: 64px;
    padding: 0 24px 0 64px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/*=========================================================
SECTION MBOMI - CARTE IMMERSIVE
=========================================================*/
.mbomi-featured-section {
    width: 100%;
    margin: 40px 0;
}

.mbomi-section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary, #071B3C);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mbomi-card-immersive {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f4f7fc 100%);
    border-radius: 24px;
    padding: 32px 35px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px rgba(11, 46, 99, 0.06),
                0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-ambient-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mbomi-card-immersive:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(11, 46, 99, 0.12),
                0 0 20px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.mbomi-card-immersive:hover .card-ambient-glow {
    opacity: 1;
}

.card-inner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.badge-container {
    margin-bottom: 16px;
}

.mbomi-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(11, 46, 99, 0.08) 0%, rgba(11, 46, 99, 0.03) 100%);
    border: 1px solid rgba(11, 46, 99, 0.12);
    color: var(--primary, #071B3C);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.card-body-text {
    margin-bottom: 20px;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary, #071B3C);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.article-subtitle {
    font-size: 0.98rem;
    color: #5a6e85;
    font-weight: 500;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-top: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7b8c9d;
    font-size: 0.88rem;
    font-weight: 600;
}

.text-gold {
    color: #d4af37;
}

.btn-full-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #d4af37 0%, #c49e2b 100%);
    color: #071b3c;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.28);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-full-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
}

.btn-full-action:hover::before {
    left: 100%;
}

.btn-full-action:hover {
    background: linear-gradient(135deg, #071b3c 0%, #0e2a58 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(11, 46, 99, 0.35);
    transform: scale(1.01);
}

.btn-full-action .icon-arrow {
    transition: transform 0.3s ease;
}

.btn-full-action:hover .icon-arrow {
    transform: translateX(8px);
}

/*=========================================================
ADAPTATIF (RESPONSIVE)
=========================================================*/
@media (max-width: 1200px) {
    .hero-container {
        padding-left: 80px;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .mbomi-dock {
        position: fixed;
        bottom: 20px;
        left: 50%;
        top: auto;
        transform: translateX(-50%);
        flex-direction: row;
        padding: 10px 16px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 24px;
        margin-top: 40px;
    }

    .hero-right {
        align-items: center;
    }

    .mbomi-dashboard {
        grid-template-columns: 1fr;
    }

    .intro-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-section { padding: 30px 20px; }
    #calendar { gap: 8px; }
    .calendar-day { min-height: 95px; padding: 10px; }
}

@media (max-width: 768px) {
    .calendar-headline { font-size: 1.7rem; }
    .month-selector-card { width: 100%; justify-content: space-between; }
}

@media (max-width: 600px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .month-grid {
        grid-template-columns: 1fr;
    }

    #calendar {
        grid-template-columns: repeat(2, 1fr);
    }
}