﻿:root {
    --bg-light: #ffffff;
    --bg-alt: #f9fafb;
    --text-dark: #111827;
    --text-muted: #4b5563;
    
    /* Cores baseadas no logo oficial (Laranja/Vermelho) */
    --primary: #e84c3d; /* Vermelho do logo */
    --secondary: #f39c12; /* Laranja/Amarelo do logo */
    --gradient-brand: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    
    --surface: #ffffff;
    --surface-border: #e5e7eb;
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 45px;
    object-fit: contain;
}

.logo-badge {
    background: var(--gradient-brand);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-brand);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(232, 76, 61, 0.3);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    padding-top: 4rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Stats */
.stats-section {
    padding: 3rem 5%;
    background: var(--surface);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Apoiadores Section */
.apoiadores-section {
    padding: 4rem 5%;
    background: var(--bg-light);
    border-top: 1px solid var(--surface-border);
}

.apoiadores-container {
    max-width: 1000px;
    margin: 0 auto;
}

.embaixador-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--surface);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    margin-bottom: 4rem;
    border: 1px solid var(--surface-border);
}

.embaixador-img {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 5px solid #fff;
}

.embaixador-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.embaixador-info h4 {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}

.embaixador-info span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.embaixador-info p {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    position: relative;
}

.entidades-title {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-wrapper {
    width: 280px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--surface-border);
    transition: transform 0.3s;
}

.logo-wrapper:hover {
    transform: translateY(-5px);
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-wrapper:hover img {
    filter: grayscale(0%);
    opacity: 1;
}



/* Sponsorship Section */
.sponsorship {
    padding: 4rem 5%;
    background: var(--bg-alt);
}

.sponsorship-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.sponsorship-visual {
    height: 100%;
}

.visual-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    height: 100%;
}

.visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Calculator UI */
.calculator {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.calc-header h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.counter-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--surface-border);
}

.counter-btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: none;
    background: var(--surface);
    color: var(--text-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.counter-btn:hover {
    background: var(--gradient-brand);
    color: white;
}

.counter-display {
    text-align: center;
}

#childrenCount {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

.counter-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.calc-result {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--surface-border);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.total-value {
    font-size: 2.2rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 800;
}

.total-value small {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 0.2rem;
    color: var(--text-muted);
}

.installments {
    text-align: right;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Projeto Section (Bento Grid) */
.projeto-section {
    padding: 0;
    background: var(--bg-light);
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(300px, auto);
}

.bento-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font-heading);
}

.bento-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.text-orange {
    color: var(--secondary);
    font-weight: 700;
}

.bg-dark-blue {
    background-color: #0b1120;
}

.bg-light-blue {
    background-color: #6eb5e6;
}

.bg-orange {
    background-color: var(--primary); /* using red/orange theme */
}

.img-block {
    padding: 0;
}

.img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Escola Section */
.escola-section {
    padding: 4rem 5%;
    background: var(--surface);
    border-top: 1px solid var(--surface-border);
}

.escola-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.escola-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

.escola-nome {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.escola-info {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--surface-border);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-item strong {
    color: var(--text-dark);
    font-weight: 700;
}

.info-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(220, 39, 67, 0.3);
}

@media (max-width: 768px) {
    .escola-container {
        grid-template-columns: 1fr;
    }
}

/* Video Section */
.video-section {
    padding: 4rem 5%;
    background: var(--surface);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* WhatsApp Strip */
.whatsapp-strip {
    text-align: center;
    padding: 2rem;
    background: var(--bg-alt);
    margin: 4rem 0;
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}
.whatsapp-strip p {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.1rem;
}
.whatsapp-strip a {
    color: var(--primary);
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--surface-border);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Form */
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group input {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 76, 61, 0.1);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.loader-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-image-container {
        width: 40%;
    }
    .sponsorship-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navbar e Logo */
    .navbar { padding: 1rem 5%; justify-content: space-between; }
    .logo { gap: 0.25rem; }
    .logo img { max-height: 28px; }
    .logo-badge { font-size: 0.6rem; padding: 0.15rem 0.4rem; }
    .nav-buttons .btn-primary { padding: 0.5rem 1rem; font-size: 0.85rem; }
    .nav-links .nav-link { display: none; }

    /* Hero */
    .hero {
        flex-direction: column;
        justify-content: center;
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
        gap: 2rem;
    }
    .hero-content { max-width: 100%; text-align: center; padding-top: 2rem; }
    h1.hero-title { font-size: 1.5rem; } /* Removido word-break/hyphens para quebrar normalmente */
    .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    
    .hero-image-container { 
        display: block; 
        position: relative; 
        width: 100%; 
        height: 250px; 
        margin-top: 0;
    }
    .hero-bg {
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    /* Bento Grid (O Projeto) */
    .bento-container { grid-template-columns: 1fr; }
    .bento-item { padding: 1.5rem; min-height: auto; } /* Padding reduzido de 2rem para 1.5rem */
    .bento-item h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
    .bento-container .img-block { display: none; }
    
    /* InstituiÃ§Ã£o */
    .escola-container { grid-template-columns: 1fr; gap: 1rem; }
    .escola-content .section-title { font-size: 1.4rem; margin-bottom: 0.5rem; }
    .escola-nome { font-size: 1.2rem; text-align: center; margin-bottom: 0.5rem; }
    .escola-info { margin: 1rem 0; padding: 1rem; gap: 0.5rem; }
    .btn-instagram { 
        background: transparent; 
        color: #d62976; 
        border: 1px solid #d62976; 
        padding: 0.6rem 1rem; 
        width: 100%; 
        justify-content: center;
        font-size: 0.9rem;
        box-shadow: none;
    }
    
    /* Textos Gerais e Faixa do WhatsApp */
    .section-title { font-size: 1.6rem; text-align: center; }
    .section-desc { font-size: 1rem; text-align: center; }
    .whatsapp-strip { margin: 1rem 0; padding: 1.5rem; }
    
    /* EspaÃ§amento Sections */
    .escola-section, .video-section, .faq-section, .apoiadores-section, .projeto-section, .sponsorship { padding: 3rem 5%; }
    
    /* Embaixador Card - Ajuste para alinhar perfeitamente foto e nome usando CSS Grid */
    .embaixador-card { 
        display: grid; 
        grid-template-columns: 80px 1fr; 
        grid-template-rows: auto auto auto;
        gap: 0.2rem 1rem; 
        text-align: left; 
        padding: 1.5rem; 
        margin-bottom: 2rem;
    }
    .embaixador-img { width: 80px; height: 80px; border-width: 2px; grid-column: 1; grid-row: 1 / 3; align-self: center; }
    .embaixador-info { display: contents; }
    .embaixador-info h4 { font-size: 1.1rem; grid-column: 2; grid-row: 1; margin: 0; align-self: end; }
    .embaixador-info span { font-size: 0.85rem; grid-column: 2; grid-row: 2; margin: 0; align-self: start; }
    .embaixador-info p { font-size: 0.95rem; grid-column: 1 / 3; grid-row: 3; margin-top: 1rem; text-align: left; }

    /* Logos Apoiadores */
    .logos-grid { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
    .logo-wrapper { width: calc(33.333% - 0.4rem); height: 70px; padding: 0.5rem; margin: 0; }
    
    /* Calculadora / Form / Stats */
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .stat-number { font-size: 1.3rem; } /* DiminuÃ­do de 1.8 para 1.3 */
    .stat-label { font-size: 0.65rem; letter-spacing: 0; } /* DiminuÃ­do para 0.65 */
    
    .calculator-box { padding: 1.5rem; }
    
    /* Preço - correção para não vazar a tela */
    .primary-result { 
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 0.5rem; 
        text-align: center;
    }
    .primary-result > span:first-child {
        font-size: 1.1rem;
    }
    .total-value {
        font-size: 1.8rem;
    }
    
    /* Imagem Nosso Amiguinho */
    .sponsorship-visual { height: 200px; }
}

/* --- Team Section --- */
.team-section {
    padding: 5rem 10%;
    background: var(--bg-color);
}
.team-container {
    max-width: 1200px;
    margin: 0 auto;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.team-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--bg-alt);
}
.team-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}
.team-card span {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.team-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50px;
    transition: background 0.3s ease;
}
.team-contact:hover {
    background: rgba(37, 211, 102, 0.2);
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-container {
        overflow: hidden;
        padding-bottom: 2rem;
    }
    .team-grid {
        display: flex;
        width: max-content;
        gap: 1.5rem;
        animation: scroll-team 12s alternate infinite ease-in-out;
    }
    .team-grid:active, .team-grid:hover {
        animation-play-state: paused;
    }
    .team-card {
        width: 75vw;
        flex: 0 0 auto;
        padding: 1.5rem;
    }
}

@keyframes scroll-team {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% + 80vw)); }
}
