/* 
   Project: Infância Sem Telas 
   Theme: Playful, Child-friendly, Modern
*/

:root {
    /* Colors */
    --color-primary: #FF9F43;
    /* Pastel Orange */
    --color-primary-dark: #EE5A24;
    /* Deep Orange */
    --color-secondary: #54a0ff;
    /* Bright Blue */
    --color-secondary-dark: #2e86de;
    /* Darker Blue */
    --color-accent: #feca57;
    /* Yellow */
    --color-accent-green: #1dd1a1;
    /* Bright Green */

    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFDF5;
    /* Cream/Off-white */
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Quicksand', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text);
    /* Ensure contrast */
    box-shadow: 0 4px 0 var(--color-primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--color-primary-dark);
    background-color: #ffc2cd;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 0 var(--color-secondary-dark);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--color-secondary-dark);
    background-color: #9cdbf1;
}

.btn-outline {
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
}

.btn-outline:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 159, 67, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 159, 67, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 159, 67, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Scroll Animation Classes (JS triggers 'active') */
.fade-in-up,
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.active,
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
#main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Standard shadow */
    padding: 1rem 0;
    /* Add vertical padding */
    /* Standard shadow */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}




.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
}

.logo i {
    color: var(--color-secondary);
}

nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

nav a {
    font-weight: 600;
    transition: var(--transition);
}

nav a:not(.btn):hover {
    color: var(--color-primary);
}

/* Hero Section */
#hero {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, #FFFDF5 0%, #F0F8FF 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-secondary-dark);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* About Section */
#about {
    padding: var(--spacing-lg) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.about-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
}

.about-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Benefits Section */
#benefits {
    padding: var(--spacing-lg) 0;
    background-color: #F9F9F9;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.benefit-item.right-img {
    flex-direction: row-reverse;
}

.benefit-item img {
    flex: 1;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.benefit-item:hover img {
    transform: scale(1.02);
}

.benefit-text {
    flex: 1;
}

/* Author Section */
#author {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-white);
}

.author-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
    background: #FFF8E1;
    /* Light yellow/off-white */
    /* Very light pink background */
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.author-image {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--color-white);
    box-shadow: var(--shadow-md);
}

.author-text h3 {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.author-role {
    font-weight: 700;
    color: var(--color-secondary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .author-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .author-image {
        width: 180px;
        height: 180px;
    }
}



/* FAQ Section */
/* FAQ Section */
#faq {
    padding: var(--spacing-lg) 0;
    background-color: #EFEFEF;
    /* Darker gray to contrast with white cards */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #FFFFFF;
    /* Explicit white */
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #DDDDDD;
    /* Solid border definition */
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    /* max-height is set via JS */
}



/* Guarantee Section */
#guarantee {
    padding-bottom: var(--spacing-lg);
    background-color: #EFEFEF;
    /* Match FAQ background */
}

.guarantee-card {
    background: var(--color-white);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-sm);
    border: 2px dashed var(--color-primary);
    /* Dashed border for certificate feel */
}

.guarantee-icon {
    font-size: 4rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.guarantee-text h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.guarantee-text p {
    color: var(--color-text-light);
}

@media (max-width: 600px) {
    .guarantee-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Comparison Section */
#comparison {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-bg);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: left;
    position: relative;
    transition: var(--transition);
}

.card-negative {
    background-color: #fceceb;
    /* Light red/grey */
    border: 1px solid #eebbba;
    color: #555;
    opacity: 0.9;
    transform: scale(0.95);
    /* Slightly smaller to emphasize the other */
}

.card-negative h3 {
    color: #c0392b;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-negative ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1rem;
}

.card-negative ul li i {
    color: #e74c3c;
    margin-top: 4px;
}

.card-positive {
    background-color: var(--color-white);
    border: 2px solid var(--color-accent-green);
    box-shadow: 0 10px 30px rgba(29, 209, 161, 0.2);
    transform: scale(1.05);
    /* Highlighted */
    z-index: 5;
}

.card-positive h3 {
    color: var(--color-accent-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-positive ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    /* Bold text */
}

.card-positive ul li i {
    color: var(--color-accent-green);
    margin-top: 4px;
}

.badge-recommended {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--color-accent-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.path-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-negative .path-icon {
    color: #e74c3c;
}

.card-positive .path-icon {
    color: var(--color-accent-green);
}


/* Plans Section */
#plans {
    padding: var(--spacing-lg) 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
}

.plan-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 2px solid #EEE;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.plan-card.premium {
    border-color: var(--color-primary);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.plan-card.premium:hover {
    transform: translateY(-5px) scale(1.07);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    /* Prevent breaking */
}

.limited-time-label {
    font-size: 0.85rem;
    color: #FF5252;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.scarcity-timer-box {
    background: #fff5f5;
    border: 1px dashed #ff5252;
    padding: 12px;
    border-radius: 12px;
    margin: 1rem auto 1.5rem auto;
    max-width: 200px;
    box-shadow: 0 4px 10px rgba(255, 82, 82, 0.1);
}

.timer-label {
    font-size: 0.75rem;
    color: #cc2222;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-display {
    color: #ff5252;
    font-weight: 900;
    font-size: 1.8rem;
    font-family: 'Nunito', sans-serif;
    line-height: 1;
    animation: timerPulse 2s infinite;
}

@keyframes timerPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.old-price {
    display: block;
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #999;
    font-weight: 600;
    margin-bottom: -5px;
}

.plan-header h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary-dark);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
}

.plan-features {
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.plan-features i {
    color: var(--color-accent-green);
    margin-right: 0.5rem;
}

/* Social Proof */
#social-proof {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-primary);
    /* Bold background */
    color: var(--color-white);
    text-align: center;
}

#social-proof .section-title,
#social-proof .section-subtitle {
    color: var(--color-white);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.stat-item .count {
    font-size: 4rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 1.5rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card span {
    font-weight: 700;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 4rem 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-col h3 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons i {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons i:hover {
    color: var(--color-secondary);
}

.copyright {
    text-align: center;
    padding: 2rem;
    background-color: #222;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .benefit-item {
        flex-direction: column !important;
        text-align: center;
    }

    .plan-card.premium {
        transform: scale(1);
    }

    .plan-card:hover,
    .plan-card.premium:hover {
        transform: scale(1.02);
    }
}

/* Bonus Section */
#bonuses {
    padding: var(--spacing-lg) 0;
    background-color: #fffceb;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.bonus-card {
    background: var(--color-white);
    border-radius: 25px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bonus-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 40px rgba(254, 202, 87, 0.2);
}

.bonus-image-container {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.bonus-tag {
    background: #ff5252;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 82, 82, 0.3);
}

.bonus-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 800;
}

.bonus-card p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.5;
}