/* ===== VARIÁVEIS ===== */
:root {
    --primary: #023882;
    --primary-dark: #0052a3;
    --secondary: #00a859;
    --secondary-dark: #008e4a;
    --accent: #ff6b35;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --max-width: 1200px;
    --footer-bg: #023882;
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
}

/* ===== HEADER COM ÍCONES ===== */
header {
    background-color: var(--footer-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: auto;
    margin: 0 auto;
}

.logo-container {
    flex-shrink: 0;
}

.logo-container img {
    height: 50px;
    width: auto;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    z-index: 1001;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.menu-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-weight: 600;
    color: white;
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link i {
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.has-submenu {
    position: relative;
}

.has-submenu:hover .submenu-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-container {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.submenu {
    padding: 15px 0;
}

.submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--dark);
    transition: var(--transition);
}

.submenu li a i {
    color: var(--primary);
    width: 18px;
}

.submenu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    background-color: var(--primary);
    position: relative;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* ===== SEÇÃO DE PARCERIAS ===== */
.partnerships {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Cards de Parceria */
.partnership-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.partnership-reverse {
    flex-direction: row-reverse;
}

/* ===== VÍDEO CORRIGIDO - ALTURA FIXA ===== */
.partnership-media {
    flex: 1;
    min-width: 300px;
    height: 400px; /* Altura fixa para o vídeo */
    overflow: hidden;
    position: relative;
}

.partnership-video,
.partnership-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantém a proporção sem distorcer */
    object-position: center;
    transition: transform 0.5s ease;
}

.partnership-media:hover .partnership-video,
.partnership-media:hover .partnership-image {
    transform: scale(1.05);
}

/* ===== CONTEÚDO DAS PARCERIAS ===== */
.partnership-content {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.partnership-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.partnership-content p {
    margin-bottom: 20px;
    color: var(--dark);
}

.highlight {
    background-color: rgba(0, 102, 204, 0.1);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin: 25px 0;
}

.partnership-list {
    margin: 20px 0;
}

.partnership-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.partnership-list li i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ===== SEÇÃO DE CONTATO ===== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-wrapper h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.contact-wrapper > p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info ul li i {
    width: 20px;
    color: var(--secondary);
    font-size: 1.1rem;
}

.contact-info ul li a {
    color: var(--dark);
}

.contact-info ul li a:hover {
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 56, 130, 0.1);
}

.contact-form button {
    padding: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ===== FOOTER CORRIGIDO (LOGO NÃO ESTICADA) ===== */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* LOGO CORRIGIDA - NÃO ESTICA */
.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    width: auto;
    height: 60px;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.footer-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

.footer-item h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-item ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-item ul li i {
    width: 18px;
    color: var(--secondary);
}

.footer-item ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-item ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-title {
    margin-top: 15px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: white;
    font-size: 1rem;
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(2, 56, 130, 0.95);
    color: white;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.active {
    transform: translateY(0);
}

.texto-banner {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--secondary);
    color: white;
}

.cookie-btn.accept:hover {
    background-color: var(--secondary-dark);
}

.cookie-btn.decline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background-color: var(--footer-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
        transition: var(--transition);
        z-index: 1000;
    }
    
    nav.active {
        right: 0;
    }
    
    .menu-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .menu-nav li {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .submenu-container {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 0;
        display: none;
    }
    
    .has-submenu.active .submenu-container {
        display: block;
    }
    
    .submenu a {
        color: white;
        padding-left: 40px;
    }
    
    .submenu a i {
        color: white;
    }
    
    .submenu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

        .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .partnership-card {
        flex-direction: column;
    }
    
    .partnership-reverse {
        flex-direction: column;
    }
    
    .partnership-media {
        width: 100%;
        height: 300px; /* Altura reduzida no mobile */
    }
    
    .partnership-content {
        padding: 30px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-item {
        align-items: center;
        text-align: center;
    }
    
    .footer-item h3 {
        text-align: center;
        width: 100%;
    }
    
    .footer-item h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .footer-item ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .footer-item ul li {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .footer-item ul li i {
        margin-right: 5px;
    }
    
    .footer-item ul li a {
        justify-content: center;
    }
    
    .footer-item ul li a:hover {
        padding-left: 0;
        transform: scale(1.05);
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .footer-logo img {
        margin: 0 auto;
    }
    
    .footer-description {
        text-align: center;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
        width: 100%;
    }
    
    .social-title {
        text-align: center;
        width: 100%;
    }
  
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .partnership-media {
        height: 250px; /* Altura ainda menor para telas pequenas */
    }
    
    .footer-logo img {
        height: 50px; /* Logo menor no mobile */
    }
    
        .footer-container {
        gap: 25px;
    }
    
    .footer-item ul li {
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .social-icons {
        gap: 10px;
        justify-content: center;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .copyright {
        padding: 20px 15px;
        font-size: 0.85rem;
    }
}