/* Reset et Variables CSS */
:root {
    --color-primary: #0A2463;
    --color-secondary: #F8F9FA;
    --color-accent: #FF6B35;
    --color-text: #212529;
    --color-text-light: #495057;
    --color-white: #FFFFFF;
    --color-dark: #1a1a1a;
    --color-border: #e9ecef;
    --color-accent-dark: #F8F9FA;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== HERO SECTION CORRIGÉE ===== */
.hero-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #0d1f2b 50%, #0d1f2b 100%);
    overflow: hidden;
    margin-top: 140px;
    padding: 4rem 0;
}

.hero-main__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Formes flottantes animées */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 1.5s;
}

.hero-shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 15%;
    animation-delay: 3s;
}

.hero-shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 85%;
    animation-delay: 4.5s;
}

.hero-shape-5 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 90%;
    animation-delay: 6s;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.hero-main__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Badge */
.hero-main__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
    animation: heroSlideDown 0.8s ease-out;
}

.hero-badge__icon {
    font-size: 1.2rem;
}

.hero-badge__text {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Titre principal */
.hero-main__title-wrapper {
    margin-bottom: 2rem;
}

.hero-main__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-main-title-line {
    display: block;
    opacity: 0;
    animation: heroSlideUp 0.8s ease-out forwards;
}

.hero-main-title-line:first-child {
    animation-delay: 0.3s;
}

.hero-main-title-line:last-child {
    animation-delay: 0.6s;
}

.hero-main-title-highlight {
    background: linear-gradient(45deg, #ffd89b, #19547b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-main-title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffd89b, #19547b);
    margin: 1rem auto;
    border-radius: 2px;
    opacity: 0;
    animation: heroExpandWidth 0.8s ease-out 1s forwards;
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroExpandWidth {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 100px;
    }
}

/* Sous-titre */
.hero-main__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-main-subtitle-part {
    display: block;
    opacity: 0;
    animation: heroFadeInUp 0.6s ease-out forwards;
}

.hero-main-subtitle-part:nth-child(1) { 
    animation-delay: 0.9s; 
}
.hero-main-subtitle-part:nth-child(2) { 
    animation-delay: 1.1s; 
}
.hero-main-subtitle-part:nth-child(3) { 
    animation-delay: 1.3s; 
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Statistiques */
.hero-main__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-main-stat {
    text-align: center;
    opacity: 0;
    animation: heroFadeIn 0.6s ease-out 1.5s forwards;
}

.hero-main-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd89b, #19547b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-main-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes heroFadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

/* Actions */
.hero-main__actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-main-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    animation: heroFadeInUp 0.6s ease-out 1.8s forwards;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    font-family: var(--font-body);
}

.hero-main-btn--accent {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.hero-main-btn--outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-main-btn-icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.hero-main-btn-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.hero-main-btn:hover {
    transform: translateY(-3px);
}

.hero-main-btn--accent:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.hero-main-btn:hover .hero-main-btn-wave {
    width: 300px;
    height: 300px;
}

.hero-main-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Indicateur de scroll */
.hero-main-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: heroFadeIn 0.6s ease-out 2.1s forwards;
    cursor: pointer;
    z-index: 4;
}

.hero-main-scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 auto 0.5rem;
    position: relative;
}

.hero-main-scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: translateX(-50%) rotate(45deg);
}

.hero-main-scroll-text {
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-main-scroll:hover .hero-main-scroll-arrow {
    animation: heroBounce 2s infinite;
}

@keyframes heroBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-main__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
}

/* Particules */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.2;
}

.brand-text .subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Navigation */
.ucad-nav {
    background: var(--color-primary);
    position: relative;
    z-index: 1000;
}

.ucad-nav .container {
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.has-submenu > a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.has-submenu:hover > a::after {
    transform: rotate(180deg);
}

.main-menu > li:last-child > a {
    border-right: none;
}

.main-menu > li > a:hover,
.main-menu > li > a.active {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Sous-menus */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    border: 1px solid var(--color-border);
}

.has-submenu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    position: relative;
}

.sub-menu a {
    display: block;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    position: relative;
    font-family: var(--font-body);
}

.sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sub-menu a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
    padding-left: 2rem;
}

.sub-menu a:hover::before {
    transform: scaleX(1);
}

.sub-menu li:last-child a {
    border-bottom: none;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

.section__title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Barre d'annonces */
.announcement-bar {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 0;
}

.announcement__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.announcement__badge {
    background-color: var(--color-white);
    color: var(--color-accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.announcement__text {
    margin: 0;
    font-weight: 500;
}

.announcement__link {
    color: var(--color-white);
    font-weight: 500;
    text-decoration: none;
}

/* Sections */
.section-padding {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--color-secondary);
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.bg-gradient {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Grid des éléments en vedette */
.featured__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured__card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.featured__card:hover {
    transform: translateY(-5px);
}

.featured__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.featured__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.featured__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.featured__date {
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.featured__description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Domaines d'activité */
.domains__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.domain__card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.domain__card:hover {
    transform: translateY(-5px);
}

.domain__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.domain__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.domain__description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.domain__link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.domain__link:hover {
    color: var(--color-accent);
}

/* ===== REVUES PUBLIÉES ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Filtres par année */
.years-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Grille des revues */
.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.journal-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Couverture de la revue */
.journal-cover {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.journal-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.cover-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.cover-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cover-volume {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cover-theme {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.cover-year {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
}

/* Variantes de couleurs pour les couvertures */
.journal-card:nth-child(2n) .journal-cover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
}

.journal-card:nth-child(3n) .journal-cover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.journal-card:nth-child(4n) .journal-cover {
    background: linear-gradient(135deg, #0d1f2b 0%, #0d1f2b 100%);
}

.journal-card:nth-child(5n) .journal-cover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.journal-card:nth-child(6n) .journal-cover {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
}

/* Informations de la revue */
.journal-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.journal-title {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.journal-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.journal-date,
.journal-pages,
.journal-articles {
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: var(--color-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.journal-description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
    font-size: 0.95rem;
}

.journal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.journal-actions .btn {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Animation pour le filtrage */
.journal-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.journal-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    display: none;
}

/* ===== RAC EN CHIFFRES ===== */
.rac-chiffres {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
    color: var(--color-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.rac-chiffres::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.rac-chiffres .section__title {
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.rac-chiffres .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    line-height: 1;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.4;
    font-weight: 500;
    max-width: 200px;
}

.stats-extra {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.stats-info h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.stats-info p {
    opacity: 0.9;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

.stats-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    background: rgba(255, 107, 53, 0.25);
    color: var(--color-accent);
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.badge:hover {
    background: rgba(255, 107, 53, 0.35);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer__description {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social__link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer__contacts p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 1;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .main-menu > li > a {
        padding: 1rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-main__title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .stats-extra {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .journals-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .brand-text h1 {
        font-size: 1.25rem;
    }
    
    /* Navigation mobile */
    .main-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .main-menu > li > a {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
        justify-content: space-between;
    }
    
    .has-submenu > a::after {
        margin-left: auto;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        width: 100%;
        border: none;
        border-radius: 0;
    }
    
    .sub-menu a {
        color: var(--color-white);
        border-bottom-color: rgba(255, 255, 255, 0.1);
        padding-left: 2rem;
    }
    
    .sub-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--color-white);
        padding-left: 2.5rem;
    }
    
    .sub-menu a::before {
        display: none;
    }
    
    /* Hero section mobile */
    .hero-main {
        margin-top: 200px;
        min-height: 90vh;
        padding: 1.5rem 0;
    }
    
    .hero-main__title {
        font-size: 2rem;
    }
    
    .hero-main__subtitle {
        font-size: 1.1rem;
    }
    
    .hero-main__actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-main-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-shapes {
        display: none;
    }
    
    .hero-main__content {
        padding: 2rem 0;
    }
    
    /* Typographie mobile */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .section__title {
        margin-bottom: 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    /* Grid mobile */
    .featured__grid,
    .domains__grid,
    .journals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .announcement__content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
        min-height: 170px;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .stat-icon {
        font-size: 3rem;
        margin-bottom: 1.25rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .stats-extra {
        padding: 2rem 1.5rem;
    }
    
    .stats-info h3 {
        font-size: 1.5rem;
    }
    
    .stats-info p {
        font-size: 1.05rem;
    }
    
    .badge {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .years-filter {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .journal-actions {
        flex-direction: column;
    }
    
    .journal-actions .btn {
        flex: none;
    }
    
    .journal-meta {
        gap: 0.5rem;
    }
    
    .journal-cover {
        height: 180px;
        padding: 0.75rem;
    }
    
    .cover-title {
        font-size: 2rem;
    }
    
    .journal-info {
        padding: 1.25rem;
    }
    
    .journal-title {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-main {
        margin-top: 180px;
    }
    
    .hero-main__title {
        font-size: 1.75rem;
    }
    
    .hero-main__subtitle {
        font-size: 1rem;
    }
    
    .featured__content,
    .domain__card,
    .journal-info {
        padding: 1.25rem;
    }
    
    .journal-info {
        padding: 1rem;
    }
    
    .journal-title {
        font-size: 1rem;
    }
    
    .cover-title {
        font-size: 1.8rem;
    }
    
    .cover-theme {
        font-size: 0.8rem;
        max-width: 200px;
    }
    
    .years-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .journal-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .journal-date,
    .journal-pages,
    .journal-articles {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .rac-chiffres {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        min-height: 160px;
        padding: 1.75rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stats-extra {
        padding: 1.75rem 1.25rem;
    }
    
    .badge {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
}

/* Animation au scroll */
.hero-main__content.animate-out .hero-main__title,
.hero-main__content.animate-out .hero-main__subtitle,
.hero-main__content.animate-out .hero-main__stats,
.hero-main__content.animate-out .hero-main__actions {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s ease;
}