/* ============================================================================
   MOGIANA FC – BASE CSS (ARQUIVO 1)
   Estrutura fundamental do tema: variáveis, tipografia, grid e containers
   Este arquivo NÃO contém componentes (slider, menu, notícias etc.)
   Apenas a fundação do layout.
============================================================================ */

/* ============================= VARIÁVEIS GLOBAIS ============================= */
:root {
  --mg-navy: #0a194f;
  --mg-gold: #f5c542;
  --mg-gold-light: #fae7a3;
  --mg-white: #ffffff;
  --mg-gray: #f4f4f4;
  --mg-shadow: 0 6px 18px rgba(0,0,0,0.12);

  --mg-radius: 12px;
  --mg-padding: 20px;
}

/* ============================= RESET GLOBAL ============================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--mg-gray);
  color: var(--mg-navy);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin: 0 0 15px;
}

a {
  color: var(--mg-navy);
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: var(--mg-gold);
}

/* ============================= TITULOS GERAIS ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--mg-navy);
  font-weight: 900;
  margin: 0 0 15px;
}

/* ============================= CONTAINERS E GRID ============================= */
.mf-container {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
}

.mf-section {
  margin: 60px 0;
}

.mf-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--mg-gold);
  padding-bottom: 12px;
  margin-bottom: 25px;
}

.mf-section-title {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--mg-navy);
}

/* Botão "Ver tudo" padrão */
.mf-view-all {
  padding: 10px 20px;
  border-radius: 6px;
  border: 2px solid var(--mg-navy);
  color: var(--mg-navy);
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s ease;
}

.mf-view-all:hover {
  background: var(--mg-navy);
  color: var(--mg-white);
  transform: translateY(-2px);
}

/* ============================= ELEMENTOS BASE ============================= */
.mf-card {
  background: #fff;
  border-radius: var(--mg-radius);
  padding: var(--mg-padding);
  box-shadow: var(--mg-shadow);
}

.mf-grid {
  display: grid;
  gap: 30px;
}

/* ============================= RESPONSIVIDADE ============================= */
@media (max-width: 1024px) {
  .mf-section {
    margin: 50px 0;
  }
}

@media (max-width: 768px) {
  .mf-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .mf-section-title {
    font-size: 24px;
  }

  .mf-container {
    width: 94%;
  }
}

/* ============================= BANNER PRINCIPAL ============================= */
.mf-banner-content {
    background: linear-gradient(135deg, var(--mg-navy) 0%, #1a2a6c 100%);
    color: var(--mg-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.mf-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%23f5c542" opacity="0.1"/></svg>');
    background-size: cover;
}

.mf-banner-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.mf-banner-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--mg-white);
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mf-banner-meta {
    font-size: 1.2rem;
    color: var(--mg-gold-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mf-banner-meta time {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mf-banner-meta::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--mg-gold);
}

/* Responsividade do Banner */
@media (max-width: 1024px) {
    .mf-banner-content {
        padding: 60px 0;
    }
    
    .mf-banner-title {
        font-size: 3.5rem;
    }
}

/* ============================= BANNER PRINCIPAL ============================= */
.mf-banner-content {
    background: linear-gradient(135deg, var(--mg-navy) 0%, #1a2a6c 100%);
    color: var(--mg-white);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    margin-top: 20px; /* ESPAÇAMENTO ENTRE HEADER E BANNER */
}

.mf-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%23f5c542" opacity="0.1"/></svg>');
    background-size: cover;
}

.mf-banner-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.mf-banner-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--mg-white);
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mf-banner-meta {
    font-size: 1.2rem;
    color: var(--mg-gold-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mf-banner-meta time {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mf-banner-meta::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--mg-gold);
}

/* Responsividade do Banner */
@media (max-width: 1024px) {
    .mf-banner-content {
        padding: 60px 0;
        margin-top: 70px; /* Ajuste para tablet */
    }
    
    .mf-banner-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .mf-banner-content {
        padding: 50px 0;
        text-align: center;
        margin-top: 60px; /* Ajuste para mobile */
    }
    
    .mf-banner-title {
        font-size: 2.8rem;
    }
    
    .mf-banner-meta {
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .mf-banner-content::before {
        width: 100%;
        opacity: 0.05;
    }
}

@media (max-width: 480px) {
    .mf-banner-title {
        font-size: 2.2rem;
    }
    
    .mf-banner-meta {
        font-size: 1rem;
    }
}