/* ========== STYLE FINAL - INTERNATIONAL PREMIUM ========== */

:root {
    --navy: #0D1F2D;
    --navy-light: #1B2F3F;
    --gold: #C4A46C;
    --gold-light: #D4B87A;
    --cream: #F5F0E8;
    --cream-muted: #E8E2D8;
}

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

body {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    background: var(--navy);
    color: var(--cream);
    line-height: 1.5;
    font-weight: 350;
    font-size: 17px;
}

/* ========== TYPOGRAPHIE ========== */
h1, h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4rem;
    margin-bottom: 0.25rem;
    line-height: 1.08;
}

h1 span {
    color: var(--gold);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* ========== SÉLECTEUR DE LANGUE - DESKTOP ========== */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 80px;
    z-index: 9999;
    background: #0D1F2D;
    border: 1px solid #C4A46C;
    border-radius: 40px;
    padding: 6px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.lang-switcher a {
    color: #E8E2D8;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: #C4A46C;
    font-weight: 500;
}

/* ========== NAVIGATION ========== */
.navbar {
    background: rgba(13,31,45,0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(196,164,108,0.12);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--cream) !important;
}

.navbar-brand span {
    color: var(--gold);
}

.nav-link {
    color: var(--cream-muted) !important;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--gold) !important;
}

/* Menu burger */
.navbar-toggler {
    border-color: rgba(196,164,108,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C4A46C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== DIVIDER ========== */
.divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem 0;
    opacity: 0.4;
}

/* ========== HERO ========== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.hero-tag {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero .position {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream-muted);
    margin-bottom: 1.5rem;
}

.hero .tagline {
    font-size: 0.9rem;
    color: var(--cream-muted);
    max-width: 450px;
    margin: 1.5rem 0;
}

/* ========== EXPERTISE BLOCKS ========== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem;
    margin: 2rem 0;
}

.expertise-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(196,164,108,0.1);
}

.expertise-item h3 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.expertise-item p {
    font-size: 0.8rem;
    color: var(--cream-muted);
    margin: 0;
}

/* ========== BOUTONS ========== */
.btn-ghost {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(196,164,108,0.1);
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 30px;
    transition: all 0.2s;
}

.btn-linkedin:hover {
    background: #005e8c;
    color: white;
}

/* ========== AFFILIATIONS ========== */
.affiliations {
    padding: 2rem 0;
    border-top: 1px solid rgba(196,164,108,0.08);
    margin-top: 2rem;
}

.affiliations p {
    font-size: 0.55rem;
    letter-spacing: 2px;
    color: rgba(232,226,216,0.3);
    text-transform: uppercase;
    text-align: center;
}

/* ========== FOOTER ========== */
.footer {
    background: #071220;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(196,164,108,0.08);
}

.footer p {
    font-size: 0.7rem;
    color: rgba(232,226,216,0.35);
    margin-bottom: 0.25rem;
}

.footer a {
    color: rgba(232,226,216,0.35);
    text-decoration: none;
}

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

/* ========== TAILLE ARABE PLUS GRANDE ========== */
[lang="ar"] body,
[lang="ar"] p,
[lang="ar"] .hero-tag,
[lang="ar"] .tagline,
[lang="ar"] .position,
[lang="ar"] .expertise-item p,
[lang="ar"] .expertise-item h3,
[lang="ar"] .affiliations p,
[lang="ar"] .footer p,
[lang="ar"] .btn-ghost,
[lang="ar"] .btn-linkedin {
    font-size: 1.15em;
}

[lang="ar"] h1 {
    font-size: 3.8rem;
}

[lang="ar"] h3 {
    font-size: 0.9rem;
}

[lang="ar"] .hero .tagline {
    font-size: 1rem;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    /* Navigation mobile */
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar-brand {
        font-size: 0.85rem;
    }
    
    .navbar-collapse {
        background: rgba(13,31,45,0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        text-align: center;
    }
    
    /* Animation menu burger */
    .navbar-collapse.show {
        animation: fadeInMenu 0.3s ease;
    }
    
    /* Hero section mobile */
    .hero {
        min-height: auto;
        text-align: center;
        padding: 5rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .tagline {
        font-size: 0.9rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero .position {
        font-size: 0.7rem;
    }
    
    .hero-tag {
        font-size: 0.55rem;
    }
    
    /* Divider centré */
    .divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Expertise grid en colonne */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .expertise-item {
        text-align: center;
        padding: 1rem 0;
    }
    
    /* Affiliations */
    .affiliations p {
        font-size: 0.5rem;
        letter-spacing: 1px;
    }
    
    /* Footer mobile */
    .footer .row {
        text-align: center;
    }
    
    .footer .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    .footer .text-md-end {
        text-align: center !important;
    }
    
    /* Boutons mobile */
    .btn-ghost, .btn-linkedin {
        padding: 0.5rem 1.2rem;
        font-size: 0.65rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    /* SÉLECTEUR DE LANGUE MOBILE - DISCRET EN HAUT À DROITE (plus petit) */
    .lang-switcher {
        top: 8px !important;
        right: 8px !important;
        left: auto !important;
        padding: 3px 8px !important;
        font-size: 9px !important;
        z-index: 10000 !important;
        background: rgba(13,31,45,0.95) !important;
    }
    
    .lang-switcher a {
        margin: 0 3px !important;
        font-size: 9px !important;
    }
}

/* Animation du menu burger */
@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}