/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Cover Styling */
.product-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
}

/* Colors */
:root {
    --primary-green: #10b981;
    --primary-blue: #3b82f6;
    --light-green: #34d399;
    --light-blue: #60a5fa;
    --dark-gray: #1f2937;
    --light-gray: #f9fafb;
    --medium-gray: #6b7280;
    --white: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.nav-brand h2 {
    color: var(--primary-green);
    margin-bottom: 0;
}

.nav-tagline {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    position: relative;
    overflow: hidden;
}

/* Destaque da estatística flutuante */
.hero-stat-highlight {
    position: absolute;
    top: 140px;
    right: 50px;
    z-index: 10;
    animation: statFloat 3s ease-in-out infinite;
}

.stat-floating {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 20px;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.stat-floating::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-green), var(--light-green), var(--primary-blue), var(--light-blue));
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
}

.stat-number-floating {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: numberPulse 2s ease-in-out infinite;
}

.stat-label-floating {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-top: 5px;
    display: block;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.stat-floating:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.6);
    animation: statBounce 0.6s ease-in-out;
}

/* Container do carrossel */
.hero-carousel-container {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

/* Grid de conteúdo padronizado */
.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 450px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    font-size: 2.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--medium-gray);
}

/* Animações para a estatística flutuante */
@keyframes statFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes statBounce {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    25% {
        transform: scale(1.05) translateY(-10px);
    }
    75% {
        transform: scale(1.15) translateY(-5px);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-fixed-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-avatar {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    padding: 4px;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--light-gray);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.achievement:hover {
    transform: translateY(-4px);
}

.achievement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.achievement-content h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.achievement-content p {
    margin-bottom: 0;
}

.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-gray);
}

.experience-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.skills-list {
    list-style: none;
}

.skills-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--dark-gray);
    font-weight: 500;
}

.skills-list li:last-child {
    border-bottom: none;
}

.skills-list li::before {
    content: "✓";
    color: var(--primary-green);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Value Proposition */
.value-prop {
    padding: 80px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

.value-content h2 {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.value-content > p {
    text-align: center;
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.benefit p {
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-green);
}

.cta-buttons .btn-primary:hover {
    background: var(--light-gray);
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-green);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
}

.professional-profile {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.professional-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.professional-profile h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.professional-profile p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-info {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-info p:hover {
    color: var(--light-green);
}

.footer-brand h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-links-social {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.useful-links,
.social-networks {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.useful-links h4,
.social-networks h4 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.useful-links ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.useful-links li {
    margin-bottom: 0.5rem;
}

.useful-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.useful-links a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: 400px;
    }
    
    .hero-stat-highlight {
        position: static;
        text-align: center;
        margin-bottom: 2rem;
        animation: statFloat 3s ease-in-out infinite;
    }
    
    .stat-floating {
        display: inline-block;
        padding: 15px 25px;
    }
    
    .stat-number-floating {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-fixed-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0 20px;
    }

    .hero-fixed-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .achievements {
        gap: 1rem;
    }

    .achievement {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .achievement-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* About carousel mobile improvements */
    .about-controls {
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 20px;
    }

    .about-btn {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.4rem !important;
        flex-shrink: 0;
        touch-action: manipulation;
        border: 3px solid white !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    .about-btn:hover {
        transform: scale(1.05) !important;
    }

    .about-btn:active {
        transform: scale(0.95) !important;
    }

    .about-dots {
        gap: 0.75rem !important;
        margin: 0 1rem;
    }

    .about-dot {
        width: 20px !important;
        height: 20px !important;
        border: 3px solid var(--primary-green) !important;
    }

    .about-dot.active {
        transform: scale(1.3) !important;
    }

    /* Hero avatar mobile adjustments */
    .hero-avatar {
        width: 250px;
        height: 250px;
    }

    /* Attention banner mobile improvements */
    .banner-mascot {
        display: none; /* Hide mascot on mobile for better layout */
    }

    .banner-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .banner-subtitle {
        font-size: 1.1rem;
    }

    .banner-cta {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 100px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number-floating {
        font-size: 2rem;
    }
    
    .stat-label-floating {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about,
    .value-prop,
    .cta-section {
        padding: 60px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-content,
.value-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

.nav-toggle:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}


/* Attention Banner Styles */
.attention-banner {
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    padding: 30px 20px;
    margin: 40px 0;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    animation: bannerPulse 4s ease-in-out infinite;
}

.attention-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 5s ease-in-out infinite;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

.banner-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: keyBounce 2s ease-in-out infinite;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.banner-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.banner-cta {
    background: white;
    color: #ff6b35;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: buttonPulse 3s ease-in-out infinite;
}

.banner-cta:hover {
    background: #f8f9fa;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: #e55a2b;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes bannerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 25px 50px rgba(255, 107, 53, 0.5);
    }
}

@keyframes keyBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(200%) translateY(200%) rotate(45deg);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .attention-banner {
        margin: 40px 0 20px;
        padding: 25px 15px;
    }
    
    .banner-title {
        font-size: 1.4rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .banner-icon {
        font-size: 2.5rem;
    }
    
    .banner-cta {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* ===== SISTEMA DE MASCOTES ANIMADOS ===== */

/* Cores por Mascote */
:root {
    /* Mascote Coral - eBooks & Cursos Gerais */
    --mascot-coral-primary: #ff6b83;
    --mascot-coral-secondary: #ff8fab;
    --mascot-coral-accent: #e85a75;
    
    /* Mascote Verde - Agentes API */
    --mascot-green-primary: #10b981;
    --mascot-green-secondary: #34d399;
    --mascot-green-accent: #059669;
    
    /* Efeitos de Brilho */
    --mascot-glow-coral: rgba(255, 107, 131, 0.4);
    --mascot-glow-green: rgba(16, 185, 129, 0.4);
}

/* Animações Base para Mascotes */
@keyframes mascotFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes mascotBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-6px) scale(1.02);
    }
    75% {
        transform: translateY(-3px) scale(0.98);
    }
}

@keyframes mascotPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--mascot-glow-coral));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px var(--mascot-glow-coral));
    }
}

@keyframes mascotWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

@keyframes mascotGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px transparent);
    }
    50% {
        filter: drop-shadow(0 0 15px var(--mascot-glow-coral));
    }
}

/* Classes para Aplicar nos Mascotes */
.mascot-animated {
    transition: all 0.3s ease;
    animation: mascotFloat 4s ease-in-out infinite;
}

.mascot-coral {
    filter: drop-shadow(0 0 8px var(--mascot-glow-coral));
}

.mascot-green {
    filter: drop-shadow(0 0 8px var(--mascot-glow-green));
    animation: mascotFloat 4s ease-in-out infinite;
}

.mascot-hover:hover {
    animation: mascotBounce 0.6s ease-in-out;
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px var(--mascot-glow-coral));
}

.mascot-green.mascot-hover:hover {
    filter: drop-shadow(0 0 20px var(--mascot-glow-green));
}

/* Animações Específicas por Contexto */
.mascot-reading {
    animation: mascotWiggle 3s ease-in-out infinite;
}

.mascot-working {
    animation: mascotPulse 2s ease-in-out infinite;
}

.mascot-teaching {
    animation: mascotBounce 4s ease-in-out infinite;
}

.mascot-consulting {
    animation: mascotFloat 5s ease-in-out infinite;
}

/* Efeitos de Loading com Mascote */
.mascot-loading {
    animation: mascotPulse 1s ease-in-out infinite;
}

/* Mascote no Header das Seções */
.section-mascot {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 10;
}

.section-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mascotes nos Cards dos Produtos */
.product-card .product-img.mascot-enhanced {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img.mascot-enhanced {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

/* Diferentes animações por seção */
.product-card:hover .product-img.mascot-coral {
    filter: drop-shadow(0 10px 25px var(--mascot-glow-coral));
    animation: mascotBounce 0.6s ease-in-out;
}

.product-card:hover .product-img.mascot-green {
    filter: drop-shadow(0 10px 25px var(--mascot-glow-green));
    animation: mascotPulse 0.8s ease-in-out;
}

/* Mascote no Banner Principal */
.banner-mascot {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    animation: mascotFloat 3s ease-in-out infinite;
    z-index: 3;
}

.banner-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

/* Estados de Feedback com Mascote */
.success-mascot {
    animation: mascotBounce 1s ease-in-out 3;
    filter: drop-shadow(0 0 20px #10b981);
}

.error-mascot {
    animation: mascotWiggle 0.5s ease-in-out 2;
    filter: drop-shadow(0 0 15px #ef4444);
}

/* Responsivo para Mascotes */
@media (max-width: 768px) {
    .section-mascot {
        width: 40px;
        height: 40px;
        top: -20px;
        right: 15px;
    }
    
    .banner-mascot {
        width: 60px;
        height: 60px;
        right: -30px;
    }
    
    .mascot-hover:hover {
        transform: scale(1.05);
    }
}

/* ===== MASCOTE INTERATIVO 3D ===== */

/* Reset e configurações básicas do mascote */
.mascote-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container principal do mascote */
.mascote-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 250px;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

/* Corpo do robô - Cores personalizadas Clube Qualidade */
.robo-corpo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 140px;
    background: linear-gradient(145deg, var(--mascot-coral-primary), var(--mascot-coral-secondary));
    border-radius: 25px;
    box-shadow: 
        0 10px 30px var(--mascot-glow-coral),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    animation: respirar 3s ease-in-out infinite;
}

/* Cabeça do robô */
.robo-cabeca {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, var(--mascot-coral-primary), var(--mascot-coral-secondary));
    border-radius: 50%;
    box-shadow: 
        0 8px 25px var(--mascot-glow-coral),
        inset 0 2px 8px rgba(255, 255, 255, 0.2);
}

/* Olhos do mascote */
.olhos {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.olho {
    width: 20px;
    height: 20px;
    background: #2c3e50;
    border-radius: 50%;
    position: relative;
    animation: piscar 4s ease-in-out infinite;
}

.olho::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Boca do mascote */
.boca {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    border: 3px solid #2c3e50;
    border-top: none;
    border-radius: 0 0 30px 30px;
    transition: all 0.3s ease;
}

/* Antenas */
.antena {
    position: absolute;
    top: -15px;
    width: 3px;
    height: 25px;
    background: #34495e;
    border-radius: 2px;
}

.antena-esquerda {
    left: 25px;
    transform: rotate(-15deg);
}

.antena-direita {
    right: 25px;
    transform: rotate(15deg);
}

.antena::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: piscar-led 2s ease-in-out infinite;
}

/* Braços */
.braco {
    position: absolute;
    top: 20px;
    width: 15px;
    height: 60px;
    background: linear-gradient(145deg, var(--mascot-coral-primary), var(--mascot-coral-secondary));
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--mascot-glow-coral);
}

.braco-esquerdo {
    left: -20px;
    transform-origin: top center;
    animation: acenar-esquerdo 4s ease-in-out infinite;
}

.braco-direito {
    right: -20px;
    transform-origin: top center;
    animation: acenar-direito 4s ease-in-out infinite 2s;
}

/* Mãos */
.mao {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--mascot-coral-secondary);
    border-radius: 50%;
    box-shadow: 0 2px 8px var(--mascot-glow-coral);
}

/* Pernas */
.perna {
    position: absolute;
    bottom: -25px;
    width: 20px;
    height: 30px;
    background: linear-gradient(145deg, var(--mascot-coral-primary), var(--mascot-coral-secondary));
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px var(--mascot-glow-coral);
}

.perna-esquerda {
    left: 25px;
}

.perna-direita {
    right: 25px;
}

/* Pés */
.pe {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 12px;
    background: #34495e;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(52, 73, 94, 0.3);
}

/* Painel no peito - LEDs com cores Clube Qualidade */
.painel-peito {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.led-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: piscar-status 1.5s ease-in-out infinite;
}

.led-verde {
    background: var(--primary-green);
}

.led-azul {
    background: var(--primary-blue);
    animation-delay: 0.5s;
}

.led-amarelo {
    background: #f39c12;
    animation-delay: 1s;
}

/* Balão de fala - Estilizado para Clube Qualidade */
.balao-fala {
    position: absolute;
    top: -80px;
    left: -150px;
    width: 200px;
    background: white;
    padding: 15px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--mascot-coral-primary);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
    max-width: 280px;
    white-space: normal;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.balao-fala::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid var(--mascot-coral-primary);
}

.balao-fala.ativo {
    opacity: 1;
    transform: translateX(0);
    animation: balaoAppear 0.3s ease-out;
}

/* Animações do mascote 3D */
@keyframes respirar {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.02); }
}

@keyframes piscar {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes piscar-led {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

@keyframes piscar-status {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes acenar-esquerdo {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-20deg); }
    75% { transform: rotate(10deg); }
}

@keyframes acenar-direito {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

@keyframes flutuar {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes balançar {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(-2deg); }
    75% { transform: translateX(-50%) rotate(2deg); }
}

@keyframes balaoAppear {
    0% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(20px) scale(0.8); 
    }
    100% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0) scale(1); 
    }
}

/* Estados de interação do mascote */
.mascote-container:hover .robo-cabeca {
    animation: flutuar 2s ease-in-out infinite;
}

.mascote-container:hover .boca {
    width: 40px;
    height: 20px;
    border-color: var(--primary-green);
}

.mascote-container.clicado .robo-corpo {
    animation: balançar 0.5s ease-in-out;
    background: linear-gradient(145deg, var(--primary-green), var(--mascot-green-secondary));
}

.mascote-container.feliz .boca {
    width: 35px;
    height: 18px;
    border-radius: 0 0 35px 35px;
    border-color: var(--primary-green);
}

.mascote-container.feliz .robo-corpo {
    background: linear-gradient(145deg, var(--primary-green), var(--mascot-green-secondary));
    box-shadow: 0 10px 30px var(--mascot-glow-green);
}

/* Responsividade do mascote 3D */
@media (max-width: 768px) {
    .mascote-container {
        width: 150px;
        height: 200px;
        bottom: 15px;
        right: 15px;
    }
    
    .robo-corpo {
        width: 90px;
        height: 110px;
    }
    
    .robo-cabeca {
        width: 75px;
        height: 75px;
        top: -45px;
    }
    
    .olhos {
        gap: 10px;
    }
    
    .olho {
        width: 15px;
        height: 15px;
    }
    
    .balao-fala {
        font-size: 12px;
        padding: 10px 15px;
        width: 180px;
        left: -120px;
        top: -70px;
    }
    
    .painel-peito {
        width: 45px;
        height: 30px;
    }
    
    .led-status {
        width: 6px;
        height: 6px;
    }
}

/* Estilos do Chat Interativo */
.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--primary-green);
    display: flex;
    flex-direction: column;
    z-index: 10001;
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    padding: 12px 16px;
    border-radius: 14px 14px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    font-size: 1.2rem;
}

.chat-info strong {
    display: block;
    font-size: 0.9rem;
}

.chat-info small {
    opacity: 0.8;
    font-size: 0.75rem;
}

.chat-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.chat-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 16px;
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    display: flex;
    margin-bottom: 8px;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.user-message .message-content {
    background: var(--primary-green);
    color: white;
    border-bottom-right-radius: 6px;
}

.bot-message .message-content {
    background: #f1f3f4;
    color: var(--dark-gray);
    border-bottom-left-radius: 6px;
}

.quick-questions {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #e5e7eb;
    max-height: 120px;
    overflow-y: auto;
}

.quick-btn {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.quick-btn:hover {
    background: var(--light-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-1px);
}

.chat-input-container {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    border-color: var(--primary-green);
}

.chat-send {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send:hover {
    background: var(--light-green);
    transform: scale(1.1);
}

.typing-indicator {
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 8px;
}

.typing-dots {
    display: flex;
    gap: 2px;
}

.typing-dots span {
    animation: typingDots 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDots {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Responsividade do chat */
@media (max-width: 768px) {
    .chat-container {
        width: 300px;
        right: -10px;
        bottom: 170px;
        max-height: 400px;
    }
    
    .chat-messages {
        max-height: 180px;
    }
    
    .quick-questions {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .mascote-container {
        width: 120px;
        height: 160px;
        bottom: 10px;
        right: 10px;
    }
    
    .robo-corpo {
        width: 70px;
        height: 85px;
    }
    
    .robo-cabeca {
        width: 60px;
        height: 60px;
        top: -35px;
    }
    
    .balao-fala {
        font-size: 11px;
        padding: 8px 12px;
        width: 140px;
        left: -90px;
        top: -60px;
    }
}

/* Modo escuro para o mascote */
@media (prefers-color-scheme: dark) {
    .balao-fala {
        background: #2c3e50;
        color: white;
        border-color: var(--mascot-coral-primary);
    }
    
    .balao-fala::after {
        border-top-color: var(--mascot-coral-primary);
    }
}