/* ===============================================
   Pequeno Pensador - Brinquedoteca Custom Styles
   Mobile-First Responsive Design
   =============================================== */

:root {
    --primary-coral: #FF6B6B;
    --primary-turquoise: #4ECDC4;
    --primary-yellow: #FFE66D;
    --primary-mint: #A8E6CF;
    --dark-text: #2C3E50;
    --light-bg: #F8F9FA;
}

/* Fonte Base - Nunito (arredondada, amigável e profissional para brinquedoteca) */
* {
    font-family: 'Nunito', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', 'Nunito', sans-serif !important;
    font-weight: 600;
}

/* Hero Section Enhancements */
.hero-section .display-1 {
    font-size: 3rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .hero-section .display-1 {
        font-size: 5rem;
    }
}

/* Age Groups Cards - Ribbon */
.ribbon-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    transform: rotate(45deg);
    background: #28a745;
    color: white;
    padding: 8px 40px;
    font-size: 0.875rem;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Facilities Cards Hover Effect */
.facility-card {
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Contact Cards Animations */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* ================================================
   NAVBAR MELHORADO
   ================================================ */
.navbar {
    transition: all 0.3s ease;
}

.navbar .nav-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
}

.navbar .nav-link:hover {
    background-color: rgba(78, 205, 196, 0.1);
    transform: translateY(-2px);
}

.navbar .nav-link i {
    transition: transform 0.3s ease;
}

.navbar .nav-link:hover i {
    transform: scale(1.2);
}

/* ================================================
   FLOATING BUTTONS
   ================================================ */

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: #FFF;
}

/* Floating Matrícula Button */
.matricula-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 30px !important;
    left: 30px !important;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
    color: #FFF !important;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: pulse-matricula 2.5s infinite;
}

.matricula-float i {
    font-size: 28px;
    transition: all 0.3s ease;
}

.matricula-float-text {
    position: absolute;
    bottom: -30px;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.matricula-float:hover {
    width: 70px;
    height: 70px;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 35px rgba(255, 107, 107, 0.7);
    background: linear-gradient(135deg, #FF8E8E 0%, #FF6B6B 100%);
    color: #FFF;
}

.matricula-float:hover i {
    transform: translateY(-8px);
}

.matricula-float:hover .matricula-float-text {
    bottom: 8px;
    opacity: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

@keyframes pulse-matricula {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 107, 107, 0.8);
    }
}

/* Footer Discreto e Fixo */
.footer-discreto {
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-discreto .hover-primary {
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-discreto .hover-primary:hover {
    color: var(--primary-turquoise) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar .nav-link {
        padding: 0.6rem 1rem;
    }
    
    .whatsapp-float,
    .matricula-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
    }
    
    .whatsapp-float {
        right: 20px;
    }
    
    .matricula-float {
        left: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        top: 20px;
        right: 20px;
    }
}
    }
    
    .matricula-float i {
        font-size: 24px;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section h2 {
        font-size: 1.5rem !important;
    }
    
    .hero-section p {
        font-size: 1rem !important;
    }
    
    .facility-card {
        margin-bottom: 1rem;
    }
    
    .age-groups-section .card {
        margin-bottom: 1.5rem;
    }
    
    .footer-discreto {
        font-size: 0.85rem;
    }
}

/* Feature Boxes Hover Effect */
.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Social Media Buttons */
.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.15) rotate(5deg);
}

/* Form Focus States */
.form-control:focus,
.form-control.bg-light:focus {
    border-color: var(--primary-turquoise);
    box-shadow: 0 0 0 0.25rem rgba(78, 205, 196, 0.25);
}

/* Custom Button Styles */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Spinner Custom Colors */
.spinner-border {
    border-color: var(--primary-coral) !important;
    border-right-color: transparent !important;
}

/* Back to Top Button Enhancement */
.back-to-top {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Contact Section Background Pattern */
.contact-section {
    position: relative;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

/* Hours Info Styling - Destaque */
.hours-info {
    font-size: 1.05rem;
}

.hours-info .fw-bold {
    color: #FF6B6B !important;
    font-size: 1.15rem;
}

/* Age Icon Pulse Animation */
.age-icon {
    animation: float 3s ease-in-out infinite;
}

/* Footer Hover Effects */
.footer-discreto .hover-primary:hover {
    color: var(--primary-turquoise) !important;
    transition: color 0.3s ease;
}

.footer-discreto .btn-outline-light:hover {
    background-color: var(--primary-turquoise);
    border-color: var(--primary-turquoise);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .matricula-float,
    .back-to-top,
    #spinner,
    .footer-discreto {
        display: none !important;
    }
}
