/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --accent-dark: #D97706;
    --bg: #FEFCE8;
    --bg-secondary: #FEF3C7;
    --text: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --shadow: rgba(124, 58, 237, 0.2);
    --shadow-lg: rgba(124, 58, 237, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fix FOUC - Cache les templates Vue avant le chargement */
[v-cloak] {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%) !important;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(253, 211, 77, 0.5) 50%,
            rgba(255, 255, 255, 0.3) 80%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.header.scrolled {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%) !important;
}

.header.scrolled::before {
    opacity: 1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    position: relative;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.7rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin-top: 75px;
    /* Augmente ce nombre pour baisser plus, diminue pour remonter */
    z-index: 1001;
}

.logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.3));
}

.logo-text {
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(124, 58, 237, 0.2);
}

.logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.1);
}

.nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 3px rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
}

.nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(253, 211, 77, 0.35));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);
}

.nav a:hover::before {
    opacity: 1;
}

.nav a:hover::after {
    width: 60%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(245, 158, 11, 0.1));
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-toggle:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.menu-toggle:hover::before {
    opacity: 0.1;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.menu-toggle:hover span {
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.mobile-nav {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: var(--white);
    padding: 120px 20px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(253, 211, 77, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    width: 100%;
    padding: 0;
    margin: 0;
}

.hero-title-main {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin: 0;
    line-height: 1.3;
    letter-spacing: 1px;
}

.hero-columns {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-child-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.hero-child-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 4px;
    color: var(--white);
}

.hero-description {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
}

.hero-intro {
    font-size: 1.35rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.hero-topics {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Style pour les types de contenu (Mishnayot, Paracha, histoires) */
.hero-topic {
    color: #FCD34D;
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 2px 10px rgba(252, 211, 77, 0.4);
}

/* Style pour les avantages (gratuite, 24h/24) */
.hero-benefit {
    color: #34D399;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.6);
    position: relative;
    display: inline-block;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.phone-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FEFEFE 100%);
    color: var(--text);
    padding: 1.3rem 2rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        0 0 0 1px rgba(124, 58, 237, 0.1);
    border: 2px solid rgba(253, 211, 77, 0.5);
    width: 320px;
    max-width: 320px;
    min-width: 280px;
    flex: 0 0 320px;
    position: relative;
    overflow: hidden;
}

.phone-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(245, 158, 11, 0.08));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.phone-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(253, 211, 77, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.phone-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 1px 3px rgba(255, 255, 255, 1),
        0 0 0 3px rgba(253, 211, 77, 0.4),
        0 0 20px rgba(253, 211, 77, 0.3);
    border-color: rgba(253, 211, 77, 1);
}

.phone-btn:hover::before {
    opacity: 1;
}

.phone-btn:hover::after {
    opacity: 1;
}

.phone-btn:active {
    transform: translateY(-3px) scale(1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.phone-btn .flag {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.phone-btn:hover .flag {
    transform: scale(1.15) rotate(8deg);
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    position: relative;
    z-index: 1;
}

.phone-info .country {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.phone-info .number {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(124, 58, 237, 0.3));
    white-space: nowrap;
}

.phone-btn:hover .phone-info .number {
    letter-spacing: 1px;
    filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.4));
}

.hero-features {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    margin: 0;
}



/* Listen Section */
.listen-section {
    padding: 80px 20px;
    background: var(--white);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.listen-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.story-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}



.listen-description {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 2.5rem;
    color: var(--text);
    font-weight: 600;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Styles pour la section d'écoute */
.highlight {
    color: var(--primary);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Audio Player */
.audio-player {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.audio-player::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.audio-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6);
}

.play-btn:active {
    transform: scale(1.05);
}

.progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}



/* Categories Section */
.categories-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    border: 1px solid rgba(139, 92, 246, 0.08);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    transform: translateY(15px);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12);
    border-color: rgba(139, 92, 246, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.15));
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.08);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.category-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.categories-description {
    text-align: center;
    font-size: 1.2rem;
    line-height: 2.2;
    max-width: 850px;
    margin: 0 auto;
    color: var(--text);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(15px);
    padding: 2.2rem 3rem;
    border-radius: 20px;
    box-shadow:
        0 8px 25px rgba(124, 58, 237, 0.08),
        0 0 0 1px rgba(139, 92, 246, 0.12);
    border: 2px solid rgba(139, 92, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.categories-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    opacity: 0.6;
}

.categories-description .desc-line-1 {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 500;
}

.categories-description .desc-line-2 {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.categories-description .torah-highlight {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.15em;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
    position: relative;
}

.categories-description .vivante-highlight {
    color: var(--accent);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.categories-description .naturellement-highlight {
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-description .joie-highlight {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1em;
    background: linear-gradient(135deg, #F59E0B, #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.categories-description .enthousiasme-highlight {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1em;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg) 0%, #FEF9E7 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(124, 58, 237, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow:
        0 20px 60px rgba(124, 58, 237, 0.08),
        0 0 0 1px rgba(139, 92, 246, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 70px rgba(124, 58, 237, 0.12),
        0 0 0 1px rgba(139, 92, 246, 0.15);
}

.about-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 15px 50px rgba(124, 58, 237, 0.2),
        0 0 0 8px rgba(253, 211, 77, 0.15),
        0 0 0 12px rgba(139, 92, 246, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.about-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow:
        0 20px 60px rgba(124, 58, 237, 0.3),
        0 0 0 8px rgba(253, 211, 77, 0.3),
        0 0 0 12px rgba(139, 92, 246, 0.15);
}

.about-image:hover::before {
    opacity: 0.1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text);
    position: relative;
    padding-left: 1.5rem;
}

.about-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: calc(100% - 1.2rem);
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
    opacity: 0.3;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-text .highlight-text {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    padding: 0 0.2rem;
}

.about-text .accent-text {
    color: var(--accent-dark);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text .brand-text {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25em;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(124, 58, 237, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(253, 211, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    opacity: 0.6;
}

.contact-section .section-title {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-title::after {
    background: var(--accent);
}

.contact-intro {
    text-align: center;
    font-size: 1.15rem;
    max-width: 850px;
    margin: 0 auto 3rem;
    line-height: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.95);
}

.contact-intro .contact-line-1 {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 500;
}

.contact-intro .contact-line-2 {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.contact-intro .contact-line-3 {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.contact-intro .enseignant-highlight {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

.contact-intro .metikout-highlight {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contact-intro .collaborateurs-highlight {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

.contact-intro .content-highlight {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-style: italic;
}

.contact-intro .cta-highlight {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
}

.contact-info {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text);
    padding: 1.8rem 2.5rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(253, 211, 77, 0.8);
}

.contact-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contact-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: var(--white);
    padding: 3rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-copy {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 1rem;
}

.footer-message {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Logo mobile uniquement */
.mobile-logo {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(254, 252, 232, 0.95));
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 20px;
    box-shadow: 0 2px 15px rgba(124, 58, 237, 0.1);
    border-bottom: 2px solid rgba(124, 58, 237, 0.1);
}

.mobile-logo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.mobile-logo-image {
    width: 40px;
    height: auto;
}

.mobile-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
}

/* Responsive */
@media (max-width: 768px) {

    /* Suppression complète du header sur mobile */
    .header {
        display: none !important;
    }

    .header-content,
    .nav,
    .menu-toggle,
    .mobile-nav {
        display: none !important;
    }

    /* Affichage du logo mobile */
    .mobile-logo {
        display: block;
    }

    /* Ajustement du hero pour compenser le logo mobile */
    .hero {
        padding: 80px 20px 50px;
        min-height: auto;
    }

    .hero-title-main {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left {
        gap: 1.5rem;
    }

    .hero-intro {
        font-size: 1.1rem;
    }

    .hero-topics {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .phone-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .phone-btn {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 0.9rem 1.2rem;
        border-radius: 14px;
        box-shadow:
            0 6px 20px rgba(0, 0, 0, 0.25),
            inset 0 1px 2px rgba(255, 255, 255, 0.8),
            0 0 0 1px rgba(124, 58, 237, 0.1);
        border: 2px solid rgba(253, 211, 77, 0.5);
        gap: 0.8rem;
    }

    .phone-btn:active {
        transform: translateY(-2px) scale(0.98);
    }

    .phone-btn .flag {
        font-size: 1.8rem;
    }

    .phone-info .country {
        font-size: 0.6rem;
        margin-bottom: 0.1rem;
        letter-spacing: 0.5px;
    }

    .phone-info .number {
        font-size: 1.1rem;
        letter-spacing: 0.2px;
    }

    .hero-child-image {
        max-width: 100%;
        border-radius: 20px;
        border-width: 3px;
    }

    .hero-badges {
        gap: 0.7rem;
        margin-top: 0.5rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    /* Sections */
    .listen-section,
    .categories-section,
    .about-section,
    .contact-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    /* Audio player */
    .audio-player {
        padding: 2rem 1.5rem;
    }

    .audio-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .play-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .listen-description {
        font-size: 1.1rem;
        margin-top: 2rem;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .category-desc {
        font-size: 0.9rem;
    }

    .categories-description {
        padding: 1.5rem 1.5rem;
        font-size: 1rem;
        line-height: 1.9;
    }

    .categories-description .desc-line-1 {
        font-size: 1.05rem;
    }

    .categories-description .desc-line-2 {
        font-size: 1rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .about-image {
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }

    .about-text p {
        padding-left: 0;
        text-align: left;
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .about-text p::before {
        display: none;
    }

    /* Contact */
    .contact-intro {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .contact-intro .contact-line-1,
    .contact-intro .contact-line-2,
    .contact-intro .contact-line-3 {
        font-size: 1.05rem;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contact-item {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem 2rem;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .contact-text {
        font-size: 1.1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 20px;
    }

    .footer-copy {
        font-size: 0.9rem;
    }

    .footer-message {
        font-size: 1.05rem;
    }
}

/* Tablettes et moyens écrans */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-columns {
        grid-template-columns: 1fr 1.3fr;
        gap: 2.5rem;
    }

    .phone-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .phone-btn {
        min-width: 260px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .mobile-logo {
        padding: 0.8rem 15px;
    }

    .mobile-logo-image {
        width: 35px;
    }

    .mobile-logo-text {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 15px 50px;
    }

    .hero-title-main {
        font-size: 1.5rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .hero-topics {
        font-size: 1.15rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .phone-buttons {
        max-width: 100%;
    }

    .phone-btn {
        padding: 0.8rem 1.2rem !important;
        width: 300px !important;
        max-width: 300px !important;
        min-width: 260px !important;
        flex: 0 0 300px !important;
    }

    .phone-btn .flag {
        font-size: 2rem !important;
    }

    .phone-info .number {
        font-size: 1.3rem !important;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .audio-player {
        padding: 1.5rem 1rem;
    }

    .categories-description {
        padding: 1.2rem 1rem;
        font-size: 0.95rem;
    }

    .about-image {
        width: 180px;
        height: 180px;
    }

    .about-text p {
        font-size: 1rem;
    }

    .contact-intro {
        font-size: 1rem;
    }

    .contact-item {
        padding: 1.3rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .phone-buttons {
        justify-content: center !important;
        align-items: center !important;
    }

    .phone-btn {
        width: 300px !important;
        max-width: 300px !important;
        min-width: 260px !important;
        flex: 0 0 300px !important;
        padding: 0.7rem 1rem !important;
        min-height: auto !important;
        max-height: 75px !important;
    }

    .phone-btn .flag {
        font-size: 1.8rem !important;
    }

    .phone-info {
        gap: 0.1rem !important;
    }

    .phone-info .country {
        font-size: 0.65rem !important;
        margin-bottom: 0.1rem !important;
    }

    .phone-info .number {
        font-size: 1.2rem !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 600px) {
    .phone-buttons {
        flex-direction: column;
        align-items: center;
    }

    .phone-btn {
        width: 300px !important;
        max-width: 90% !important;
        min-width: 260px !important;
        flex: 0 0 auto !important;
        padding: 0.8rem 1.2rem !important;
    }

    .phone-btn .flag {
        font-size: 2rem !important;
    }

    .phone-info .number {
        font-size: 1.3rem !important;
    }
}

/* Logo image */
.logo-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    position: relative;
    z-index: 1001;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* Noto Emoji for flags */
.flag-emoji {
    font-family: 'Noto Color Emoji', sans-serif;
}

/* Hero Top Section */
.hero-top {
    margin-bottom: 2.5rem;
}

.hero-logo {
    width: 160px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
}

@media (max-width: 768px) {
    .hero-logo {
        width: 110px;
    }

    .hero-image {
        max-width: 400px;
        margin: 2rem auto;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 90px;
        margin-bottom: 1rem;
    }

    .hero-image {
        max-width: 100%;
        margin: 1.5rem auto;
    }

    .hero-child-image {
        border-radius: 20px;
    }
}

/* Hero Image */
.hero-image {
    max-width: 500px;
    margin: 2.5rem auto;
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-child-image {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 0 8px rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-child-image:hover {
    transform: scale(1.03);
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.3),
        0 0 0 8px rgba(253, 211, 77, 0.3);
}

/* Hero Badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.hero-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(15px);
    color: var(--white);
    padding: 0.7rem 1.4rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.3px;
}

.hero-badge::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.6s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge:hover {
    background: linear-gradient(135deg, rgba(253, 211, 77, 0.3), rgba(255, 255, 255, 0.25));
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(253, 211, 77, 0.6);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .hero-badges {
        gap: 0.8rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        gap: 0.7rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.55rem 1rem;
    }
}

/* Hero Logo Animation */
.hero-logo-container {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    margin-bottom: 2rem;
}

.hero-logo-container.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.hero-logo {
    width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.8rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 10px rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(252, 211, 77, 0.5);
    position: relative;
}

.hero-logo::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 25px;
    background: radial-gradient(circle, rgba(252, 211, 77, 0.12), transparent 70%);
    z-index: -1;
    filter: blur(12px);
}

.hero-logo-container:hover .hero-logo {
    transform: scale(1.05);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 15px rgba(255, 255, 255, 0.2);
    border-color: rgba(252, 211, 77, 0.7);
}

.hero-top {
    margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
    .hero-logo {
        width: 160px;
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 130px;
        padding: 0.6rem;
    }
}