/* public/css/home-complete.css - CSS Completo para Home */

/* ========== HERO CAROUSEL ========== */
.hero-carousel {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease-out;
}

.carousel-slide.active .slide-background {
    animation: slowZoom 15s ease-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 950px;
    padding: 0 30px;
}

.slide-content h1 {
    font-size: 62px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out;
}

.slide-content .highlight {
    color: #fff;
    background: #ff2c30;
    padding: 0 15px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 44, 48, 0.4);
}

.slide-content p {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease-out;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease-out;
}

.btn {
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: #ff2c30;
    color: #fff;
}

.btn-primary:hover {
    background-color: #d91d21;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 44, 48, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 3px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #414042;
    transform: translateY(-5px) scale(1.05);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.carousel-dot.active {
    background-color: #ff2c30;
    width: 45px;
    border-radius: 7px;
    border-color: white;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.4s;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background-color: #ff2c30;
    transform: translateY(-50%) scale(1.15);
    border-color: #ff2c30;
    box-shadow: 0 10px 30px rgba(255, 44, 48, 0.5);
}

.carousel-arrow.prev {
    left: 40px;
}

.carousel-arrow.next {
    right: 40px;
}

/* ========== WELCOME SECTION ========== */
.welcome {
    padding: 100px 20px;
    background: #fff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.welcome-text .label {
    display: inline-block;
    font-size: 14px;
    color: #ff2c30;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.welcome-text h2 {
    font-size: 48px;
    font-weight: 800;
    color: #414042;
    margin-bottom: 25px;
    line-height: 1.2;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.welcome-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.welcome-stats .stat {
    text-align: center;
}

.welcome-stats .stat strong {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #ff2c30;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.welcome-stats .stat span {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.welcome-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.welcome-img:hover img {
    transform: scale(1.05);
}

.welcome-img .badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-img .badge i {
    font-size: 28px;
    color: #ff2c30;
}

.welcome-img .badge span {
    font-weight: 700;
    color: #414042;
    font-size: 14px;
}

/* ========== COURSES SECTION ========== */
.courses {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 50%, #efeff0 100%);
}

.courses .header {
    text-align: center;
    margin-bottom: 70px;
}

.courses .header .label {
    display: inline-block;
    font-size: 14px;
    color: #ff2c30;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.courses .header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #414042;
    margin-bottom: 20px;
}

.courses .header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.courses .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.courses .card {
    background: #fff;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.courses .card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 44, 48, 0.25);
    border-color: #ff2c30;
}

.courses .card .icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #ff2c30 0%, #d91d21 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 20px rgba(255, 44, 48, 0.3);
}

.courses .card:hover .icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 44, 48, 0.5);
}

.courses .card h3 {
    font-size: 24px;
    color: #414042;
    margin-bottom: 18px;
    font-weight: 700;
}

.courses .card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.courses .card .link {
    color: #ff2c30;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: gap 0.3s;
}

.courses .card .link:hover {
    gap: 15px;
}

/* ========== WHY SECTION ========== */
.why {
    padding: 100px 20px;
    background: #fff;
}

.why .header {
    text-align: center;
    margin-bottom: 70px;
}

.why .header .label {
    display: inline-block;
    font-size: 14px;
    color: #ff2c30;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.why .header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #414042;
}

.why .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why .card {
    padding: 40px 30px;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    border: 2px solid transparent;
}

.why .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 44, 48, 0.15);
    border-color: rgba(255, 44, 48, 0.2);
}

.why .card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(255, 44, 48, 0.1) 0%, rgba(255, 44, 48, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff2c30;
    font-size: 32px;
    transition: all 0.4s;
}

.why .card:hover .icon {
    background: linear-gradient(135deg, #ff2c30 0%, #d91d21 100%);
    color: #fff;
    transform: scale(1.1);
}

.why .card h3 {
    font-size: 22px;
    color: #414042;
    margin-bottom: 15px;
    font-weight: 700;
}

.why .card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* ========== LEVELS SECTION ========== */
.levels {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

.levels .header {
    text-align: center;
    margin-bottom: 70px;
}

.levels .header .label {
    display: inline-block;
    font-size: 14px;
    color: #ff2c30;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.levels .header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #414042;
}

.levels .timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.levels .timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ff2c30 0%, #414042 100%);
}

.levels .item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.levels .item .num {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff2c30 0%, #d91d21 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(255, 44, 48, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.levels .item .content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.levels .item .content h3 {
    font-size: 24px;
    color: #414042;
    margin-bottom: 10px;
    font-weight: 700;
}

.levels .item .content p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.levels .item .content span {
    font-size: 13px;
    color: #ff2c30;
    font-weight: 600;
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ff2c30 0%, #d91d21 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta .buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: #fff;
    color: #ff2c30;
}

.btn-white:hover {
    background: #efeff0;
    transform: translateY(-5px) scale(1.05);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 3px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #ff2c30;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 100px 20px;
    background: #fafafa;
}

.testimonials .header {
    text-align: center;
    margin-bottom: 70px;
}

.testimonials .header .label {
    display: inline-block;
    font-size: 14px;
    color: #ff2c30;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.testimonials .header h2 {
    font-size: 48px;
    font-weight: 800;
    color: #414042;
}

.testimonials .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.testimonials .card {
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.testimonials .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 44, 48, 0.15);
}

.testimonials .card .top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonials .card .top img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonials .card .top h4 {
    font-size: 16px;
    color: #414042;
    margin-bottom: 5px;
}

.testimonials .card .top p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.testimonials .card .stars {
    color: #ffc107;
    font-size: 16px;
}

.testimonials .card>p {
    font-size: 16px;
    line-height: 1.8;
    color: #414042;
    font-style: italic;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .welcome-img {
        order: -1;
    }

    .levels .timeline::before {
        left: 30px;
    }

    .levels .item .num {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .carousel-arrow.prev {
        left: 15px;
    }

    .carousel-arrow.next {
        right: 15px;
    }

    .welcome-text h2,
    .courses .header h2,
    .why .header h2,
    .levels .header h2,
    .cta h2,
    .testimonials .header h2 {
        font-size: 32px;
    }

    .welcome-stats {
        flex-direction: column;
        gap: 20px;
    }

    .courses .grid,
    .why .grid,
    .testimonials .grid {
        grid-template-columns: 1fr;
    }

    .levels .item {
        flex-direction: column;
        gap: 20px;
    }

    .levels .timeline::before {
        display: none;
    }

    .cta .buttons {
        flex-direction: column;
    }
}