﻿/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIÁVEIS OFICIAIS DO ANIMANECO */
:root {
    /* Cores principais baseadas na identidade visual aprovada */
    --color-cyan-sky: #00B8D9; /* Fundo do céu brilhante */
    --color-cyan-light: #E0F7FA; /* Fundo minimalista (oficinas/locais) */
    --color-orange: #FF6B00; /* Fita orgânica / Botões de destaque */
    --color-dark-blue: #0A192F; /* Cartões escuros / Footer / Títulos */
    --color-yellow: #FFC107; /* Fita alternativa agenda */
    --color-green: #4CAF50; /* Fita alternativa agenda */
    --color-white: #FFFFFF;
    
    /* Fontes */
    --font-heading: 'Playfair Display', serif; /* Títulos majestosos/poéticos */
    --font-body: 'Montserrat', sans-serif; /* Textos de leitura limpa */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cyan-sky);
    color: var(--color-dark-blue);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   HEADER / MENU SUPERIOR
   ========================================= */
.site-header {
    background-color: var(--color-dark-blue); /* Alterado de transparente para azul escuro */
    padding: 20px 0;
    position: fixed; /* Tornou-se pegajoso (acompanha o scroll) */
    width: 100%;
    top: 0;
    z-index: 999; /* Z-index altíssimo para ficar na frente do parallax e de tudo */
    transition: background-color 0.3s ease; /* Prepara para efeitos futuros ao rolar */
}

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

.header-logo {
    height: 60px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--color-orange);
}

/* =========================================
   PAGE CONTENT (Espaço para a Home)
   ========================================= */
.page-content {
    min-height: 80vh;
    /* Padding removido para que o Hero encoste 100% no topo e fique atrás do header */
}

/* Espaçamento para páginas internas que não têm um Banner Gigante */
.interna .page-content:not(.home-page):not(.detalhes-page) {
    padding-top: 100px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    padding: 60px 0 20px 0;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-orange);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a:hover {
    color: var(--color-cyan-sky);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}


/* =========================================
   HOME PAGE - ETAPA 3 COMPONENTES
   ========================================= */

/* Hero Section */
.home-hero {
    height: 90vh;
    background-color: var(--color-cyan-sky);
    /* Um fundo leve para simular o céu */
    background-image: linear-gradient(180deg, rgba(0,184,217,1) 0%, rgba(224,247,250,1) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    z-index: 10;
    margin-top: -10vh; /* Ajuste visual para compensar o header absoluto */
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* Orange Ribbon / Sponsors */
.orange-ribbon-sponsors {
    background: url('fita-laranja-a1.png') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    position: relative;
    z-index: 20;
    margin-top: -80px; /* Para subir e sobrepor levemente a arte do hero */
    text-align: center;
}

.sponsor-ribbon-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.sponsor-placeholder {
    color: var(--color-white);
    font-weight: 600;
    opacity: 0.8;
    text-transform: uppercase;
    border: 1px dashed rgba(255,255,255,0.5);
    padding: 10px 20px;
    border-radius: 4px;
}

/* Split Text Section */
.split-text-section {
    display: flex;
    gap: 40px;
    padding: 80px 20px;
    align-items: center;
    background-color: var(--color-white); /* Fundo branco conforme pedido */
}

.split-left {
    flex: 1;
}

.split-right {
    flex: 1;
}

.split-right p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}

/* Stats Section (Cards Escuros Vazados) */
.stats-section {
    padding: 0 20px 80px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background-color: #ddd; /* Fundo temporário até entrar a foto */
    border-radius: 16px;
    height: 350px;
    position: relative;
    overflow: hidden;
    /* Sombra suave e flutuante */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--color-dark-blue);
    padding: 25px 20px;
    color: var(--color-white);
    /* Borda superior reta, bordas inferiores arredondadas */
    border-radius: 0 0 16px 16px;
}

.stat-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.stat-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* Sponsor Logos Real */
.sponsor-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1); /* Deixa as logos brancas para destacar na fita laranja */
    opacity: 0.9;
    transition: opacity 0.3s;
}

.sponsor-logo img:hover {
    opacity: 1;
}


/* Stat Card Real Background */
.stat-card {
    background-image: url('stat-photo.jpg');
    background-size: cover;
    background-position: center;
}


/* =========================================
   AGENDA PAGE - TICKET 03
   ========================================= */

/* Header Interno */
.interna-header {
    background-color: var(--color-cyan-sky); /* Fundo sólido em vez de transparente */
    position: relative;
    padding-bottom: 30px;
}

.main-nav a.active {
    color: var(--color-dark-blue);
    border-bottom: 2px solid var(--color-dark-blue);
}

.agenda-hero {
    background-color: var(--color-cyan-sky);
    color: var(--color-white);
    padding: 20px 0 40px 0;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Filtros */
.agenda-toolbar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.filters-group {
    display: flex;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    overflow: hidden;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.1);
}

.tab-btn.active {
    background: var(--color-white);
    color: var(--color-cyan-sky);
}

.view-toggle {
    display: flex;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    overflow: hidden;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    padding: 10px 20px;
    cursor: pointer;
}
.toggle-btn.active {
    background: var(--color-dark-blue);
    color: var(--color-white);
}

/* Faixas Dinâmicas (Ribbons) */
.agenda-list {
    display: flex;
    flex-direction: column;
    padding: 20px 0 0 0;
    margin-bottom: -120px; /* Puxa a galeria para CIMA, fazendo ela entrar debaixo da última faixa */
    position: relative;
    z-index: 5; /* Garante que as faixas fiquem por cima do fundo da galeria */
}

.agenda-ribbon {
    width: 110%;
    margin-left: -5%;
    padding: 0;
    color: var(--color-white);
    position: relative;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.25);
    margin-top: -10px;
    transition: transform 0.3s;
    height: 180px; 
    /* REMOVIDO o overflow: hidden da raiz para permitir que o PNG vaze para fora! */
}

.agenda-ribbon:first-child {
    margin-top: 0;
    box-shadow: none;
}

/* Inclinações Alternadas */
.agenda-link-wrapper:nth-child(odd) .agenda-ribbon { transform: rotate(-1.5deg); }
.agenda-link-wrapper:nth-child(even) .agenda-ribbon { transform: rotate(1.5deg); }

/* 1. CAMADA DE FUNDO (Cores, textura e a foto original em JPG) */
.ribbon-layer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Corta a imagem JPG para ficar presa dentro da faixa */
    background-image: url('texture.png');
    background-blend-mode: multiply;
    background-size: cover;
    z-index: 1; /* Camada mais profunda */
}

/* Cores Automáticas controladas pelo nth-child do pai */
.agenda-link-wrapper:nth-child(4n+1) .ribbon-layer-bg { background-color: #cf5200; background-position: 0% 0%; }
.agenda-link-wrapper:nth-child(4n+2) .ribbon-layer-bg { background-color: #dbb004; color: #000341; background-position: 30% 20%; }
.agenda-link-wrapper:nth-child(4n+3) .ribbon-layer-bg { background-color: #000341; background-position: 60% 40%; }
.agenda-link-wrapper:nth-child(4n+4) .ribbon-layer-bg { background-color: #005800; background-position: 90% 70%; }
.agenda-link-wrapper:nth-child(4n+1) .ribbon-layer-text { color: white; }
.agenda-link-wrapper:nth-child(4n+2) .ribbon-layer-text { color: #000341; }
.agenda-link-wrapper:nth-child(4n+3) .ribbon-layer-text { color: white; }
.agenda-link-wrapper:nth-child(4n+4) .ribbon-layer-text { color: white; }

/* Configurao Universal das Imagens */
.ribbon-bg-img, .ribbon-cutout { position: absolute; bottom: 0; height: 135%; width: auto; object-fit: contain; }
.ribbon-bg-img.left-img, .ribbon-cutout.left-cutout { left: 5%; }
.ribbon-bg-img.right-img, .ribbon-cutout.right-cutout { right: 5%; }
.ribbon-cutout { z-index: 2; }
.ribbon-bg-img { z-index: 1; }
.ribbon-bg-img.left-img { mask-image: linear-gradient(to left, black 60%, transparent 100%); -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%); }
.ribbon-bg-img.right-img { mask-image: linear-gradient(to right, black 60%, transparent 100%); -webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%); }
/* 3. CAMADA DE TEXTO (A guilhotina matemática) */
.ribbon-layer-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* CORTA o texto "17H" exatamente em 180px, mas não corta o PNG! */
    z-index: 3; /* O texto sempre fica por cima do PNG e da foto! */
}

.ribbon-time {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 225px; /* Tamanho exato para preencher 180px de altura visualmente */
    line-height: 180px; /* Igual a altura da caixa. O texto transborda para cima e para baixo perfeitamente */
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
}

.ribbon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ribbon-left .ribbon-time {
    margin-left: -5%; /* Puxa levemente para cima da imagem */
    margin-right: 40px;
}

.ribbon-left .ribbon-info {
    text-align: left;
}

.ribbon-right .ribbon-time {
    margin-right: -5%; /* Puxa levemente para cima da imagem */
    margin-left: 40px;
}

.ribbon-right .ribbon-info {
    text-align: right;
}

.ribbon-info h2 {
    font-size: 2rem;
    line-height: 0.9; /* Diminui muito o espaçamento entre linhas se o texto quebrar */
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ribbon-info p {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 0; /* Remove margem inferior desnecessária */
    line-height: 1.1;
}

.btn-outline {
    display: inline-block;
    border: 2px solid currentColor;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: currentColor;
    color: var(--color-cyan-sky); /* Um hack visual simples para inversão */
}


/* =========================================
   DETALHES DO ESPETÁCULO - TICKET 04
   ========================================= */

.detalhes-page {
    padding-top: 0; /* Remove o padding do menu para a foto encostar no topo */
}

.detalhe-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.detalhe-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Degradê para proteger o menu em cima e o título embaixo */
    background: linear-gradient(to bottom, rgba(10,25,47,0.7) 0%, rgba(0,0,0,0) 40%, rgba(10,25,47,0.9) 100%);
    z-index: 1;
}

.hero-content-bottom {
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
    color: var(--color-white);
}

.tags {
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 10px;
}

.tag.classificacao { background-color: var(--color-green); color: white; }
.tag.categoria { background-color: var(--color-orange); color: white; }

.peca-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 10px;
}

.peca-cia {
    font-size: 1.2rem;
    opacity: 0.9;
}

.detalhe-corpo {
    padding: 60px 20px;
}

.detalhe-grid {
    display: flex;
    gap: 60px;
}

.coluna-texto {
    flex: 2;
}

.coluna-texto h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 20px;
}

.coluna-texto p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}

.ficha-title {
    margin-top: 40px;
    font-size: 1.5rem;
    color: var(--color-dark-blue);
    margin-bottom: 15px;
}

.ficha-tecnica {
    list-style: none;
    background-color: var(--color-cyan-light);
    padding: 20px;
    border-radius: 8px;
}

.ficha-tecnica li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.coluna-servico {
    flex: 1;
}

.servico-box {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.servico-box h3 {
    color: var(--color-orange);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.servico-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.servico-item small {
    opacity: 0.7;
    font-size: 0.9rem;
}

.btn-full-orange {
    display: block;
    background-color: var(--color-orange);
    color: var(--color-white);
    text-align: center;
    padding: 15px;
    font-weight: 700;
    border-radius: 8px;
    margin-top: 30px;
    transition: background 0.3s;
}

.btn-full-orange:hover {
    background-color: #e65c00;
}


/* =========================================
   MOSTRA LAMBE-LAMBE - TICKET 05
   ========================================= */

.lambe-page {
    background-color: var(--color-cyan-light); /* Fundo claro a pedido do usuário */
    min-height: 100vh;
}

.lambe-hero {
    position: relative;
    padding: 60px 20px 80px;
    background-color: var(--color-dark-blue); /* Banner escuro temporário para contraste */
    color: var(--color-white);
    margin-bottom: 60px;
}

.lambe-hero .text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lambe-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.lambe-subtitle {
    font-size: 1.5rem;
    color: var(--color-orange);
    margin-bottom: 20px;
    font-weight: 600;
}

.lambe-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.lambe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    padding-bottom: 80px;
}

.lambe-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-dark-blue);
    border-radius: 16px 16px 0 0; /* Cantos arredondados no topo, reto embaixo */
    overflow: hidden;
    text-decoration: none;
    color: var(--color-white);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.lambe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.lambe-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.lambe-card-body {
    padding: 25px 20px;
    text-align: center;
}

.lambe-card-body h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--color-white);
    text-transform: uppercase;
}

.lambe-card-body p {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    color: var(--color-white);
}


/* =========================================
   OFICINAS E SEMINÁRIO - TICKET 06
   ========================================= */

.oficinas-page {
    background-color: var(--color-cyan-light);
    min-height: 100vh;
}

.oficinas-hero {
    padding: 60px 20px 40px;
}

.oficinas-hero .top-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.oficinas-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark-blue);
    margin-bottom: 10px;
}

.oficinas-subtitle {
    font-size: 1.2rem;
    color: #555;
}

.oficinas-lista {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 80px;
    max-width: 900px;
}

/* Card Horizontal */
.card-horizontal {
    display: flex;
    background-color: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-hz-img {
    width: 250px;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.mestre-nome {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(10,25,47,0.8);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.card-hz-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-hz-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark-blue);
    margin-bottom: 5px;
}

.mestre-sub {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.dados-aula {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.card-hz-action {
    display: flex;
    align-items: center;
    padding: 30px;
}

.btn-solid-orange {
    background-color: var(--color-orange);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-solid-orange:hover {
    background-color: #e65c00;
}


/* =========================================
   LOCAIS - TICKET 07
   ========================================= */
.locais-page { background-color: var(--color-cyan-light); min-height: 100vh; padding-top: 60px; }

.cidades-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.cidades-tabs .tab-btn {
    border: 2px solid var(--color-dark-blue);
    color: var(--color-dark-blue);
    border-radius: 30px;
}

.cidades-tabs .tab-btn.active, .cidades-tabs .tab-btn:hover {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.teatros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    padding-bottom: 80px;
}

.teatro-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.teatro-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.teatro-info {
    padding: 25px;
}

.teatro-info h3 { color: var(--color-dark-blue); font-size: 1.5rem; margin-bottom: 10px; }
.teatro-info .endereco { color: #666; font-size: 0.95rem; margin-bottom: 15px; min-height: 40px;}

.acessibilidade-icons {
    margin-bottom: 20px;
}
.icone-acesso {
    background-color: var(--color-cyan-sky);
    color: white;
    display: inline-block;
    width: 30px; height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    margin-right: 5px;
}

.btn-full { display: block; text-align: center; width: 100%; text-decoration: none; }

/* =========================================
   SOBRE & CONTATO - TICKET 08
   ========================================= */
.historia-section {
    display: flex;
    gap: 60px;
    padding: 80px 20px;
    align-items: center;
}

.historia-texto { flex: 1; }
.historia-texto p { font-size: 1.1rem; color: #444; margin-bottom: 20px; line-height: 1.8; }

.historia-video {
    flex: 1;
}

.video-placeholder {
    background-color: #ddd;
    height: 350px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.fotos-banner {
    background-color: var(--color-orange);
    color: white;
    padding: 60px 20px;
    margin-bottom: -60px; /* Gruda no footer */
}

.fotos-banner h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 15px; }
.btn-outline-white { display: inline-block; border: 2px solid white; padding: 12px 30px; border-radius: 30px; margin-top: 20px; font-weight: bold; }
.btn-outline-white:hover { background-color: white; color: var(--color-orange); }

/* CONTATO SPLIT */
.contato-split {
    display: flex;
    gap: 60px;
    padding: 80px 0;
}

.contato-info { flex: 1; }
.faq-title { color: var(--color-orange); margin-bottom: 20px; font-size: 1.5rem; }
.faq-item { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.faq-item summary { font-weight: 600; color: var(--color-dark-blue); cursor: pointer; margin-bottom: 10px; }

.redes-sociais-box { margin-top: 40px; background: var(--color-cyan-light); padding: 20px; border-radius: 8px; }

.contato-form-box { flex: 1; background: white; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; color: var(--color-dark-blue); margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-family: inherit; }


/* =========================================
   HOME PAGE - POLIMENTO MAICON REFERENCE
   ========================================= */

.home-page {
    background-color: var(--color-white);
}

.home-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: var(--color-cyan-sky);
}

.parallax-layer {
    position: absolute;
    top: -5%; left: -5%;
    width: 110%; height: 110%; /* Sobra borda para poder mexer sem revelar fundo */
    background-size: cover;
    background-position: center bottom;
    transition: transform 0.1s ease-out; /* Suaviza o movimento do mouse */
}

.bg-layer {
    background-image: url('fundo-sem-sombras.png');
    z-index: 1;
}

.fg-layer {
    background-image: url('neco-bonecos-2.png');
    background-size: cover; /* Alterado de contain para cover para preencher a tela */
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 2;
}

/* Remover badges flutuantes a pedido do usuário */

.sponsors-grid { display: flex; justify-content: space-between; align-items: center; }
.sponsor-group { display: flex; flex-direction: column; gap: 10px; }
.sponsor-label { font-size: 0.8rem; font-weight: 700; color: white; text-transform: uppercase; }
.sponsor-logos-row { display: flex; gap: 15px; align-items: center; }
.sponsor-logos-row img { height: 40px; filter: brightness(0) invert(1); }
.sponsor-logo-img { height: 60px; }
.justify-center { justify-content: center; }

.split-text-section { background-color: white; }
.split-left h2 { 
    font-family: 'Proxima Soft', 'Barlow Condensed', sans-serif; 
    font-weight: 800;
    font-stretch: extra-condensed;
    font-size: 5rem; 
    color: var(--color-dark-blue); 
    text-transform: uppercase; 
    line-height: 0.9; 
    letter-spacing: -1px;
}
.split-right h3 { 
    font-family: 'Proxima Soft', 'Barlow Condensed', sans-serif; 
    font-weight: 800;
    font-stretch: extra-condensed;
    font-size: 2.5rem; 
    color: var(--color-dark-blue); 
    margin-bottom: 20px; 
    text-transform: uppercase; 
}
.split-right p {
    font-family: 'Proxima Soft', 'Barlow Condensed', sans-serif; 
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

/* Carousel de Cards (Seção 4) */
.home-carousel-section {
    background-color: var(--color-white); /* Fundo da seção em branco para conectar com a seção de cima */
    padding: 20px 0 60px 0;
    overflow: hidden; /* Esconder a barra de rolagem geral se vazar */
}

.carousel-track-container {
    width: 1020px; /* 960px (3 cards + 2 gaps) + 30px left padding + 30px right padding */
    max-width: 100vw;
    padding: 40px 30px; /* Espaço vital para as sombras não serem cortadas */
    margin: -20px auto 0; /* Compensa o padding visualmente */
    overflow-x: hidden; /* Corta o 4º card, mas como o gap é 30px, o 4º card não aparece no padding! */
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}
.carousel-track-container::-webkit-scrollbar { display: none; /* Chrome */ }

.home-cards-track {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    width: max-content;
}

.home-card { 
    display: block; /* Para a tag a se comportar como bloco */
    background: var(--color-dark-blue); 
    border-radius: 40px;
    overflow: hidden; 
    color: white; 
    width: 300px;
    flex-shrink: 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.25);
    cursor: pointer;
}

.home-card-img { 
    height: 250px; 
    background-size: cover; 
    background-position: center; 
    /* A imagem de cima precisa acompanhar a borda arredondada superior */
    border-radius: 40px 40px 0 0; 
}

.home-card-body { 
    padding: 30px 20px; 
    text-align: center;
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-number {
    font-family: 'Proxima Soft', 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 5rem;
    line-height: 0.8;
}

.card-title-row h3 { 
    font-family: 'Proxima Soft', 'Barlow Condensed', sans-serif; 
    font-stretch: extra-condensed;
    font-weight: 800;
    font-size: 1.8rem; 
    text-align: left;
    line-height: 1;
    text-transform: uppercase;
}

.home-card-body p { 
    font-family: var(--font-body);
    font-size: 0.9rem; 
    font-weight: 700;
    text-transform: uppercase;
}

.carousel-controls {
    max-width: 960px;
    margin: 20px auto 0;
    text-align: left; /* Botões na esquerda como na imagem */
}
.btn-carousel {
    background-color: transparent;
    border: 2px solid var(--color-dark-blue);
    color: var(--color-dark-blue);
    border-radius: 50%;
    width: 40px; /* Reduzi um pouco para ficar mais elegante */
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-right: 15px; /* Margem apenas na direita */
    transition: all 0.3s;
}
.btn-carousel:hover {
    background-color: var(--color-dark-blue);
    color: white;
}

/* Agenda Preview */
.home-agenda { padding-top: 60px; background: linear-gradient(180deg, #fff 0%, #E0F7FA 100%); }

.agenda-title-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    color: var(--color-dark-blue);
}

.col-text {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 900; /* Extra bold */
    line-height: 0.85;
    text-align: right;
    text-transform: uppercase;
}

.col-number {
    font-family: 'Dela Gothic One', cursive;
    font-size: 9rem;
    line-height: 0.75;
}

.col-month {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
}

/* Polaroids Gallery */
.home-gallery { 
    background-color: #1a1a24; /* Fallback */
    background-image: url('fundo-azul-textura.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 220px 0 100px 0; /* Aumentado no topo para compensar a margem negativa da agenda */
    color: white; 
    overflow: hidden; 
}
.home-gallery h2 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 60px; text-align: center; text-transform: uppercase; }

.polaroid-carousel-container {
    width: 1000px; /* Mostra 4 cards (250px) com sobreposição suave. */
    max-width: 100vw;
    margin: 0 auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 60px 20px; /* Respiro vertical e horizontal para não cortar sombras/rotações */
    margin-top: -60px;
}
.polaroid-carousel-container::-webkit-scrollbar { display: none; }

.polaroids-track {
    display: flex;
    gap: 0px; 
    width: max-content;
    padding-left: 20px;
}

.polaroid { 
    background: white; 
    padding: 15px 15px 30px 15px; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.4); 
    transform-origin: center; 
    transition: transform 0.3s, z-index 0.3s, box-shadow 0.3s; 
    z-index: 1; 
    margin: 0 -15px; /* Sobreposição sutil para as fotos ficarem umas por cima das outras */
    flex-shrink: 0;
    width: 250px; 
}

.polaroid img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    filter: grayscale(100%); /* Fotos P&B */
}

.polaroid-caption {
    color: var(--color-dark-blue);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 15px;
    line-height: 1.2;
}

.polaroid-caption .em-breve {
    color: var(--color-orange);
    font-size: 0.95rem;
}

.tilt-left { transform: rotate(-5deg); }
.tilt-right { transform: rotate(5deg); }

.polaroid:hover { transform: scale(1.1) rotate(0deg) translateY(-20px) !important; z-index: 10; box-shadow: 0 30px 50px rgba(0,0,0,0.6); cursor: pointer; }

/* Footer Sponsors */
.footer-sponsors { 
    background-color: #1a1a24;
    background-image: url('fundo-azul-textura.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 40px 0 80px 0; 
}

/* Classificacao Indicativa (Images) */
.tags-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.classificacao-icon { height: 28px; width: auto; }
.tags-row small { font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; }
.ribbon-right .tags-row { justify-content: flex-end; }

.agenda-link-wrapper:nth-child(odd) .agenda-ribbon { transform: rotate(-1.5deg); }
.agenda-link-wrapper:nth-child(even) .agenda-ribbon { transform: rotate(1.5deg); }

.ribbon-content { display: flex; align-items: center; justify-content: space-between; padding: 0 10%; height: 100%; position: relative; z-index: 2; }

/* Gradiente Global da Home */
.home-page { background: linear-gradient(180deg, #ffffff 0%, #ffffff 30vh, #e5f9fc 70vh, #d1f4fb 100%); }
.split-text-section, .home-carousel-section, .home-agenda { background: transparent !important; background-color: transparent !important; }

/* Override Gradient */
.home-page { background: #ffffff; }
.split-text-section { background: #ffffff !important; }
.home-carousel-section { background: linear-gradient(180deg, #ffffff 0%, #eefbfd 100%) !important; }
.home-agenda { background: linear-gradient(180deg, #eefbfd 0%, #d8f5fb 100%) !important; }

.home-page { overflow-x: hidden; } /* Previne scroll horizontal das faixas */

.home-gallery { position: relative; z-index: 1; }

/* Grades de Patrocinadores (Logos) */
.sponsor-container { display: flex; flex-direction: column; gap: 60px; }
.sponsor-category { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sponsor-label { font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; color: white; margin-bottom: 10px; border-bottom: 2px solid var(--color-cyan-sky); padding-bottom: 5px; }
.sponsor-logos-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; width: 100%; max-width: 1000px; margin: 0 auto; }
.sponsor-logos-grid img { max-width: 16%; object-fit: contain; filter: brightness(0) invert(1); transition: opacity 0.3s; }
.sponsor-logos-grid img:hover { opacity: 0.7; }
.sponsor-logos-grid.one-col img { max-width: 25%; } /* Coordena��o maior */



/* CORREÇÃO DO ESPAÇAMENTO E ALINHAMENTO DAS LOGOS */
.sponsor-logos-grid { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-items: center !important; gap: 40px !important; width: 100% !important; max-width: 1000px !important; margin: 0 auto !important; }
.sponsor-logos-grid img { flex: 0 0 calc(20% - 32px) !important; max-width: none !important; max-height: 70px !important; object-fit: contain !important; filter: brightness(0) invert(1) !important; transition: opacity 0.3s !important; }
.sponsor-logos-grid.one-col img { flex: 0 0 200px !important; max-height: 110px !important; }

/* Hero Floating Badges */
.hero-float-badge { position: absolute; top: 15%; z-index: 5; max-width: 280px; animation: floatBadge 6s ease-in-out infinite; }
.hero-float-badge.badge-left { left: 8%; transform: rotate(-5deg); }
.hero-float-badge.badge-right { right: 8%; top: 20%; transform: rotate(5deg); animation-delay: -3s; }
@keyframes floatBadge { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(3deg); } 100% { transform: translateY(0px) rotate(0deg); } }
.hero-float-badge.badge-left { animation: floatBadgeLeft 6s ease-in-out infinite; }
.hero-float-badge.badge-right { animation: floatBadgeRight 6s ease-in-out infinite; animation-delay: -3s; }
@keyframes floatBadgeLeft { 0% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-15px) rotate(-2deg); } 100% { transform: translateY(0) rotate(-5deg); } }
@keyframes floatBadgeRight { 0% { transform: translateY(0) rotate(5deg); } 50% { transform: translateY(-15px) rotate(8deg); } 100% { transform: translateY(0) rotate(5deg); } }

@media (max-width: 900px) { .hero-float-badge { max-width: 200px; } .hero-float-badge.badge-left { top: 5%; left: 5%; } .hero-float-badge.badge-right { top: 12%; right: 5%; } }
@media (max-width: 600px) { .hero-float-badge { max-width: 130px; } }

/* RE-ANCORAMENTO DAS IMAGENS DA AGENDA PELO TEXTO */
.ribbon-image-anchor { position: absolute; height: 100%; top: 0; left: 0; right: 0; margin: 0 auto; max-width: 1200px; padding: 0; }
.ribbon-bg-img.right-img, .ribbon-cutout.right-cutout { left: 87% !important; right: auto !important; }
.ribbon-bg-img.left-img, .ribbon-cutout.left-cutout { right: 87% !important; left: auto !important; }

.ribbon-image-anchor { z-index: 2; pointer-events: none; }
.ribbon-layer-text { z-index: 5 !important; }




/* AJUSTE DE COLISÃO COM O TEXTO */
.ribbon-bg-img, .ribbon-cutout { height: 135% !important; width: 45vw !important; object-fit: cover !important; }
.ribbon-bg-img.right-img, .ribbon-cutout.right-cutout { left: 82% !important; right: auto !important; object-position: left bottom !important; }
.ribbon-bg-img.left-img, .ribbon-cutout.left-cutout { right: 82% !important; left: auto !important; object-position: right bottom !important; }

/* LÓGICA UNIVERSAL DE ALINHAMENTO COM O TEXTO */
.ribbon-image-anchor { position: absolute; height: 100%; top: 0; left: 0; right: 0; margin: 0 auto; max-width: 1200px; padding: 0; z-index: 2; pointer-events: none; }
.ribbon-bg-img, .ribbon-cutout { position: absolute; bottom: 0; height: 135% !important; width: auto !important; object-fit: contain !important; }
.ribbon-bg-img.right-img, .ribbon-cutout.right-cutout { left: 90% !important; right: auto !important; transform: translateX(-25%) !important; }
.ribbon-bg-img.left-img, .ribbon-cutout.left-cutout { right: 90% !important; left: auto !important; transform: translateX(25%) !important; }

/* LINK WRAPPER E FEEDBACK VISUAL */
.agenda-link-wrapper { display: block; text-decoration: none; color: inherit; cursor: pointer; transition: transform 0.3s ease; }
.agenda-link-wrapper:hover { transform: scale(1.015); z-index: 10; position: relative; }
/* DESTACANDO A TEXTURA DA FITA */
.ribbon-layer-bg { background-blend-mode: overlay !important; opacity: 0.95; }

.ribbon-layer-bg { filter: contrast(1.1) brightness(1.1) !important; }

/* CORREÇÃO DO FUNDO AZUL (RESOLUÇÃO E CONTINUIDADE) */
.dark-texture-wrapper { background-color: #1a1a24; background-image: url('fundo-azul-textura.png'); background-position: top center; background-size: 100vw auto; background-repeat: repeat; }
.home-gallery { background: transparent !important; }
.footer-sponsors { background: transparent !important; }


