/* =========================================
   Toka dos Brinquedos - Playful Premium
   ========================================= */

:root {
    --primary-color: #118AB2;    /* Teal Blue */
    --secondary-color: #FFD166;  /* Sunny Yellow */
    --accent-color: #EF476F;     /* Strawberry Pink */
    --text-color: #073B4C;        /* Dark Navy */
    --text-light: #5A7184;
    --bg-light: #F8F9FA;
    --white: #ffffff;
    --green: #06D6A0;
    --orange: #F77F00;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(17, 138, 178, 0.05);
    --shadow-md: 0 10px 25px rgba(7, 59, 76, 0.08);
    --shadow-lg: 0 20px 40px rgba(239, 71, 111, 0.1);
    --border-radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary-color); color: var(--white); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Typography */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.section-title h2 span {
    color: var(--accent-color);
}
.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1.05rem;
    font-family: 'Quicksand', sans-serif;
    border-radius: 30px; /* Pill shape for playful look */
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(239, 71, 111, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(239, 71, 111, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 3px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-accent {
    background-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 8px 15px rgba(255, 209, 102, 0.4);
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255, 209, 102, 0.5);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    font-size: 1.2rem;
    padding: 16px 32px;
    width: 100%;
}
.btn-whatsapp:hover { background-color: #128c7e; transform: translateY(-3px); }

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.2rem 0;
    background: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2.2rem;
    background: var(--bg-light);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-family: 'Quicksand', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.1;
    transition: var(--transition);
}

.header.scrolled .logo-text, .header.scrolled .nav-link {
    color: var(--primary-color);
}
.header.scrolled .logo-icon { background: var(--primary-color); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--white);
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-link:hover::after { width: 100%; }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001; /* Above menu */
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: var(--transition);
}
.header.scrolled .mobile-menu-btn span { background-color: var(--primary-color); }
.legal-page .header .mobile-menu-btn span { background-color: var(--white); }

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 10px; }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); bottom: 11px; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 138, 178, 0.9) 0%, rgba(7, 59, 76, 0.8) 100%);
}

.hero-content {
    color: var(--white);
    display: flex;
    align-items: center;
}

.hero-text-card {
    max-width: 600px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero-text-card h1 {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}
.hero-text-card h1 span { color: var(--secondary-color); }

.hero-text-card p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Benefits */
.bg-pattern {
    background-color: var(--bg-light);
    background-image: radial-gradient(#118ab2 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;
    padding: 6rem 0;
}

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

.benefit-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border-bottom: 6px solid transparent;
}

.benefit-card.color-blue { border-color: var(--primary-color); }
.benefit-card.color-green { border-color: var(--green); }
.benefit-card.color-orange { border-color: var(--orange); }

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

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

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.benefit-card p {
    color: var(--text-light);
    font-weight: 600;
}

/* Products */
.products {
    padding: 6rem 0;
}

.product-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.product-text { flex: 1; }
.product-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.product-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 600;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-family: 'Quicksand', sans-serif;
    color: var(--text-color);
}
.check-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: -2px;
}

.product-image {
    flex: 1;
    position: relative;
}

.product-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
    transition: var(--transition);
}
.product-image:hover img { transform: rotate(0deg) scale(1.02); }

/* Contact CTA */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--text-color));
}

.contact-cta-card {
    display: flex;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.cta-info {
    flex: 1.5;
    padding: 4rem;
    background-color: var(--white);
}

.cta-info h2 { font-size: 2.4rem; color: var(--primary-color); margin-bottom: 1rem; }
.cta-info p { color: var(--text-light); font-size: 1.1rem; font-weight: 600; }

.info-item { display: flex; gap: 15px; align-items: center; }
.info-item .icon { font-size: 28px; background: rgba(17, 138, 178, 0.1); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.info-item strong { color: var(--primary-color); display: block; font-family: 'Quicksand', sans-serif;}
.info-item p { margin: 0; font-size: 1rem; color: var(--text-color); }
.info-item a { color: var(--text-color); font-weight: 700;}

.cta-action {
    flex: 1;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    text-align: center;
    border-left: 2px dashed #eee;
}

.whatsapp-circle {
    background: #25d366;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    animation: bounce 2s infinite;
}

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

.cta-action h3 { margin-bottom: 0.5rem; color: var(--text-color); }
.cta-action p { font-size: 1.5rem; font-weight: 800; color: #25d366; margin-bottom: 2rem; }

/* FAB */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 99;
}
.fab-whatsapp:hover { background-color: #128c7e; transform: scale(1.1); }

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 4rem 0 0 0;
}

.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; color: #a1b0be; font-weight: 600; font-size: 1.05rem; }
.footer-links h4, .footer-legal h4 { color: var(--secondary-color); margin-bottom: 1.5rem; font-size: 1.4rem; }
.footer-links ul li, .footer-legal ul li { margin-bottom: 1rem; }
.footer-links ul a, .footer-legal ul a { color: #d0dde9; font-weight: 600; }
.footer-links ul a:hover, .footer-legal ul a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom { background-color: rgba(0,0,0,0.3); padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin-bottom: 5px; font-weight: 600; text-align: center; }

/* Cookies Overlay */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    z-index: 2000;
    padding: 1.5rem 0;
    transition: bottom 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-top: 4px solid var(--primary-color);
}
.cookie-banner.show { bottom: 0; }
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cookie-text-icon { display: flex; align-items: center; }
.cookie-text-icon p { font-size: 0.95rem; font-weight: 600; color: var(--text-color); margin: 0; }
.cookie-text-icon a { color: var(--accent-color); text-decoration: underline; font-weight: 700; }

/* Legal Overrides */
.legal-page .header .logo-text { color: var(--white) !important; }
.legal-content { padding: 8rem 0 4rem; }
.legal-content h1 { color: var(--primary-color); font-size: 3rem; margin-bottom: 1rem; }
.legal-section { margin-top: 3rem; }
.legal-section h2 { font-size: 2rem; color: var(--accent-color); margin-bottom: 1rem; }
.legal-section p, .legal-section ul { font-size: 1.15rem; font-weight: 600; color: var(--text-color); margin-bottom: 1.5rem; }
.legal-section ul { padding-left: 2rem; list-style-type: disc; }

.highlight-box {
    background: #eef8fb;
    border-left: 6px solid var(--primary-color);
    padding: 2.5rem;
    border-radius: 0 16px 16px 0;
    margin: 2rem 0;
}
.highlight-box strong { color: var(--text-color); display: block; margin-bottom: 1rem; font-size: 1.3rem; }

/* Animations */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .product-wrapper, .contact-cta-card, .footer-content { flex-direction: column; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .cta-action { border-left: none; border-top: 2px dashed #eee; padding: 2rem; }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 85%; max-width: 350px; height: 100vh;
        background-color: var(--primary-color); flex-direction: column; justify-content: center;
        padding: 2rem; transition: right 0.4s ease; box-shadow: -10px 0 20px rgba(0,0,0,0.2);
    }
    .nav-menu.active { right: 0; }
    .nav-list { flex-direction: column; align-items: center; gap: 2rem; margin-bottom: 2rem; }
    .mobile-menu-btn { display: block; }
    .hero-text-card { padding: 2rem; }
    .hero-text-card h1 { font-size: 2.4rem; }
    .hero-buttons { flex-direction: column; }
    .cta-info { padding: 2rem; }
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-text-icon { flex-direction: column; }
}
