:root {
    --primary-color: #0F3460;
    --secondary-color: #1A6BB3;
    --text-color: #1A1A1A;
    --light-color: #F5F5F5;
    --accent-color: #3282B8;
    --bg-light: #E8EFF6;
    --whatsapp-color: #25D366;
    --live-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 10px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 5px 0;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

/* TV Menu Item */
.tv-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    position: relative;
}

.tv-icon svg {
    width: 16px;
    height: 16px;
    fill: currentcolor;
}

.live-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: var(--live-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(231 76 60 / 70%);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgb(231 76 60 / 0%);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(231 76 60 / 0%);
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-top: 80px;
    /* Ajuste para a altura do header */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide--anjo {
    background-image: url('../images/um-anjo-muito-malandro.jpg');
}

.slide--coral {
    background-image: url('../images/coral-colorido.jpg');
}

.slide--musica {
    background-image: url('../images/musica.jpg');
}

.slide--capoeira {
    background-image: url('../images/capoeira_historica_1971_foto1_ss.webp');
}

.slide--fenix {
    background-image: url('../images/grupo-fenix.jpg');
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(transparent, rgb(15 52 96 / 90%));
    color: var(--light-color);
    text-align: center;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 50%);
}

.slide-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 50%);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgb(255 255 255 / 50%);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background-color: var(--light-color);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgb(0 0 0 / 30%);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: rgb(0 0 0 / 60%);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Sponsor Section */
.sponsors {
    padding: 80px 0;
    background-color: var(--light-color);
}

.sponsors-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.sponsor-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgb(0 0 0 / 15%);
}

.sponsor-logo {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Tribute Section */
.tribute {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.tribute-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.tribute-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
}

.tribute-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.tribute-text {
    flex: 1;
}

.tribute-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary-color);
    padding: 20px;
    border-left: 3px solid var(--accent-color);
    margin: 20px 0;
    background-color: rgb(50 130 184 / 5%);
}

/* Activities Section */
.activities {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgb(0 0 0 / 8%);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    height: 100%; /* Importante para ocupar toda altura disponível */
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgb(0 0 0 / 12%);
}

.activity-image {
    height: 200px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    padding: 20px; /* suas outras propriedades existentes */
    display: flex;
    flex-direction: column;
    flex: 1; /* Faz o content crescer para ocupar o espaço disponível */
}

.activity-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.activity-content p {
    color: #555; /* suas propriedades existentes do parágrafo */
    flex: 1; /* Faz o parágrafo crescer e empurrar o read-more para baixo */
    margin-bottom: 15px; /* Espaço entre o texto e o botão */
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: auto; /* Empurra para o fundo */
}

.read-more span {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover span {
    transform: translateX(5px);
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details p svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: var(--primary-color);
}

.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
}

.form-intro {
    margin-bottom: 20px;
}

.typeform-widget {
    width: 100%;
    height: auto;
    border: none;
}

.jotform-iframe {
    min-width: 100%;
    max-width: 100%;
    height: 539px;
    border: none;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

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

.footer-column ul li a {
    color: #ccddf1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgb(255 255 255 / 10%);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgb(0 0 0 / 20%);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (width <= 991px) {

    .about-content,
    .tribute-content {
        flex-direction: column;
    }

    .slide-content h2 {
        font-size: 2rem;
    }
}

@media (width <= 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 12px;
    }

    .hero-slider {
        margin-top: 120px;
        /* Ajuste para a nova altura do header */
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .tribute-content {
        flex-direction: column-reverse;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }

    .sponsors {
        padding: 60px 20px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .sponsor-item {
        padding: 20px;
        min-height: 120px;
    }

    .sponsors-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

@media (width <= 480px) {
    .logo {
        font-size: 24px;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px 8px;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .hero-slider {
        margin-top: 150px;
        /* Ajuste adicional para dispositivos muito pequenos */
        height: 50vh;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}