/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1a3a5e;
    --dark-gray: #222222;
    --white: #ffffff;
    --accent-blue: #4a90e2;
    --accent-teal: #00d4aa;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 20px rgba(26, 58, 94, 0.15);
    --shadow-hover: 0 8px 30px rgba(26, 58, 94, 0.25);
    
    /* Novas variáveis para design moderno */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --blur-bg: blur(10px);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia Moderna */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    font-family: 'Oswald', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

/* Botões CTA Modernos */
.cta-button {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    text-decoration: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--blur-bg);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(79, 172, 254, 0.4);
    background: var(--gradient-secondary);
}

/* Estados de Loading */
.cta-button.loading {
    pointer-events: none;
    background: var(--gradient-secondary);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cta-button.clicked {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* Seção 1: Herói Moderno */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) scale(1.05); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 94, 0.78) 0%, rgba(118, 75, 162, 0.52) 100%);
    z-index: 2;
}

/* Elementos visuais relacionados ao autismo */
.autism-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.autism-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

.autism-element.brain-icon {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.autism-element.puzzle-piece {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.autism-element.heart-icon {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.autism-element.star-icon {
    top: 40%;
    right: 25%;
    animation-delay: 3s;
}

.autism-element.infinity-symbol {
    bottom: 30%;
    left: 15%;
    animation-delay: 1.5s;
}

.autism-element.rainbow {
    bottom: 20%;
    right: 10%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-15px) rotate(5deg); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-text {
    color: var(--white);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    font-size: 1.3rem;
    padding: 25px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-cta:hover {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(240, 147, 251, 0.4);
}

/* Seção 2: Problema e Promessa */
.problem-promise {
    padding: 5rem 0;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.problem-promise::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.content-wrapper {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}

.autism-awareness-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    text-align: center;
    width: 100%;
}

.awareness-text {
    color: var(--white);
}

.problem-statement {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-icon {
    font-size: 3rem;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.autism-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.fact-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.fact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fact-text {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.problem-promise .section-title,
.problem-promise .section-text {
    color: var(--white);
}

/* Seção 3: Escolha do Evento */
.event-choice {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.event-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.event-card:hover::before {
    transform: scaleX(1);
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.5);
}

.event-card.professional {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.event-card.general {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
}

.autism-theme-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.event-card.general .autism-theme-badge {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.theme-text {
    color: var(--white);
}

.event-highlights {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.highlight-item {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.highlight-item:hover {
    opacity: 1;
    transform: scale(1.2);
}

.event-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.event-date {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.event-audience {
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

.event-benefits {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.event-benefits li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
}

.event-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

.event-cta {
    width: 100%;
    margin-top: 1rem;
}

/* Seção 4: Autoridade */
.authority {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.authority-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}

.authority-image {
    flex: 0 0 300px;
    position: relative;
}

.authority-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.authority-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.authority-badges {
    position: absolute;
    top: -10px;
    right: -10px;
    display: flex;
    gap: 0.5rem;
}

.authority-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.authority-badge:nth-child(2) {
    animation-delay: 0.5s;
}

.authority-badge:nth-child(3) {
    animation-delay: 1s;
}

.expertise-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.expertise-text {
    color: var(--white);
}

.authority-credentials {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(79, 172, 254, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    border: 1px solid rgba(79, 172, 254, 0.2);
    transition: var(--transition-smooth);
}

.credential-item:hover {
    transform: translateY(-3px);
    background: rgba(79, 172, 254, 0.2);
}

.credential-icon {
    font-size: 1.2rem;
}

.credential-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.authority-text {
    color: var(--white);
}

.authority-text .section-title {
    color: var(--white);
    text-align: left;
}

.authority-text .section-text {
    color: rgba(255, 255, 255, 0.9);
}

.authority-link {
    display: inline-block;
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition-smooth);
    position: relative;
}

.authority-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.authority-link:hover::after {
    transform: translateX(5px);
}

.authority-link:hover {
    color: var(--white);
}

/* Seção 5: Propósito */
.purpose {
    padding: 100px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
}

.purpose-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}

.purpose-logo {
    flex: 0 0 200px;
    position: relative;
}

.purpose-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    filter: brightness(1.1) contrast(1.1);
}

.purpose-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.impact-badges {
    position: absolute;
    top: -10px;
    right: -10px;
    display: flex;
    gap: 0.5rem;
}

.impact-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.impact-badge:nth-child(2) {
    animation-delay: 0.7s;
}

.impact-badge:nth-child(3) {
    animation-delay: 1.4s;
}

.impact-badge-header {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.impact-text {
    color: var(--white);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(240, 147, 251, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(240, 147, 251, 0.2);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(240, 147, 251, 0.2);
}

.stat-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Seção 6: Informações */
.info {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-item {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-item:hover::before {
    transform: scaleX(1);
}

.info-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.3);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.3);
}

.info-item h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.map-container {
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

/* Seção 7: CTA Final */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.final-cta .container {
    position: relative;
    z-index: 2;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
}

.final-cta .section-title {
    color: var(--white);
    font-size: 3.5rem;
}

.final-cta .section-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
}

.final-cta-button {
    font-size: 1.3rem;
    padding: 25px 60px;
    margin-top: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Footer Moderno */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 60px 0 40px;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    font-size: 1.2rem;
}

.contact-info a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.qr-code {
    text-align: center;
}

.qr-image {
    max-width: 120px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.qr-image:hover {
    transform: scale(1.1);
}

.organizers {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

.organizer {
    text-align: center;
}

.organizer h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.organizer-logo {
    max-width: 120px;
    height: auto;
    border-radius: 10px;
    transition: var(--transition-smooth);
    filter: brightness(1.1);
}

.organizer-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.3);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.event-card,
.authority-content,
.purpose-content,
.info-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Estados de Navegação */
.keyboard-navigation .cta-button:focus,
.keyboard-navigation .event-cta:focus,
.keyboard-navigation .authority-link:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Estados de Scroll */
body.scrolling {
    pointer-events: none;
}

/* Estados de Redução de Movimento */
.reduced-motion * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Responsividade Moderna */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-card {
        padding: 2rem;
    }

    /* Corrige layout da seção de autoridade para 1 coluna em telas menores */
    .authority-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .authority-photo {
        max-width: 250px;
        margin: 0 auto;
    }

    /* Corrige layout do propósito para 1 coluna em telas menores */
    .purpose-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .organizers {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Novos elementos responsivos */
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-item {
        justify-content: center;
    }

    .autism-facts {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .authority-credentials {
        justify-content: center;
        gap: 1rem;
    }

    .impact-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-highlights {
        gap: 0.5rem;
    }

    .highlight-item {
        font-size: 1.2rem;
    }

    .autism-element {
        font-size: 1.5rem;
    }

    .autism-element.brain-icon {
        top: 15%;
        left: 5%;
    }

    .autism-element.puzzle-piece {
        top: 25%;
        right: 10%;
    }

    .autism-element.heart-icon {
        top: 55%;
        left: 15%;
    }

    .autism-element.star-icon {
        top: 35%;
        right: 20%;
    }

    .autism-element.infinity-symbol {
        bottom: 25%;
        left: 10%;
    }

    .autism-element.rainbow {
        bottom: 15%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .authority-photo {
        max-width: 200px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .content-wrapper {
        padding: 2rem 1.5rem;
    }

    .problem-statement {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .problem-icon {
        font-size: 2.5rem;
        margin-top: 0;
    }

    .authority-badges {
        top: -5px;
        right: -5px;
        gap: 0.3rem;
    }

    .authority-badge {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .impact-badges {
        top: -5px;
        right: -5px;
        gap: 0.3rem;
    }

    .impact-badge {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .autism-element {
        font-size: 1.2rem;
    }
}

/* Extra small devices (ex.: 320–360px) */
@media (max-width: 360px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 0.98rem; }
    .section-title { font-size: 2rem; }
    .container { padding: 0 12px; }
}

/* Melhorias de Acessibilidade */
html {
    scroll-behavior: smooth;
}

.cta-button:focus,
.event-cta:focus,
.authority-link:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 2px;
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
}

/* Efeitos de Performance */
.hero-image {
    will-change: transform;
}

.event-card {
    will-change: transform;
}

/* Suporte para Redução de Movimento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estilos para Impressão */
@media print {
    .hero,
    .cta-button,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Hero meta pills */
.hero-meta {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    color: #eaf4ff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
}

.meta-icon { font-size: 1rem; }

/* Brand accent */
.brand-accent { color: var(--accent-teal); }

/* Team section */
.team {
    padding: 5rem 0;
    background: #f7fafc;
}

.team-intro { text-align: center; margin: -1rem auto 2rem; max-width: 760px; }

.team-photo { display: flex; justify-content: center; margin: 1.5rem auto 2rem; }

.team-image {
    width: 100%;
    max-width: 760px;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(26, 58, 94, 0.18);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.team-card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 1.1rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(26, 58, 94, 0.08);
}

.team-initials {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--primary-blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin: 0 auto 0.6rem;
}

.team-name { font-size: 1.05rem; color: var(--primary-blue); }
.team-role { font-size: 0.9rem; color: var(--text-light); margin-top: 0.2rem; }
.team-bio  { font-size: 0.85rem; color: #7a8aa0; margin-top: 0.4rem; }

/* Sponsors */
.sponsors { padding: 4.5rem 0; background: #ffffff; }
.sponsors-intro { text-align: center; margin: -1rem auto 2rem; max-width: 800px; }

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: center;
}

.sponsor-logo {
    width: 100%;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 12px;
    padding: 10px 14px;
    filter: grayscale(100%);
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(26, 58, 94, 0.06);
}

.sponsor-logo:hover { filter: grayscale(0%); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(26, 58, 94, 0.12); }

.sponsors-note { text-align: center; margin-top: 1.5rem; color: #6b7c93; font-size: 0.95rem; }

/* Responsive for new sections */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .sponsors-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
    .team-image { border-radius: 12px; }
    .meta-item { font-size: 0.85rem; padding: 7px 12px; }
}

/* Puzzle background */
.puzzle-background {
  position: absolute;
  inset: 0;
  z-index: 2; /* above image, below overlay/content tweaks below */
  pointer-events: none;
}

/* Make overlay slightly lower so puzzle is visible */
.hero-overlay { z-index: 3; }
.autism-elements { z-index: 4; }
.hero-content { z-index: 5; }

.puzzle-background svg path {
  fill: rgba(255,255,255,0.06);
}

.puzzle-piece {
  transform-box: fill-box;
  transform-origin: center;
  animation: puzzleFloat var(--dur, 20s) ease-in-out var(--delay, 0s) infinite;
}

.puzzle-piece { opacity: 0.7; }
.puzzle-piece path { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12)); }

@keyframes puzzleFloat {
  0%   { transform: translate(calc(var(--x, 50) * 1%), calc(var(--y, 50) * 1%)) rotate(calc(var(--rot, 0) * 1deg)); }
  50%  { transform: translate(calc((var(--x, 50) + 2) * 1%), calc((var(--y, 50) + 2) * 1%)) rotate(calc((var(--rot, 0) + 5) * 1deg)); }
  100% { transform: translate(calc(var(--x, 50) * 1%), calc(var(--y, 50) * 1%)) rotate(calc(var(--rot, 0) * 1deg)); }
}

/* Ensure final-cta puzzle sits behind content but visible */
.final-cta { position: relative; overflow: hidden; }
.final-cta .puzzle-background { z-index: 1; }
.final-cta .container { position: relative; z-index: 2; }

/* Contrast fixes */
.hero .hero-title, .hero .hero-subtitle, .hero .feature-text { color: #ffffff; -webkit-text-fill-color: initial; }
.hero .section-text { color: #e8eef6; }

/* Ensure generic section text on light backgrounds uses dark color */
section:not(.hero):not(.final-cta) .section-text { color: var(--text-light); }

/* Problem/promise uses light text already; enforce */
.problem-promise .section-title, .problem-promise .section-text, .problem-promise .fact-text { color: #ffffff; }

/* Final CTA text colors */
.final-cta .section-title { color: #ffffff; -webkit-text-fill-color: initial; background: none; }
.final-cta .section-text { color: #d8e2ef; }

/* Reduce overlay a bit for better image visibility while keeping contrast */
.hero-overlay { background: linear-gradient(135deg, rgba(26, 58, 94, 0.78) 0%, rgba(118, 75, 162, 0.52) 100%); }

/* Authority text on light background ensure dark color */
.authority .section-title { background: none; color: var(--primary-blue); -webkit-text-fill-color: initial; }
.authority .section-text { color: #44566c; }

/* Sponsors/team titles on light background */
.team .section-title, .sponsors .section-title, .info .section-title { background: none; color: var(--primary-blue); -webkit-text-fill-color: initial; }

/* Button text ensures contrast */
.cta-button { color: #ffffff; }

/* Map caption texts, info items ensure contrast */
.info .info-item h3 { color: var(--primary-blue); }
.info .info-item p { color: #44566c; }

/* PIX copy UI */
.qr-code { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.pix-key { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; flex-wrap: wrap; justify-content: center; }
#pix-key-text { background: #0e2239; color: #e6f1ff; padding: 6px 10px; border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.9rem; }
.copy-btn { background: #4dd0e1; color: #0e2239; border: 0; padding: 6px 10px; border-radius: 6px; font-weight: 700; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.copy-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(77,208,225,.35); }
.copy-feedback { color: #a8ffbf; font-size: 0.85rem; min-height: 1em; }

/* Organizer logo fallback badge */
.organizer-logo[data-fallback-text].fallback-hidden { display: none; }
.logo-fallback { display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 8px; background: #f1f5f9; color: #0f172a; font-weight: 700; border: 1px solid #e2e8f0; }

/* Basic anti-tamper UX (non-security): disable context menu/selection) */
html, body { -webkit-user-select: none; -ms-user-select: none; user-select: none; }
img { -webkit-user-drag: none; }

/* ECOATEA logo in team header */
.brand-logo { display: flex; justify-content: center; margin-bottom: 1rem; }
.ecoatea-logo { width: 180px; height: auto; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(26,58,94,.12)); }
@media (max-width: 600px) { .ecoatea-logo { width: 130px; } }

/* Footer organizers alignment */
.organizers { display: flex; justify-content: center; gap: 2rem; align-items: center; flex-wrap: wrap; }
.organizer { text-align: center; }
.organizer-logo { max-height: 72px; width: auto; object-fit: contain; display: inline-block; }
.logo-fallback { min-width: 120px; }

/* PIX instructions styling */
.pix-instructions {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2c3e50;
}

.pix-instructions .whatsapp-link {
    color: #25d366;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pix-instructions .whatsapp-link:hover {
    color: #128c7e;
    text-decoration: underline;
}

/* Hero alert and lote note */
.hero-alert { display: inline-block; margin-bottom: 0.75rem; padding: 6px 14px; border-radius: 999px; background: #ff6b6b; color: #fff; font-weight: 800; letter-spacing: .5px; box-shadow: 0 8px 20px rgba(255,107,107,.35); animation: pulse 2.2s ease-in-out infinite; }
.hero-lote-note { margin-top: 0.75rem; color: #eaf4ff; font-size: .95rem; opacity: .9; }

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-menu.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.menu-option {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    min-width: 180px;
}

.menu-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.menu-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.menu-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

/* Modal de opções de compra */
.buy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.buy-modal.show {
    display: flex;
}

.buy-modal-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.buy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.buy-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.buy-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.buy-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.buy-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buy-option {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.buy-option:hover {
    border-color: #25d366;
    background: #f8fffe;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.1);
}

.buy-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.buy-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    margin: 0;
}

.buy-desc {
    font-size: 14px;
    color: #666;
    margin: 4px 0 0 0;
}

/* Responsividade para mobile */
@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
    }
    
    .menu-option {
        min-width: 160px;
        padding: 10px 14px;
    }
    
    .menu-text {
        font-size: 13px;
    }
    
    .buy-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .buy-option {
        padding: 14px;
        gap: 12px;
    }
    
    .buy-text {
        font-size: 15px;
    }
    
    .buy-desc {
        font-size: 13px;
    }
}

/* Espaçamento entre as chamadas do hero (alerta e badge) */
.hero-alert + .hero-badge {
  margin-left: 0.75rem; /* cria respiro entre as pílulas */
}

@media (max-width: 600px) {
  .hero-alert + .hero-badge {
    margin-left: 0;       /* sem deslocamento lateral no mobile */
    margin-top: 0.5rem;   /* respiro vertical quando quebrar linha */
    display: inline-block;
  }
}
