/* =========================================
   VARIÁVEIS - ESTILO INSTITUCIONAL
   ========================================= */
:root {
    /* Cores Institucionais: Azul, Preto e Fundo Claro/Branco */
    --clr-primary: #1D4ED8;      /* Azul Royal Vibrante */
    --clr-primary-dark: #1E3A8A; /* Azul Escuro (Navy) */
    --clr-dark: #1F2022;         /* Preto leve para textos pesados */
    --clr-text: #45474B;         /* Cinza texto corrido */
    --clr-bg: #FFFFFF;           /* Branco Absoluto */
    --clr-bg-light: #F8F9FA;     /* Cinza clarinho p/ sessoes */
    --clr-bg-dark: #121212;      /* Uso no hero/footer */
    
    /* Tipografia Formal */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Tamanhos Constantes */
    --header-height: 105px; /* Aumentado para suportar a logo maior com respiro */
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
}

/* =========================================
   RESET E CONFIG BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-dark);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.bg-light { background-color: var(--clr-bg); }
.bg-light-gray { background-color: var(--clr-bg-light); }
.text-center { text-align: center; }

/* =========================================
   TIPOGRAFIA DE SEÇÕES
   ========================================= */
section { padding: 100px 0; }

.section-title-wrapper { margin-bottom: 40px; }

.sub-heading {
    display: inline-block;
    color: var(--clr-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 50px;
}

.sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 3px;
    background-color: var(--clr-primary);
}

.section-heading {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.subtitle-desc {
    margin-top: 15px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   BOTÕES INSTITUCIONAIS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline-white {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: var(--clr-dark);
}

.btn-outline-red {
    background-color: transparent;
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline-red:hover {
    background-color: var(--clr-primary);
    color: #fff;
}

/* =========================================
   CABEÇALHO (HEADER) - FIXED BRANCO
   ========================================= */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px; /* Mais espaço para a logo maior respirar com o texto */
}

/* Novo Escudo Híbrido SVG Ultra-HD */
.hybrid-logo {
    position: relative;
    width: 85px;  /* Altura/Largura principal do escudo */
    height: 85px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hybrid-svg-text {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    /* transition opcional se quiser que rode ao passar o mouse */
    transition: transform 0.5s ease;
}

.logo-link:hover .hybrid-svg-text {
    transform: rotate(15deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--clr-dark);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-dark);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

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

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--clr-primary); }

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-dark);
    border: none;
    background: transparent;
    cursor: pointer;
}

/* =========================================
   HERO DIAGONAL UNICO
   ========================================= */
.hero-diagonal {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    margin-top: var(--header-height);
    background-color: var(--clr-bg-dark);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Imagem Fundo Total Em Todos os Dispositivos */
.hero-image-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.hero-image-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    /* Truques do navegador para disfarçar baixa resolução */
    image-rendering: high-quality;
    filter: contrast(1.08) saturate(1.1) brightness(1.05);
}

.hero-image-wrapper img.active {
    opacity: 1;
}

.hero-image-wrapper .image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.5) 45%, rgba(18, 18, 18, 0.1) 100%);
}

/* Camada de texto sobre o fundo transparente */
.hero-content-shape {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
}

/* Removido o pseudo elemento que cortava a tela */
.hero-content-shape::before {
    display: none;
}

.hero-text-inner {
    padding: 0 5% 0 10%; /* Espaço no lado esquerdo pra alinhar */
    max-width: 800px;
}

.badge-tag {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.main-heading {
    color: #fff;
    font-size: clamp(2.1rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}
.main-heading span { color: var(--clr-primary); text-transform: uppercase;}
.main-heading { font-weight: 800;}

.main-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* =========================================
   SOBRE / CREDIBILIDADE (SOBREPOSIÇÃO)
   ========================================= */
.sobre-grid {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    gap: 60px;
    align-items: center;
}

.sobre-image-card {
    position: relative;
}

.sobre-slideshow-track {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Retangular para não cortar tanto as laterais das fotos */
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    overflow: hidden;
    background: #fafafa;
}

.sobre-slideshow-track .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center; /* Tenta centralizar horizontal e verticalmente */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    border-radius: 0;
    box-shadow: none;
}

.sobre-slideshow-track .slide.active {
    opacity: 1;
    z-index: 2;
}

.mute-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    font-size: 1.1rem;
}

.mute-btn:hover {
    background-color: var(--clr-primary);
    transform: scale(1.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--clr-primary);
    color: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(29, 78, 216, 0.3);
    z-index: 10;
}

.exp-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--clr-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #E5E7EB;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-red {
    font-size: 2.2rem;
    color: var(--clr-primary);
}

.stat-info strong {
    display: block;
    font-size: 1.4rem;
    color: var(--clr-dark);
    font-family: var(--font-heading);
}

.stat-info span {
    color: var(--clr-text);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* =========================================
   MISSÃO, VISÃO E VALORES E TROFÉU
   ========================================= */
.mvv-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.mvv-item {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--clr-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.mvv-title {
    font-size: 1.1rem;
    color: var(--clr-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mvv-item p {
    font-size: 0.95rem;
    color: var(--clr-text);
    margin: 0;
    line-height: 1.5;
}

.trophy-stat strong {
    font-size: 1.25rem !important;
}

/* =========================================
   FUNDADORES E LIDERANÇA
   ========================================= */
.founders-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.founder-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #E5E7EB;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(29, 78, 216, 0.2);
}

.founder-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin: 0 auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background-color: var(--clr-bg-light);
}

.founder-info h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--clr-dark);
}

.founder-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--clr-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(29, 78, 216, 0.05);
    padding: 5px 12px;
    border-radius: 20px;
}

/* =========================================
   CARROSSEL DE NOTÍCIAS (JS + CSS SCROLL SNAP)
   ========================================= */
.noticias-carrossel {
    background-color: var(--clr-bg-light);
    /* overflow removido do pai pra permitir scroll horizontal nativo no filho se necessário */
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.arrows button {
    background-color: #fff;
    border: 1px solid #E5E7EB;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--clr-dark);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrows button:hover {
    background-color: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

.carousel-viewport {
    width: 100%;
    margin-top: 50px;
    /* Adicionando scroll-snap focado para mobile */
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    padding-bottom: 20px; /* espacinho pra sobra de sombra */
}

.carousel-viewport::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-track {
    display: flex;
    gap: 20px; /* Reduzido o gap no container base */
    transition: transform 0.5s ease-in-out;
}

.news-slide {
    flex: 0 0 calc(33.333% - 14px); /* Fixa a largura exata e previne esticamentos bizarros */
    max-width: 380px; /* Impede que em telas gigantes o card perca a proporção da imagem */
    background-color: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #E5E7EB;
    transition: 0.3s;
    scroll-snap-align: start; /* Para mobile travar perfeitamente */
    display: flex;
    flex-direction: column;
    height: auto;
}

.news-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(29, 78, 216, 0.2);
}

.news-image {
    height: 220px; /* Altura fixa PADRÃO para carrossel na Home e afins */
    position: relative;
    background: #fafafa;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #fff;
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1;
}

.news-date .month {
    font-size: 0.8rem;
    font-weight: 600;
}

.news-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.news-body p {
    color: var(--clr-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.read-more:hover { gap: 12px; }

.view-all-mobile { display: none; margin-top: 30px;}
.center-block { display: flex; margin: 0 auto; width: fit-content;}

/* =========================================
   LIGHTBOX MODAL DE NOTÍCIAS
   ========================================= */
.news-payload { display: none; }

.news-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    background-color: var(--clr-bg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--radius-md);
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.news-lightbox.active .lightbox-content {
    transform: translateY(0);
}

.lightbox-content::-webkit-scrollbar { width: 8px; }
.lightbox-content::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.lightbox-close-btn {
    position: sticky;
    top: 15px;
    right: 15px;
    float: right;
    background-color: #fff;
    color: var(--clr-dark);
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center;
}

.lightbox-close-btn:hover {
    background-color: var(--clr-primary);
    color: #fff;
}

.lightbox-header-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-bottom: 3px solid var(--clr-primary);
}

.lightbox-body {
    padding: 40px;
}

.lightbox-body .badge-date {
    display: inline-block;
    background-color: var(--clr-primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.lightbox-body h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    line-height: 1.2;
}

.lightbox-body .text-content {
    font-size: 1.1rem;
    color: var(--clr-text);
    line-height: 1.8;
}

.lightbox-body .text-content p {
    margin-bottom: 20px;
}

.lightbox-gallery {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.lightbox-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
}

/* =========================================
   PÁGINAS INTERNAS (CABEÇALHOS E GRIDS)
   ========================================= */
.page-header-banner {
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-primary-dark) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/images/hero-bg.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.page-header-banner .container {
    position: relative;
    z-index: 2;
}

.page-header-banner .sub-heading {
    color: rgba(255,255,255,0.9);
}
.page-header-banner .sub-heading::before {
    background-color: #fff;
}

.page-header-banner .page-heading {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
}

.news-grid-page {
    padding: 80px 0;
    background-color: var(--clr-bg-light);
}

.news-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    align-items: start; /* Impede que outros cartões da mesma linha estiquem quando um expande */
}

.noticia-item-completo {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* =========================================
   APOIADORES (GRADE INSTITUCIONAL CLASSICA)
   ========================================= */
.apoiadores-grid {
    border-top: 1px solid #E5E7EB;
}

.sponsors-marquee-container {
    margin-top: 50px;
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Fades nas laterais para suavizar o carrossel */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.sponsors-marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.sponsors-marquee-track:hover {
    animation-play-state: paused;
}

.sponsor-logo-box {
    background-color: #fff;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    width: 220px;
    height: 120px;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.sponsor-logo-box:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--clr-primary);
    transform: translateY(-5px);
}

.sponsor-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1.8);
}

@keyframes scroll-marquee {
    to {
        transform: translateX(calc(-50% - 20px));
    }
}

.call-to-action-banner {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    border-radius: var(--radius-md);
    padding: 50px;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.call-to-action-banner h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.call-to-action-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.call-to-action-banner .btn {
    background-color: #fff;
    color: var(--clr-primary);
}

.call-to-action-banner .btn:hover {
    background-color: var(--clr-dark);
    color: #fff;
}

/* =========================================
   FOOTER FORMAL
   ========================================= */
.main-footer {
    background-color: var(--clr-dark);
    color: #fff;
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* .footer-logo foi substituído pela classe .hybrid-logo dentro do HTML do footer */

.brand-column p {
    color: #A0A0A0;
    max-width: 300px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.footer-column ul li {
    margin-bottom: 12px;
    color: #A0A0A0;
}

.footer-column a {
    color: #A0A0A0;
}

.footer-column a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.footer-column li i {
    color: var(--clr-primary);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #fff;
}

.social-icons a:hover {
    background-color: var(--clr-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    color: #A0A0A0;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 1024px) {
    section { padding: 80px 0; }
    .space-between { flex-direction: column; align-items: center; text-align: center; gap: 20px;}
    .section-title-wrapper { margin-bottom: 20px; }
    .hero-content-shape { width: 80%; clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);}
    .sobre-grid { grid-template-columns: 1fr; }
    .sobre-image-card { order: 2; margin-top: 30px; }
    .sobre-content { order: 1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    
    .news-slide { flex: 0 0 calc(50% - 10px); max-width: none; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }
    .hybrid-logo { width: 55px !important; height: 55px !important; }
    .logo-title { font-size: 1.1rem; }
    .logo-subtitle { font-size: 0.65rem; }
    .logo-link { gap: 8px; }
    .container { padding: 0 16px; }

    section { padding: 50px 0; }
    .section-heading { font-size: 1.8rem; }
    
    /* Menu Mobile Aprimorado */
    .mobile-menu-toggle { 
        display: block; 
        padding: 10px; /* Área de toque maior */
    }
    .nav-action { display: none; } 
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Fica mais acima pra não cortar em telas pequenas */
        padding-top: 40px;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }

    .main-nav.show-mobile { left: 0; }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }
    
    .nav-link { font-size: 1.3rem; padding: 10px; display: block; } /* Toque fácil */

    /* Hero Cinemático Otimizado para Mobile */
    .hero-diagonal { min-height: 90vh; margin-top: var(--header-height); }
    
    .hero-image-wrapper img {
        object-position: top center; /* Garante que as cabeças não sumam no recorte vertical */
    }
    
    .hero-image-wrapper .image-overlay {
        /* Gradiente vertical no mobile: escuro embaixo pro texto, clarinho em cima pras fotos */
        background: linear-gradient(to top, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.8) 45%, rgba(18, 18, 18, 0.1) 100%);
    }

    .hero-content-shape { 
        width: 100%; 
        clip-path: none; 
        background: transparent; 
        align-items: flex-end; /* Empurra o texto para a parte inferior escura */
        padding-bottom: 50px;
    }
    
    .hero-text-inner { padding: 0 5%; text-align: center;}
    .main-heading { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; gap: 15px; }
    .hero-buttons .btn { width: 100%; } /* Botões em tela cheia mobile */

    /* Estatísticas e Cards Mobile */
    .stats-row { flex-direction: column; gap: 30px; text-align: center; }
    .stat-box { flex-direction: column; align-items: center; justify-content: center; }
    .experience-badge { 
        right: 50%; transform: translateX(50%); 
        bottom: -20px; padding: 20px; 
    } /* Centraliza a badge sobreposta para não sumir */

    /* Carrossel Redução com Foco em SWIPE nativo */
    .carousel-controls { display: flex; width: 100%; justify-content: center; margin-top: 15px; } 
    .arrows { display: flex; gap: 15px; }
    .news-slide { 
        flex: 0 0 85%; /* Deixa exibir 15% do próximo card pro usuário entender que arrasta (Scroll Nativo) */
        max-width: none;
    }
    .view-all-desk { display: none; }
    .view-all-mobile { display: block; text-align: center; margin-top: 20px;}
    .view-all-mobile .btn { width: 100%; }

    /* Footer Mobile Premium (Compacto & Único) */
    .main-footer { padding-top: 40px; }
    .footer-top { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 30px 15px; 
        text-align: left;
    }
    
    /* 1. Marca - Estilo Card Horizontal */
    .brand-column { 
        grid-column: span 2; 
        display: flex; 
        align-items: center; 
        gap: 15px; 
        background: rgba(255,255,255,0.03); 
        padding: 15px; 
        border-radius: var(--radius-md);
        border: 1px solid rgba(255,255,255,0.05);
    }
    .brand-column .hybrid-logo { width: 55px !important; height: 55px !important; margin: 0 !important; }
    .brand-column p { font-size: 0.85rem; line-height: 1.4; margin: 0; color: #ccc;}

    /* 2 e 4. Links & Redes Sociais - Lado a Lado */
    .footer-column:nth-child(2) { grid-column: 1; }
    .footer-column:nth-child(4) { grid-column: 2; }
    
    .footer-column h4 { font-size: 1rem; margin-bottom: 12px; }
    .footer-column ul li { font-size: 0.85rem; margin-bottom: 10px; }
    .footer-column li i { margin: 0 8px 0 0; width: 15px; text-align: center; }

    .social-icons { flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
    .social-icons a { width: 36px; height: 36px; font-size: 0.9rem; }

    /* 3. Contatos - Ocupa Duas Colunas com Grid Interno */
    .footer-column:nth-child(3) { 
        grid-column: span 2; 
        border-top: 1px solid rgba(255,255,255,0.1); 
        padding-top: 25px; 
    }
    .footer-column:nth-child(3) ul { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 15px;
    }
    .footer-column:nth-child(3) li:first-child { grid-column: span 2; margin-bottom: 0; }
    
    .footer-bottom { padding: 20px 0; font-size: 0.8rem; }
    
    .call-to-action-banner { padding: 30px 20px; }
    .call-to-action-banner .btn { width: 100%; }
    
    .sponsors-marquee-track { gap: 20px; }
    .sponsor-logo-box { width: 140px; height: 80px; }
}
