/* === STYLE KAWAII POUR LESSONS === */

/* Polices mignonnes */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Short+Stack&display=swap');

/* Éléments décoratifs supplémentaires */
.decoration-3 {
    top: 60%;
    left: 10%;
    font-size: 60px;
    transform: rotate(15deg);
    opacity: 0.15;
}

.decoration-4 {
    top: 30%;
    right: 8%;
    font-size: 70px;
    transform: rotate(-10deg);
    opacity: 0.12;
}

/* Bannière améliorée */
.header-banner {
    position: relative;
    text-align: center;
    padding: 10px 0 0;
    background: linear-gradient(135deg, #ffb6c1, #ff69b4, #ff1493);
    border-bottom: 5px double #ff69b4;
    margin-bottom: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,182,193,0.3), rgba(255,105,180,0.2));
    pointer-events: none;
}

/* En-tête kawaii */
.header {
    text-align: center;
    padding: 20px 0 15px;
    background: linear-gradient(135deg, #ffb6c1, #ff69b4);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #ff1493;
}

.title {
    font-size: 3.5em;
    color: white;
    text-shadow: 3px 3px 0px #ff69b4, 6px 6px 0px rgba(0,0,0,0.1);
    margin: 10px 0 5px;
    font-family: 'Dancing Script', cursive;
    letter-spacing: 2px;
}

.subtitle {
    color: white;
    font-size: 1.2em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-family: 'Short Stack', cursive;
}

/* Navigation améliorée */
.nav {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    margin: 10px 20px;
    border-radius: 35px;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    border: 3px dotted #ff69b4;
    position: relative;
    z-index: 10;
}

.nav a {
    margin: 0 12px;
    color: #ff1493;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Short Stack', cursive;
}

.nav a:hover {
    color: #ff69b4;
    background-color: #fff0f5;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(255, 105, 180, 0.2);
}

/* Menu déroulant kawaii */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
    border-radius: 20px;
    border: 3px solid #ffb6c1;
    z-index: 1000;
    padding: 15px 0;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: #ff1493;
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 2px dotted #ffb6c1;
    font-family: 'Short Stack', cursive;
    font-size: 1em;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: linear-gradient(135deg, #fff0f5, #ffe4ec);
    color: #ff69b4;
    padding-left: 30px;
    transform: scale(1.05);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Introduction mignonne */
.cute-intro {
    text-align: center;
    margin: 30px 20px;
    padding: 30px;
    background: linear-gradient(135deg, #fff0f5, #ffe4ec);
    border-radius: 25px;
    border: 4px double #ff69b4;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
    position: relative;
    overflow: hidden;
}

.cute-intro::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: 20px 20px;
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50px, -50px) rotate(360deg); }
}

.intro-icon {
    font-size: 3em;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

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

.cute-intro h2 {
    color: #ff1493;
    margin: 15px 0;
    font-family: 'Dancing Script', cursive;
    font-size: 2.2em;
    text-shadow: 2px 2px 0px rgba(255, 182, 193, 0.5);
}

.intro-text p {
    margin: 10px 0;
    color: #d23679;
    font-size: 1.1em;
    line-height: 1.6;
}

.sparkle {
    font-size: 2em;
    margin-top: 15px;
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Compteur de leçons */
.lesson-counter {
    text-align: center;
    margin: 20px 0 30px;
}

.counter-bubble {
    display: inline-block;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(255, 105, 180, 0.4);
    font-family: 'Short Stack', cursive;
}

.counter-number {
    font-size: 2.5em;
    font-weight: bold;
    display: block;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

.counter-text {
    font-size: 1.1em;
}

/* Grille des leçons KAWAII */
.atlas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 20px;
    padding: 20px 0;
}

.lesson-card {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    border: 3px solid;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    animation: cardAppear 0.6s ease-out;
    animation-fill-mode: both;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lesson-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.3);
}

/* Couleurs des cartes */
.card-1 { border-color: #ffb6c1; background: linear-gradient(135deg, #fff, #fff5f5); }
.card-2 { border-color: #87ceeb; background: linear-gradient(135deg, #fff, #f0f8ff); }
.card-3 { border-color: #98fb98; background: linear-gradient(135deg, #fff, #f0fff0); }
.card-4 { border-color: #dda0dd; background: linear-gradient(135deg, #fff, #f8f0ff); }
.card-5 { border-color: #ffd700; background: linear-gradient(135deg, #fff, #fffaf0); }

/* Ruban des cartes */
.card-ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    padding: 8px 35px;
    font-size: 0.8em;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
    font-family: 'Short Stack', cursive;
}

/* Icone de carte */
.card-icon {
    font-size: 4em;
    text-align: center;
    padding: 20px 0 10px;
    animation: floatIcon 3s ease-in-out infinite;
}

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

/* Contenu de carte */
.card-content {
    padding: 0 25px 20px;
    text-align: center;
}

.card-content h3 {
    color: #ff1493;
    margin: 15px 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
    text-shadow: 1px 1px 0px rgba(255, 182, 193, 0.5);
}

.card-content p {
    color: #d23679;
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: 'Short Stack', cursive;
}

/* Difficulté */
.card-difficulty {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.difficulty-label {
    color: #ff69b4;
    font-size: 0.9em;
    font-family: 'Short Stack', cursive;
}

.stars {
    color: #ffd700;
}

/* Boutons */
.card-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    font-family: 'Short Stack', cursive;
    margin: 10px 0;
}

.card-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.6);
    color: white;
}

.coming-soon-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #cccccc, #999999);
    color: white;
    border-radius: 25px;
    font-weight: bold;
    font-family: 'Short Stack', cursive;
    margin: 10px 0;
    opacity: 0.7;
}

/* Pied de carte */
.card-footer {
    background: rgba(255, 182, 193, 0.1);
    padding: 12px 25px;
    border-top: 2px dotted #ffb6c1;
    text-align: center;
}

.card-time {
    color: #ff69b4;
    font-size: 0.9em;
    font-family: 'Short Stack', cursive;
}

/* Section inspiration */
.inspiration-section {
    margin: 40px 20px;
    padding: 30px;
    background: linear-gradient(135deg, #fffaf0, #fff5ee);
    border-radius: 25px;
    border: 3px dashed #ffb6c1;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
}

.inspiration-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.inspiration-title h3 {
    color: #ff1493;
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
    margin: 0;
}

.inspiration-icon {
    font-size: 1.5em;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.inspiration-content p {
    color: #d23679;
    font-size: 1.2em;
    margin: 10px 0;
    font-family: 'Short Stack', cursive;
    line-height: 1.5;
}

/* Pied de page amélioré */
.footer-hearts {
    font-size: 1.5em;
    margin-bottom: 10px;
    animation: heartBeat 2s infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5em;
    }
    
    .nav a {
        display: block;
        margin: 8px 0;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
    }
    
    .atlas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cute-intro {
        margin: 20px 10px;
        /* === STYLES SPÉCIFIQUES POUR LES PAGES DE LEÇONS DÉTAILLÉES === */

/* Introduction de leçon */
.lesson-intro {
    text-align: center;
    margin: 25px 20px;
    padding: 30px;
    background: linear-gradient(135deg, #fff0f5, #ffe4ec);
    border-radius: 25px;
    border: 3px double #ff69b4;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
}

.lesson-intro h2 {
    color: #ff1493;
    margin-top: 0;
    border-bottom: none;
    font-family: 'Dancing Script', cursive;
    font-size: 2.2em;
}

.lesson-intro p {
    color: #d23679;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 15px 0;
}

/* Trésor caché */
.treasure-note {
    display: flex;
    align-items: center;
    margin: 25px 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fffaf0, #fff5ee);
    border-radius: 20px;
    border: 2px dashed #ffb6c1;
    box-shadow: 0 5px 15px rgba(255, 182, 193, 0.3);
}

.treasure-icon {
    font-size: 2.5em;
    margin-right: 20px;
    animation: bounce 2s infinite;
}

.treasure-content h3 {
    color: #ff1493;
    margin: 0 0 10px 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8em;
}

.treasure-content p {
    color: #d23679;
    margin: 0;
    font-size: 1.1em;
}

/* Blocs-notes pour les leçons */
.notebook {
    margin: 30px 20px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    border: 3px solid;
    position: relative;
    overflow: hidden;
}

.notebook::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, #ff69b4, #ff1493, #ff69b4);
}

.notebook.formal {
    border-color: #ffb6c1;
}

.notebook.informal {
    border-color: #87ceeb;
}

.notebook.exercises {
    border-color: #98fb98;
}

.notebook-header {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    padding: 20px;
    text-align: center;
    border-bottom: 2px dotted #ff69b4;
}

.notebook-header h3 {
    margin: 10px 0 5px;
    color: #ff1493;
    font-size: 1.8em;
    font-family: 'Dancing Script', cursive;
}

.notebook-subtitle {
    color: #ec407a;
    font-style: italic;
    font-size: 1em;
    font-family: 'Short Stack', cursive;
}

.notebook-icon {
    font-size: 2.5em;
    display: block;
    animation: floatIcon 3s ease-in-out infinite;
}

.notebook-content {
    padding: 25px;
}

/* Phrases dans les blocs-notes */
.phrase-block {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 245, 245, 0.7);
    border-radius: 15px;
    border-left: 5px solid #ff69b4;
    transition: all 0.3s ease;
}

.phrase-block:hover {
    transform: translateX(5px);
    background: rgba(255, 245, 245, 0.9);
}

.french-phrase {
    font-size: 1.4em;
    font-weight: bold;
    color: #ff1493;
    margin-bottom: 8px;
    font-family: 'Short Stack', cursive;
}

.english-phrase {
    color: #5d4037;
    font-size: 1.2em;
    font-family: 'Short Stack', cursive;
}

.note-small {
    font-size: 0.9em;
    color: #ff69b4;
    margin-top: 8px;
    font-style: italic;
    font-family: 'Short Stack', cursive;
}

/* Exemples */
.examples {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #f8bbd9;
}

.examples h4 {
    color: #ff1493;
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.6em;
    text-align: center;
}

.example {
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-radius: 12px;
    border: 2px solid #f8bbd9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.french-ex {
    color: #ff1493;
    font-weight: bold;
    font-family: 'Short Stack', cursive;
    font-size: 1.1em;
}

.english-ex {
    color: #5d4037;
    font-family: 'Short Stack', cursive;
}

/* Exercices */
.exercise {
    margin: 25px 0;
    padding: 25px;
    background: rgba(255, 245, 245, 0.6);
    border-radius: 15px;
    border: 2px dashed #ff69b4;
}

.exercise h4 {
    color: #ff1493;
    margin-top: 0;
    font-family: 'Dancing Script', cursive;
    font-size: 1.7em;
}

.quiz-item {
    margin: 20px 0;
    padding: 18px;
    background: white;
    border-radius: 12px;
    border: 2px solid #f8bbd9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Short Stack', cursive;
    font-size: 1.1em;
}

.answer-input {
    padding: 10px 15px;
    border: 2px solid #f8bbd9;
    border-radius: 25px;
    margin-left: 10px;
    font-family: 'Short Stack', cursive;
    font-size: 1em;
    transition: all 0.3s ease;
    width: 200px;
}

.answer-input.small {
    width: 120px;
    display: inline-block;
}

.answer-input:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    background-color: #fff0f5;
}

.conversation {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #f8bbd9;
    font-family: 'Short Stack', cursive;
}

.conv-line {
    margin: 15px 0;
    font-size: 1.1em;
}

.bonus-question {
    margin-top: 25px;
    padding: 20px;
    background: rgba(248, 187, 217, 0.3);
    border-radius: 15px;
    text-align: center;
}

.bonus-question p {
    color: #ff1493;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-family: 'Short Stack', cursive;
}

.answer-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.answer-options label {
    color: #d23679;
    font-size: 1.1em;
    cursor: pointer;
    font-family: 'Short Stack', cursive;
}

.answer-options input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* Navigation entre leçons */
.lesson-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 20px 20px;
    flex-wrap: wrap;
}

.nav-button {
    padding: 15px 25px;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
    font-family: 'Short Stack', cursive;
    margin: 5px;
    text-align: center;
}

.nav-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.6);
    color: white;
}

.nav-button.back {
    background: linear-gradient(135deg, #87ceeb, #4682b4);
}

/* Responsive pour les pages de leçons */
@media (max-width: 768px) {
    .lesson-intro {
        margin: 20px 10px;
        padding: 20px;
    }
    
    .notebook {
        margin: 20px 10px;
    }
    
    .notebook-content {
        padding: 15px;
    }
    
    .phrase-block {
        padding: 15px;
    }
    
    .answer-input {
        width: 150px;
    }
    
    .answer-input.small {
        width: 80px;
    }
    
    .lesson-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-button {
        margin: 10px 0;
        width: 250px;
    }
    
    .treasure-note {
        flex-direction: column;
        text-align: center;
    }
    
    .treasure-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

        padding: 20px;
    }
}