/* Réinitialisation et styles de base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fc; /* Fond général légèrement bleuté/gris */
    background-image: 
        radial-gradient(circle at 85% 15%, rgba(255, 255, 150, 0.15) 5%, transparent 8%),
        radial-gradient(circle at 15% 85%, rgba(138, 79, 255, 0.1) 5%, transparent 8%),
        radial-gradient(circle at 75% 75%, rgba(78, 140, 255, 0.1) 6%, transparent 10%);
    overflow-x: hidden;
    position: relative;
}

/* Motifs d'arrière-plan enfantins - bulles et étoiles flottantes */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0l3.09 6.38L20 7.4l-5 4.63L16.18 20 10 16.5 3.82 20 5 12.02 0 7.4l6.91-1.02L10 0z' fill='%23f5d88e' fill-opacity='0.1'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20C20 31.046 31.046 20 20 20C8.954 20 20 8.954 20 20C20 31.046 8.954 20 20 20Z' fill='%23c4e8ff' fill-opacity='0.08'/%3E%3C/svg%3E");
    background-size: 120px 120px, 160px 160px;
    background-position: 0 0, 40px 40px;
    z-index: -1;
}

/* Micro-animations pour les éléments */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: #2d3748; /* Gris foncé pour les titres */
    margin-bottom: 0.75em;
}

h1 { 
    font-size: 2.8rem; 
    line-height: 1.2; 
    background: linear-gradient(90deg, #8a4fff, #4e8cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 3s infinite ease-in-out;
}

h2 { 
    font-size: 2rem; 
    margin-bottom: 1em; 
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8a4fff, #4e8cff);
    border-radius: 2px;
}

h3 { font-size: 1.25rem; }
p { margin-bottom: 1em; color: #4a5568; /* Gris un peu plus clair pour le texte */}
a { color: #4a4a4a; text-decoration: none; }
ul { list-style: none; padding: 0;}

.section-padding {
    padding: 80px 0;
}

.alt-bg {
    background-color: #ffffff; /* Fond blanc pour alterner */
}

.text-center {
    text-align: center;
}

.section-subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #718096; /* Gris moyen */
    font-size: 1.1rem;
}

/* Boutons */
.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: scale(0);
    z-index: -1;
}

.button:hover::after {
    transform: scale(1);
}

.button-gradient {
    background: linear-gradient(90deg, #8a4fff, #4e8cff);
    color: white;
    box-shadow: 0 4px 15px rgba(138, 79, 255, 0.3);
}
.button-gradient:hover {
    background: linear-gradient(90deg, #7b40e8, #407ee0);
    box-shadow: 0 6px 20px rgba(138, 79, 255, 0.4);
    transform: translateY(-2px);
}

.button-primary {
    background-color: #6b46c1; /* Violet */
    color: white;
}
.button-primary:hover {
    background-color: #553c9a;
}

.button-secondary {
    background-color: #ffffff;
    color: #6b46c1;
    border: 1px solid #e2e8f0;
}
.button-secondary:hover {
    background-color: #f7fafc;
}

.button-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.button-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.button-outline-dark {
    background-color: transparent;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}
.button-outline-dark:hover {
    background-color: #f7fafc;
}

.button-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Icônes */
.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px; /* Coins arrondis doux */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.icon-wrapper:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(20%);
}

.icon-wrapper:hover {
    transform: translateY(-5px);
}

.bg-green { background-color: #48bb78; }
.bg-blue { background-color: #4299e1; }
.bg-purple { background-color: #9f7aea; }
.bg-pink { background-color: #ed64a6; }
.bg-teal { background-color: #38b2ac; }
.bg-yellow { background-color: #ecc94b; color: #4a5568; } /* Jaune avec texte foncé */

.bg-green-light { background-color: #e6fffa; color: #38b2ac; }
.bg-blue-light { background-color: #ebf8ff; color: #4299e1; }
.bg-purple-light { background-color: #faf5ff; color: #9f7aea; }

.icon-wrapper.bg-gradient-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    font-size: 2.5rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #8a4fff, #4e8cff);
    color: white;
    box-shadow: 0 5px 15px rgba(138, 79, 255, 0.3);
}

.card-icon-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    opacity: 0.6;
}
.card-green .card-icon-corner { color: #2f855a; }
.card-purple .card-icon-corner { color: #6b46c1; }
.card-blue .card-icon-corner { color: #2c5282; }


/* Header */
.site-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6b46c1; /* Violet logo */
}
.main-nav {
    display: flex;
    gap: 25px;
}
.main-nav a {
    font-weight: 600;
    color: #4a5568;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}
.main-nav a:hover { 
    color: #6b46c1; 
}
.main-nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #8a4fff, #4e8cff);
    border-radius: 10px;
    transition: width 0.3s ease;
}
.main-nav a:hover::after {
    width: 100%;
}
.main-nav a.active {
    color: #6b46c1;
}
.main-nav a.active::after {
    width: 100%;
}
.header-actions { display: flex; align-items: center; gap: 15px; }
.lang-button {
    background: none;
    border: 1px solid #e2e8f0;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding: 100px 0;
    background-color: #f7faff; /* Fond très léger bleu/violet */
    overflow: hidden; /* Pour les étoiles décoratives */
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-content { flex: 1; animation: fade-in-up 1s ease; }
.hero-content .tag {
    display: inline-block;
    background-color: #e9d8ff; /* Fond violet clair */
    color: #6b46c1; /* Violet foncé */
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-content .tag i { margin-right: 5px; }
.hero-content h1 { color: #6b46c1; } /* Titre violet */
.hero-buttons { margin-top: 30px; display: flex; gap: 15px; }
.social-proof { margin-top: 40px; display: flex; align-items: center; gap: 5px; font-size: 0.9rem; color: #718096;}
.social-proof .circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #48bb78; /* Vert */
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 5px;
}
.social-proof .circle:nth-child(2) { background-color: #4299e1; /* Bleu */}
.social-proof .circle:nth-child(3) { background-color: #9f7aea; /* Violet */}
.social-proof .circle:nth-child(4) { background-color: #ed64a6; /* Rose */}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s infinite ease-in-out;
}
.app-preview {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 80%;
    max-width: 400px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    animation: float 6s infinite ease-in-out;
}
.app-header { font-weight: 600; color: #4a5568; margin-bottom: 15px; display: flex; justify-content: space-between; }
.story-num { font-weight: normal; color: #a0aec0; }
.app-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
.app-description { font-size: 0.9rem; color: #718096; margin-bottom: 15px; }
.app-tags span {
    background-color: #edf2f7;
    color: #4a5568;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 15px;
}
.app-content-placeholder {
    height: 60px;
    background-color: #f7fafc;
    border-radius: 8px;
}
.deco-star {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.7;
    color: #ecc94b; /* Jaune étoile */
    animation: twinkle 3s infinite ease-in-out;
    z-index: 1;
}
.star1 { top: -20px; left: -10px; transform: rotate(-15deg); }
.star2 { bottom: -10px; right: -20px; transform: rotate(20deg); font-size: 2rem; }

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.feature-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.feature-card h3 { margin-top: 0; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; }

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Age Adaptation Section */
.age-section { background-color: #f0f4ff; /* Fond bleu très pâle */}
.age-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.age-content { flex: 1.2; }
.age-content .tag {
    display: inline-block;
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.age-content .tag i { margin-right: 5px; }
.age-content ul { margin-top: 20px; }
.age-content li {
    margin-bottom: 10px;
    color: #4a5568;
    display: flex;
    align-items: center;
}
.age-content li i {
    color: #8a4fff; /* Violet pour les puces */
    font-size: 0.6rem; /* Petites puces */
    margin-right: 10px;
}
.age-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}
.book-illustration {
    position: relative;
    width: 200px;
    height: 250px;
    margin: 0 auto;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #6a3093, #a044ff);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.book-title {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    padding: 10px;
}
.book-decoration {
    width: 70%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 0l4.66 10.5L30 12.27l-7.5 7.33L24.32 30 15 24.75 5.68 30l1.82-10.4L0 12.27l10.34-1.77L15 0z' fill='%23ffffff' fill-opacity='0.2'/%3E%3C/svg%3E");
    background-size: 30px 30px;
    border-radius: 3px;
}
.book-page {
    position: absolute;
    width: 95%;
    height: 95%;
    background-color: white;
    border-radius: 3px;
    top: 2.5%;
    left: 2.5%;
    transform-origin: left;
    z-index: 0;
    transition: transform 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.book-page.page1 {
    z-index: -1;
    background: linear-gradient(to bottom, #fff 9px, #eee 1px);
    background-size: 100% 10px;
}
.book-page.page2 {
    z-index: -2;
    transform: translateZ(-5px);
    background: linear-gradient(45deg, rgba(255,255,255,0.8) 90%, rgba(200,200,200,0.8) 100%);
}
.book-page.page3 {
    z-index: -3;
    transform: translateZ(-10px);
    background: linear-gradient(45deg, rgba(255,255,255,0.6) 90%, rgba(200,200,200,0.6) 100%);
}
.book-page.flip {
    transform: rotateY(-160deg);
}

/* Audience Section */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: left;
}
.audience-card {
    padding: 30px;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden; /* Pour l'icône de coin */
}
.audience-card h3 { color: white; margin-bottom: 5px; }
.audience-card .card-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 25px; font-size: 0.95rem;}
.audience-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.audience-card ul li i {
    margin-right: 10px;
    width: 20px; /* Alignement icônes */
    text-align: center;
}
.audience-card .button {
    margin-top: 20px;
    width: 100%; /* Bouton pleine largeur */
}

.card-green { background: linear-gradient(135deg, #68d391, #38a169); }
.card-purple { background: linear-gradient(135deg, #b794f4, #805ad5); }
.card-blue { background: linear-gradient(135deg, #63b3ed, #3182ce); color: #1a202c; /* Texte plus foncé sur fond bleu clair */}
.card-blue h3 { color: #1a202c; }
.card-blue .card-subtitle { color: #2c5282; }
.card-blue ul li { color: #2d3748; }
.card-blue ul li i { color: #3182ce; }


/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(138, 79, 255, 0.1) 5%, transparent 8%),
        radial-gradient(circle at 90% 90%, rgba(78, 140, 255, 0.1) 5%, transparent 8%),
        radial-gradient(circle at 30% 70%, rgba(237, 100, 166, 0.1) 5%, transparent 8%),
        radial-gradient(circle at 70% 30%, rgba(238, 207, 102, 0.1) 5%, transparent 8%);
    animation: wiggle 20s infinite linear;
    opacity: 0.5;
}
.cta-container { max-width: 700px; }


/* Final CTA / Value Props Section */
.final-cta-buttons {
    margin-top: 30px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}
.value-prop-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.value-prop-card .icon-wrapper { margin-bottom: 15px; }
.value-prop-card h3 { margin-bottom: 10px; }
.value-prop-card p { font-size: 0.95rem; }

/* Footer */
.site-footer-bottom {
    background-color: #ffffff;
    padding-top: 60px;
    margin-top: 80px;
    border-top: 1px solid #e2e8f0;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about .footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6b46c1;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.footer-logo .logo-icon {
    display: inline-block;
    background: linear-gradient(90deg, #8a4fff, #4e8cff);
    color: white;
    border-radius: 8px;
    padding: 5px 8px;
    margin-right: 10px;
    font-size: 1.2rem;
}
.footer-about p {
    font-size: 0.9rem;
    color: #718096;
}
.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 15px;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    font-size: 0.95rem;
    color: #718096;
}
.footer-links ul li a:hover {
    color: #6b46c1;
}
.footer-bottom-bar {
    border-top: 1px solid #e2e8f0;
    padding: 20px 0;
    background-color: #f8f9fc; /* Fond légèrement différent */
}
.bottom-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #718096;
}
.bottom-links a, .bottom-links span {
    margin-left: 15px;
    color: #718096;
}
.bottom-links i { margin-right: 4px; }
.bottom-links .fa-heart { color: #e53e3e; /* Coeur rouge */ }

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }

    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { order: 2; }
    .hero-image { order: 1; margin-bottom: 40px; }
    .hero-buttons { justify-content: center; }
    .social-proof { justify-content: center; }

    .age-container { flex-direction: column; }
    .age-image { margin-top: 40px; }

    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { margin-bottom: 20px; } /* Add margin when stacked */

    .footer-container { grid-template-columns: 1fr 1fr; } /* 2 columns on tablet */
    .footer-about { grid-column: span 2; } /* About spans full width */
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .header-container { 
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }
    .main-nav { 
        order: 2; 
        width: 100%; 
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .header-actions { 
        order: 3; 
        width: 100%;
        justify-content: center;
    }
    .logo {
        margin-bottom: 10px;
    }

    .features-grid { grid-template-columns: 1fr; }
    .value-props-grid { grid-template-columns: 1fr; }

    .final-cta-buttons { flex-direction: column; gap: 15px; align-items: center; }
    .final-cta-buttons .button { width: 80%; max-width: 300px; }

    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-about p { margin: 0 auto 1em auto; max-width: 400px;}
    .footer-links ul { margin-bottom: 20px; }

    .footer-bottom-bar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    /* Adjust decorative elements for mobile */
    .deco-star, .deco-item, .floating-item {
        opacity: 0.5;
    }
    
    /* Make cards wider on mobile */
    .feature-card, .audience-card, .value-prop-card {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Menu hamburger amélioré */
    .mobile-menu-toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 22px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #8a4fff;
        border-radius: 3px;
        transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
    }
    
    .mobile-menu-toggle span:nth-child(1) { top: 0; }
    .mobile-menu-toggle span:nth-child(2) { top: 9px; }
    .mobile-menu-toggle span:nth-child(3) { top: 18px; }
    
    /* Animation du menu hamburger */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Navigation mobile améliorée */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .nav-item {
        margin: 10px 0;
        font-size: 1.2rem;
        position: relative;
        padding: 15px;
        border-radius: 8px;
        transition: background 0.3s ease;
    }
    
    .main-nav .nav-item:hover {
        background: rgba(138, 79, 255, 0.1);
    }
    
    /* Overlay de fond */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
        backdrop-filter: blur(3px);
    }
    
    .nav-backdrop.active {
        display: block;
    }
    
    /* Ajustements pour les éléments d'en-tête */
    .header-container {
        padding: 10px 15px;
    }
    
    .header-actions {
        display: none;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    /* Bouton d'actions mobiles */
    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0;
    }
    
    h1 { 
        font-size: 1.8rem; 
        line-height: 1.3;
    }
    
    .hero-buttons { 
        flex-direction: column; 
        align-items: center; 
        width: 100%;
    }
    
    .hero-buttons .button { 
        width: 100%; 
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .social-proof { 
        flex-direction: column; 
        text-align: center; 
        gap: 10px;
    }

    .app-preview { 
        width: 100%;
        padding: 15px;
    }
    
    .app-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .audience-card { 
        padding: 20px;
    }
    
    .audience-card .button { 
        width: 100%;
    }

    .button { 
        padding: 10px 15px; 
        font-size: 0.9rem;
    }
    
    .button-large { 
        padding: 12px 25px; 
        font-size: 1rem; 
    }
    
    /* Fix small elements that might be too small on mobile */
    .icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .icon-wrapper.bg-gradient-large {
        width: 70px;
        height: 70px;
    }
    
    /* Adjust the book display on small screens */
    .book-illustration {
        width: 200px;
        height: 240px;
    }
    
    /* Reduce padding for all containers */
    .container {
        padding: 0 15px;
    }
    
    /* Make the gift smaller on mobile */
    .gift-illustration {
        width: 90px;
        height: 90px;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    
    .book-illustration {
        width: 180px;
        height: 220px;
    }
    
    .button {
        font-size: 0.85rem;
        padding: 8px 15px;
        width: 100%;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Reduce some decorative elements on very small screens */
    .floating-elements {
        display: none;
    }
}

/* Add accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Improved focus styles for accessibility */
a:focus, button:focus {
    outline: 2px solid #8a4fff;
    outline-offset: 2px;
}

/* Animation de tag ludique */
.tag {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b46c1;
    border: 1px solid rgba(107, 70, 193, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tag::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.8s;
    z-index: -1;
}

.tag:hover::before {
    left: 100%;
}

.tag i {
    margin-right: 5px;
    animation: pulse 2s infinite;
}

/* Animation de fade-in-up */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Éléments flottants */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
}

.balloon { animation: float 8s infinite ease-in-out; }
.cloud { animation: float 12s infinite ease-in-out; }
.star { animation: twinkle 5s infinite ease-in-out; }
.rocket { animation: diagonal-float 15s infinite ease-in-out; }
.planet { animation: pulse 6s infinite ease-in-out; }
.magic { animation: twinkle 4s infinite ease-in-out; }

@keyframes diagonal-float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -20px); }
    100% { transform: translate(0, 0); }
}

/* Animation magique pour les icônes */
.magic-icon {
    display: inline-block;
    margin-right: 6px;
    animation: color-shift 4s infinite;
}

@keyframes color-shift {
    0% { color: #8a4fff; }
    33% { color: #4e8cff; }
    66% { color: #ed64a6; }
    100% { color: #8a4fff; }
}

/* Sections avec animations */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-title.animated {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.section-subtitle.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation des cartes */
.feature-card, .audience-card, .value-prop-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.feature-card.animated, .audience-card.animated, .value-prop-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation du texte du héros */
.animate-tag, .animate-title, .animate-text, .animate-buttons, .animate-social {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.animate-tag { transition-delay: 0.1s; }
.animate-title { transition-delay: 0.3s; }
.animate-text { transition-delay: 0.5s; }
.animate-buttons { transition-delay: 0.7s; }
.animate-social { transition-delay: 0.9s; }

.animate-tag.animated, 
.animate-title.animated, 
.animate-text.animated, 
.animate-buttons.animated, 
.animate-social.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Animation de l'aperçu de l'application */
.animate-app {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s ease;
    transition-delay: 0.5s;
}

.animate-app.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Décorations de cercles pour le hero */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.circle-deco {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #8a4fff, transparent);
    top: -100px;
    left: -100px;
    animation: pulse 10s infinite ease-in-out;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #4e8cff, transparent);
    bottom: 10%;
    left: 10%;
    animation: pulse 8s infinite ease-in-out;
    animation-delay: 1s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, #ed64a6, transparent);
    top: 20%;
    right: -100px;
    animation: pulse 12s infinite ease-in-out;
    animation-delay: 2s;
}

.circle-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #ecc94b, transparent);
    bottom: -100px;
    right: 20%;
    animation: pulse 9s infinite ease-in-out;
    animation-delay: 3s;
}

/* Style pour les étoiles décoratives supplémentaires */
.star3 {
    top: 40%;
    right: 30%;
    animation-delay: 1.5s;
}

.star4 {
    bottom: 40%;
    right: 15%;
    animation-delay: 2s;
}

.magic-wand {
    position: absolute;
    bottom: 15%;
    right: 45%;
    font-size: 2rem;
    animation: wiggle 3s infinite ease-in-out;
}

/* Décorations pour les sections */
.section-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.deco-item {
    position: absolute;
    font-size: 2rem;
}

.pencil {
    top: 20%;
    left: 5%;
    animation: rotate-float 8s infinite ease-in-out;
}

.book {
    bottom: 15%;
    right: 8%;
    animation: float 6s infinite ease-in-out;
}

.idea {
    top: 15%;
    right: 10%;
    animation: pulse 5s infinite ease-in-out;
}

@keyframes rotate-float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Animation pour les listes */
.list-item-animated {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.list-item-animated:nth-child(1) { transition-delay: 0.2s; }
.list-item-animated:nth-child(2) { transition-delay: 0.4s; }
.list-item-animated:nth-child(3) { transition-delay: 0.6s; }

.list-item-animated.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Style et animation du livre */
.book-illustration {
    position: relative;
    width: 250px;
    height: 300px;
    margin: 0 auto;
    perspective: 1000px;
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8a4fff, #4e8cff);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 4;
    transform-origin: left;
    transition: transform 1s ease;
}

.book-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}

.book-decoration {
    width: 60%;
    height: 2px;
    background-color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.book-cover:hover {
    transform: rotateY(-30deg);
}

.book-page {
    position: absolute;
    width: 95%;
    height: 95%;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    top: 2.5%;
    right: 2.5%;
    transform-origin: left;
    transition: transform 0.7s ease;
    z-index: 3;
}

.book-page::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 3px;
    background: rgba(0,0,0,0.1);
    top: 20%;
    left: 20%;
    box-shadow: 
        0 30px 0 rgba(0,0,0,0.07),
        0 60px 0 rgba(0,0,0,0.07),
        0 90px 0 rgba(0,0,0,0.07),
        0 120px 0 rgba(0,0,0,0.07),
        0 150px 0 rgba(0,0,0,0.07);
}

.page1 { z-index: 3; }
.page2 { z-index: 2; }
.page3 { z-index: 1; }

.book-page.flip {
    transform: rotateY(-150deg);
}

/* Décorations pour la section âge */
.age-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.balloon-age {
    top: 10%;
    right: 15%;
    font-size: 2.5rem;
    animation: float 7s infinite ease-in-out;
}

.teddy {
    bottom: 15%;
    left: 10%;
    font-size: 2.2rem;
    animation: wiggle 6s infinite ease-in-out;
}

.crown {
    top: 20%;
    left: 20%;
    font-size: 2rem;
    animation: pulse 5s infinite ease-in-out;
}

/* Vagues décoratives */
.audience-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    overflow: hidden;
}

.deco-wave {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%238a4fff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%234e8cff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23edf2fd'/%3E%3C/svg%3E");
    background-size: 1200px 60px;
    animation: wave 10s linear infinite;
}

.wave1 {
    opacity: 0.3;
    animation-duration: 15s;
}

.wave2 {
    opacity: 0.2;
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Animation cadeau */
.gift-illustration {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 40px auto 0;
}

.gift-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.gift-lid {
    position: absolute;
    top: -20px;
    left: 10%;
    width: 80%;
    height: 25px;
    background: linear-gradient(to right, #ed64a6, #ff9cd2);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: lid-bounce 4s infinite ease-in-out;
}

.gift-body {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: 85%;
    background: linear-gradient(to bottom right, #8a4fff, #4e8cff);
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.gift-ribbon-vertical {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 10px;
    height: 110%;
    background-color: #ed64a6;
    transform: translateX(-50%);
    z-index: 3;
}

.gift-ribbon-horizontal {
    position: absolute;
    top: 35%;
    left: -5%;
    width: 110%;
    height: 10px;
    background-color: #ed64a6;
    z-index: 3;
}

.gift-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.gift-star {
    position: absolute;
    font-size: 1.5rem;
    animation: twinkle 2s infinite ease-in-out;
}

.gift-star.star1 {
    top: -30px;
    left: 0;
    animation-delay: 0.2s;
}

.gift-star.star2 {
    top: 20px;
    right: -30px;
    animation-delay: 0.7s;
}

.gift-star.star3 {
    bottom: -10px;
    left: -20px;
    animation-delay: 1.2s;
}

@keyframes lid-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Confetti pour la section finale */
.confetti {
    position: absolute;
    width: 15px;
    height: 15px;
    opacity: 0.7;
}

.confetti1 {
    top: 10%;
    left: 20%;
    background-color: #8a4fff;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: confetti-fall 8s infinite linear;
}

.confetti2 {
    top: 15%;
    right: 25%;
    background-color: #4e8cff;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: confetti-fall 7s infinite linear;
    animation-delay: 1s;
}

.confetti3 {
    top: 5%;
    left: 40%;
    background-color: #ed64a6;
    clip-path: circle(50% at 50% 50%);
    animation: confetti-fall 9s infinite linear;
    animation-delay: 2s;
}

.confetti4 {
    top: 8%;
    right: 15%;
    background-color: #ecc94b;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: confetti-fall 8.5s infinite linear;
    animation-delay: 1.5s;
}

.confetti5 {
    top: 12%;
    left: 60%;
    background-color: #38b2ac;
    clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
    animation: confetti-fall 7.5s infinite linear;
    animation-delay: 0.7s;
}

@keyframes confetti-fall {
    0% { 
        transform: translateY(-100px) rotate(0deg); 
        opacity: 1;
    }
    90% { opacity: 1; }
    100% { 
        transform: translateY(600px) rotate(360deg); 
        opacity: 0;
    }
}

/* Animation du cœur dans le footer */
.heart {
    display: inline-block;
    color: #ed64a6;
    animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Highlight effect pour le texte */
.highlight {
    position: relative;
    color: #8a4fff;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    background-color: rgba(138, 79, 255, 0.2);
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 5px;
}

/* Animation des éléments au défilement */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour le modal "En savoir plus" */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: white;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modal-in 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes modal-in {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 30px;
    background: linear-gradient(135deg, #8a4fff, #4e8cff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2::after {
    display: none;
}

.modal-header .close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-header .close-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-content {
    padding: 0;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.modal-tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-tabs::-webkit-scrollbar {
    display: none;
}

.modal-tab {
    padding: 15px 20px;
    border: none;
    background: none;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.modal-tab::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #8a4fff, #4e8cff);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.modal-tab:hover {
    color: #6b46c1;
}

.modal-tab.active {
    color: #6b46c1;
}

.modal-tab.active::after {
    width: 100%;
}

.tab-content-container {
    padding: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Styles spécifiques aux onglets */
.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.info-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, #8a4fff, #4e8cff);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.info-text h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #4a5568;
}

.info-text ul {
    padding-left: 0;
    margin-top: 0;
}

.info-text li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #4a5568;
}

.info-text li i {
    color: #68d391;
    margin-top: 5px;
}

/* Style des étapes du processus */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #8a4fff, #4e8cff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #4a5568;
}

.step-content p {
    margin: 0;
    color: #718096;
}

/* Style de la grille des bénéfices */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.benefit-card {
    background-color: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8a4fff, #4e8cff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #4a5568;
}

.benefit-card p {
    margin: 0;
    color: #718096;
    font-size: 0.95rem;
}

/* Style de la bannière de sécurité */
.security-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #68d391, #38a169);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.security-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.security-text h3 {
    margin: 0;
    color: white;
}

/* Style des fonctionnalités de sécurité */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: #d8f3e7;
    color: #38a169;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature-text h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #4a5568;
}

.feature-text p {
    margin: 0;
    color: #718096;
    font-size: 0.9rem;
}

/* Style du badge de certification */
.security-certification {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 15px;
    text-align: center;
}

.certification-badge {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #f6e05e, #d69e2e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.security-certification p {
    margin: 0;
    color: #4a5568;
    font-size: 1rem;
    max-width: 600px;
}

.modal-footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Responsive pour le modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .info-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .security-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .security-icon {
        margin: 0 auto;
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
    
    .modal-tabs {
        padding: 0 10px;
    }
    
    .modal-tab {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .tab-content-container {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .security-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .certification-badge {
        margin: 0 auto 15px auto;
    }
    
    .security-certification {
        flex-direction: column;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .button {
        width: 100%;
    }
}

/* Optimisation: Système de chargement paresseux des images */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Optimisation: Animations de transition de page */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8a4fff;
    z-index: 9999;
    transform: translateY(100%);
    pointer-events: none;
}

.page-transition.active {
    animation: page-transition-in 0.5s ease forwards;
}

@keyframes page-transition-in {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

@keyframes page-transition-out {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* Optimisation: Design refresh button */
.refresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a4fff, #4e8cff);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(138, 79, 255, 0.3);
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(138, 79, 255, 0.4);
}

.refresh-btn i {
    font-size: 1rem;
    transition: transform 0.6s ease;
}

.refresh-btn.spinning i {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}