:root {
    --azul-verde: #59a9a9;
    --azul-escuro: #164476;
    --dourado: #e8a533;
    --branco: #ffffff;
    --cinza-claro: #f8fafc;
    --cinza-escuro: #334155;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--cinza-escuro);
    line-height: 1.6;
}

/* Header */
.header {
    background-color: var(--azul-escuro);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dourado) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-link {
    color: var(--branco) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--dourado) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dourado);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--azul-verde);
    border-color: var(--azul-verde);
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #4a9494;
    border-color: #4a9494;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Logo
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 250px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
}

.logo-text span {
    color: var(--secondary);
} */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-verde) 100%);
    padding: 120px 0 100px;
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1579546929662-711aa81148cf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-section .btn {
    background-color: var(--dourado);
    border-color: var(--dourado);
    font-size: 1.1rem;
    padding: 12px 35px;
    font-weight: 600;
    border-radius: 30px;
}

.hero-section .btn:hover {
    background-color: #d5942b;
    border-color: #d5942b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Countdown Section */
.countdown-section {
    background-color: var(--cinza-claro);
    padding: 70px 0;
}

.section-title {
    font-weight: 700;
    color: var(--azul-escuro);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--dourado);
    border-radius: 2px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.countdown div {
    background-color: var(--branco);
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 130px;
    border-top: 4px solid var(--azul-verde);
    transition: transform 0.3s;
}

.countdown div:hover {
    transform: translateY(-5px);
}

.countdown span {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--azul-escuro);
    margin-bottom: 5px;
}

/* How to Participate Section */
.how-to-participate-section {
    padding: 90px 0;
    background-color: var(--branco);
}

.step {
    padding: 40px 25px;
    border-radius: 12px;
    transition: all 0.4s;
    height: 100%;
    background-color: var(--cinza-claro);
    border-top: 4px solid var(--azul-verde);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--azul-verde), var(--azul-escuro));
    opacity: 0.1;
    transition: height 0.4s;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step:hover::before {
    height: 100%;
}

.step i {
    color: var(--dourado);
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.step h3 {
    color: var(--azul-escuro);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Campaign Image Section */
.campaign-image-section {
    padding: 70px 0;
    background: linear-gradient(to right, var(--azul-escuro), var(--azul-verde));
}

.campaign-image-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s;
}

.campaign-image-container:hover {
    transform: scale(1.02);
}

.campaign-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.campaign-image-section .section-title {
    color: var(--branco);
}

.campaign-image-section .section-title::after {
    background-color: var(--dourado);
}

/* Prizes Section */
.prizes-section {
    padding: 90px 0;
    background-color: var(--cinza-claro);
}

.prizes-section h3 {
    color: var(--azul-escuro);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.prizes-section ul {
    list-style-type: none;
    padding-left: 0;
}

.prizes-section li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
}

.prizes-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--dourado);
    font-weight: bold;
    font-size: 1.3rem;
}

.prize-image {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.prize-image:hover {
    transform: scale(1.03);
}

/* Partners Section - NOVA SEÇÃO ADICIONADA */
.partners-section {
    padding: 90px 0;
    background-color: var(--cinza-claro);
}

.partner-card {
    background-color: var(--branco);
    border-radius: 15px;
    padding: 25px 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.partner-logo-container {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--branco);
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.partner-logo {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

.partner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.partner-name {
    font-weight: 600;
    color: var(--azul-escuro);
    margin-bottom: 10px;
    font-size: 1.1rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-actions {
    margin-top: auto;
    width: 100%;
}

.btn-partner {
    background-color: var(--azul-verde);
    border-color: var(--azul-verde);
    color: var(--branco);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s;
    width: 100%;
    font-size: 0.9rem;
}

.btn-partner:hover {
    background-color: #4a9494;
    border-color: #4a9494;
    transform: translateY(-2px);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Form Section */
.form-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-verde) 100%);
    color: var(--branco);
}

.form-section .section-title {
    color: var(--branco);
}

.form-section .section-title::after {
    background-color: var(--dourado);
}

.form-section .form-control {
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    transition: all 0.3s;
}

.form-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--dourado);
    box-shadow: 0 0 0 0.25rem rgba(232, 165, 51, 0.25);
    color: var(--branco);
}

.form-section .form-label {
    font-weight: 500;
    font-size: 1.05rem;
}

.form-section .form-check-input:checked {
    background-color: var(--dourado);
    border-color: var(--dourado);
}

.form-section .form-check-label a {
    color: var(--dourado);
    font-weight: 500;
}

.form-section .btn {
    background-color: var(--dourado);
    border-color: var(--dourado);
    padding: 14px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    margin-top: 10px;
}

.form-section .btn:hover {
    background-color: #d5942b;
    border-color: #d5942b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
.testimonials-section {
    padding: 90px 0;
    background-color: var(--branco);
}

.testimonial {
    background-color: var(--cinza-claro);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-left: 4px solid var(--dourado);
    transition: transform 0.3s;
    position: relative;
}

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

.testimonial::before {
    content: """;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    color: var(--azul-verde);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.testimonial cite {
    font-weight: 600;
    color: var(--azul-escuro);
    font-style: normal;
}

/* Rules Section */
.rules-section {
    padding: 90px 0;
    background-color: var(--cinza-claro);
}

.accordion-button {
    background-color: var(--branco);
    color: var(--azul-escuro);
    font-weight: 600;
    padding: 18px 20px;
    font-size: 1.05rem;
    border-radius: 8px !important;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: var(--azul-escuro);
    color: var(--branco);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(22, 68, 118, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23164476'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px;
    background-color: var(--branco);
    border-radius: 0 0 8px 8px;
}

/* Footer */
.footer {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 40px 0 30px;
}

.footer a {
    color: var(--dourado);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--azul-verde);
    text-decoration: underline;
}

.footer p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.4rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .countdown div {
        min-width: 110px;
        padding: 20px 15px;
    }
    
    .countdown span {
        font-size: 2.2rem;
    }
    
    .step {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .logo img {
        height: 150px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .partner-card {
        padding: 20px 15px;
    }
    
    .partner-logo-container {
        height: 100px;
        margin-bottom: 15px;
    }
    
    .partner-logo {
        max-height: 70px;
    }
    
    .partner-name {
        font-size: 1rem;
        min-height: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown div {
        min-width: 90px;
        padding: 15px 10px;
    }
    
    .countdown span {
        font-size: 1.8rem;
    }
    
    .logo img {
        height: 200px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .partner-logo-container {
        height: 90px;
    }
    
    .partner-logo {
        max-height: 60px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 400px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-card {
        padding: 15px;
    }
}
/* Header Scroll Behavior - MESMA ESTILIZAÇÃO DA PÁGINA PRINCIPAL */
.header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--azul-escuro);
    padding: 12px 0;
    transform: translateY(-100%); /* Inicia escondido */
    opacity: 0;
}

/* Header quando está visível */
.header.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Header quando está reduzido */
.header.shrink {
    padding: 6px 0;
    background-color: rgba(22, 68, 118, 0.95);
    backdrop-filter: blur(10px);
}

.header.shrink .logo img {
    height: 35px;
}

/* Ajuste para o conteúdo não ficar escondido atrás do header fixo */
body {
    padding-top: 0; /* Removido pois header inicia escondido */
}

/* Área sensível ao hover no topo da tela */
.hover-trigger-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px; /* Altura da área sensível */
    z-index: 999;
    background: transparent;
}

/* Garante que as imagens do logo tenham transição suave */
.logo img {
    transition: all 0.3s ease;
    height: 45px;
}

/* Navbar toggler color */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar links - MESMO ESTILO DA PÁGINA PRINCIPAL */
.navbar-nav .nav-link {
    color: var(--branco) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--dourado) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--dourado);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Botão primário - MESMO ESTILO DA PÁGINA PRINCIPAL */
.btn-primary {
    background-color: var(--azul-verde);
    border-color: var(--azul-verde);
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #4a9494;
    border-color: #4a9494;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }
    
    .header.shrink {
        padding: 4px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .header.shrink .logo img {
        height: 30px;
    }
    
    .hover-trigger-area {
        height: 40px; /* Menor em mobile */
    }
}

/* Melhora a performance da animação */
.header {
    will-change: transform, opacity;
}

/* Ajuste do padding para o hero section considerando o header */
.regulamento-hero {
    padding-top: 20px; /* Ajustado para header que inicia escondido */
}

