/* ==================================
   LANDING PAGE STYLES
   Utilise les variables de theme.css
   ================================== */

/* Variables spécifiques à la landing (aliases) */
:root {
    --bleu-encre: var(--color-primary);
    --bleu-clair: var(--color-primary-light);
    --bleu-fonce: var(--color-primary-dark);
    --rouge-marge: var(--color-danger);
    --rouge-fonce: var(--color-danger-dark);
    --gris-crayon: var(--color-text-secondary);
    --gris-clair: var(--color-text-light);

    --marge-laterale: 96px;
    --navbar-height: 120px;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: var(--font-primary);
    background: #f5f5f5;
}

/* ==================================
   NAVIGATION / BANDEAU
   ================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--navbar-height);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, #3b82f6, #ef4444) 1;
}

.nav-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Liens navigation - CTA à droite */
.nav-links {
    order: 3;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--rouge-marge);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Effet de soulignage manuscrit BLEU */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 3px;
    background: var(--bleu-encre);
    border-radius: 2px;
    transform: rotate(-1deg);
}

.nav-link:hover {
    color: var(--rouge-fonce);
    transform: scale(1.05);
}

.nav-link:hover::after {
    background: var(--bleu-fonce);
    transform: rotate(0.5deg);
}

/* ==================================
   ÉTIQUETTE COLLÉE AVEC SCOTCH
   ================================== */
.etiquette-scotch {
    position: relative;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFEEB3 100%);
    padding: 12px 28px;
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(255, 215, 100, 0.3);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
    margin-top: 5px;
    border: 2px solid #FFD93D;
}

.etiquette-scotch.left-pos {
    position: relative;
    order: 2;
    margin-left: 38px;
}

/* Étiquette centrée et fixe */
.etiquette-scotch.center-pos {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    order: 2;
}

.etiquette-scotch.center-pos:hover {
    transform: translateX(-50%) rotate(-2deg);
}

.etiquette-scotch:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Morceau de scotch en haut */
.scotch-top {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: rgba(255, 230, 150, 0.7);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.etiquette-text {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #1F2937;
    white-space: nowrap;
    text-shadow: none;
}

/* CTA Button - Essayer gratuitement */
.nav-cta {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    padding: 14px 28px;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 0 #1E40AF;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    margin-right: -12px;
    margin-left: 2px;
}

.nav-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #1E40AF;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

.nav-cta:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1E40AF;
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.nav-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ==================================
   LOGO STICKER (collé en haut à gauche)
   ================================== */
/* Logo à gauche dans la navigation */
.logo-sticker-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 150;
    transition: transform 0.3s ease;
    margin-top: 0;
    margin-left: 38px;
    order: 1;
}

.logo-sticker-nav:hover {
    transform: scale(1.05);
}

.logo-sticker-img-large {
    width: 120px;
    height: auto;
    filter: drop-shadow(4px 6px 8px rgba(0, 0, 0, 0.1));
}

.logo-sticker-img-small {
    width: 120px;
    height: auto;
    filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.1));
}

/* ==================================
   PAGE DE CAHIER
   ================================== */
.cahier-page {
    position: relative;
    margin-top: 0;
    padding-top: calc(var(--navbar-height) + 10px);
    height: 100vh;
    overflow: hidden;
    background-color: transparent;
    /* Fond transparent pour voir l'image fixe */
    display: flex;
    flex-direction: column;
    z-index: 5;
    /* Above blobs (z-index 0) */
}

/* ==================================
   FOND CARREAU SEYÈS EN CSS PUR
   ================================== */
/* TODO (Plan 4A): This local .seyes-background overrides the shared one in app.css.
   Once templates use the shared .seyes-background class, rename this selector
   (e.g. .seyes-background-landing) or remove it if the shared class is sufficient. */
.seyes-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Carreaux de 32px */
    background-image:
        /* Lignes horizontales principales (tous les 32px) */
        repeating-linear-gradient(to bottom,
            transparent,
            transparent 31px,
            #b8d4e8 31px,
            #b8d4e8 32px),
        /* Lignes horizontales secondaires fines (tous les 8px) */
        repeating-linear-gradient(to bottom,
            transparent,
            transparent 7px,
            #d8e8f4 7px,
            #d8e8f4 8px),
        /* Lignes verticales (tous les 32px) */
        repeating-linear-gradient(to right,
            transparent,
            transparent 31px,
            #c8dce8 31px,
            #c8dce8 32px);

    background-size: 100% 100%;

    /* ADDED to match onboarding style */
    pointer-events: none;
    mix-blend-mode: multiply;
    /* Allows blobs behind to tint the paper if they were behind. */
    /* Wait, the blobs are fixed behind. .cahier-page is above. If .cahier-page bg is transparent, we see blobs. */
    /* But .seyes-background covers it. It has gradients with transparency? Yes. */
    /* The main white paper color is missing if we removed bg-color #fefefe from cahier-page. */
    /* We need a white base layer SOMEWHERE or the blobs will be too strong on default grey body bg? Body is #f5f5f5. */
}

/* ==================================
   MARGE ROUGE (décalée d'un carreau)
   ================================== */
.marge-rouge {
    position: absolute;
    top: 0;
    left: var(--marge-laterale);
    /* 96px = 3 carreaux */
    width: 2px;
    height: 100%;
    background: var(--rouge-marge);
    opacity: 0.8;
}

/* ==================================
   ÉLÉMENTS "COLLÉS" (STICKERS)
   ================================== */
.sticker {
    position: absolute;
    transition: transform 0.3s ease;
}

.sticker:hover {
    /* Effet tournant désactivé pour le header via .catchphrase-sticker plus bas */
    transform: scale(1.02);
}

/* ==================================
   TACHE D'ENCRE
   ================================== */
.tache-encre {
    top: 5%;
    /* Baissé de 0.5cm */
    left: 85%;
    /* Décalé de 2cm vers la droite */
    transform: translate(-50%, -50%) rotate(15deg);
    width: 400px;
    height: 400px;
    background-image: url('/landing/assets/tache-encre.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    mix-blend-mode: multiply;
    /* Derrière l'étiquette et le dessin, devant le papier */
    z-index: 9;
}

.tache-encre:hover {
    transform: translate(-50%, -50%) scale(1.02) rotate(1deg);
}

/* ==================================
   ZONE DE CONTENU
   ================================== */
.content-area {
    position: relative;
    z-index: 10;
    flex: 1;
    padding: 10px 20px;
    padding-left: calc(var(--marge-laterale) + 40px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    min-height: 0; /* Important for flexbox child to shrink */
}

/* ==================================
   HERO CONTAINER (mascotte + sticker)
   ================================== */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

/* ==================================
   MASCOTTE (effet papier déchiré)
   ================================== */
.mascotte-container {
    flex-shrink: 0;
    position: relative;
    background: transparent;
    padding: 0;
    z-index: 10;
    margin-left: 75px;
    margin-top: -2px;
}


/* Note avec flèche pour identifier Curio */
.curio-label {
    position: absolute;
    top: -50px;
    left: -120px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fffef8 0%, #faf8f0 100%);
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow:
        4px 6px 15px rgba(0, 0, 0, 0.25),
        8px 10px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    border: 2px solid var(--bleu-clair);
    z-index: 15;
    transform: rotate(-8deg);
}

.curio-arrow {
    font-size: 1.8rem;
    color: var(--bleu-encre);
    transform: rotate(-35deg);
}

.curio-name {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--bleu-encre);
    white-space: nowrap;
}


.mascotte-img {
    width: 320px;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow:
        6px 8px 25px rgba(0, 0, 0, 0.25),
        12px 15px 40px rgba(0, 0, 0, 0.15);
}

/* ==================================
   STICKER CATCHPHRASE (Style Mockup Image)
   ================================== */
.catchphrase-sticker {
    position: relative;
    background: transparent;
    padding: 20px 0;
    margin-top: -49px;
    /* Remonté de 1.3cm au total */
    text-align: center;
    max-width: 950px;
    margin-left: 0;
    /* Décalé de 1cm vers la droite (parfaitement centré maintenant) */
    box-shadow: none;
    border: none;
    transform: none !important;
    transition: none !important;
}

.catchphrase-sticker:hover {
    transform: none !important;
    box-shadow: none !important;
}

.hero-cta {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: white;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    padding: 16px 40px;
    border-radius: 16px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 0 #1E40AF;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    margin-top: 30px;
    text-align: center;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #1E40AF;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

.hero-cta:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1E40AF;
}

.catchphrase-text {
    font-family: 'Sniglet', sans-serif;
    font-size: 3.84rem;
    font-weight: 400;
    color: #4b5563;
    line-height: 1.3;
    margin: 0;
}

/* Le mot "unique" en bleu */
.unique-blue {
    color: #3b82f6;
    position: relative;
    display: inline-block;
    font-size: 5.04rem;
    font-family: 'Sniglet', sans-serif;
}

/* Surlignage rose sous "unique" */
.unique-blue::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(37, 99, 235, 0.3);
    /* Bleu transparent */
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1deg);
}

.catchphrase-text .highlight {
    color: var(--bleu-encre);
    position: relative;
    display: inline-block;
    font-family: 'Sniglet', sans-serif;
}

.catchphrase-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -5px;
    right: -5px;
    height: 14px;
    background: rgba(255, 50, 50, 0.5);
    z-index: -1;
    transform: rotate(-1deg);
    border-radius: 3px;
}

.catchphrase-cta {
    font-family: 'Sniglet', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: white;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    padding: 18px 45px;
    border-radius: 18px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 0 #1E40AF;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    outline: none;
}

.catchphrase-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 0 #1E40AF;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

.catchphrase-cta:active {
    transform: translateY(2px);
    box-shadow: 0 5px 0 #1E40AF;
}

/* ==================================
   SECTION CALENDLY
   ================================== */
.calendly-section {
    margin-top: 60px;
    padding: 30px 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.calendly-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--bleu-encre);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.calendly-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 50%;
    height: 4px;
    background: #2563EB;
    border-radius: 2px;
}

.calendly-inline-widget {
    border-radius: 12px;
    overflow: hidden;
}

/* Test Options */
.test-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.test-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sniglet', sans-serif;
}

.test-option:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.test-option.active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.test-option-icon {
    font-size: 1.5rem;
}

.test-option-text {
    font-size: 1.1rem;
    color: var(--bleu-encre);
    font-weight: 400;
}

.test-content {
    margin-top: 20px;
}

.autonomy-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
}

.autonomy-cta p {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.2rem;
    color: var(--bleu-encre);
    margin-bottom: 24px;
}

.autonomy-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.autonomy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Safety Modal */
.safety-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.safety-modal.active {
    opacity: 1;
    visibility: visible;
}

.safety-modal-content {
    background: white;
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.safety-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.safety-modal-close:hover {
    background: #e5e7eb;
}

.safety-modal h3 {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.5rem;
    color: var(--bleu-encre);
    margin-bottom: 16px;
}

.safety-modal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safety-modal li {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.safety-modal li:last-child {
    border-bottom: none;
}

.safety-modal li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 400;
}

/* ==================================
   SECTION PARCOURS (fil conducteur)
   ================================== */
.parcours-section {
    margin-top: 80px;
    padding: 30px 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.parcours-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--bleu-encre);
    text-align: center;
    margin-top: 38px;
    margin-bottom: 40px;
    position: relative;
}

/* Soulignage manuscrit sous le titre */
.parcours-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 60%;
    height: 4px;
    background: #2563EB;
    border-radius: 2px;
}

.parcours-timeline {
    position: relative;
    display: flex;
    flex-direction: row;
    /* Retour à l'horizontale */
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}



/* Étape du parcours */
/* Étape du parcours - Design Style Onboarding */
.parcours-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 35px 30px;
    background: white;
    border-radius: 12px;
    /* Coins moins arrondis comme onboarding */
    box-shadow: 10px 10px 0 rgba(30, 58, 138, 0.2);
    /* Ombre solide */
    border: 3px solid #1e3a8a;
    /* Bleu foncé */
    flex: 1 1 0;
    min-width: 280px;
    max-width: 520px;
    min-height: 740px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    overflow: hidden;
}

/* Alignement horizontal standard */
.parcours-step:nth-child(1),
.parcours-step:nth-child(2),
.parcours-step:nth-child(3) {
    align-self: auto;
    margin: 0;
    transform: none;
}

.parcours-step:hover {
    border-color: #2563EB;
    /* Bleu plus vif */
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0 rgba(37, 99, 235, 0.2);
    z-index: 10;
}

/* Effet désactivé */

/* Emoji de l'étape */
.step-emoji {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 50%;
    border: 3px solid var(--bleu-clair);
}

/* Contenu de l'étape */
.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-title {
    font-family: 'Sniglet', sans-serif;
    /* Dancing Script */
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--bleu-encre);
    margin-bottom: 25px;
    min-height: 2.2rem;
    /* Aligne les titres même si le texte varie */
}

/* Style pour le soulignage spécifique des mots clés en rouge */
.red-underline {
    position: relative;
    display: inline-block;
}

.blue-underline {
    position: relative;
    display: inline-block;
}

.blue-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bleu-encre);
    border-radius: 2px;
    transform: rotate(-1deg);
}

.red-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--rouge-marge);
    border-radius: 2px;
    transform: rotate(-1deg);
}

/* Style pour le soulignage en bleu */
.blue-underline {
    position: relative;
    display: inline-block;
}

/* Badges des étapes */
.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    align-self: center;
    margin-top: auto;
    padding: 4px 0;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    cursor: default;
    background: transparent;
    color: #2563eb;
    border: none;
    white-space: nowrap;
    position: relative;
    top: 11px;
    text-decoration: underline;
    text-decoration-color: var(--rouge-marge);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.step-badge .info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.step-badge .info-btn:hover {
    background: #2563eb;
    transform: scale(1.1);
}

/* Image A+ avec bordure bleue */
.connector-image.aplus-image {
    border: 5px solid #93c5fd !important;
    border-radius: 16px !important;
    background: white !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.blue-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2563EB;
    border-radius: 2px;
    transform: rotate(-1deg);
}

/* Ancien soulignage sous le titre complet supprimé */
.step-title::after {
    display: none;
}

.step-description {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.55rem;
    /* Augmenté pour mieux remplir l'espace */
    color: var(--bleu-encre);
    line-height: 1.5;
    /* Plus d'espace entre les lignes */
    margin: 0;
}

.step-description strong {
    font-weight: 900;
    color: #1e3a8a;
    font-size: 1.55rem;
}

/* Connecteur entre les étapes */
.step-connector {
    height: 60px;
    width: 4px;
    background: transparent;
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flèche stylisée au milieu du connecteur */
.step-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bleu-encre) 0%, var(--bleu-clair) 100%);
    border-radius: 50%;
    box-shadow:
        0 4px 12px rgba(37, 99, 235, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid white;
    z-index: 2;
}

/* ==================================
   ONGLETS SOUS-SITES (Journal & Bibliothèque)
   ================================== */
.curio-subsites {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px auto 60px auto;
    max-width: 1400px;
    padding: 40px 30px;
}

.curio-subsite-card {
    flex: 1;
    max-width: 560px;
    min-width: 420px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    padding: 32px;
    background: white;
    border: 3px solid var(--bleu-clair);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 6px 6px 0 rgba(30, 58, 138, 0.12);
}

.curio-subsite-card:hover {
    border-color: var(--bleu-encre);
    box-shadow: 8px 8px 0 rgba(30, 58, 138, 0.18);
    transform: translate(-3px, -3px);
}

.subsite-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

.subsite-content {
    flex: 1;
    text-align: center;
}

.subsite-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.5rem;
    color: var(--bleu-encre);
    margin: 0 0 6px 0;
    white-space: nowrap;
}

.subsite-desc {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: var(--gris-crayon);
    margin: 0;
    line-height: 1.4;
}


/* ==================================
   CONNECTEUR AVEC IMAGE
   ================================== */
.step-connector-with-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    gap: 0;
}

.connector-line {
    width: 4px;
    height: 25px;
    background: linear-gradient(180deg, var(--bleu-clair) 0%, var(--bleu-encre) 50%, var(--bleu-clair) 100%);
    border-radius: 2px;
}

.connector-image {
    width: 100%;
    height: 280px;
    /* Taille de boîte identique pour l'alignement */
    object-fit: contain;
    /* Affiche l'image ENTIÈRE sans la couper */
    /* Fond blanc pour se fondre avec l'image */
    padding: 10px;
    /* Espace interne pour respirer */
    border-radius: 8px;
    border: none;
    /* Plus de bordure ici, géré par la carte */
    box-shadow: none;

    margin-bottom: 25px;
    /* transition removed to keep image static */
}

/* Style spécifique pour la note excellent */
.connector-image.note-image {
    width: 100%;
    max-width: 380px;
    height: 280px;
    border-radius: 16px;
    object-fit: contain;
    background: white;
    padding: 12px;
    border: 5px solid var(--bleu-clair);
}

/* Style pour les screenshots (images rectangulaires) */
.connector-image.screenshot-image {
    width: 100%;
    max-width: 380px;
    height: 280px;
    border-radius: 16px;
    object-fit: contain;
    background: white;
    padding: 12px;
    border: 5px solid var(--bleu-clair);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Image finale après la dernière étape */
.step-connector-with-image.final-image {
    padding-top: 20px;
    padding-bottom: 40px;
}

/* ==================================
   RESPONSIVE
   ================================== */
@media (max-width: 768px) {
    :root {
        --marge-laterale: 64px;
        --navbar-height: 80px;
    }

    .logo-img {
        height: 50px;
    }

    .tache-encre {
        width: 200px;
        height: 200px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link:not(.nav-link-cta) {
        display: none;
    }

}

/* ==================================
   FOOTER
   ================================== */
.landing-footer {
    width: 100%;
    margin-top: auto;
    padding: 10px 20px;
    border-top: none;
    position: relative;
    z-index: 20;
    overflow: hidden;
    flex-shrink: 0;
}

/* Ink splat elements */
.ink-splat {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(1px);
}

.ink-splat-1 {
    width: 90px;
    height: 80px;
    top: -15px;
    left: 8%;
    background: radial-gradient(ellipse at 40% 50%, rgba(37, 99, 235, 0.18), rgba(147, 197, 253, 0.08) 60%, transparent 80%);
    border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
    animation: inkFloat1 6s ease-in-out infinite;
}

.ink-splat-2 {
    width: 120px;
    height: 100px;
    top: 5px;
    right: 12%;
    background: radial-gradient(ellipse at 60% 40%, rgba(147, 197, 253, 0.22), rgba(37, 99, 235, 0.06) 65%, transparent 85%);
    border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%;
    animation: inkFloat2 8s ease-in-out infinite;
}

.ink-splat-3 {
    width: 70px;
    height: 65px;
    bottom: 10px;
    left: 25%;
    background: radial-gradient(ellipse at 50% 50%, rgba(30, 64, 175, 0.15), rgba(147, 197, 253, 0.1) 50%, transparent 75%);
    border-radius: 50% 50% 45% 55% / 60% 40% 60% 40%;
    animation: inkFloat3 7s ease-in-out infinite;
}

.ink-splat-4 {
    width: 55px;
    height: 50px;
    top: 10px;
    left: 50%;
    background: radial-gradient(ellipse at 45% 55%, rgba(37, 99, 235, 0.12), rgba(147, 197, 253, 0.15) 55%, transparent 80%);
    border-radius: 40% 60% 55% 45% / 50% 50% 45% 55%;
    animation: inkFloat4 9s ease-in-out infinite;
}

.ink-splat-5 {
    width: 100px;
    height: 85px;
    bottom: 5px;
    right: 30%;
    background: radial-gradient(ellipse at 55% 45%, rgba(147, 197, 253, 0.2), rgba(30, 64, 175, 0.08) 60%, transparent 80%);
    border-radius: 48% 52% 55% 45% / 52% 48% 45% 55%;
    animation: inkFloat5 7.5s ease-in-out infinite;
}

.ink-splat-6 {
    width: 45px;
    height: 40px;
    top: -5px;
    right: 45%;
    background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.2), rgba(147, 197, 253, 0.05) 70%, transparent 90%);
    border-radius: 52% 48% 45% 55% / 48% 52% 55% 45%;
    animation: inkFloat6 5.5s ease-in-out infinite;
}

@keyframes inkFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.7; }
    33% { transform: translate(5px, 3px) scale(1.08) rotate(2deg); opacity: 0.9; }
    66% { transform: translate(-3px, -2px) scale(0.95) rotate(-1deg); opacity: 0.75; }
}

@keyframes inkFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.65; }
    40% { transform: translate(-6px, 4px) scale(1.1) rotate(-3deg); opacity: 0.85; }
    70% { transform: translate(4px, -3px) scale(0.93) rotate(2deg); opacity: 0.7; }
}

@keyframes inkFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(4px, -5px) scale(1.12); opacity: 0.85; }
}

@keyframes inkFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.55; }
    35% { transform: translate(-3px, 2px) scale(1.06) rotate(3deg); opacity: 0.8; }
    65% { transform: translate(5px, -4px) scale(0.97) rotate(-2deg); opacity: 0.65; }
}

@keyframes inkFloat5 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.6; }
    45% { transform: translate(6px, 3px) scale(1.09) rotate(-2deg); opacity: 0.9; }
    80% { transform: translate(-4px, -2px) scale(0.96) rotate(1deg); opacity: 0.7; }
}

@keyframes inkFloat6 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    50% { transform: translate(-3px, 4px) scale(1.15); opacity: 0.95; }
}

/* ... content/links ... */

.footer-links {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* ... */

/* Footer Link Enhancements */
/* Removed duplicate .legal-link */

.legal-link:hover {
    color: var(--bleu-encre);
    transform: scale(1.05);
    /* Petit zoom au survol */
}

/* Footer refondus - Proportions harmonieuses */
.footer-copyright p {
    color: var(--gris-clair);
    font-size: 1.4rem;
    margin: 0;
    margin-top: 8px;
    font-family: 'Sniglet', sans-serif;
    letter-spacing: 0.5px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-family: 'Sniglet', sans-serif;
    padding-left: 2cm;
    position: relative;
    z-index: 10;
}

.footer-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: var(--bleu-encre);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--bleu-encre);
    text-decoration: underline;
}

.separator {
    color: var(--gris-clair);
    font-size: 1rem;
    opacity: 0.6;
}

/* Founder contact section */
.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.founder-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 3px solid var(--bleu-clair);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.founder-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.founder-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gris-clair);
}

.founder-name {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--bleu-encre);
}

.founder-email {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.founder-email:hover {
    color: var(--bleu-encre);
    text-decoration: underline;
}

.input-hidden {
    display: none !important;
}

/* Modal Wrapper */
.legal-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay */
.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.4);
    /* Blue tint overlay */
    backdrop-filter: blur(5px);
    z-index: 1;
}

/* Modal Card - Matching Auth/Onboarding style */
.legal-modal-card {
    position: relative;
    z-index: 10;
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border: 3px solid #1e3a8a;
    /* Bleu foncé */
    border-radius: 12px;
    box-shadow: 10px 10px 0 rgba(30, 58, 138, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #1e3a8a;
}

/* Content */
.modal-content-scroll {
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar Styling */
.modal-content-scroll::-webkit-scrollbar {
    width: 8px;
}

.modal-content-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content-scroll::-webkit-scrollbar-thumb {
    background: #c7d2fe;
    border-radius: 4px;
}

.modal-content-scroll::-webkit-scrollbar-thumb:hover {
    background: #818cf8;
}

.modal-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 2.5rem;
    color: #2563EB;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px dashed #e5e7eb;
    padding-bottom: 15px;
}

.modal-body {
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.modal-body h3 {
    font-size: 1.2rem;
    color: #1e40af;
    margin-top: 15px;
    margin-bottom: 8px;
}

.modal-body p {
    margin-bottom: 10px;
}

.modal-body a {
    color: #2563EB;
    text-decoration: underline;
}

/* Footer Link - Taille proportionnée */
.legal-link {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.3rem;
    color: var(--gris-crayon);
    text-decoration: none;
    position: relative;
    padding: 0 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: #2563EB;
    text-decoration: none;
}

/* Petites "taches" ou soulignement manuscrit au survol */
.legal-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563EB;
    transform: rotate(-1deg);
    border-radius: 2px;
}

/* ==================================
   PAGE TRANSITION ANIMATIONS
   ================================== */

/* Wrapper for animation on Landing Page */
.page-slide-exit {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-100vw);
    opacity: 0.8;
}

/* Onboarding Entry Animation */
/* Note: Onboarding uses slideIn in CSS already, we will override or use JS class */
/* Onboarding Entry Animation - Handled by JS classes now, generic fallback */
.page-slide-enter {
    animation: slideEnterFromRight 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* using slideEnterFromRight keyframes defined below */

/* ==================================
   SMOOTH PAGE TRANSITIONS (BOTH WAYS)
   ================================== */

/* --- 1. Exits (Partir de la page) --- */

/* Vers la gauche (Aller à l'onboarding) */
.slide-exit-to-left {
    animation: slideExitToLeft 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

/* Vers la droite (Retour de l'onboarding - théoriquement pas sur landing sauf si multi-pages futurs) */
.slide-exit-to-right {
    animation: slideExitToRight 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

/* --- 2. Entries (Arriver sur la page) --- */

/* Depuis la gauche (Retour de l'onboarding) */
.slide-enter-from-left {
    animation: slideEnterFromLeft 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

/* Depuis la droite (Normal start ou retour arrière) */
.slide-enter-from-right {
    animation: slideEnterFromRight 1.0s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}


/* --- Keyframes --- */

/* Keyframes merged below */

/* ==================================
   ULTRA SMOOTH TRANSITIONS - Premium Effect
   ================================== */
/* Duration: 1.2s for maximum fluidity */
/* Effects: Slide + Fade + Subtle Scale + Blur During Motion */

@keyframes slideExitToLeft {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
        filter: blur(0px);
    }

    50% {
        filter: blur(3px);
    }

    100% {
        transform: translate3d(-100%, 0, 0) scale(0.95);
        opacity: 0;
        filter: blur(8px);
    }
}

/* Keyframes removed */

/* Page transitions removed per user request */

/* ==================================
   BACKGROUND BLOBS ANIMATION
   ================================== */
:root {
    --color-bg1: 37, 99, 235;
    /* Royal Blue */
    --color-bg2: 220, 38, 38;
    /* Red */
    --color-bg3: 147, 197, 253;
    /* Light Blue */
    --color-bg4: 252, 165, 165;
    /* Light Red */
    --color-bg5: 255, 255, 255;
    /* White */
    --circle-size: 80%;
    --blending: multiply;
}

.landing-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    /* Behind everything */
    background: #ffffff;
    /* Base white */
    overflow: hidden;
    pointer-events: none;
    /* Let clicks pass through */
}

/* We need to ensure the existing .cahier-page and navbar sit ON TOP */
/* .navbar is z-index: 100 (OK) */
/* .cahier-page is currently static/relative. Needs explicit z-index if background is there? */

/* The blobs container */
.gradients-container {
    filter: blur(40px);
    width: 100%;
    height: 100%;
    opacity: 0.5;
    /* Subtle */
}

.gradient-blob {
    position: absolute;
    width: var(--circle-size);
    height: var(--circle-size);
    mix-blend-mode: var(--blending);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    will-change: transform;
}

.animate-first {
    background: radial-gradient(circle at center, rgba(var(--color-bg1), 0.8) 0, rgba(var(--color-bg1), 0) 50%) no-repeat;
    transform-origin: center center;
    animation: moveVertical 60s ease infinite;
}

.animate-second {
    background: radial-gradient(circle at center, rgba(var(--color-bg2), 0.6) 0, rgba(var(--color-bg2), 0) 50%) no-repeat;
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 50s reverse infinite;
}

.animate-third {
    background: radial-gradient(circle at center, rgba(var(--color-bg3), 0.8) 0, rgba(var(--color-bg3), 0) 50%) no-repeat;
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 80s linear infinite;
}

.animate-fourth {
    background: radial-gradient(circle at center, rgba(var(--color-bg4), 0.7) 0, rgba(var(--color-bg4), 0) 50%) no-repeat;
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 70s ease infinite;
}

.animate-fifth {
    background: radial-gradient(circle at center, rgba(var(--color-bg5), 1) 0, rgba(var(--color-bg5), 0) 50%) no-repeat;
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: moveInCircle 40s ease infinite;
}

.interactive {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.8) 0, rgba(59, 130, 246, 0) 50%) no-repeat;
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }

    50% {
        transform: translateX(50%) translateY(10%);
    }

    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

/* ==================================
   SECTION AVIS PARENTS (Testimonials)
   ================================== */
.testimonials-section {
    margin-top: 2px;
    margin-bottom: 40px;
    padding: 20px 0 40px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
}

.testimonials-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--bleu-encre);
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 420px;
    height: 4px;
    background: var(--bleu-encre);
    border-radius: 2px;
}

.testimonials-track-wrapper {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 350px;
    background: white;
    border-radius: 16px;
    padding: 25px 25px 22px 25px;
    box-shadow: 8px 8px 0 rgba(30, 58, 138, 0.15);
    border: 3px solid var(--bleu-clair);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}

.testimonial-card:hover {
    border-color: var(--bleu-encre);
    box-shadow: 10px 10px 0 rgba(30, 58, 138, 0.2);
}

.testimonial-text {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.15rem;
    color: var(--gris-crayon);
    line-height: 1.5;
    margin-bottom: 0;
    padding-bottom: 20px;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 15px;
    border-top: 2px dashed var(--bleu-clair);
}

.testimonial-mascot {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bleu-clair);
    box-shadow: 3px 3px 0 rgba(30, 58, 138, 0.2);
    flex-shrink: 0;
}

.testimonial-author {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.05rem;
    color: var(--gris-crayon);
    text-align: left;
    position: relative;
    margin: 0;
    line-height: 1.6;
}

.testimonial-author .author-name {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.5rem;
    color: var(--bleu-encre);
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: var(--bleu-clair);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

/* ==================================
   CHAT PROFILE HEADER (inside chat)
   ================================== */
.chat-profile-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    margin-bottom: 30px;
    background: white;
    border-radius: 16px;
    border-bottom: 3px solid var(--bleu-clair);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Nouvelle barre horizontale pour le header du chat */
.chat-profile-header-bar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    margin-bottom: 15px;
    background: white;
    border-radius: 16px;
    border-bottom: 3px solid var(--bleu-clair);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bleu-clair);
}

.avatar-img-sm {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name-lg {
    font-family: 'Sniglet', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--bleu-encre);
    margin: 0;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-family: 'Sniglet', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--bleu-encre);
    margin: 0;
    line-height: 1.1;
}

/* Language Flags */
.profile-languages {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.lang-flag {
    width: 28px;
    height: 19px;
    border: 2px solid var(--bleu-clair);
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    background: white;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-flag .flag-svg {
    width: 100%;
    height: 100%;
}

.lang-flag:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-flag.active {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.4);
}

.lang-flag.coming-soon {
    opacity: 0.4;
    filter: grayscale(80%);
    cursor: pointer;
}

.lang-flag.coming-soon:hover {
    opacity: 0.6;
    filter: grayscale(50%);
}

.lang-separator {
    color: var(--bleu-encre);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0 2px;
    opacity: 0.5;
}

/* Large Language Flags (profile header) */
.profile-languages-large {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.lang-flag-lg {
    width: 42px;
    height: 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
    background: transparent;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-flag-lg .flag-svg {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-flag-lg:hover {
    transform: scale(1.15);
}

.lang-flag-lg.active .flag-svg {
    box-shadow: 0 0 0 2px #FFD700, 0 2px 6px rgba(0, 0, 0, 0.3);
}

.lang-flag-lg.coming-soon {
    opacity: 0.4;
    filter: grayscale(80%);
    cursor: pointer;
}

.lang-flag-lg.coming-soon:hover {
    opacity: 0.6;
    filter: grayscale(50%);
}

.lang-separator-lg {
    color: var(--bleu-encre);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0 4px;
    opacity: 0.6;
}

.profile-status-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

/* Coming soon toast */
.lang-coming-soon-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, var(--bleu-encre) 0%, #8B5CF6 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    z-index: 3000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lang-coming-soon-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.profile-tagline {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.6rem;
    color: var(--gris-crayon);
    margin: 0;
    line-height: 1.4;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-online 2s ease-in-out infinite;
}

@keyframes pulse-online {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.status-text {
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    color: #22C55E;
}

.profile-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bleu-clair);
    box-shadow: 2px 2px 0 rgba(30, 58, 138, 0.15);
}

/* ==================================
   CHAT CONVERSATION SECTION
   ================================== */
.chat-conversation {
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 25px;
    background: transparent;
    border-radius: 24px;
    border: 3px solid var(--bleu-clair);
    box-shadow: 8px 8px 0 rgba(30, 58, 138, 0.15);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Height will be set by viewport calculation */
}

/* Question bubbles (LEFT side) */
.chat-bubble.question {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.chat-bubble.question .bubble-text {
    display: inline-block;
    padding: 20px 30px;
    border-radius: 24px 24px 24px 6px;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.5rem;
    color: white;
    max-width: 80%;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

/* Question colors */
.chat-bubble.question.color-orange .bubble-text {
    background: linear-gradient(135deg, #F4A442, #E8913A);
}

.chat-bubble.question.color-blue .bubble-text {
    background: linear-gradient(135deg, #4A90D9, #3B7DC4);
}

.chat-bubble.question.color-green .bubble-text {
    background: linear-gradient(135deg, #5CB85C, #4CA84C);
}

.chat-bubble.question.color-purple .bubble-text {
    background: linear-gradient(135deg, #8E44AD, #7D3C9B);
}

.chat-bubble.question.color-yellow .bubble-text {
    background: linear-gradient(135deg, #F1C40F, #D4AC0D);
}

.chat-bubble.question.color-pink .bubble-text {
    background: linear-gradient(135deg, #E91E63, #C2185B);
}

.chat-bubble.question.color-teal .bubble-text {
    background: linear-gradient(135deg, #009688, #00796B);
}

.chat-bubble.question.color-cyan .bubble-text {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
}

/* Answer bubbles (RIGHT side with avatar) */
.chat-bubble.answer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 30px;
}

.avatar-wrapper {
    flex-shrink: 0;
    order: 2;
}

.chat-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--bleu-clair);
    box-shadow: 2px 2px 0 rgba(30, 58, 138, 0.15);
    object-fit: cover;
}

.bubble-content {
    flex: 0 1 auto;
    max-width: 75%;
    background: #F5F5F5;
    padding: 24px 30px;
    border-radius: 24px 24px 6px 24px;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.4rem;
    color: var(--gris-crayon);
    line-height: 1.6;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
    order: 1;
}

.bubble-content p {
    margin: 0 0 12px 0;
}

.bubble-content p:last-child {
    margin-bottom: 0;
}

.bubble-content strong {
    font-family: 'Sniglet', sans-serif;
    color: #8B5CF6;
    font-weight: 400;
    font-style: normal;
}

/* Wide bubble for first answer */
.bubble-content-wide {
    max-width: 85%;
}

/* Inline example with PDF on same line */
.example-inline {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.example-inline span {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.4rem;
    color: var(--gris-crayon);
    white-space: nowrap;
}

/* Compact PDF card for inline display */
.pdf-preview-compact {
    padding: 8px 16px !important;
    gap: 8px !important;
}

.pdf-preview-compact .pdf-level-badge {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
}

.pdf-preview-compact .pdf-icon {
    font-size: 1.2rem !important;
}

.pdf-preview-compact .pdf-text {
    font-size: 0.95rem !important;
}

/* Info tip (ampoule) */
.info-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFF9E6;
    border: 2px solid #FFD93D;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 15px;
}

.tip-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}

.tip-text {
    font-size: 0.95rem;
    color: #7A6B2E;
    line-height: 1.5;
    flex: 1;
}

/* PDF Preview */
.example-preview {
    margin-top: 15px;
}

.pdf-preview-link {
    text-decoration: none;
}

.pdf-preview-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid var(--bleu-clair);
    border-radius: 12px;
    padding: 15px 25px;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0 rgba(30, 58, 138, 0.1);
}

.pdf-preview-card:hover {
    border-color: var(--bleu-encre);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(30, 58, 138, 0.15);
}

.pdf-icon {
    font-size: 2rem;
}

.pdf-text {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: var(--bleu-encre);
}

.pdf-level-badge {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    font-family: 'Sniglet', sans-serif;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Theme carousel */
.theme-carousel {
    margin-top: 15px;
    overflow: hidden;
    border-radius: 12px;
    background: white;
    padding: 12px 0;
    width: 100%;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    gap: 10px;
    animation: scrollCarousel 15s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.theme-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #E8F4FD, #D6EBFA);
    border: 2px solid var(--bleu-clair);
    border-radius: 16px;
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    color: var(--bleu-encre);
    white-space: nowrap;
}

/* Chatbot screenshot */
.chatbot-screenshot {
    margin-top: 20px;
    text-align: center;
}

.screenshot-img {
    max-width: 100%;
    border-radius: 16px;
    border: 3px solid var(--bleu-clair);
    box-shadow: 6px 6px 0 rgba(30, 58, 138, 0.15);
}

/* Feature badges */
.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #E8F4FD, #D6EBFA);
    border: 2px solid var(--bleu-clair);
    border-radius: 12px;
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    color: var(--bleu-encre);
}

/* Trust list */
.trust-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.trust-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    border-bottom: 1px dashed var(--bleu-clair);
}

.trust-list li:last-child {
    border-bottom: none;
}

/* Testimonials in chat */
.chat-testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.testimonial-mini {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border: 2px solid var(--bleu-clair);
    border-radius: 16px;
    padding: 15px;
    transition: all 0.2s ease;
}

.testimonial-mini:hover {
    border-color: var(--bleu-encre);
    box-shadow: 4px 4px 0 rgba(30, 58, 138, 0.1);
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--bleu-clair);
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.testimonial-quote {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    color: var(--gris-crayon);
    margin: 0 0 8px 0;
    line-height: 1.4;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.85rem;
    color: var(--bleu-encre);
    margin: 0;
}

.testimonial-author strong {
    font-weight: 400;
    color: #2563EB;
}

/* CTA Final */
.chat-cta-final {
    text-align: center;
    padding: 30px 20px;
    margin-top: 10px;
}

.cta-text {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.8rem;
    color: var(--bleu-encre);
    margin: 0 0 20px 0;
}

.cta-button-large {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    color: white;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 8px 0 #1E40AF;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 0 #1E40AF;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

.cta-button-large:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1E40AF;
}
/* ==================================
   RESPONSIVE - TABLET (1024px)
   ================================== */

@media (max-width: 1024px) {
    :root {
        --marge-laterale: 40px;
        --navbar-height: 80px;
    }

    .nav-content {
        padding: 0 20px;
    }

    .hero-container {
        flex-direction: column;
        gap: 30px;
        margin-top: 20px;
    }

    .mascotte-container {
        margin-left: 0;
    }

    .mascotte {
        max-height: 280px;
    }

    .catchphrase-sticker {
        max-width: 400px;
    }

    .content-area {
        padding-left: 60px;
        padding-right: 20px;
    }

    .tache-encre {
        width: 250px;
        height: 250px;
        left: 90%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Hero profile tablet */
    .hero-profile {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 40px;
    }

    .profile-name {
        font-size: 3.5rem;
    }

    .profile-languages {
        gap: 5px;
        margin-top: 6px;
    }

    .lang-flag {
        width: 26px;
        height: 17px;
    }

    .profile-languages-large {
        gap: 8px;
        margin-top: 6px;
        justify-content: center;
    }

    .lang-flag-lg {
        width: 38px;
        height: 25px;
    }

    .lang-separator-lg {
        font-size: 1.4rem;
    }

    .profile-status-inline {
        justify-content: center;
    }

    .profile-tagline {
        font-size: 1.3rem;
    }

    .avatar-img {
        width: 160px;
        height: 160px;
    }

    /* Chat tablet */
    .chat-conversation {
        padding: 25px;
    }

    .chat-testimonials {
        grid-template-columns: 1fr;
    }
}

/* ==================================
   RESPONSIVE - MOBILE (768px)
   ================================== */

@media (max-width: 768px) {
    :root {
        --marge-laterale: 15px;
        --navbar-height: 60px;
    }

    /* Navbar mobile */
    .navbar {
        height: auto;
        min-height: 60px;
        padding: 8px 0;
    }

    .nav-content {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        padding: 0 10px;
    }

    .logo-sticker-nav {
        margin-left: 0;
        order: 1;
    }

    .logo-sticker-img-large,
    .logo-sticker-img-small {
        width: 70px;
    }

    .etiquette-scotch {
        display: none;
    }

    .etiquette-scotch.left-pos {
        display: none;
    }

    .nav-links {
        order: 2;
    }

    .nav-link {
        display: none;
    }

    .nav-cta {
        padding: 10px 16px;
        font-size: 0.85rem;
        margin-right: 0;
        margin-left: 0;
    }



    /* Marge rouge mobile */
    .marge-rouge {
        display: none;
    }

    /* Cahier page mobile - grid extends to top */
    .cahier-page {
        margin-top: 0;
        padding-top: calc(60px + 10px);
        min-height: 100vh;
    }

    /* Content area mobile */
    .content-area {
        padding: 15px;
        padding-left: 15px;
        padding-top: 10px;
    }

    /* Hero mobile */
    .hero-container {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .mascotte-container {
        padding: 10px 15px;
        margin-left: 0;
        margin-top: 0;
    }

    .mascotte-img {
        width: 180px;
    }

    .curio-label {
        display: none;
    }

    /* Catchphrase mobile */
    .catchphrase-sticker {
        max-width: 100%;
        padding: 10px;
        margin-top: 0;
        margin-left: 0;
    }

    .catchphrase-text {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .unique-blue {
        font-size: 2rem;
    }

    .unique-blue::after {
        height: 6px;
        bottom: 2px;
    }

    .catchphrase-text .highlight::after {
        height: 8px;
    }

    .hero-cta {
        font-size: 1rem;
        padding: 12px 25px;
        margin-top: 15px;
        box-shadow: 0 5px 0 #1E40AF;
    }

    .catchphrase-cta {
        font-size: 1.1rem;
        padding: 12px 25px;
        box-shadow: 0 6px 0 #1E40AF;
    }

    /* Stickers et décorations mobile */
    .sticker,
    .tache-encre,
    .decorations {
        display: none;
    }

    /* Parcours section mobile */
    .parcours-section {
        margin-top: 40px;
        padding: 15px;
    }

    .parcours-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
        margin-top: 20px;
    }

    .parcours-title::after {
        width: 80%;
    }

    /* Calendly mobile */
    .calendly-section {
        margin-top: 40px;
        padding: 20px 15px;
    }

    .calendly-title {
        font-size: 1.6rem;
    }

    .calendly-inline-widget {
        height: 600px !important;
    }

    /* Subsites mobile */
    .curio-subsites {
        flex-direction: column;
        gap: 20px;
        margin: 20px auto 30px auto;
        padding: 25px 15px;
    }

    .curio-subsite-card {
        max-width: 100%;
        min-width: auto;
        min-height: 100px;
        padding: 18px;
        gap: 15px;
    }

    .subsite-logo {
        width: 65px;
        height: 65px;
    }

    .subsite-title {
        font-size: 1.15rem;
    }

    .subsite-desc {
        font-size: 0.9rem;
    }


    .parcours-timeline {
        flex-direction: column;
        gap: 20px;
        padding: 30px 0;
    }

    .parcours-step {
        min-width: auto;
        max-width: 100%;
        min-height: auto;
        padding: 20px 15px;
        overflow: visible;
    }

    .step-emoji {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .step-description {
        font-size: 1rem;
    }

    .step-description strong {
        font-size: 1rem;
    }

    .step-badge {
        padding: 3px 5px;
        font-size: 0.6rem;
        border-radius: 8px;
    }

    .connector-image {
        width: 100%;
        height: auto;
        max-height: 200px;
        margin-bottom: 15px;
    }

    .connector-image.note-image,
    .connector-image.screenshot-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        max-height: 200px;
        border: 5px solid var(--bleu-clair);
        border-radius: 16px;
        background: white;
        padding: 10px;
    }

    /* Testimonials mobile */
    .testimonials-section {
        padding: 20px 0;
        margin-top: 0;
    }

    .testimonials-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .testimonials-title::after {
        width: 250px;
    }

    .testimonial-card {
        width: 280px;
        min-height: auto;
        padding: 18px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-mascot {
        width: 45px;
        height: 45px;
    }

    .testimonial-author .author-name {
        font-size: 1.2rem;
    }

    /* Footer mobile */
    .landing-footer {
        padding: 20px 15px 40px;
    }

    .footer-content {
        padding-left: 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .separator {
        display: none;
    }

    .footer-copyright p {
        font-size: 1rem;
    }

    .legal-link {
        font-size: 1rem;
    }

    /* Modal mobile */
    .legal-modal-card {
        width: 95%;
        max-height: 85vh;
        padding: 20px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    /* Hero profile mobile */
    .hero-profile {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
        margin: 0 10px 30px 10px;
    }

    .profile-name {
        font-size: 2.8rem;
    }

    .profile-languages {
        gap: 4px;
        margin-top: 5px;
    }

    .lang-flag {
        width: 24px;
        height: 16px;
    }

    .lang-separator {
        font-size: 1rem;
    }

    .profile-languages-large {
        gap: 6px;
        margin-top: 5px;
        justify-content: center;
    }

    .lang-flag-lg {
        width: 34px;
        height: 22px;
        border-width: 2px;
    }

    .lang-separator-lg {
        font-size: 1.2rem;
    }

    .profile-status-inline {
        justify-content: center;
        margin-top: 8px;
    }

    .profile-tagline {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .avatar-img {
        width: 130px;
        height: 130px;
    }

    .hero-cta {
        font-size: 1rem;
        padding: 14px 28px;
    }

    /* Chat mobile */
    .chat-conversation {
        padding: 20px 15px;
        margin: 0 10px;
        border-radius: 20px;
    }

    .chat-bubble.question .bubble-text {
        font-size: 1rem;
        padding: 12px 18px;
        max-width: 90%;
    }

    .chat-avatar {
        width: 40px;
        height: 40px;
    }

    .bubble-content {
        font-size: 1rem;
        padding: 15px 18px;
    }

    .info-tip {
        padding: 10px 12px;
    }

    .tip-text {
        font-size: 0.85rem;
    }

    .theme-tag {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .feature-badges {
        flex-direction: column;
    }

    .chat-testimonials {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .testimonial-mini {
        padding: 12px;
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
    }

    .testimonial-quote {
        font-size: 0.9rem;
    }

    .chat-cta-final {
        padding: 30px 15px;
    }

    .cta-text {
        font-size: 1.4rem;
    }

    .cta-button-large {
        font-size: 1rem;
        padding: 14px 28px;
        box-shadow: 0 6px 0 #1E40AF;
    }
}

/* ==================================
   RESPONSIVE - SMALL MOBILE (480px)
   ================================== */

@media (max-width: 480px) {
    :root {
        --navbar-height: 55px;
    }

    .navbar {
        padding: 6px 0;
    }

    .nav-content {
        padding: 0 8px;
    }

    .logo-sticker-img-large,
    .logo-sticker-img-small {
        width: 55px;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 0.8rem;
    }



    .cahier-page {
        margin-top: 0;
        padding-top: calc(55px + 8px);
    }

    .content-area {
        padding: 10px;
    }

    .hero-container {
        margin-top: 5px;
        gap: 10px;
    }

    .mascotte-container {
        padding: 8px 10px;
    }

    .mascotte-img {
        width: 140px;
    }

    .catchphrase-sticker {
        padding: 8px;
    }

    .catchphrase-text {
        font-size: 1.3rem;
    }

    .unique-blue {
        font-size: 1.6rem;
    }

    .hero-cta {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin-top: 10px;
        box-shadow: 0 4px 0 #1E40AF;
    }

    .catchphrase-cta {
        font-size: 0.95rem;
        padding: 10px 20px;
        box-shadow: 0 5px 0 #1E40AF;
    }

    .parcours-section {
        margin-top: 25px;
        padding: 10px;
    }

    .parcours-title {
        font-size: 1.5rem;
    }

    /* Calendly small mobile */
    .calendly-title {
        font-size: 1.4rem;
    }

    .calendly-inline-widget {
        height: 550px !important;
    }

    /* Subsites small mobile */
    .curio-subsites {
        gap: 15px;
        margin: 15px auto 25px auto;
        padding: 20px 10px;
    }

    .curio-subsite-card {
        padding: 14px;
        gap: 12px;
        min-height: 90px;
    }

    .subsite-logo {
        width: 55px;
        height: 55px;
    }

    .subsite-title {
        font-size: 1rem;
    }

    .subsite-desc {
        font-size: 0.8rem;
    }


    .parcours-step {
        padding: 15px 12px;
    }

    .step-emoji {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 0.9rem;
    }

    .testimonials-title {
        font-size: 1.4rem;
    }

    .testimonials-title::after {
        width: 200px;
    }

    .testimonial-card {
        width: 250px;
        padding: 15px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }

    .footer-copyright p {
        font-size: 0.9rem;
    }

    /* Hero profile small mobile */
    .hero-profile {
        padding: 20px 15px;
        margin: 0 5px 25px 5px;
    }

    .profile-name {
        font-size: 2.2rem;
    }

    .profile-tagline {
        font-size: 0.95rem;
    }

    .avatar-img {
        width: 110px;
        height: 110px;
    }

    .hero-cta {
        font-size: 0.9rem;
        padding: 12px 24px;
    }

    /* Chat small mobile */
    .chat-conversation {
        padding: 15px 12px;
        margin: 0 5px;
    }

    .chat-bubble.question .bubble-text {
        font-size: 0.95rem;
        padding: 10px 14px;
    }

    .chat-bubble.answer {
        gap: 10px;
    }

    .chat-avatar {
        width: 35px;
        height: 35px;
    }

    .bubble-content {
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .cta-text {
        font-size: 1.2rem;
    }

    .cta-button-large {
        font-size: 0.9rem;
        padding: 12px 22px;
    }

    /* Language flags small mobile */
    .profile-languages {
        gap: 4px;
        margin-top: 6px;
    }

    .lang-flag {
        width: 22px;
        height: 15px;
        border-width: 1px;
        border-radius: 3px;
    }

    .lang-separator {
        font-size: 0.9rem;
        margin: 0 1px;
    }

    /* Large language flags small mobile */
    .profile-languages-large {
        gap: 5px;
        margin-top: 5px;
        justify-content: center;
    }

    .lang-flag-lg {
        width: 28px;
        height: 18px;
        border-width: 2px;
        border-radius: 4px;
    }

    .lang-separator-lg {
        font-size: 1rem;
        margin: 0 2px;
    }

    .profile-status-inline {
        justify-content: center;
        margin-top: 6px;
    }
}

/* ==================================
   TYPING ANIMATION FOR CHAT
   ================================== */

/* Initially hide all chat bubbles */
.chat-bubble.animate-in {
    opacity: 0;
    transform: translateY(20px);
}

/* Fade in animation */
.chat-bubble.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Typing indicator wrapper (styled like Curio's answer) */
.typing-wrapper {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Typing indicator dots */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
}

.typing-indicator .dot {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator .dot:nth-child(1) { animation-delay: 0s; }
.typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* Question typing indicator styles */
.chat-bubble.question.typing-wrapper .typing-indicator {
    display: inline-flex;
    padding: 20px 30px;
    border-radius: 24px 24px 24px 6px;
    background: linear-gradient(135deg, #5CB85C, #4CA84C);
}

.chat-bubble.question.typing-wrapper.color-orange .typing-indicator {
    background: linear-gradient(135deg, #F4A442, #E8913A);
}

.chat-bubble.question.typing-wrapper.color-blue .typing-indicator {
    background: linear-gradient(135deg, #4A90D9, #3B7DC4);
}

.chat-bubble.question.typing-wrapper.color-green .typing-indicator {
    background: linear-gradient(135deg, #5CB85C, #4CA84C);
}

.chat-bubble.question.typing-wrapper.color-purple .typing-indicator {
    background: linear-gradient(135deg, #8E44AD, #7D3C9B);
}

.chat-bubble.question.typing-wrapper.color-pink .typing-indicator {
    background: linear-gradient(135deg, #E91E63, #C2185B);
}

.chat-bubble.question.typing-wrapper.color-cyan .typing-indicator {
    background: linear-gradient(135deg, #00BCD4, #0097A7);
}

.chat-bubble.question.typing-wrapper .typing-indicator .dot {
    background-color: white;
}

/* Testimonials and CTA animation */
.chat-testimonials.animate-in,
.chat-cta-final.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.chat-testimonials.visible,
.chat-cta-final.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================
   VIDEO BACKGROUND FOR CHATBOT
   ================================== */

/* Fond transparent pour voir l'image derrière */
.chat-conversation {
    background: transparent;
}

/* Video background element */
.chat-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 21px;
    pointer-events: none;
    opacity: 0.85;
}

/* Light overlay to slightly soften the video */
.chat-conversation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
    border-radius: 21px;
    pointer-events: none;
}

/* Messages area with scroll */
.chat-messages-area {
    position: relative;
    z-index: 2;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 15px 10px 0;
    /* Scrollbar styling - blue cursor on white background */
    scrollbar-width: auto;
    scrollbar-color: #3b82f6 white;
}

.chat-messages-area::-webkit-scrollbar {
    width: 14px;
}

.chat-messages-area::-webkit-scrollbar-track {
    background: white;
    border-radius: 7px;
    margin: 10px 0;
}

.chat-messages-area::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-radius: 7px;
    border: 2px solid white;
}

.chat-messages-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

/* Make chat-conversation fill available space */
.chat-conversation {
    flex: 1;
    min-height: 0; /* Important for flexbox to shrink properly */
}

/* ==================================
   LANDING PAGE V2 - FULL PAGE CHATBOT
   ================================== */

/* Hide sidebar when landing-page has no-sidebar class */
.landing-page.no-sidebar .sidebar {
    display: none !important;
}

/* Remove navbar for full-page chatbot */
.landing-page.no-sidebar .navbar {
    display: none !important;
}

/* Cahier page takes full viewport without navbar */
.landing-page.no-sidebar .cahier-page {
    padding: 0 !important;
    margin: 0 !important;
    /* Definite height so flex children below can resolve height: 100vh —
       if this stays 'auto', iOS WebKit ignores the child's 100vh and
       collapses it to flex-basis: 0, clipping the entire page. */
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

/* Content area full width, fixed height */
.landing-page.no-sidebar .content-area {
    /* Override the base .content-area flex:1 — on iOS WebKit flex:1 with
       flex-basis:0 inside an auto-height parent wins over height:100vh
       and collapses the container to zero, making the whole landing page
       appear blank. */
    flex: none;
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hide seyes grid background for clean white */
.landing-page.no-sidebar .seyes-background {
    display: none;
}

/* Hide red margin line */
.landing-page.no-sidebar .marge-rouge {
    display: none;
}

/* Hide gradient blobs */
.landing-page.no-sidebar .landing-bg-container {
    display: none !important;
}

/* Fixed viewport, no page scroll */
.landing-page.no-sidebar {
    height: 100vh;
    overflow: hidden !important;
    background: transparent !important;
}

/* Chat conversation fills entire viewport */
.landing-page.no-sidebar .chat-conversation {
    /* Same iOS WebKit issue as .content-area — without this override the
       base .chat-conversation flex:1 collapses the container to zero. */
    flex: none;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    background: transparent;
}

/* Image background covers the full chat area */
/* Fond image - masqué car fond fixe global */
.chat-image-bg {
    display: none;
}

/* Overlay supprimé pour fond net */
.landing-page.no-sidebar .chat-conversation::before {
    display: none;
}

/* Messages area with scroll, full width */
.landing-page.no-sidebar .chat-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px 40px 40px 40px;
}

/* ==================================
   CENTERED CURIO PROFILE HEADER
   ================================== */
.chat-profile-header-bar.chat-profile-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: white;
    border: 3px solid #3b82f6;
    border-radius: 16px;
    width: fit-content;
    margin: 15px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-profile-centered .profile-avatar-sm {
    width: 80px;
    height: 80px;
}

.chat-profile-centered .avatar-img-sm {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chat-profile-centered .profile-name-lg {
    font-size: 2.8rem;
    color: #1E3A8A;
}

/* ==================================
   BUBBLE BLUE (SEYES PATTERN FOR CURIO ANSWERS)
   ================================== */
.bubble-content.bubble-blue {
    background-color: #fefefe;
    background-image:
        /* Lignes horizontales principales (tous les 32px) */
        repeating-linear-gradient(to bottom,
            transparent,
            transparent 31px,
            rgba(150, 130, 180, 0.25) 31px,
            rgba(150, 130, 180, 0.25) 32px),
        /* Interlignes horizontales (tous les 8px) */
        repeating-linear-gradient(to bottom,
            transparent,
            transparent 7px,
            rgba(150, 130, 180, 0.12) 7px,
            rgba(150, 130, 180, 0.12) 8px),
        /* Lignes verticales (tous les 32px) */
        repeating-linear-gradient(to right,
            transparent,
            transparent 31px,
            rgba(150, 130, 180, 0.18) 31px,
            rgba(150, 130, 180, 0.18) 32px);
    border: 3px solid #3b82f6;
}

.bubble-content.bubble-blue strong {
    color: #8B5CF6;
}

/* ==================================
   CHAT FOOTER
   ================================== */
.chat-footer {
    text-align: center;
    padding: 40px 20px 30px;
    margin-top: 40px;
}

.chat-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.chat-footer-links a {
    color: #1E3A8A;
    text-decoration: none;
    font-size: 1.2rem;
    font-family: 'Sniglet', sans-serif;
    transition: color 0.2s ease;
}

.chat-footer-links a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.chat-footer-links .separator {
    color: #94a3b8;
    font-size: 1rem;
}

.chat-footer-copyright {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: white;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==================================
   CTA BUTTONS
   ================================== */

/* CTA buttons row (inside answer bubbles) */
.cta-buttons-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-example {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.3rem;
    padding: 16px 32px;
    background: white;
    border: 3px solid #3B82F6;
    border-radius: 14px;
    color: #3B82F6;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0 rgba(59, 130, 246, 0.2);
}

.btn-example:hover {
    background: #EFF6FF;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 rgba(59, 130, 246, 0.3);
}

.btn-cta-blue {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.3rem;
    padding: 16px 32px;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    border: none;
    border-radius: 14px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0 #1E40AF;
}

.btn-cta-blue:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 #1E40AF;
}

.btn-cta-blue.btn-large {
    font-size: 1.3rem;
    padding: 16px 32px;
}

/* CTA Final section */
.cta-button-secondary {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: #3B82F6;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    text-decoration: none;
    border: 3px solid #3B82F6;
    border-radius: 16px;
    transition: all 0.2s ease;
    margin-top: 15px;
    box-shadow: 0 4px 0 #1E40AF;
}

.cta-button-secondary:hover {
    background: #EFF6FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1E40AF;
}

.cta-button-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1E40AF;
}

/* Theme hint text below carousel */
.theme-hint {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}

/* ==================================
   INLINE EXAMPLE (PDF PREVIEW)
   ================================== */
.example-inline {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.example-inline span {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.4rem;
    color: var(--gris-crayon);
    white-space: nowrap;
}

.pdf-preview-link {
    text-decoration: none;
}

.pdf-preview-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 2px solid var(--bleu-clair);
    border-radius: 12px;
    padding: 15px 25px;
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0 rgba(30, 58, 138, 0.1);
}

.pdf-preview-card:hover {
    border-color: var(--bleu-encre);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(30, 58, 138, 0.15);
}

.pdf-level-badge {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    font-family: 'Sniglet', sans-serif;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pdf-text {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: var(--bleu-encre);
}

.pdf-preview-compact {
    padding: 8px 16px !important;
    gap: 8px !important;
}

.pdf-preview-compact .pdf-level-badge {
    font-size: 0.7rem !important;
    padding: 3px 8px !important;
}

.pdf-preview-compact .pdf-text {
    font-size: 0.95rem !important;
}

/* ==================================
   PDF MODAL
   ================================== */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.pdf-modal.active {
    display: flex;
}

.pdf-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.pdf-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 25px 16px;
    background: white;
    gap: 12px;
    border-bottom: none;
    position: relative;
}

.pdf-modal-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pdf-modal-header h3 {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
    color: #1E3A8A;
}

.pdf-modal-level {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.9rem;
    color: #059669;
    background: #ECFDF5;
    border: 1.5px solid #10B981;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 400;
}

.pdf-modal-competences {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 16px 25px 24px;
    background: white;
    border-bottom: 1px solid #E2E8F0;
}

.competences-label {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #94A3B8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.competences-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.competence-tag {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 400;
    background: white;
    color: #3B82F6;
    border: 2px solid #93C5FD;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.competence-tag:hover {
    background: #EFF6FF;
    border-color: #3B82F6;
}

.competence-icon {
    font-size: 1rem;
}

.pdf-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: 2px solid #3B82F6;
    color: #3B82F6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-close:hover {
    background: #3B82F6;
    color: white;
}

.pdf-modal-iframe {
    flex: 1;
    border: none;
    width: 100%;
}

.pdf-modal-footer {
    padding: 20px 25px;
    background: #F8FAFC;
    display: flex;
    justify-content: center;
    border-top: 1px solid #E2E8F0;
}

/* ==================================
   GENERIC MODAL OVERLAY
   ================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ==================================
   RESPONSIVE - CHATBOT V2 (768px)
   ================================== */
@media (max-width: 768px) {
    .landing-page.no-sidebar .chat-messages-area {
        padding: 15px;
    }

    .landing-page.no-sidebar .chat-conversation {
        margin: 0;
        padding: 0;
    }

    .chat-profile-centered .profile-name-lg {
        font-size: 2rem;
    }

    .chat-profile-centered .profile-avatar-sm {
        width: 60px;
        height: 60px;
    }

    .cta-buttons-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-example,
    .btn-cta-blue {
        text-align: center;
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .bubble-content {
        max-width: 85%;
    }

    .bubble-content-wide {
        max-width: 90%;
    }

    .chat-testimonials {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .testimonial-mini {
        padding: 12px;
    }

    .cta-button-large {
        font-size: 1rem;
        padding: 16px 30px;
    }

    .cta-button-secondary {
        font-size: 1rem;
        padding: 12px 28px;
    }

    .pdf-modal-content {
        height: 85vh;
        border-radius: 15px;
    }

    .pdf-modal-header {
        padding: 20px 16px 12px;
    }

    .pdf-modal-title-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .pdf-modal-header h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .pdf-modal-level {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .pdf-modal-close {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .pdf-modal-competences {
        padding: 12px 16px 20px;
        gap: 12px;
    }

    .competences-label {
        font-size: 0.75rem;
    }

    .competences-tags {
        gap: 10px;
    }

    .competence-tag {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .competence-icon {
        font-size: 0.95rem;
    }

    .chat-footer-links {
        gap: 10px;
    }

    .chat-footer-links a {
        font-size: 1rem;
    }

    .chat-footer-links .separator {
        display: none;
    }

    .chat-footer {
        padding: 30px 15px 20px;
    }
}

/* ==================================
   RESPONSIVE - SMALL MOBILE (480px)
   ================================== */
@media (max-width: 480px) {
    .chat-profile-centered .profile-name-lg {
        font-size: 1.6rem;
    }

    .chat-profile-centered .profile-avatar-sm {
        width: 45px;
        height: 45px;
    }

    .chat-bubble.question .bubble-text {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .bubble-content {
        font-size: 0.9rem;
        padding: 12px 14px;
    }

    .chat-avatar {
        width: 30px;
        height: 30px;
    }

    .cta-button-large {
        font-size: 0.85rem;
        padding: 12px 22px;
        box-shadow: 0 5px 0 #1E40AF;
    }

    .cta-button-secondary {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    .btn-example,
    .btn-cta-blue {
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    .theme-tag {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .testimonial-avatar {
        width: 35px;
        height: 35px;
    }

    .testimonial-quote {
        font-size: 0.85rem;
    }
}

/* ==================================
   TESTIMONIAL SLIDER
   Flex row: prev button, slides (white card with avatar + quote),
   next button. Dots positioned absolutely below the slides.
   ================================== */
.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin: 20px auto 30px auto;
    max-width: 800px;
    position: relative;
}

.testimonial-slides {
    position: relative;
    width: 100%;
    max-width: 700px;
    min-height: 100px;
}

.testimonial-slide {
    display: none;
    background: white;
    border: 3px solid #3b82f6;
    border-radius: 20px;
    padding: 20px;
    align-items: center;
    gap: 15px;
}

.testimonial-slide.active {
    display: flex;
}

.testimonial-slide .testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: none;
}

.testimonial-slide .testimonial-content {
    flex: 1;
    text-align: left;
}

.testimonial-slide .testimonial-quote {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    font-style: italic;
    line-height: 1.4;
}

.testimonial-slide .testimonial-author {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    color: #2563EB;
    margin: 0;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    background: white;
    color: #3b82f6;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: #3b82f6;
    color: white;
}

.slider-dots {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s ease;
}

.slider-dot.active {
    background: #3b82f6;
}

/* ==================================
   TYPING INDICATOR
   ================================== */
.typing-wrapper {
    display: flex;
    align-items: center;
    padding: 8px 16px;
}
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: white;
    border-radius: 16px;
    border: 2px solid #3b82f6;
}
.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    display: inline-block;
    animation: typing-bounce 1.2s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
}

/* ==================================
   TOP BAR PILL - Glassmorphism Bleu Grande
   ================================== */
.topbar-pill {
    position: fixed;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    transition: top 0.4s ease;
}

/* Position en haut pour les autres sections */
.topbar-pill.topbar-top {
    top: 80px;
}

.topbar-pill-inner {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    background: linear-gradient(135deg,
        rgba(30, 64, 175, 0.35) 0%,
        rgba(59, 130, 246, 0.25) 50%,
        rgba(96, 165, 250, 0.2) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 25px 12px;
    border-radius: 25px;
    box-shadow:
        0 10px 30px rgba(30, 64, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Item générique dans la pill */
.topbar-pill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    gap: 5px;
}

/* Avatar images - cercle avec styles */
.topbar-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(147, 197, 253, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

/* Hover sur avatar */
.topbar-pill-item:hover .topbar-avatar-img {
    background: rgba(147, 197, 253, 0.4);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(147, 197, 253, 0.6), 0 0 60px rgba(59, 130, 246, 0.4);
}

/* État actif avatar */
.topbar-pill-item.active .topbar-avatar-img {
    background: rgba(147, 197, 253, 0.45);
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 0 40px rgba(147, 197, 253, 0.5);
}

/* Container pour zoomer l'avatar dans le cercle */
.avatar-zoom-container {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(147, 197, 253, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-pill-item:hover .avatar-zoom-container {
    background: rgba(147, 197, 253, 0.4);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(147, 197, 253, 0.6), 0 0 60px rgba(59, 130, 246, 0.4);
}

.topbar-pill-item.active .avatar-zoom-container {
    background: rgba(147, 197, 253, 0.45);
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 0 40px rgba(147, 197, 253, 0.5);
}

/* Photo de Tony - zoomé sur le visage */
.topbar-avatar-zoomed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: scale(1.4);
    border-radius: 0;
    border: none;
    background: none;
}

/* Emoji items - cercle container */
.topbar-pill-emoji .topbar-emoji {
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
    line-height: 68px;
    text-align: center;
    border-radius: 50%;
    background: rgba(147, 197, 253, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.5);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
    transition: all 0.4s ease;
}

/* Hover sur emoji */
.topbar-pill-item:hover .topbar-emoji {
    background: rgba(147, 197, 253, 0.4);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(147, 197, 253, 0.6), 0 0 60px rgba(59, 130, 246, 0.4);
}

/* État actif emoji */
.topbar-pill-item.active .topbar-emoji {
    background: rgba(147, 197, 253, 0.45);
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 0 40px rgba(147, 197, 253, 0.5);
}

/* Masquer les tooltips - on a les labels maintenant */
.topbar-pill-item::after {
    display: none;
}

/* Spacing accru entre les items */
.topbar-pill-spaced {
    gap: 30px;
}

/* Container pour label + cercle */
.topbar-pill-item {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: auto;
    width: auto;
    background: none;
    border: none;
    border-radius: 0;
}

/* Cercle de l'avatar/emoji */
.topbar-pill-item .topbar-avatar-img,
.topbar-pill-item .topbar-emoji {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(147, 197, 253, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-pill-item:hover .topbar-avatar-img,
.topbar-pill-item:hover .topbar-emoji {
    background: rgba(147, 197, 253, 0.4);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(147, 197, 253, 0.6), 0 0 60px rgba(59, 130, 246, 0.4);
}

.topbar-pill-item.active .topbar-avatar-img,
.topbar-pill-item.active .topbar-emoji {
    background: rgba(147, 197, 253, 0.45);
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 0 40px rgba(147, 197, 253, 0.5);
}

/* Labels au-dessus des cercles - dans le container */
.topbar-label {
    position: static;
    transform: none;
    font-family: 'Sniglet', sans-serif;
    font-size: 0.9rem;
    color: white;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/* Bouton Se connecter coin supérieur droit */
.login-btn-corner {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 50px;
    background: white;
    color: #22C55E;
    border: 2px solid #22C55E;
    text-decoration: none;
    box-shadow: 0 3px 0 #16A34A, 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.login-btn-corner:hover {
    background: #F0FDF4;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #16A34A, 0 8px 20px rgba(34, 197, 94, 0.25);
}

.login-btn-corner:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #16A34A;
}

/* ==================================
   FOND FIXE PARTAGÉ
   ================================== */
.landing-fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* ==================================
   SECTIONS WRAPPER & SLIDE ANIMATION
   ================================== */
.sections-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    width: 400vw;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sections-wrapper.show-faq {
    transform: translateX(-100vw);
}

.sections-wrapper.show-blog {
    transform: translateX(-200vw);
}

.sections-wrapper.show-contact {
    transform: translateX(-300vw);
}

.section-slide {
    width: 100vw;
    min-height: 100vh;
    flex-shrink: 0;
}

/* Pas de padding-top car la top bar flotte par-dessus */
.section-curio .cahier-page,
.cahier-page {
    padding-top: 0;
}

/* ==================================
   HERO SECTION (Catchphrase centrée)
   ================================== */
.curio-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 40vh 30px 30px;
    text-align: center;
    position: relative;
    z-index: 10;
    gap: 25px;
}

/* Encadré translucide bleu clair */
.hero-catchphrase {
    background: rgba(147, 197, 253, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px 40px 20px;
    border-radius: 30px;
    border: 2px solid rgba(147, 197, 253, 0.4);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
    max-width: 750px;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-catchphrase p {
    font-family: 'Sniglet', sans-serif;
    font-size: 2.1rem;
    color: white;
    line-height: 1.3;
    margin: 4px 0;
    text-shadow:
        -1px -1px 0 #1E293B,
        1px -1px 0 #1E293B,
        -1px 1px 0 #1E293B,
        1px 1px 0 #1E293B,
        0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mots forts en italique - style de base */
.hero-catchphrase em {
    font-style: italic;
}

/* Couleurs différentes pour chaque mot clé */
.hero-catchphrase em.color-purple {
    color: #E9D5FF;
    text-shadow:
        -1px -1px 0 #7C3AED,
        1px -1px 0 #7C3AED,
        -1px 1px 0 #7C3AED,
        1px 1px 0 #7C3AED,
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-catchphrase em.color-blue {
    color: #BFDBFE;
    text-shadow:
        -1px -1px 0 #2563EB,
        1px -1px 0 #2563EB,
        -1px 1px 0 #2563EB,
        1px 1px 0 #2563EB,
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-catchphrase em.color-green {
    color: #BBF7D0;
    text-shadow:
        -1px -1px 0 #16A34A,
        1px -1px 0 #16A34A,
        -1px 1px 0 #16A34A,
        1px 1px 0 #16A34A,
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-catchphrase em.color-orange {
    color: #FED7AA;
    text-shadow:
        -1px -1px 0 #EA580C,
        1px -1px 0 #EA580C,
        -1px 1px 0 #EA580C,
        1px 1px 0 #EA580C,
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-catchphrase em.color-yellow {
    color: #FEF08A;
    text-shadow:
        -1px -1px 0 #CA8A04,
        1px -1px 0 #CA8A04,
        -1px 1px 0 #CA8A04,
        1px 1px 0 #CA8A04,
        0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Lien "En savoir plus" */
.hero-learn-more {
    display: inline-block;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 8px 0 10px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-learn-more:hover {
    color: #93C5FD;
    text-decoration-color: #93C5FD;
}

/* 2 CTAs row */
.hero-cta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.hero-cta {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.15rem;
    padding: 16px 35px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

/* Voir un exemple - Blanc avec encadré bleu */
.hero-cta-outline-blue {
    background: white;
    color: #3B82F6;
    border: 3px solid #3B82F6;
    box-shadow: 0 3px 0 #2563EB;
}

.hero-cta-outline-blue:hover {
    background: #EFF6FF;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #2563EB, 0 8px 20px rgba(59, 130, 246, 0.2);
}

.hero-cta-outline-blue:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #2563EB;
}

/* Essayer gratuitement - Fond bleu avec bordure blanche */
.hero-cta-filled-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    border: 3px solid white;
    box-shadow: 0 3px 0 #1E40AF;
}

.hero-cta-filled-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #1E40AF, 0 8px 20px rgba(59, 130, 246, 0.3);
}

.hero-cta-filled-blue:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #1E40AF;
}

/* Se connecter - Blanc avec encadré vert */
.hero-cta-outline-green {
    background: white;
    color: #22C55E;
    border: 3px solid #22C55E;
    box-shadow: 0 3px 0 #16A34A;
}

.hero-cta-outline-green:hover {
    background: #F0FDF4;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #16A34A, 0 8px 20px rgba(34, 197, 94, 0.2);
}

.hero-cta-outline-green:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #16A34A;
}

.hero-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.hero-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.hero-footer-links a {
    color: white;
    text-decoration: none;
    font-family: 'Sniglet', sans-serif;
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: color 0.2s;
}

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

.hero-footer-links .separator {
    color: rgba(255,255,255,0.6);
}

.hero-footer-copyright {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ==================================
   SECTIONS COMMUNES (FAQ, Blog, Contact)
   ================================== */
.section-faq,
.section-blog,
.section-contact {
    position: relative;
    overflow: hidden;
}

/* Fond montagne - masqué car fond fixe global */
.section-bg {
    display: none;
}

/* Wrapper pour centrer le contenu */
.section-content-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 30px 60px;
}

/* Conteneur glass translucide */
.section-glass-container {
    background: rgba(147, 197, 253, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    padding: 40px 50px;
    max-width: 900px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

/* Titre des sections */
.section-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: white;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(30, 64, 175, 0.4);
}

/* CTA dans les sections */
.section-cta-row {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

/* CTA amélioré dans les sections (FAQ, etc.) */
.section-cta-row .hero-cta-filled-blue {
    border: 3px solid #1E40AF;
    box-shadow:
        0 4px 0 #1E3A8A,
        0 8px 25px rgba(30, 64, 175, 0.4);
}

.section-cta-row .hero-cta-filled-blue:hover {
    box-shadow:
        0 6px 0 #1E3A8A,
        0 12px 30px rgba(30, 64, 175, 0.5);
}

/* ==================================
   SECTION FAQ - Contenu scrollable
   ================================== */
.faq-scroll-content {
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 10px;
}

.faq-scroll-content::-webkit-scrollbar {
    width: 6px;
}

.faq-scroll-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.faq-scroll-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

/* ==================================
   SECTION BLOG - Journal de Curio (Porte-vue)
   ================================== */
.journal-container {
    max-width: 900px;
}

.journal-subtitle {
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: -5px 0 25px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Porte-vue / Classeur - Style moderne */
.journal-binder {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Ligne latérale moderne */
.journal-binder::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: linear-gradient(to bottom, #3B82F6, #60a5fa);
    border-radius: 2px;
}

/* Onglets années */
.journal-year-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding-left: 15px;
}

.journal-year-tab {
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px 20px 0 0;
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    color: #3B82F6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.journal-year-tab.active {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

.journal-year-tab:hover:not(.active) {
    background: rgba(59, 130, 246, 0.2);
}

/* Grille des newsletters */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding-left: 15px;
}

/* Carte newsletter */
.journal-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #3B82F6;
    position: relative;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.journal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.journal-card-number {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    color: #3B82F6;
    font-weight: 400;
    background: rgba(59, 130, 246, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
}

.journal-card-date {
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    color: #64748B;
}

.journal-card-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #1E3A8A;
    margin: 0 0 12px;
    line-height: 1.4;
}

.journal-card-excerpt {
    font-family: Georgia, serif;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 20px;
}

.journal-card-link {
    display: inline-block;
    font-family: 'Sniglet', sans-serif;
    font-size: 0.95rem;
    color: #3B82F6;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
}

.journal-card-link:hover {
    color: #1E40AF;
    transform: translateX(5px);
}

.section-coming-soon {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: white;
    text-align: center;
    margin-top: 25px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ==================================
   NEWSLETTER SUBSCRIBE BUTTON
   ================================== */
.newsletter-subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 0;
    padding: 14px 32px;
    background: white;
    color: #3B82F6;
    border: 3px solid #3B82F6;
    border-radius: 50px;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.newsletter-subscribe-btn:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.subscribe-icon {
    font-size: 1.3rem;
}

/* Journal responsive */
@media (max-width: 768px) {
    .journal-binder {
        padding: 20px 15px;
    }

    .journal-binder::before {
        left: 15px;
    }

    .journal-year-tabs {
        padding-left: 30px;
    }

    .journal-grid {
        padding-left: 30px;
        grid-template-columns: 1fr;
    }

    .journal-card {
        padding: 20px;
    }

    .journal-card-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .journal-binder::before {
        display: none;
    }

    .journal-year-tabs,
    .journal-grid {
        padding-left: 0;
    }

    .journal-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ==================================
   NEWSLETTER MODAL
   ================================== */
.newsletter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.newsletter-modal.active {
    display: flex;
}

.newsletter-modal-content {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.newsletter-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.newsletter-modal-close:hover {
    color: #4B5563;
}

.newsletter-modal-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.newsletter-modal-title {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.8rem;
    color: #1E3A8A;
    margin: 0 0 12px 0;
}

.newsletter-modal-desc {
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    color: #6B7280;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 14px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-input:focus {
    border-color: #3B82F6;
}

.newsletter-input::placeholder {
    color: #9CA3AF;
}

.newsletter-submit-btn {
    padding: 14px 30px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-submit-btn:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

.newsletter-success {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: #22C55E;
    margin: 0;
    padding: 20px;
}

/* ==================================
   SECTION CONTACT
   ================================== */
.contact-container {
    max-width: 600px;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: scale(1.4);
}

.contact-details {
    text-align: center;
}

.contact-name {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.8rem;
    color: white;
    margin: 0 0 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-role {
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px;
}

.contact-education {
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Sniglet', sans-serif;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.3rem;
}

.contact-message {
    font-family: 'Sniglet', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* ==================================
   TOP BAR PILL RESPONSIVE
   ================================== */
@media (max-width: 768px) {
    .topbar-pill {
        top: 8%;
    }

    .topbar-pill-inner {
        gap: 10px;
        padding: 15px 20px 12px;
    }

    .topbar-pill-spaced {
        gap: 20px;
    }

    .topbar-pill-item {
        gap: 5px;
    }

    .topbar-avatar-img {
        width: 50px;
        height: 50px;
    }

    .topbar-pill-emoji .topbar-emoji {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.4rem;
    }

    /* Labels responsive */
    .topbar-label {
        font-size: 0.75rem;
    }

    /* Bouton connexion responsive */
    .login-btn-corner {
        top: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    /* Lien en savoir plus responsive */
    .hero-learn-more {
        font-size: 1rem;
        margin: 10px 0 12px;
    }

    /* Hero responsive */
    .curio-hero-content {
        padding: 18vh 20px 60px;
    }

    .hero-catchphrase {
        padding: 18px 20px 20px;
        margin-top: 10px;
    }

    .hero-catchphrase p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .hero-cta-row {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 15px;
    }

    .hero-cta {
        width: 100%;
        text-align: center;
        padding: 14px 25px;
        font-size: 1rem;
    }

    /* Testimonial slider responsive */
    .testimonial-slider {
        padding: 15px 10px;
        gap: 10px;
    }

    .testimonial-slide {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
    }

    .testimonial-slide .testimonial-avatar {
        width: 80px;
        height: 80px;
    }

    .testimonial-slide .testimonial-content {
        text-align: center;
    }

    .testimonial-slide .testimonial-quote {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    /* Newsletter responsive 768px */
    .newsletter-subscribe-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .newsletter-modal-content {
        padding: 30px 25px;
        margin: 20px;
    }

    .newsletter-modal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .topbar-pill {
        top: 6%;
    }

    .topbar-pill-inner {
        gap: 6px;
        padding: 10px 12px 8px;
    }

    .topbar-pill-spaced {
        gap: 12px;
    }

    .topbar-pill-item {
        gap: 3px;
    }

    .topbar-avatar-img {
        width: 42px;
        height: 42px;
    }

    .topbar-pill-emoji .topbar-emoji {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 1.1rem;
    }

    /* Cacher les labels sur très petit mobile */
    .topbar-label {
        display: none;
    }

    /* Bouton connexion petit mobile */
    .login-btn-corner {
        top: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    /* Hero responsive 480px */
    .curio-hero-content {
        padding: 15vh 15px 50px;
    }

    .hero-catchphrase {
        padding: 18px 15px 25px;
    }

    .hero-catchphrase p {
        font-size: 1rem;
        line-height: 1.4;
    }

    /* Testimonial slider 480px */
    .testimonial-slider {
        padding: 10px 5px;
        gap: 8px;
    }

    .testimonial-slides {
        max-width: 100%;
    }

    .testimonial-slide {
        padding: 20px 15px;
    }

    .testimonial-slide .testimonial-avatar {
        width: 70px;
        height: 70px;
    }

    .testimonial-slide .testimonial-quote {
        font-size: 1rem;
    }

    .slider-prev,
    .slider-next {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    /* Newsletter responsive 480px */
    .newsletter-subscribe-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 90%;
        max-width: 280px;
    }

    .newsletter-modal-content {
        padding: 25px 20px;
        margin: 15px;
        width: 95%;
    }

    .newsletter-modal-icon {
        font-size: 2.5rem;
    }

    .newsletter-modal-title {
        font-size: 1.3rem;
    }

    .newsletter-modal-desc {
        font-size: 0.9rem;
    }

    .newsletter-input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .newsletter-submit-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* FAQ responsive */
    .faq-title {
        font-size: 1.8rem;
    }

    .blog-title {
        font-size: 2.2rem;
    }

    .blog-placeholder {
        padding: 40px 25px;
    }

    .blog-curio-img {
        width: 90px;
        height: 90px;
    }
}
