:root {
    --primary-blue: #344096;
    --primary-yellow: #efea13;
    --secondary-blue: #1e2b6f;
    --dark-blue: #0f1a4a;
    --light-yellow: #fbf5a4;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark: #2d3436;
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-colored: 0 10px 30px rgba(52, 64, 150, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --gradient-yellow: linear-gradient(135deg, var(--primary-yellow), #f9d423);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* =================================== */
/* NAVIGATION */
/* =================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.logo-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(52, 64, 150, 0.2);
    border: 2px solid var(--primary-yellow);
    transition: var(--transition);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--primary-yellow);
    font-size: 1.8rem;
    box-shadow: 0 3px 10px rgba(52, 64, 150, 0.3);
    border: 2px solid var(--primary-yellow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    font-size: 1.4rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span:last-child {
    font-size: 0.8rem;
    color: var(--primary-blue);
    opacity: 0.8;
    letter-spacing: 1px;
}

.logo:hover .logo-image,
.logo:hover .logo-icon {
    transform: rotate(360deg);
    box-shadow: 0 5px 20px var(--primary-yellow);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 1rem;
}

.nav-links a:not(.btn):not(.btn-outline)::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):not(.btn-outline):hover::before {
    width: 100%;
}

.nav-links a:not(.btn):not(.btn-outline):hover {
    color: var(--primary-blue);
}

/* =================================== */
/* BOUTONS */
/* =================================== */
.btn, .btn-outline {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(239, 234, 19, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 234, 19, 0.4);
    background: #fdf78c;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    position: relative;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-blue);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background: var(--primary-yellow);
    color: var(--dark);
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--secondary-yellow);
    transform: scale(1.05);
}

/* =================================== */
/* HERO SECTION */
/* =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero.video-loaded .hero-video-background video {
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    font-weight: 700;
}

.hero-content h1 span {
    color: var(--primary-yellow);
    display: inline-block;
    animation: pulse 2s infinite;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    opacity: 0.9;
    animation: slideInLeft 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: slideInLeft 1s ease 0.4s both;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
}

/* =================================== */
/* SECTION REVUES */
/* =================================== */
.revues-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff, #f5f7fa);
    position: relative;
    overflow: hidden;
}

.revues-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 64, 150, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.revues-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 234, 19, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.revues-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.revues-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 30px 40px -20px rgba(52, 64, 150, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    animation: floatMagazine 6s ease-in-out infinite;
}

@keyframes floatMagazine {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-5deg) translateY(-15px); }
}

.revues-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: var(--shadow-lg), 0 40px 60px -20px rgba(52, 64, 150, 0.6);
}

.revues-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.revues-image:hover img {
    transform: scale(1.05);
}

.revues-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}

.revues-image::after {
    content: 'Mensuel';
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.revues-content {
    padding: 20px;
}

.revues-badge {
    display: inline-block;
    background: rgba(52, 64, 150, 0.1);
    color: var(--primary-blue);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(52, 64, 150, 0.2);
}

.revues-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 700;
}

.revues-content h2 span {
    color: var(--primary-yellow);
    display: block;
    font-size: 2rem;
    font-weight: 400;
    margin-top: 10px;
}

.revues-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.revues-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.revues-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.revues-feature i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.revues-feature span {
    color: var(--primary-blue);
    font-weight: 500;
}

.btn-revues {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gradient-blue);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(52, 64, 150, 0.3);
    border: 2px solid transparent;
}

.btn-revues i {
    transition: transform 0.3s ease;
}

.btn-revues:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(52, 64, 150, 0.4);
    background: var(--primary-blue);
    border-color: var(--primary-yellow);
}

.btn-revues:hover i {
    transform: translateX(10px);
}

/* =================================== */
/* SECTION LIVES - PARENTS SPIRITUELS */
/* =================================== */
.lives-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    position: relative;
    overflow: hidden;
}

.lives-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(239, 234, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.lives-section::after {
    content: '✝';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 150px;
    color: rgba(239, 234, 19, 0.05);
    font-family: serif;
    transform: rotate(15deg);
    pointer-events: none;
}

.lives-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.lives-header h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
}

.lives-header h2 span {
    color: var(--primary-yellow);
    display: block;
    font-size: 2rem;
    font-weight: 400;
    margin-top: 10px;
}

.lives-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.parents-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.parent-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.parent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.parent-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-yellow);
}

.parent-card:hover::before {
    width: 10px;
}

.parent-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-yellow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.parent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.parent-card:hover .parent-image img {
    transform: scale(1.1);
}

.parent-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.parent-info .parent-title {
    color: var(--primary-yellow);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.parent-info .parent-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =================================== */
/* CATÉGORIES AVEC IMAGES (sans overlay) */
/* =================================== */
.categories-lives {
    position: relative;
    z-index: 2;
}

.categories-lives h3 {
    text-align: center;
    color: white;
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.categories-lives h3 span {
    color: var(--primary-yellow);
}

.categories-grid-lives {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-live-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    aspect-ratio: 3/4;
}

.category-live-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 40px rgba(0,0,0,0.3);
}

.category-live-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-live-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-live-card:hover .category-live-image img {
    transform: scale(1.1);
}

/* OVERLAY SUPPRIMÉ - Image claire */
.category-live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Plus d'overlay sombre */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: var(--transition);
}

.category-live-card:hover .category-live-overlay {
    background: rgba(52, 64, 150, 0.1); /* Très léger au survol seulement */
}

.category-live-overlay h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Ombre sur le texte seulement */
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.category-live-card:hover .category-live-overlay h4 {
    transform: translateY(0);
}

.category-live-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3); /* Ombre sur le texte seulement */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.category-live-card:hover .category-live-overlay p {
    opacity: 1;
    transform: translateY(0);
}

.category-live-overlay i {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--primary-yellow);
    font-size: 2rem;
    opacity: 0;
    transform: rotate(-45deg);
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.category-live-card:hover .category-live-overlay i {
    opacity: 1;
    transform: rotate(0);
}

/* =================================== */
/* CATÉGORIES AMÉLIORÉES (sans overlay) */
/* =================================== */
.categories-enhanced {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa, #fff);
    position: relative;
}

.categories-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;
}

.categories-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.category-enhanced-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.category-enhanced-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg), 0 20px 30px rgba(52, 64, 150, 0.2);
}

.category-enhanced-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-enhanced-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-enhanced-card:hover .category-enhanced-image img {
    transform: scale(1.1);
}

/* OVERLAY SUPPRIMÉ */
.category-enhanced-image::after {
    display: none; /* Supprime complètement l'overlay */
}

.category-enhanced-content {
    padding: 25px;
    text-align: center;
    position: relative;
    background: white;
}

.category-enhanced-content h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-enhanced-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-enhanced-link {
    color: var(--primary-yellow);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.category-enhanced-card:hover .category-enhanced-link {
    gap: 10px;
    color: var(--primary-blue);
}
/* =================================== */
/* SECTION LECTURE NUMÉRIQUE/PAPIER */
/* =================================== */
.reading-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    position: relative;
    overflow: hidden;
}

.reading-section::before {
    content: '📚';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 150px;
    opacity: 0.03;
    transform: rotate(-15deg);
    font-family: Arial, sans-serif;
}

.reading-section::after {
    content: '📖';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 150px;
    opacity: 0.03;
    transform: rotate(15deg);
    font-family: Arial, sans-serif;
}

.reading-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.reading-content {
    padding: 30px;
}

.reading-badge {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(239, 234, 19, 0.3);
}

.reading-content h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.reading-content h2 span {
    color: var(--primary-yellow);
}

.reading-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.reading-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.reading-option {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(52, 64, 150, 0.1);
    position: relative;
    overflow: hidden;
}

.reading-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reading-option:hover::before {
    transform: scaleX(1);
}

.reading-option:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.reading-option i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: var(--transition);
}

.reading-option:hover i {
    color: var(--primary-yellow);
    transform: scale(1.2);
}

.reading-option h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.reading-option p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.reading-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.reading-features div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reading-features i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

.reading-features span {
    color: var(--primary-blue);
}

/* Apps Section */
.apps-section {
    margin-top: 60px;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.apps-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 234, 19, 0.05), transparent 70%);
    animation: rotate 30s linear infinite;
}

.apps-section h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
}

.apps-section p {
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.app-button:first-child {
    background: var(--primary-blue);
}

.app-button:last-child {
    background: #000;
}

.app-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: var(--primary-yellow);
}

.app-button i {
    font-size: 1.8rem;
}

.app-button span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.app-button span small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-button span strong {
    font-size: 1.2rem;
}

/* =================================== */
/* SECTION TITLES (SANS BARRE JAUNE) */
/* =================================== */
.section-title-new {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title-new span {
    color: var(--primary-yellow);
    position: relative;
    display: inline-block;
}

.section-title-new span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(239, 234, 19, 0.2);
    z-index: -1;
}

.section-subtitle-new {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =================================== */
/* CATÉGORIES AMÉLIORÉES */
/* =================================== */
.categories-enhanced {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa, #fff);
    position: relative;
}

.categories-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="%23344096" opacity="0.1"/></svg>');
    pointer-events: none;
}

.categories-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.category-enhanced-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.category-enhanced-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg), 0 20px 30px rgba(52, 64, 150, 0.2);
}

.category-enhanced-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-enhanced-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-enhanced-card:hover .category-enhanced-image img {
    transform: scale(1.1);
}

.category-enhanced-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(52, 64, 150, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-enhanced-card:hover .category-enhanced-image::after {
    opacity: 1;
}

.category-enhanced-content {
    padding: 25px;
    text-align: center;
    position: relative;
    background: white;
}

.category-enhanced-content h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-enhanced-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-enhanced-link {
    color: var(--primary-yellow);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.category-enhanced-card:hover .category-enhanced-link {
    gap: 10px;
    color: var(--primary-blue);
}

/* =================================== */
/* DERNIÈRES PARUTIONS AMÉLIORÉES */
/* =================================== */
.publications-enhanced {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff, #f0f2f5);
    position: relative;
}

.publications-enhanced::before {
    content: '✦';
    position: absolute;
    top: 50px;
    left: 50px;
    font-size: 150px;
    color: rgba(239, 234, 19, 0.05);
    transform: rotate(15deg);
    font-family: serif;
}

.publications-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.book-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.book-card-enhanced:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(52, 64, 150, 0.2);
}

.book-card-enhanced::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary-yellow);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card-enhanced:hover::after {
    opacity: 0.3;
}

.book-cover-enhanced {
    height: 300px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.book-cover-enhanced img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-md);
}

.book-card-enhanced:hover .book-cover-enhanced img {
    transform: scale(1.1) rotate(2deg);
}

.book-type-enhanced {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.book-info-enhanced {
    padding: 25px;
    background: white;
    position: relative;
}

.book-info-enhanced h3 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.book-info-enhanced .author {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.book-info-enhanced .author i {
    color: var(--primary-yellow);
}

.book-info-enhanced .price {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.book-info-enhanced .price::before {
    content: 'FCFA';
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
}

.btn-details {
    display: inline-block;
    background: transparent;
    color: var(--primary-blue);
    padding: 8px 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.btn-details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.btn-details:hover {
    color: var(--primary-yellow);
}

.btn-details:hover::after {
    width: 100%;
    background: var(--primary-blue);
}

/* =================================== */
/* ANIMATIONS */
/* =================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Effet de vague pour les cartes */
.book-card,
.book-card-enhanced {
    --x: 0px;
    --y: 0px;
}

.book-card:hover,
.book-card-enhanced:hover {
    transform: translateY(-15px) scale(1.02) perspective(1000px) rotateX(calc((var(--y) - 150) * -0.05deg)) rotateY(calc((var(--x) - 150) * 0.05deg));
}

/* Ripple effect pour les boutons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Préchargement */
.preload * {
    transition: none !important;
}

/* =================================== */
/* FOOTER */
/* =================================== */
footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 234, 19, 0.1), transparent 70%);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
    border-radius: 50%;
    animation: rotate 40s linear infinite reverse;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section:first-child {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
}

.footer-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-section p {
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 25px;
    position: relative;
    font-size: 1.3rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary-yellow);
}

.footer-section ul li a:hover::before {
    left: -5px;
    opacity: 1;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 15px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.contact-info li i {
    color: var(--primary-yellow);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-yellow), #f9d423);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover i {
    color: var(--dark-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    color: #ccc;
}

.footer-bottom a {
    color: var(--primary-yellow);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* =================================== */
/* MOBILE MENU */
/* =================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(52, 64, 150, 0.1);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

/* =================================== */
/* LOADING */
/* =================================== */
.loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(52, 64, 150, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-blue);
    border-right-color: var(--primary-yellow);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =================================== */
/* SCROLLBAR PERSONNALISÉE */
/* =================================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 6px;
    border: 3px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

/* =================================== */
/* SÉLECTION DE TEXTE */
/* =================================== */
::selection {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

/* =================================== */
/* RESPONSIVE DESIGN */
/* =================================== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .revues-content h2,
    .lives-header h2,
    .reading-content h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .revues-container,
    .parents-container,
    .reading-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .categories-grid-lives,
    .categories-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .revues-image {
        transform: perspective(1000px) rotateY(0);
        max-width: 400px;
        margin: 0 auto;
    }
    
    .parents-container {
        max-width: 600px;
        margin: 0 auto 60px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px;
        flex-direction: column;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 3px solid var(--primary-yellow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .revues-content h2,
    .lives-header h2,
    .reading-content h2 {
        font-size: 2.5rem;
    }
    
    .revues-content h2 span,
    .lives-header h2 span {
        font-size: 1.8rem;
    }
    
    .revues-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .categories-grid-lives,
    .categories-grid-enhanced {
        grid-template-columns: 1fr;
    }
    
    .parent-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .reading-options {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section:first-child {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .logo-text span:first-child {
        font-size: 1.1rem;
    }
    
    .logo-text span:last-child {
        font-size: 0.7rem;
    }
    
    .revues-content h2,
    .lives-header h2,
    .reading-content h2 {
        font-size: 2rem;
    }
    
    .revues-content h2 span,
    .lives-header h2 span {
        font-size: 1.5rem;
    }
    
    .section-title-new {
        font-size: 2.2rem;
    }
    
    .parent-card {
        padding: 20px;
    }
    
    .parent-image {
        width: 100px;
        height: 100px;
    }
    
    .parent-info h3 {
        font-size: 1.5rem;
    }
    
    .category-live-overlay h4 {
        font-size: 1.5rem;
    }
    
    .apps-section {
        padding: 30px 20px;
    }
}
																																																																																																																																																			  
																																																																																																																																																			  /* =================================== */
/* CATÉGORIES POPULAIRES - CARROUSEL */
/* =================================== */
.categories-carousel {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    position: relative;
    overflow: hidden;
}

.categories-carousel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 64, 150, 0.03), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.categories-carousel::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 234, 19, 0.03), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.carousel-container {
    position: relative;
    margin-top: 40px;
}

.carousel-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-left: 20px;
}

.carousel-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: var(--primary-yellow);
    border-radius: 5px;
}

.carousel-title span {
    color: var(--primary-yellow);
    font-weight: 700;
}

.carousel-title i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

.carousel-row {
    position: relative;
    margin-bottom: 60px;
}

.books-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-yellow) #f0f0f0;
}

.books-carousel::-webkit-scrollbar {
    height: 6px;
}

.books-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.books-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-yellow);
    border-radius: 10px;
}

.books-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

.carousel-item {
    flex: 0 0 auto;
    width: 200px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

.carousel-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.carousel-item:hover img {
    box-shadow: var(--shadow-lg), 0 20px 30px rgba(52, 64, 150, 0.3);
    border-color: var(--primary-yellow);
}

.carousel-item .book-info-mini {
    margin-top: 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.carousel-item:hover .book-info-mini {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item .book-info-mini h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-item .book-info-mini p {
    font-size: 0.8rem;
    color: #666;
}

.carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.carousel-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.carousel-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.carousel-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.category-badge {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 5px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 15px;
    box-shadow: var(--shadow-sm);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-left: auto;
}

.view-all-link:hover {
    color: var(--primary-yellow);
    gap: 12px;
}

.view-all-link i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        width: 150px;
    }
    
    .carousel-item img {
        height: 210px;
    }
    
    .carousel-title {
        font-size: 1.5rem;
    }
    
    .category-badge {
        display: block;
        margin: 10px 0 0 0;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        width: 120px;
    }
    
    .carousel-item img {
        height: 170px;
    }
}
																																																																																																																																																																								  
																																																																																																																																																																								  /* ===== SECTION RESSOURCES AMÉLIORÉE ===== */
.resources-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.resources-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 10% 20%, rgba(52, 64, 150, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.resources-header {
    text-align: center;
    margin-bottom: 60px;
}

.resources-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #4a57a3 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(52, 64, 150, 0.2);
    animation: badgePulse 2s infinite;
}

.resources-header h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.resources-header h2 .highlight {
    color: var(--primary-yellow);
    position: relative;
    display: inline-block;
}

.resources-header h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(239, 234, 19, 0.3);
    z-index: -1;
    border-radius: 10px;
}

.resources-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Showcase */
.resources-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* Image avec animations flottantes */
.showcase-image {
    position: relative;
}

.floating-images {
    position: relative;
    height: 500px;
}

.float-img.main-img {
    width: 100%;
    height: auto;
    max-width: 450px;
    border-radius: 30px 30px 30px 30px;
    box-shadow: 30px 30px 60px rgba(52, 64, 150, 0.15);
    animation: floatBook 6s ease-in-out infinite;
    transform-origin: center;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--primary-blue);
    animation: floatBadge 4s ease-in-out infinite;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.95);
}

.floating-badge i {
    color: var(--primary-yellow);
    font-size: 1.2rem;
}

.floating-badge.badge-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1s;
}

.floating-badge.badge-3 {
    top: 50%;
    right: -20px;
    animation-delay: 2s;
}

/* Contenu */
.showcase-content {
    padding-left: 30px;
}

.latest-preview {
    background: white;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(52, 64, 150, 0.1);
}

.latest-preview h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.latest-preview h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 5px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.preview-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
}

.preview-cover {
    position: relative;
    margin-bottom: 10px;
}

.preview-cover img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.preview-type {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.preview-type.livre {
    background: var(--primary-blue);
}

.preview-type.revue {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

.preview-info h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
    color: var(--primary-blue);
    line-height: 1.3;
}

.preview-author {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3px;
}

.preview-category {
    font-size: 0.7rem;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 20px;
    color: #555;
}

/* Statistiques */
.resources-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(52, 64, 150, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #4a57a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary-yellow), transparent);
}

/* Catégories rapides */
.quick-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-chip {
    padding: 8px 16px;
    background: white;
    border: 1px solid rgba(52, 64, 150, 0.2);
    border-radius: 50px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-chip:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 64, 150, 0.2);
    border-color: var(--primary-blue);
}

.category-chip:hover i {
    transform: translateX(3px);
}

.category-chip i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Boutons d'action */
.resources-actions {
    display: flex;
    gap: 15px;
}

.btn-resource {
    flex: 1;
    padding: 15px 25px;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-livres {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 15px 30px rgba(52, 64, 150, 0.3);
}

.btn-livres:hover {
    background: #2a3480;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(52, 64, 150, 0.4);
}

.btn-revues {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    box-shadow: 0 15px 30px rgba(239, 234, 19, 0.3);
}

.btn-revues:hover {
    background: #d9d511;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(239, 234, 19, 0.4);
}

.btn-resource i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-resource:hover i {
    transform: translateX(3px);
}

/* Animations */
@keyframes floatBook {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .resources-showcase {
        grid-template-columns: 1fr;
    }
    
    .showcase-image {
        display: none;
    }
    
    .showcase-content {
        padding-left: 0;
    }
    
    .preview-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .resources-header h2 {
        font-size: 2rem;
    }
    
    .preview-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-actions {
        flex-direction: column;
    }
    
    .quick-categories {
        justify-content: center;
    }
}
																																																																																																																																																																																										  
																																																																																																																																																																																										  /* AJOUTER CES CORRECTIONS À LA FIN DE VOTRE FICHIER CSS */

/* Correction pour le badge de la section revues (supprimée) */
/* Ces règles sont laissées pour d'autres badges si nécessaires */

/* Correction pour les prix dans les dernières parutions */
.book-info-enhanced .price {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

/* Correction pour la section lecture (maintenant avant le footer) */
.reading-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    position: relative;
    overflow: hidden;
}

.reading-section::before {
    content: '📚';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 150px;
    opacity: 0.03;
    transform: rotate(-15deg);
    font-family: Arial, sans-serif;
    pointer-events: none;
}

.reading-section::after {
    content: '📖';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 150px;
    opacity: 0.03;
    transform: rotate(15deg);
    font-family: Arial, sans-serif;
    pointer-events: none;
}

.reading-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.reading-content {
    padding: 30px;
}

.reading-badge {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(239, 234, 19, 0.3);
}

.reading-content h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.reading-content h2 span {
    color: var(--primary-yellow);
}

.reading-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.reading-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.reading-option {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(52, 64, 150, 0.1);
    position: relative;
    overflow: hidden;
}

.reading-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reading-option:hover::before {
    transform: scaleX(1);
}

.reading-option:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.reading-option i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: var(--transition);
}

.reading-option:hover i {
    color: var(--primary-yellow);
    transform: scale(1.2);
}

.reading-option h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.reading-option p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.reading-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.reading-features div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reading-features i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

.reading-features span {
    color: var(--primary-blue);
}

/* Apps Section */
.apps-section {
    margin-top: 60px;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.apps-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 234, 19, 0.05), transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.apps-section h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
}

.apps-section p {
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.app-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.app-button:first-child {
    background: var(--primary-blue);
}

.app-button:last-child {
    background: #000;
}

.app-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: var(--primary-yellow);
}

.app-button i {
    font-size: 1.8rem;
}

.app-button span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.app-button span small {
    font-size: 0.7rem;
    opacity: 0.8;
}

.app-button span strong {
    font-size: 1.2rem;
}

/* Container QR Code */
.qr-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.qr-container img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.qr-container div {
    text-align: left;
}

.qr-container p:first-child {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #666;
}

.qr-container p:last-child {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0;
}

/* Responsive pour la section lecture */
@media (max-width: 992px) {
    .reading-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .reading-content {
        order: 2;
    }
    
    .apps-section {
        order: 1;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .reading-options {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-container {
        flex-direction: column;
        text-align: center;
    }
    
    .qr-container div {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .reading-content h2 {
        font-size: 2rem;
    }
    
    .reading-features {
        flex-direction: column;
        gap: 15px;
    }
}

/* Correction pour les statistiques (si utilisées) */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

/* Correction pour les animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Correction pour les boutons de carrousel */
.carousel-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Correction pour les images qui ne chargent pas */
img[onerror] {
    background-color: #f0f0f0;
    position: relative;
}

img[onerror]::after {
    content: '📖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--primary-blue);
}

/* Correction pour la vidéo hero */
.hero.video-loaded .hero-video-background video {
    opacity: 1;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

/* Correction pour le fallback de la vidéo */
.hero-video-background.error {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

/* Styles pour les revues dans le carrousel */
.revues-carousel-section .carousel-item {
    width: 220px; /* Même largeur que les livres */
}

.revues-carousel-section .carousel-item img {
    width: 100%;
    height: 300px; /* Même hauteur que les livres */
    object-fit: contain; /* Pour voir l'image entière */
    background: linear-gradient(135deg, #f5f7fa, #e9ecef);
    padding: 10px;
}

.revues-carousel-section .book-info-mini {
    text-align: left;
    padding: 10px 5px;
}

.revues-carousel-section .book-info-mini h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revues-carousel-section .book-info-mini p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revue-prix-mini {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 5px 0;
    font-size: 0.75rem;
}

.prix-item {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--primary-blue);
    font-weight: 600;
}

.prix-item i {
    color: var(--primary-yellow);
    font-size: 0.7rem;
    width: 12px;
}

.revue-info-mini {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.7rem;
}

.revue-info-mini i {
    color: var(--primary-yellow);
    margin-right: 3px;
}

/* Animation pour les éléments du carrousel */
.carousel-item {
    transition: transform 0.3s ease;
}

.carousel-item:hover .revue-prix-mini .prix-item {
    color: var(--primary-blue);
}

/* Style pour le badge de catégorie */
.carousel-title .category-badge {
    font-size: 0.85rem;
    padding: 5px 15px;
}

.promotions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5e6, #fff);
    position: relative;
    overflow: hidden;
}

.promotions-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,193,7,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.promo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,193,7,0.2);
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255,193,7,0.2);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255,193,7,0.5);
}

.promo-content {
    padding: 25px;
}

.promo-content h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 10px;
    padding-right: 100px;
}

.promo-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.promo-documents {
    margin-bottom: 20px;
}

.promo-pack .pack-images {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.pack-image {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.pack-image:not(:first-child) {
    margin-left: -20px;
}

.pack-image:hover {
    transform: translateY(-5px) scale(1.05);
    z-index: 3;
}

.pack-more {
    width: 60px;
    height: 80px;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-left: -20px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.pack-count {
    color: #666;
    font-size: 0.85rem;
}

.pack-count i {
    color: var(--primary-yellow);
    margin-right: 5px;
}

.promo-simple {
    display: flex;
    gap: 15px;
    align-items: center;
}

.promo-simple-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.promo-simple-info h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 5px;
}

.promo-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 1rem;
}

.promo-price-new {
    color: #dc3545;
    font-size: 1.8rem;
    font-weight: 700;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-save {
    background: #d4edda;
    color: #155724;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-promo {
    background: var(--primary-blue);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-promo:hover {
    background: var(--primary-yellow);
    color: var(--primary-blue);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-content h3 {
        font-size: 1.1rem;
        padding-right: 80px;
    }
    
    .promo-price-new {
        font-size: 1.4rem;
    }
}
