/* ============================================
   LLP LAW FIRM - STYLE PRINCIPAL
   Palette : Bleu foncé (#0A1C3A) | Doré (#C6A43F) | Blanc (#FFFFFF)
   Police : Times New Roman
   Design : Barely-There UI + Constangy
   ============================================ */

/* ---------- RESET & VARIABLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bleu-profond: #0A1C3A;
    --bleu-nuit: #0F2A4A;
    --bleu-clair: #1A3A5C;
    --dore: #C6A43F;
    --dore-clair: #D4B96A;
    --dore-fonce: #9E7E2E;
    --blanc: #FFFFFF;
    --blanc-casse: #F8F8F8;
    --gris-clair: #F0F0F0;
    --gris-moyen: #CCCCCC;
    --texte-fonce: #111111;
    --ombre-legere: 0 10px 30px rgba(0,0,0,0.05);
    --ombre-doree: 0 5px 20px rgba(198,164,63,0.15);
    --transition-douce: all 0.3s ease;
}

body {
    font-family: 'Times New Roman', Times, serif;
    color: var(--texte-fonce);
    background-color: var(--blanc-casse);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- TYPOGRAPHIE (Times New Roman pure) ---------- */
h1, h2, h3, h4, h5, h6, p, a, span, li, button, input, textarea, label {
    font-family: 'Times New Roman', Times, serif;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* ---------- COULEURS SPECIFIQUES ---------- */
.text-bleu {
    color: var(--bleu-profond);
}

.text-dore {
    color: var(--dore);
}

.bg-bleu {
    background-color: var(--bleu-profond);
}

.bg-dore {
    background-color: var(--dore);
}

.bg-blanc {
    background-color: var(--blanc);
}

/* ---------- BOUTONS ---------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: var(--transition-douce);
    cursor: pointer;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primaire {
    background-color: var(--dore);
    color: var(--bleu-profond);
    border: 1px solid var(--dore);
}

.btn-primaire:hover {
    background-color: transparent;
    color: var(--dore);
    transform: translateY(-3px);
    box-shadow: var(--ombre-doree);
}

.btn-secondaire {
    background-color: transparent;
    color: var(--blanc);
    border: 1px solid var(--blanc);
}

.btn-secondaire:hover {
    background-color: var(--dore);
    border-color: var(--dore);
    color: var(--bleu-profond);
    transform: translateY(-3px);
}

.btn-bleu {
    background-color: var(--bleu-profond);
    color: var(--blanc);
    border: 1px solid var(--bleu-profond);
}

.btn-bleu:hover {
    background-color: transparent;
    color: var(--bleu-profond);
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bleu-profond);
    backdrop-filter: blur(0px);
    z-index: 1000;
    padding: 1rem 5%;
    border-bottom: 2px solid var(--dore);
    transition: var(--transition-douce);
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background: var(--bleu-profond);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-douce);
}

.navbar.scrolled .logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--blanc);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-douce);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dore);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--dore);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--blanc);
    margin: 3px 0;
    transition: var(--transition-douce);
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10,28,58,0.9) 0%, rgba(15,42,74,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero h1 {
    color: var(--blanc);
    margin-bottom: 1rem;
}

.hero .slogan {
    font-size: 1.3rem;
    color: var(--dore);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- SECTIONS GENERALES ---------- */
.section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-titre {
    text-align: center;
    margin-bottom: 3rem;
}

.section-titre h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-titre h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--dore);
}

.section-titre p {
    color: var(--bleu-clair);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ---------- GRILLE CARTES (Constangy style) ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 0;
    transition: var(--transition-douce);
    border-bottom: 3px solid transparent;
    box-shadow: var(--ombre-legere);
}

.card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--dore);
    box-shadow: var(--ombre-doree);
}

.card h3 {
    color: var(--bleu-profond);
    margin-bottom: 1rem;
}

.card p {
    color: var(--texte-fonce);
    margin-bottom: 1.5rem;
}

.card .btn-card {
    color: var(--dore);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition-douce);
}

.card .btn-card:hover {
    margin-left: 10px;
    color: var(--dore-fonce);
}

/* ---------- SECTION VALEURS (CARE / LEAD / JUSTICE) ---------- */
.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.valeur-block {
    background: var(--blanc);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-douce);
}

.valeur-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-doree);
}

.valeur-icon {
    font-size: 3rem;
    color: var(--dore);
    margin-bottom: 1rem;
}

.valeur-block h3 {
    color: var(--bleu-profond);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    letter-spacing: 3px;
}

.valeur-block p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- EQUIPE (Style Constangy) ---------- */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.membre-card {
    background: var(--blanc);
    text-align: center;
    transition: var(--transition-douce);
    overflow: hidden;
}

.membre-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ombre-doree);
}

.membre-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-douce);
}

.membre-card:hover .membre-photo {
    transform: scale(1.05);
}

.membre-info {
    padding: 1.5rem;
}

.membre-info h3 {
    color: var(--bleu-profond);
    margin-bottom: 0.3rem;
}

.membre-info .poste {
    color: var(--dore);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.membre-info .specialites {
    font-size: 0.85rem;
    color: var(--gris-moyen);
    margin-top: 0.5rem;
}

/* ---------- FORMULAIRES ---------- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--bleu-profond);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gris-moyen);
    background: var(--blanc);
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    transition: var(--transition-douce);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dore);
    box-shadow: 0 0 0 3px rgba(198,164,63,0.1);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--bleu-profond);
    color: var(--blanc);
    padding: 50px 5% 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--dore);
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
    color: var(--blanc-casse);
    text-decoration: none;
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--dore);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .navbar {
        padding: 0.8rem 5%;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--bleu-profond);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .section {
        padding: 50px 5%;
    }
    
    .grid,
    .valeurs-grid,
    .equipe-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero .slogan {
        font-size: 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* ---------- ANIMATIONS (Constangy style) ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- UTILITAIRES ---------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}
/* ========== HERO AVEC CANVAS ANIMATION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,28,58,0.75) 0%, rgba(15,42,74,0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .slogan {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--dore);
    margin-bottom: 2rem;
    font-style: italic;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: white;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.scroll-indicator i {
    font-size: 1rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive hero */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
}



.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* ========== UNIVERS LLP - STYLES IMMERSIFS ========== */

/* Variables */
:root {
    --bleu-profondeur: #050C1A;
    --bleu-nuit: #0A1C3A;
    --bleu-canard: #123456;
    --dore: #C6A43F;
    --dore-glow: rgba(198,164,63,0.3);
    --argent: #E8E8E8;
    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== HERO IMMERSIVE ===== */
.hero-immersive {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-canvas-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.06;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0) invert(1);
}

.hero-overlay-soft {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(5,12,26,0.4) 0%, rgba(5,12,26,0.85) 100%);
    z-index: 1;
}

.hero-foreground {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s ease;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--dore);
}

.badge-text {
    color: var(--dore);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    font-weight: 500;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.1;
    animation: fadeSlideUp 0.8s ease 0.2s both;
}

.title-subline {
    display: block;
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    margin-top: 0.5rem;
    animation: fadeSlideUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease 0.6s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--dore);
    color: var(--bleu-profondeur);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.btn-hero-primary:hover {
    gap: 1.2rem;
    background: var(--dore);
    filter: brightness(1.1);
    transform: translateY(-3px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
    border-color: var(--dore);
    color: var(--dore);
    gap: 1rem;
}

/* Scroll trigger */
.scroll-trigger {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    cursor: pointer;
}

.scroll-trigger .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 8px;
}

.scroll-trigger .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

.scroll-trigger span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

/* ===== STATS FLOTTANTES ===== */
.stats-float {
    padding: 100px 5% 60px;
    background: linear-gradient(180deg, var(--bleu-profondeur) 0%, var(--bleu-nuit) 100%);
    position: relative;
    z-index: 2;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card-float {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--dore);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.stat-card-float:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dore);
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.stat-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0.1;
    font-size: 2rem;
}

/* ===== SECTIONS GÉNÉRALES ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.dark {
    color: white;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dore);
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-header.dark h2 {
    color: white;
}

.text-gradient {
    background: linear-gradient(135deg, var(--dore) 0%, #E8D5A4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #C6A43F 0%, #F2D97C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Domaines grid */
.section-domaines {
    padding: 80px 5%;
    background: white;
}

.domaines-grid-interactive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.domaine-card-3d {
    background: var(--blanc);
    padding: 2rem;
    transition: var(--transition-smooth);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.domaine-card-3d::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--dore);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.domaine-card-3d:hover::before {
    transform: scaleX(1);
}

.domaine-card-3d:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.domaine-icon {
    width: 60px;
    height: 60px;
    background: rgba(198,164,63,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.domaine-icon i {
    font-size: 1.8rem;
    color: var(--dore);
}

.domaine-card-3d h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--bleu-profond);
}

.domaine-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dore);
    text-decoration: none;
    margin-top: 1rem;
    font-weight: 600;
    transition: gap 0.3s;
}

.domaine-link:hover {
    gap: 1rem;
}

/* Valeurs univers */
.section-valeurs-univers {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--bleu-profondeur) 0%, #0A1C3A 100%);
    color: white;
}

.valeurs-univers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.valeur-univers-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    transition: var(--transition-smooth);
}

.valeur-univers-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}

.valeur-sphere {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-icon {
    width: 70px;
    height: 70px;
    background: var(--dore);
    color: var(--bleu-profondeur);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.sphere-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border: 1px solid var(--dore);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { width: 70px; height: 70px; opacity: 1; }
    100% { width: 100px; height: 100px; opacity: 0; }
}

.valeur-letters {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--dore);
    margin-bottom: 1rem;
}

.valeur-words {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.valeur-words span {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 0.2rem 0.6rem;
}

/* Équipe */
.section-equipe-univers {
    padding: 80px 5%;
    background: white;
}

.equipe-univers-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.membre-univers-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.membre-univers-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.membre-univers-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.membre-univers-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.membre-univers-card:hover .membre-univers-image img {
    transform: scale(1.05);
}

.membre-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, white, transparent);
}

.membre-univers-info {
    padding: 1.5rem;
    text-align: center;
}

.membre-univers-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.membre-univers-info .poste {
    color: var(--dore);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.membre-specialites {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.membre-specialites span {
    font-size: 0.7rem;
    background: #f0f0f0;
    padding: 0.2rem 0.6rem;
}

/* Actualités */
.section-actualites-univers {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--bleu-profondeur) 0%, #0A1C3A 100%);
}

.actualites-univers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.actu-univers-card {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
}

.actu-univers-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.actu-date {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--dore);
    color: var(--bleu-profondeur);
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: bold;
}

.actu-date .day {
    font-size: 1.2rem;
    display: block;
    line-height: 1;
}

.actu-date .month {
    font-size: 0.6rem;
    text-transform: uppercase;
}

.actu-univers-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    padding-right: 60px;
}

.actu-univers-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.actu-link {
    color: var(--dore);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    transition: gap 0.3s;
}

.actu-link:hover {
    gap: 1rem;
}

/* CTA Final */
.section-cta-final {
    padding: 100px 5%;
    background: white;
    text-align: center;
}

.cta-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, var(--bleu-profondeur) 0%, #0A1C3A 100%);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(198,164,63,0.1) 0%, transparent 70%);
    animation: rotateGlow 10s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-container h2 {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-container p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--dore);
    color: var(--bleu-profondeur);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.btn-cta-final:hover {
    gap: 1.2rem;
    filter: brightness(1.05);
}

/* Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    color: var(--bleu-profond);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--dore);
    transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
    background: var(--dore);
    color: var(--bleu-profond);
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .domaines-grid-interactive,
    .valeurs-univers-grid,
    .equipe-univers-carousel,
    .actualites-univers-grid {
        grid-template-columns: 1fr;
    }
    
    .valeur-letters {
        font-size: 1.3rem;
    }
}

/* ===== HERO IMMERSIVE ===== */
.hero-immersive {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-canvas-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ===== LOGO EN WATERMARK (fond transparent) ===== */
.hero-watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    height: auto;
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    aspect-ratio: 1 / 1;
}

/* ===== LOGO EN FOREGROUND (normal, visible) ===== */
.hero-logo-foreground {
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s ease;
}

.hero-logo-foreground img {
    max-width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.hero-logo-foreground img:hover {
    transform: scale(1.05);
}

/* Overlay */
.hero-overlay-soft {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(5,12,26,0.3) 0%, rgba(5,12,26,0.7) 100%);
    z-index: 1;
}

.hero-foreground {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

/* Badge, titre, boutons (reste identique) */
.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeSlideUp 0.8s ease 0.1s both;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--dore);
}

.badge-text {
    color: var(--dore);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    font-weight: 500;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: fadeSlideUp 0.8s ease 0.2s both;
}

.title-subline {
    display: block;
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    margin-top: 0.5rem;
    font-style: italic;
    animation: fadeSlideUp 0.8s ease 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease 0.5s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--dore);
    color: var(--bleu-profondeur);
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.btn-hero-primary:hover {
    gap: 1.2rem;
    background: var(--dore);
    filter: brightness(1.1);
    transform: translateY(-3px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: transparent;
    color: white;
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.4);
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
    border-color: var(--dore);
    color: var(--dore);
    gap: 1rem;
    background: rgba(198,164,63,0.1);
}

/* Scroll trigger */
.scroll-trigger {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    cursor: pointer;
}

.scroll-trigger .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 8px;
}

.scroll-trigger .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

.scroll-trigger span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-logo-foreground img {
        max-width: 120px;
    }
    
    .hero-watermark-logo {
        width: 90%;
        opacity: 0.05;
    }
}

/* ===== LOGO + NOM DU CABINET ===== */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-douce);
}

.navbar.scrolled .logo img {
    height: 45px;
}

/* Nom du cabinet en doré */
.logo-text {
    display: flex;
    align-items: center;
}

.logo-text .firm-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dore); /* Doré */
    text-decoration: none;
    letter-spacing: 2px;
    transition: var(--transition-douce);
}

.logo-text .firm-name span {
    color: var(--blanc); /* "Law Firm" en blanc */
    font-weight: 300;
    letter-spacing: 1px;
}

.navbar.scrolled .logo-text .firm-name {
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-wrapper {
        gap: 0.5rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text .firm-name {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .logo-text .firm-name span {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }
    
    .logo-text .firm-name {
        font-size: 0.9rem;
    }
    
    .logo-text .firm-name span {
        font-size: 0.75rem;
    }
}

/* ===== HERO STATS FLOTTANTS ===== */
.hero-stats-floating {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin: 2rem 0;
    animation: fadeSlideUp 0.8s ease 0.5s both;
}

.floating-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.floating-stat:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(198,164,63,0.3);
}

.floating-stat i {
    color: var(--dore);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.3rem;
}

.floating-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
    font-family: 'Times New Roman', Times, serif;
}

.floating-stat .stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== TROMPE-L'ŒIL CARTES DOMAINES ===== */
.domaine-card-3d {
    position: relative;
    overflow: hidden;
}

.card-depth {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(198,164,63,0.03) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.6s ease;
}

.domaine-card-3d:hover .card-depth {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(198,164,63,0.08) 0%, transparent 70%);
}

/* ===== CAROUSEL ÉQUIPE ===== */
.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 280px;
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(100% - 0rem);
    }
}

/* Boutons du carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--dore);
    border-color: var(--dore);
    color: var(--bleu-profond);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Dots indicateurs */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--dore);
    transform: scale(1.3);
}

/* Overlay sur les cartes membres */
.membre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,28,58,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.membre-univers-card:hover .membre-overlay {
    opacity: 1;
}

.btn-overlay {
    width: 50px;
    height: 50px;
    background: var(--dore);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bleu-profond);
    font-size: 1.2rem;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.membre-univers-card:hover .btn-overlay {
    transform: scale(1);
}

.btn-overlay:hover {
    transform: scale(1.1);
    background: white;
}

/* Réseaux sociaux sur les cartes */
.membre-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.8rem;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(198,164,63,0.1);
    border: 1px solid rgba(198,164,63,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dore);
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--dore);
    color: var(--bleu-profond);
    transform: translateY(-3px);
}

/* ===== CTA ICÔNES FLOTTANTES ===== */
.cta-icons-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.cta-icons-floating i {
    position: absolute;
    font-size: 2rem;
    color: rgba(198,164,63,0.15);
    animation: floatIcon 8s ease-in-out infinite;
}

.cta-icons-floating i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.cta-icons-floating i:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; }
.cta-icons-floating i:nth-child(3) { bottom: 20%; left: 15%; animation-delay: 4s; }
.cta-icons-floating i:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 6s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* ===== ACTUALITÉS ICÔNE ===== */
.actu-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.8rem;
    color: rgba(198,164,63,0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-stats-floating {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .floating-stat {
        min-width: 80px;
        padding: 0.5rem 1rem;
    }
    
    .floating-stat .stat-number {
        font-size: 1.3rem;
    }
    
    .carousel-wrapper {
        padding: 0 30px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* ===== CAROUSEL ÉQUIPE ===== */
.carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 280px;
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 calc(100% - 0rem);
    }
}

/* Boutons du carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--dore);
    border-color: var(--dore);
    color: var(--bleu-profond);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Dots indicateurs */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--dore);
    transform: scale(1.3);
}

/* Overlay sur les cartes membres */
.membre-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10,28,58,0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.membre-univers-card:hover .membre-overlay {
    opacity: 1;
}

.btn-overlay {
    width: 50px;
    height: 50px;
    background: var(--dore);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bleu-profond);
    font-size: 1.2rem;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.membre-univers-card:hover .btn-overlay {
    transform: scale(1);
}

.btn-overlay:hover {
    transform: scale(1.1);
    background: white;
}

/* Réseaux sociaux sur les cartes */
.membre-social {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.8rem;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(198,164,63,0.1);
    border: 1px solid rgba(198,164,63,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dore);
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--dore);
    color: var(--bleu-profond);
    transform: translateY(-3px);
}

/* ===== SECTION ACTUALITÉS RÉCENTES ===== */
.section-actualites-recentes {
    padding: 80px 5%;
    background: var(--blanc-casse);
}

.actualites-recentes-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

/* Article featured (grand) */
.actu-recente-card.featured {
    grid-row: span 2;
}

.actu-recente-featured {
    background: var(--blanc);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    transition: var(--transition-douce);
    height: 100%;
}

.actu-recente-featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-doree);
}

.actu-recente-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.actu-recente-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.actu-recente-featured:hover .actu-recente-image img {
    transform: scale(1.03);
}

.actu-recente-content {
    padding: 2rem;
}

.actu-recente-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.actu-recente-date {
    color: var(--gris-moyen);
    font-size: 0.85rem;
}

.actu-recente-date i {
    color: var(--dore);
    margin-right: 5px;
}

.actu-recente-badge {
    background: var(--dore);
    color: var(--bleu-profond);
    padding: 0.2rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.actu-recente-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--bleu-profond);
}

.actu-recente-content h3 a {
    color: var(--bleu-profond);
    text-decoration: none;
    transition: var(--transition-douce);
}

.actu-recente-content h3 a:hover {
    color: var(--dore);
}

.actu-recente-content p {
    color: var(--texte-fonce);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.actu-recente-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dore);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.actu-recente-link:hover {
    gap: 1rem;
    color: var(--dore-fonce);
}

/* Articles secondaires */
.actu-recente-item {
    background: var(--blanc);
    display: flex;
    gap: 1rem;
    padding: 1rem;
    box-shadow: var(--ombre-legere);
    transition: var(--transition-douce);
    align-items: flex-start;
}

.actu-recente-item:hover {
    transform: translateX(5px);
    box-shadow: var(--ombre-doree);
}

.actu-recente-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.actu-recente-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.actu-recente-item:hover .actu-recente-item-image img {
    transform: scale(1.05);
}

.actu-recente-item-content {
    flex: 1;
}

.actu-recente-item-date {
    font-size: 0.75rem;
    color: var(--gris-moyen);
}

.actu-recente-item-date i {
    color: var(--dore);
    margin-right: 4px;
}

.actu-recente-item-content h4 {
    font-size: 1rem;
    margin: 0.3rem 0;
}

.actu-recente-item-content h4 a {
    color: var(--bleu-profond);
    text-decoration: none;
    transition: var(--transition-douce);
}

.actu-recente-item-content h4 a:hover {
    color: var(--dore);
}

.actu-recente-item-content p {
    font-size: 0.85rem;
    color: var(--texte-fonce);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.actu-recente-item-link {
    font-size: 0.8rem;
    color: var(--dore);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.actu-recente-item-link:hover {
    gap: 0.6rem;
}

/* Responsive */
@media (max-width: 992px) {
    .actualites-recentes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .actu-recente-card.featured {
        grid-row: span 1;
    }
    
    .actu-recente-image {
        height: 220px;
    }
    
    .actu-recente-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .section-actualites-recentes {
        padding: 50px 5%;
    }
    
    .actu-recente-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .actu-recente-item-image {
        width: 100%;
        height: 150px;
    }
    
    .actu-recente-content {
        padding: 1.2rem;
    }
    
    .actu-recente-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .actu-recente-content h3 {
        font-size: 1.1rem;
    }
    
    .actu-recente-meta {
        gap: 0.5rem;
    }
}

/* ===== THROWBACK CAROUSEL ===== */
.throwback-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 40px;
}

.throwback-carousel-container {
    position: relative;
    overflow: hidden;
}

.throwback-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.throwback-carousel-slide {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
}

.throwback-card-carousel {
    background: var(--blanc);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    transition: all 0.3s ease;
}

.throwback-card-carousel:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-doree);
}

.throwback-image {
    height: 250px;
    overflow: hidden;
    background: var(--bleu-profond);
}

.throwback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.throwback-card-carousel:hover .throwback-image img {
    transform: scale(1.05);
}

.throwback-card-content {
    padding: 1.2rem;
    text-align: center;
}

.throwback-card-content h4 {
    color: var(--bleu-profond);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.throwback-card-content p {
    font-size: 0.8rem;
    color: var(--texte-fonce);
    margin-bottom: 0.3rem;
}

.throwback-card-content .throwback-theme {
    display: inline-block;
    background: var(--dore);
    color: var(--bleu-profond);
    padding: 0.2rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 3px;
}

/* Boutons carousel */
.throwback-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    color: var(--bleu-profond);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.throwback-carousel-btn:hover {
    background: var(--dore);
    color: var(--bleu-profond);
}

.throwback-carousel-btn.prev {
    left: 0;
}

.throwback-carousel-btn.next {
    right: 0;
}

.throwback-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.throwback-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.throwback-dot.active {
    background: var(--dore);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 992px) {
    .throwback-carousel-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .throwback-carousel-slide {
        flex: 0 0 100%;
    }
    
    .throwback-carousel-wrapper {
        padding: 0 30px;
    }
    
    .throwback-carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .throwback-image {
        height: 200px;
    }
}

/* ===== AFFICHE CARD ===== */
.affiche-card {
    background: var(--blanc);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ombre-legere);
    border-left: 3px solid var(--dore);
    padding: 0;
    margin-bottom: 1.5rem;
}

.affiche-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.affiche-card:hover .affiche-image {
    transform: scale(1.02);
}

.affiche-card {
    position: relative;
    overflow: hidden;
}

.affiche-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,28,58,0.1), transparent);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .affiche-image {
        max-height: 300px;
        object-fit: cover;
    }
}

/* ===== MINING CARD DANS ACTUALITÉS ===== */
.mining-card .mining-featured {
    border-left: 3px solid var(--dore);
}

.mining-card .mining-image {
    position: relative;
    background: var(--bleu-profond);
}

.mining-card .mining-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mining-card:hover .mining-image img {
    transform: scale(1.03);
}

.mining-overlay-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--dore);
    color: var(--bleu-profond);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 15px rgba(198,164,63,0.4);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.mining-badge {
    background: var(--dore) !important;
    color: var(--bleu-profond) !important;
}

.mining-badge i {
    margin-right: 3px;
}

.mining-link {
    color: var(--dore) !important;
}

.mining-link:hover {
    color: var(--dore-fonce) !important;
    gap: 1rem !important;
}

/* ===== REDIMENSIONNEMENT DES IMAGES D'ACTUALITÉS ===== */
/* Article principal (featured) */
.actu-recente-featured .actu-recente-image {
    height: 320px;
    overflow: hidden;
}

.actu-recente-featured .actu-recente-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.actu-recente-featured:hover .actu-recente-image img {
    transform: scale(1.03);
}

/* Articles secondaires */
.actu-recente-item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 6px;
}

.actu-recente-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.actu-recente-item:hover .actu-recente-item-image img {
    transform: scale(1.05);
}

/* Mining Week dans la grille */
.mining-card .actu-recente-image {
    height: 320px;
    overflow: hidden;
}

.mining-card .actu-recente-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .actu-recente-featured .actu-recente-image {
        height: 250px;
    }
    
    .mining-card .actu-recente-image {
        height: 250px;
    }
    
    .actu-recente-item-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .actu-recente-featured .actu-recente-image {
        height: 200px;
    }
    
    .mining-card .actu-recente-image {
        height: 200px;
    }
    
    .actu-recente-item-image {
        width: 100%;
        height: 150px;
    }
    
    .mining-overlay-badge {
        top: 10px;
        right: 10px;
        font-size: 0.6rem;
        padding: 4px 10px;
    }
}