/* ========================================
   VARIABLES & RESET - PALETTE MODERNE
======================================== */
:root {
    /* Palette principale - Bleu profond & Terre cuite (look éditorial, moins "néon") */
    --primary-color: #1f3a5f;
    --primary-dark: #16243d;
    --primary-light: #4a6a8a;

    /* Couleurs secondaires - Tons chauds mais sobres */
    --secondary-color: #c86b3c;
    --secondary-dark: #9e4f28;
    --accent-color: #d4a056;
    --accent-light: #e5c59a;

    /* Couleurs de texte */
    --text-dark: #1e2932;
    --text-light: #6b7280;
    --text-white: #ffffff;

    /* Backgrounds (dominante beige / bleu nuit très doux) */
    --bg-dark: #111827;
    --bg-gradient-1: linear-gradient(135deg, #111827 0%, #1f3a5f 60%, #304766 100%);
    --bg-gradient-2: linear-gradient(135deg, #c86b3c 0%, #a3532c 100%);
    --bg-gradient-3: linear-gradient(135deg, #f5f1e6 0%, #e2d7c5 100%);
    --bg-gradient-4: linear-gradient(135deg, #d4a056 0%, #c86b3c 100%);
    --bg-gradient-5: linear-gradient(135deg, #1f3a5f 0%, #111827 100%);
    --bg-light: #f5f1e6;
    --bg-white: #ffffff;

    /* Borders et ombres */
    --border-color: #e5ded0;
    --shadow: 0 4px 6px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.22);
    --shadow-colored: 0 10px 30px rgba(200, 107, 60, 0.3);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   HEADER & NAVIGATION - Design Premium
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(229, 222, 208, 0.9);
}

.logo h2 {
    font-size: 1.6rem;
    background: linear-gradient(135deg, #1f3a5f 0%, #c86b3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.3px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--bg-gradient-1);
    transition: var(--transition);
    border-radius: 3px;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--bg-gradient-1);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   MAIN CONTENT
======================================== */
main {
    margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 800;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.text-center {
    text-align: center;
    margin-top: 2.5rem;
}

/* ========================================
   HERO SECTION - Spectaculaire
======================================== */
.hero {
    background: var(--bg-gradient-1);
    color: white;
    padding: 7rem 5% 5rem;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.9;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    margin-left: auto;
    border: 5px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

/* ========================================
   BUTTONS - Style Moderne
======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    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;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--bg-gradient-2);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 87, 108, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--secondary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.12);
}

.btn-outline:hover {
    background: var(--bg-gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-full {
    width: 100%;
}

/* ========================================
   SECTIONS - Colorées et dynamiques
======================================== */
.section-overview,
.section-projects,
.section-light {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
}

.section-dark {
    padding: 6rem 0;
    background: var(--bg-gradient-5);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.section-dark .section-title {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.section-cta {
    padding: 6rem 0;
    background: var(--bg-gradient-2);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   PAGE HEADER - Magnifique
======================================== */
.page-header {
    background: var(--bg-gradient-1);
    color: white;
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ========================================
   SKILLS GRID - Cartes colorées
======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.skill-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color));
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.3));
}

.skill-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.skill-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   PROJECTS GRID - Style Premium
======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-colored);
    border-color: var(--secondary-color);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.project-link {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.project-link:hover {
    gap: 1rem;
    color: var(--secondary-dark);
}

/* ========================================
   PROFILE SECTION
======================================== */
.profile-intro {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.profile-flex {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-photo img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    border: 5px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--primary-color), var(--primary-light)) border-box;
    transition: var(--transition);
}

.profile-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.4);
}

.profile-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.profile-subtitle {
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.profile-text p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ========================================
   TIMELINE - Design Élégant
======================================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-year {
    font-weight: 800;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-light);
}

/* ========================================
   COMPETENCES GRID
======================================== */
.competences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.competence-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.competence-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.competence-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.competence-card ul {
    list-style: none;
}

.competence-card li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

/*.competence-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: bold;
    font-size: 1.2rem;
} */

/* ========================================
   INFO GRID
======================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color)) 1;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.info-card ul {
    color: var(--text-light);
}

.info-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-card li:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.info-card li:last-child {
    border-bottom: none;
}

/* ========================================
   PROJECT DETAILS
======================================== */
.projects-detailed {
    max-width: 900px;
    margin: 0 auto;
}

.project-detail-card {
    background: white;
    padding: 3.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.project-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.project-tag {
    display: inline-block;
    background: var(--bg-gradient-2);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.project-detail-card h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.project-tech {
    margin: 2.5rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.05) 0%, rgba(200, 107, 60, 0.05) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.project-tech h4 {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: white;
    color: var(--primary-color);
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.tech-tag:hover {
    background: var(--bg-gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.project-learning {
    font-style: italic;
    color: var(--text-light);
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    line-height: 1.8;
}

/* ========================================
   ARTICLES - Design Magazine
======================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color), var(--accent-color));
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    border-color: var(--primary-color);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-category {
    background: var(--bg-gradient-1);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.article-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.article-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-link {
    color: var(--secondary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.article-link:hover {
    gap: 1rem;
    color: var(--secondary-dark);
}

/* ========================================
   GALLERY - Style Instagram
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.placeholder-image {
    width: 100%;
    height: 320px;
    background: var(--bg-gradient-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.placeholder-image span {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.placeholder-image p {
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.gallery-info {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.gallery-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gallery-info p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.gallery-cta {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* ========================================
   CONTACT - Design Premium
======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
    transition: var(--transition);
    padding: 1rem;
    border-radius: 15px;
}

.contact-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--bg-gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.contact-text a {
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.contact-text a:hover {
    text-decoration: underline;
}

.social-links h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.2rem;
    background: white;
    border-radius: 15px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.social-icon {
    font-weight: 800;
    font-size: 1.3rem;
}

.linkedin:hover {
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
    color: white;
    border-color: #0077b5;
}

.github:hover {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
    border-color: #333;
}

.facebook:hover {
    background: linear-gradient(135deg, #1877f2 0%, #42b0ff 100%);
    color: white;
    border-color: #1877f2;
}

.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.tiktok:hover {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border-color: #000;
}

/* CONTACT FORM - Style Moderne */
.contact-form-wrapper {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid rgba(99, 102, 241, 0.1);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(31, 58, 95, 0.12);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* AVAILABILITY INFO */
.availability-info {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.availability-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.availability-info p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.availability-badges {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    font-size: 1.05rem;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FOOTER - Design Premium
======================================== */
.footer {
    background: var(--bg-gradient-5);
    color: white;
    padding: 4rem 5% 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ========================================
   ARTICLE DETAIL PAGE - Style Magazine Professionnel
======================================== */

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span:last-child {
    color: var(--text-dark);
    font-weight: 600;
}

/* Article Hero */
.article-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
}

.article-hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 3rem 5%;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.article-meta-top {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category-badge {
    background: var(--bg-gradient-2);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.article-read-time {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.article-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-author-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-author-mini img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid white;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.article-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-share-mini .share-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.article-share-mini .share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Article Content Wrapper */
.article-content-wrapper {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

/* Sidebar */
.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.table-of-contents {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.table-of-contents h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 0.8rem;
}

.table-of-contents a {
    color: var(--text-light);
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.table-of-contents a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
}

.article-stats {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 1.5rem;
    border-radius: 15px;
}

.article-stats h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-weight: 600;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-icon {
    font-size: 1.3rem;
}

/* Main Content */
.article-main-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.content-section {
    margin-bottom: 3rem;
}

.lead-paragraph {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--text-light);
    font-weight: 400;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.05) 0%, rgba(200, 107, 60, 0.05) 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.3;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-section code {
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.1) 0%, rgba(200, 107, 60, 0.1) 100%);
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding: 0.8rem 0 0.8rem 2.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.1) 0%, rgba(200, 107, 60, 0.1) 100%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.highlight-box h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.warning-box {
    background: linear-gradient(135deg, rgba(200, 107, 60, 0.1) 0%, rgba(212, 160, 86, 0.1) 100%);
    border-left: 5px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.warning-box h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.warning-box ul {
    list-style: none;
    padding-left: 0;
}

.warning-box li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-light);
}

.warning-box li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.success-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    border-left: 5px solid #15803d;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.success-box h4 {
    color: #10b981;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.quote-box {
    margin: 2.5rem 0;
    padding: 0 2rem;
}

.quote-box blockquote {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.quote-box blockquote::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

.quote-box p {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quote-box cite {
    display: block;
    text-align: right;
    color: var(--text-light);
    font-weight: 600;
    font-style: normal;
}

/* Code Example */
.code-example {
    background: #1e1b4b;
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.code-example pre {
    padding: 1.5rem;
    overflow-x: auto;
    margin: 0;
}

.code-example code {
    color: #e0e7ff;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    background: none;
}

/* Two Columns Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.column {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
}

.column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.column ul {
    list-style: none;
    padding-left: 0;
}

.column li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    color: var(--text-light);
}

.column li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: var(--bg-gradient-1);
    color: white;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 1.05rem;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.03) 0%, rgba(200, 107, 60, 0.03) 100%);
}

/* Practices Grid */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.practice-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.practice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.practice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.practice-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
}

.practice-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Article Tags */
.article-tags {
    margin: 3rem 0 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
}

.article-tags h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    background: white;
    color: var(--primary-color);
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.tag:hover {
    background: var(--bg-gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Social Share */
.article-share {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(240, 148, 251, 0.08) 0%, rgba(245, 87, 108, 0.08) 100%);
    border-radius: 15px;
}

.article-share h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.share-button.facebook {
    background: white;
    color: #1877f2;
    border: 2px solid #1877f2;
}

.share-button.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-button.twitter {
    background: white;
    color: #1da1f2;
    border: 2px solid #1da1f2;
}

.share-button.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-button.linkedin {
    background: white;
    color: #0077b5;
    border: 2px solid #0077b5;
}

.share-button.linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-button.whatsapp {
    background: white;
    color: #25d366;
    border: 2px solid #25d366;
}

.share-button.whatsapp:hover {
    background: #25d366;
    color: white;
}

.share-button.copy {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.share-button.copy:hover {
    background: var(--bg-gradient-1);
    color: white;
    border-color: transparent;
}

/* Author Bio */
.author-bio {
    background: var(--bg-gradient-1);
    padding: 4rem 5%;
    margin: 4rem 0;
    border-radius: 30px;
}

.author-bio-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 3rem;
    align-items: start;
    color: white;
}

.author-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.author-info h3 {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-info h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.author-title {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.author-description {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.author-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-social a {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-social a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.author-social .btn-contact {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.author-social .btn-contact:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Related Articles */
.related-articles {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.related-articles h3 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 2rem;
}

.related-category {
    display: inline-block;
    background: var(--bg-gradient-1);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.related-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
}

.related-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   PODCASTS PAGE - Design Spotify-like
======================================== */

/* Podcasts Intro */
.podcasts-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
}

.podcasts-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Podcast Stats Grid */
.podcast-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.podcast-stat-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.podcast-stat-card:nth-child(1) {
    border-top-color: var(--primary-color);
}

.podcast-stat-card:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.podcast-stat-card:nth-child(3) {
    border-top-color: #f59e0b;
}

.podcast-stat-card:nth-child(4) {
    border-top-color: #10b981;
}

.podcast-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.05rem;
}

/* Podcasts Grid */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.podcast-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.podcast-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25);
}

.podcast-card.coming-soon {
    opacity: 0.85;
}

.podcast-card.coming-soon:hover {
    opacity: 1;
}

/* Podcast Image */
.podcast-image-wrapper {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.podcast-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.podcast-card:hover .podcast-cover {
    transform: scale(1.05);
}

.podcast-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.podcast-episodes-count {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.podcast-status {
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.podcast-status.active {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.podcast-status.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.podcast-status.soon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Podcast Content */
.podcast-content {
    padding: 2.5rem;
}

.podcast-category {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

.category-badge.tech {
    background: var(--bg-gradient-1);
}

.category-badge.security {
    background: var(--bg-gradient-2);
}

.category-badge.network {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.category-badge.ai {
    background: var(--bg-gradient-4);
}

.podcast-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.podcast-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.podcast-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.meta-icon {
    font-size: 1.2rem;
}

.podcast-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.mini-tag {
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.1) 0%, rgba(200, 107, 60, 0.1) 100%);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 2px solid rgba(31, 58, 95, 0.2);
}

.btn-podcast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.1rem 2rem;
    background: var(--bg-gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-podcast:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.btn-podcast.disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-podcast.disabled:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.3);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Subscribe Section */
.subscribe-section {
    background: var(--bg-gradient-1);
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.subscribe-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.subscribe-content>p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input {
    flex: 1;
    min-width: 250px;
    padding: 1.1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    transition: var(--transition);
}

.subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.subscribe-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.25);
}

.btn-subscribe {
    padding: 1.1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-subscribe:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.subscribe-platforms {
    margin-top: 2rem;
}

.subscribe-platforms>p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.platform-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-link {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.platform-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   PODCAST EPISODES PAGE - Detailed View
======================================== */

/* Podcast Detail Header */
.podcast-detail-header {
    background: var(--bg-gradient-1);
    padding: 5rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.podcast-detail-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.podcast-header-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
}

.podcast-header-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.podcast-header-image img {
    width: 100%;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.podcast-header-image:hover .play-overlay {
    opacity: 1;
}

.play-all-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-all-btn:hover {
    transform: scale(1.1);
}

.play-icon {
    font-size: 1.3rem;
}

.podcast-header-info {
    color: white;
}

.podcast-header-info h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.podcast-description-full {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.podcast-header-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item-header {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.9;
}

.podcast-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

.btn-action.primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-action.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.btn-action.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.btn-action.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Episodes Section */
.episodes-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.episodes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.episodes-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.episodes-filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-btn.active {
    background: var(--bg-gradient-1);
    color: white;
    border-color: transparent;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active:hover {
    color: white;
}

/* Episodes List */
.episodes-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.episode-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.episode-card:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.episode-card.featured {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--primary-color), var(--primary-light), var(--secondary-color)) border-box;
}

.episode-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.episode-badge:contains("Nouveau") {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.episode-badge.popular {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.episode-number {
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.episode-main {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.episode-thumbnail {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
}

.episode-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-episode-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.episode-thumbnail:hover .play-episode-btn {
    opacity: 1;
}

.play-icon-small {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.episode-duration {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.episode-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.episode-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.episode-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.episode-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.episode-tag {
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.1) 0%, rgba(200, 107, 60, 0.1) 100%);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(31, 58, 95, 0.3);
}

.episode-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-info {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
}

.episode-actions {
    display: flex;
    gap: 1rem;
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, rgba(31, 58, 95, 0.05) 0%, rgba(200, 107, 60, 0.05) 100%);
    border: 2px solid rgba(31, 58, 95, 0.2);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
}

.action-btn:hover {
    background: var(--bg-gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
}

.episodes-info {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.btn-back {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--bg-gradient-1);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

/* Fixed Podcast Player */
.podcast-player-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-gradient-5);
    color: white;
    padding: 1.5rem 5%;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: grid;
    grid-template-columns: 2fr 1fr 3fr 1fr;
    gap: 2rem;
    align-items: center;
    display: none;
    /* Hidden by default, shown by JS */
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-info img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.player-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.player-episode {
    font-size: 0.85rem;
    opacity: 0.8;
}

.player-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.play-btn-main {
    width: 50px;
    height: 50px;
    background: white;
    color: var(--primary-color);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time-current,
.time-total {
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 45px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.player-volume {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.volume-btn:hover {
    transform: scale(1.1);
}

.volume-slider {
    width: 100px;
    cursor: pointer;
}

/* ========================================
   RESPONSIVE DESIGN - CORRIGÉ
======================================== */
@media (max-width: 1024px) {
    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-sidebar {
        order: 2;
    }

    .sidebar-sticky {
        position: static;
    }

    .table-of-contents {
        display: none;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .podcast-header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .podcast-header-image {
        max-width: 350px;
        margin: 0 auto;
    }

    .podcast-header-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .podcast-actions {
        justify-content: center;
    }

    .episode-main {
        grid-template-columns: 1fr;
    }

    .podcast-player-fixed {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 3%;
    }

    .player-volume {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        transition: var(--transition);
    }

    .nav.active {
        left: 0;
    }

    .article-hero {
        height: 450px;
    }

    .article-title {
        font-size: 2.2rem;
    }

    .article-main-content {
        padding: 2rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .lead-paragraph {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    .author-bio-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-photo {
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }

    .author-social {
        justify-content: center;
    }

    .practices-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .podcasts-grid {
        grid-template-columns: 1fr;
    }

    .podcast-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .podcast-header-info h1 {
        font-size: 2.5rem;
    }

    .podcast-header-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .episodes-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .episode-card {
        padding: 2rem;
    }

    .episode-title {
        font-size: 1.5rem;
    }

    .episode-thumbnail {
        height: 180px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input {
        width: 100%;
    }

    /* --- CORRECTION : L'accolade fermante a été supprimée ici --- */

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-image img {
        margin: 0 auto;
        max-width: 320px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .profile-flex {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-photo img {
        max-width: 320px;
        margin: 0 auto;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .competences-grid,
    .projects-detailed,
    .articles-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .availability-badges {
        flex-direction: column;
        align-items: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* --- FIN DU MEDIA QUERY 768PX (C'est ici qu'il fallait fermer) --- */

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .btn {
        padding: 0.85rem 1.8rem;
        font-size: 0.85rem;
    }

    .skill-card,
    .project-card,
    .article-card {
        padding: 1.8rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .project-detail-card {
        padding: 2rem;
    }
}

/* --- CORRECTION : Fin correcte du fichier (pas de parenthèse) --- */

/* Styles Spécifiques pour la Carte Simple (Grande Vidéo) */

/* 1. Conteneur principal (pour remplacer .episode-card) */
.episode-card-simple {
    background: #fdfdfd;
    /* Fond légèrement différent */
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    border: 1px solid #eee;
    /* Bordure légère */
}

/* 2. Style du titre (au-dessus de la vidéo) */
.episode-title-simple {
    font-size: 2.2rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.5rem;
    /* Espace sous le titre */
    line-height: 1.2;
    text-align: center;
}

/* 3. Conteneur principal de la vidéo et des infos (pour remplacer .episode-main) */
.episode-main-simple {
    display: flex;
    flex-direction: column;
    /* La vidéo vient en premier, puis les infos */
    gap: 2rem;
}

/* 4. Conteneur de la Vidéo (plus grand et plus visible) */
.episode-video-container {
    width: 100%;
    max-height: 500px;
    /* AJOUT : Permet au conteneur de définir la hauteur en fonction de la vidéo */
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.episode-video-container video {
    width: 100%;
    /* Changement clé pour garantir que tout est visible */
    height: 100%;
    object-fit: contain;
    /* NOUVEAU : La vidéo est mise à l'échelle pour être entièrement visible */
    display: block;
}

/* 5. Conteneur des informations (pour remplacer .episode-info) */
.episode-info-simple {
    padding: 0;
    /* Pas de padding car il est déjà dans episode-card-simple */
}

/* 6. Mise en forme des détails (Optionnel: aligner le numéro/date/badge) */
.episode-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.episode-badge {
    position: static;
    /* Annule le positionnement absolu de l'original */
    padding: 0.3rem 0.8rem;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: none;
}

.episode-description-simple {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* 7. Bouton (inspiré de l'original mais avec nouvelle classe) */
.action-btn-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem;
    background: var(--bg-gradient-1);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
    /* Le bouton prend toute la largeur */
}

.action-btn-simple:hover {
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}