
/* Hero Section */
.hero {
position: relative;
padding-top: 120px;
padding-bottom: 100px;
background: var(--primary-light);
overflow:
hidden;
min-height: 600px;
background-position:
right center;
background-repeat: no-repeat;
background-size: contain;
}


.hero::before {
   content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
linear-gradient(90deg, rgba(238, 245, 255, 0.95) 50%, rgba(238, 245, 255, 0.6) 60%, rgba(238, 245, 255, 0.4) 100%);
  z-index: 1;
}


@keyframes bubble-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    background: linear-gradient(45deg, var(--primary-600), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-700);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-700);
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Trust Indicators */
.trust-indicators {
    padding: 60px 0;
    background-color: #fff;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.indicator-item {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.indicator-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.indicator-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.indicator-icon i {
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.indicator-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Categories */
.categories {
    padding: 80px 0;
    background-color: #fff;
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.category-tab {
    padding: 12px 25px;
    background: var(--light);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab.active {
    background: var(--primary);
    color: white;
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.class-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.class-image {
    height: 160px;
    overflow: hidden;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-details {
    padding: 20px;
    text-align: center;
}

.class-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.class-subjects {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.subject-tag {
    background: var(--light);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Reassurance Blocks */
.reassurance {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(58, 12, 163, 0.1) 100%);
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reassurance-block {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.reassurance-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.reassurance-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.reassurance-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-content {
    background: var(--light);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content:before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-details p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.testimonial-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-control:hover {
    background: var(--primary);
    color: white;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta .btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.cta .btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


@media (max-width: 992px) {
   
    .hero-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .auth-buttons {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .steps {
        flex-direction: column;
    }
}

/* ===== HERO : badge + trust ===== */
.badge-e {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary-300);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
}

.trust-small {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-top: 14px;
}
.trust-small strong { color: var(--primary); }

/* ===== PARENTS EMPATHY ===== */
.parents-empathy {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.hook-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hook-card {
    background: white;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    flex: 1;
    min-width: 180px;
    max-width: 230px;
    transition: transform 0.3s ease;
}
.hook-card:hover { transform: translateY(-5px); }

.hook-emoji {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 10px;
}

.hook-card p { font-size: 0.92rem; color: var(--gray-700); line-height: 1.5; }

.hook-arrow {
    color: var(--primary-400);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.empathy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.empathy-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}
.empathy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.empathy-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}
.empathy-card h3 {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.4;
}
.empathy-card p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.6; }

/* ===== STUDENT JOURNEY ===== */
.student-journey {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
}
.student-journey .section-title h2 { color: white; }
.student-journey .section-title p { color: rgba(255,255,255,0.85); }

.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.journey-step {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.journey-step:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-6px);
}

.step-emoji {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 14px;
}
.journey-step h3 { font-size: 1.05rem; color: white; margin-bottom: 10px; }
.journey-step p  { font-size: 0.93rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

.student-cta { text-align: center; }
.student-cta .btn { background: white; color: var(--primary); }
.student-cta .btn:hover { background: var(--accent); color: white; }
.student-cta .small {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-top: 12px;
    display: block;
}

/* ===== TRUST INDICATORS 3 colonnes ===== */
.indicators-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== STEPS 4 colonnes ===== */
.steps-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    flex-wrap: unset;
}

/* ===== PARENT PEACE ===== */
.parent-peace {
    padding: 80px 0;
    background: var(--dark);
    color: white;
}
.parent-peace .section-title h2 { color: white; }
.parent-peace .section-title p  { color: rgba(255,255,255,0.72); }

.peace-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.peace-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}
.peace-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}
.peace-icon {
    font-size: 2.4rem;
    color: var(--primary-300);
    margin-bottom: 18px;
}
.peace-item h3 { font-size: 1.05rem; color: white; margin-bottom: 10px; }
.peace-item p  { font-size: 0.93rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.peace-cta { text-align: center; }
.peace-cta .btn { background: var(--primary); color: white; }
.peace-cta .btn:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(247,37,133,0.35);
}
.peace-cta .small {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-top: 10px;
    display: block;
    letter-spacing: 0.3px;
}

/* ===== RESPONSIVE nouveaux blocs ===== */
@media (max-width: 992px) {
    .steps-4 { grid-template-columns: repeat(2, 1fr); }
    .journey-steps { grid-template-columns: 1fr; }
    .peace-grid { grid-template-columns: 1fr; }
    .indicators-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .hook-grid { flex-direction: column; align-items: center; }
    .hook-arrow { transform: rotate(90deg); }
    .hook-card  { max-width: 280px; width: 100%; }
    .empathy-grid { grid-template-columns: 1fr; }
    .steps-4 { grid-template-columns: 1fr; }
    .journey-steps { grid-template-columns: 1fr; }
}