/* ============================================
   PINGUE PONGUE EDUCAÇÃO - CUSTOM CSS
   Paleta de Cores Baseada na Identidade Visual
   ============================================ */

:root {
    /* Cores Principais - Pingue Pongue */
    --color-primary: #9B51E0;        /* Roxo vibrante */
    --color-secondary: #E91E63;      /* Pink/Magenta */
    --color-accent: #00BCD4;         /* Cyan/Turquesa */
    --color-yellow: #FFD600;         /* Amarelo vibrante */
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #9B51E0 0%, #E91E63 100%);
    --gradient-rainbow: linear-gradient(90deg, #00BCD4 0%, #9B51E0 25%, #E91E63 50%, #FFD600 75%, #4CAF50 100%);
    
    /* Cores Neutras */
    --color-dark: #2D3436;
    --color-text: #555;
    --color-light-bg: #F8F9FA;
    --color-white: #FFFFFF;
    
    /* Fontes */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Quicksand', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(155, 81, 224, 0.1);
    --shadow-md: 0 4px 16px rgba(155, 81, 224, 0.15);
    --shadow-lg: 0 8px 32px rgba(155, 81, 224, 0.2);
    --shadow-xl: 0 16px 48px rgba(155, 81, 224, 0.25);
    
    /* Transições */
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand img {
    transition: var(--transition);
}

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

.navbar-light .navbar-nav .nav-link {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
    font-size: 16px;
    text-align: center !important;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-item { 
    width: auto !important;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--color-primary);
}

.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse-green 2s infinite;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    animation: none;
}

.btn-iniciar {
    background: linear-gradient(135deg, #9B51E0 0%, #E91E63 100%);
    border: none;
    color: white;
    font-weight: 700;
    padding: 0.6rem 1.8rem;
    gap:.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(155, 81, 224, 0.4);
    position: relative;
    z-index: 50;
    transition: all 0.3s ease;
}

.btn-iniciar i {
    position: relative;
    z-index: 50;
}
.btn-iniciar::after {
    content: '';
    position: absolute;
    top: 0;
    z-index: -1;
    visibility:hidden;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E91E63 0%, #9B51E0 100%);
    transition: all 0.3s ease;
}

.btn-iniciar:hover::after {
    left: 0;
}


.btn-iniciar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
    color: white;
}
.navbar-collapse.collapse {
    justify
}

.header-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}
#app .control-header {
    padding-top: 120px;
}
/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 100px 0 150px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F5E9 50%, #E1F5FE 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(155, 81, 224, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(155, 81, 224, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
    color: var(--color-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(155, 81, 224, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 16px;
    gap: .5rem;
    align-itens:center; 
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #E91E63 0%, #9B51E0 100%);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(155, 81, 224, 0.3));
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: scaleY(-1);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    fill: white;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(155, 81, 224, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
    color: var(--color-primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border: 2px solid rgba(155, 81, 224, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: 80px 0;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(155, 81, 224, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.feature-card p {
    color: var(--color-text);
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   BOOKS SECTION
   ============================================ */

.books-section {
    padding: 80px 0;
}

.book-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.book-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-card:hover .book-image img {
    transform: scale(1.1);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(155, 81, 224, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-info {
    padding: 1.5rem;
}

.book-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.book-author {
    color: var(--color-text);
    font-size: 0.9rem;
    margin: 0;
}

/* Swiper Custom Styles */
.swiper {
    padding: 20px 0 60px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: var(--color-primary);
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--color-secondary);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 80px 0;
}

.about-section > .container,
.about-section .row,
.about-section .col-lg-6,
.about-section .about-text,
.about-section .about-features,
.about-section .about-feature-item,
.about-section .section-header,
.about-section .btn {
    opacity: 1 !important;
    visibility: visible !important;
}

.about-image {
    position: relative;
    text-align: center;
}

.about-image img {
    max-width: 300px;
    filter: drop-shadow(0 20px 40px rgba(155, 81, 224, 0.3));
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

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

.about-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--gradient-rainbow);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-feature-item i {
    color: var(--color-secondary);
    font-size: 1.3rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.testimonials-section > .container,
.testimonials-section .row,
.testimonials-section .testimonial-card,
.testimonials-section .section-header {
    opacity: 1 !important;
    visibility: visible !important;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(155, 81, 224, 0.2);
}

.testimonial-rating {
    color: #FFD600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--color-dark);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-text);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section > .container,
.cta-section .row,
.cta-section .cta-title,
.cta-section .cta-subtitle,
.cta-section .cta-buttons {
    opacity: 1 !important;
    visibility: visible !important;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.cta-section::before {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
}

.cta-section::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -50px;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-light {
    background: white;
    color: var(--color-primary);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-itens: center;
    gap:.5rem;
    border: none;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse-green 2s infinite;
}

.btn-light:hover {
    background: #25D366;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    animation: none;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    display: flex;
    align-itens: center;
    gap:.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
}

.btn-outline-light:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, #2D3436 0%, #1a1d1f 100%);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-rainbow);
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 1rem;
}

.footer-text {
    margin: 1rem 0 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(155, 81, 224, 0.15);
    border: 2px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: var(--color-secondary);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(155, 81, 224, 0.4);
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent) !important;
    padding-left: 0;
}
.footer-links p  a:hover font { 
    color: var(--color-accent) !important;
    padding-left: 0;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-contact i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(155, 81, 224, 0.15);
    color: var(--color-accent);
    font-size: 1rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    padding: 1rem 0;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}
.books-carousel .swiper-wrapper {
    height: auto !important;
}
.books-section .books-carousel {
    overflow: hidden;
}
.books-carousel .booksSwiper .swiper-button-next, .books-carousel .booksSwiper .swiper-button-prev { 
    width: 35px;
    height: 35px;
}
.books-carousel .booksSwiper .swiper-button-next:after, .books-carousel .booksSwiper .swiper-button-prev:after { 
    font-size: 20px !important;
    color: var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stat-item {
        text-align: center;
    }
    .about-shape  {
        width: 200px;
        height: 200px;
    }
    #app .control-header {
        padding-top: 160   px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 60px 0 100px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
 
}

/* ============================================
   ANIMATIONS
   ============================================ */

[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

.footer.footer-especial {
    margin-top: 0 !important;
}

/* Animação Pulse Verde para botão WhatsApp */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
