/* RESET E ESTILOS GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-orange: #FF5500;
    --bg-black: #0B0B0B;
    --bg-dark-card: #141414;
    --border-color: #262626;
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.5;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: rgba(11, 11, 11, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.4rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav a.active, .nav a:hover {
    color: var(--primary-orange);
}

.social-top a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 10px;
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 80px 8%;
    background: linear-gradient(180deg, #181818 0%, #0B0B0B 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    max-width: 550px;
}

.subtitle {
    color: var(--primary-orange);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    margin: 10px 0;
    letter-spacing: 2px;
}

.description {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-orange);
    color: var(--text-white);
}

.hero-shield .shield-placeholder {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 8px solid var(--primary-orange);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #2a2a2a 0%, #111 100%);
    box-shadow: 0 0 30px rgba(255, 85, 0, 0.3);
}

.shield-placeholder span { font-size: 4rem; }
.shield-placeholder h2 { font-size: 2rem; font-weight: 900; }

/* BARRA DE INFORMAÇÕES RÁPIDAS */
.quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background-color: #000000;
    border-y: 1px solid var(--border-color);
    padding: 25px 8%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item .icon { font-size: 1.8rem; }
.info-item small { color: var(--text-gray); font-weight: 700; font-size: 0.75rem; display: block; }
.info-item strong { font-size: 0.85rem; font-weight: 800; }

/* SEÇÕES EM GRID DE 2 COLUNAS */
.section-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 50px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

/* PRÓXIMO JOGO */
.match-matchup {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 30px 0;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.team-shield {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #000;
}

.team-shield.rival {
    background-color: #333;
    color: #fff;
}

.vs { font-size: 1.8rem; font-weight: 900; color: var(--text-gray); }

.match-details {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.match-details small { color: var(--text-gray); font-size: 0.7rem; }

.btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

/* CARD VÍDEO */
.card-video {
    background: linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0.3)), #222;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    position: relative;
    min-height: 350px;
}

.video-overlay {
    width: 100%;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    margin-bottom: 15px;
}

.video-overlay small { color: var(--primary-orange); font-weight: 800; }
.video-overlay h2 { font-size: 2rem; font-weight: 900; }

/* NOTÍCIAS */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.news-item {
    display: flex;
    gap: 15px;
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 6px;
}

.news-thumb {
    width: 100px;
    height: 75px;
    background-color: #333;
    border-radius: 4px;
    flex-shrink: 0;
}

.news-info h4 {
    color: var(--primary-orange);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.news-info p {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.news-info time {
    color: #666;
    font-size: 0.7rem;
    font-weight: 700;
}

/* GALERIA DE FOTOS AJUSTADA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.gallery-item-wrapper {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #222;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Corta o excesso da foto mantendo a proporção */
    transition: transform 0.3s ease;
}

/* Efeito de zoom ao passar o mouse */
.gallery-item-wrapper:hover .gallery-item {
    transform: scale(1.08);
}

.btn-small {
    background-color: var(--primary-orange);
    color: var(--text-white);
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    background-color: #222;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* FOOTER */
.footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 50px 8% 20px 8%;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col p, .footer-col li a {
    color: var(--text-gray);
    font-size: 0.85rem;
    text-decoration: none;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-col ul { list-style: none; }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.75rem;
}

/* RESPONSIVIDADE (Telas menores/Mobile) */
@media (max-width: 900px) {
    .section-grid-2 { grid-template-columns: 1fr; }
    .hero-content { flex-direction: column; text-align: center; gap: 40px; }
    .nav { display: none; } /* Pode ser transformado em um menu hambúrguer futuramente */
}
/* ==================================================
   CONTROLE RIGOROSO DE TAMANHO DE IMAGENS
   ================================================== */

/* Previne que qualquer imagem vaz do seu container */
img {
    max-width: 100%;
    height: auto;
}

/* Tamanho fixo e alinhado para a LOGO do cabeçalho */
.img-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

/* Tamanho da LOGO principal na Hero Section (Banner) */
.hero-shield-img {
    max-width: 280px;
    max-height: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Escudos dos times na seção do Próximo Jogo */
.team-shield img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Fotos da Galeria e da Torcida */
.gallery-item {
    width: 100%;
    height: 180px; /* Altura fixa para não quebrar a grade */
    object-fit: cover; /* Corta os excessos da foto sem distorcer */
    border-radius: 8px;
}

/* Miniaturas das Notícias */
.news-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0; /* Impede a imagem de esmagar */
}

/* Cards dos Jogadores (Elenco) */
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.player-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.player-photo {
    width: 100%;
    height: 200px; /* Altura padronizada para as fotos dos jogadores */
    position: relative;
    overflow: hidden;
}

.player-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta o rosto do jogador dentro do card */
}
/* LOGO REDONDA PERFEITA */

/* 1. Logo no Topo / Cabeçalho */
.img-logo {
    width: 40px !important;       /* Largura fixa */
    height: 40px !important;      /* Altura igual à largura */
    border-radius: 50% !important; /* Deixa 100% redondo */
    object-fit: cover !important;  /* Ajusta a foto para não achatar */
}

/* 2. Logo Grande no Banner Principal */
.hero-shield-img {
    width: 250px !important;      /* Largura fixa */
    height: 250px !important;     /* Altura igual à largura */
    border-radius: 50% !important; /* Deixa 100% redondo */
    object-fit: cover !important;  /* Ajusta a foto para não achatar */
    border: 3px solid #ff6600;     /* Opcional: Borda laranja estilosa no escudo */
}
/* ESTILO TORCIDA MOVIMENTO LARANJA */
.torcida-info h2 {
    color: #ff6600; /* Laranja oficial */
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
/* Escudo do Rival / Adversário */
.team-shield img {
    width: 60px;
    height: 60px;
    object-fit: contain; /* Enquadra sem distorcer */
    border-radius: 50%;   /* Deixa redondo caso queira */
/* ESTILO PARA VÍDEOS RESPONSIVOS */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #222;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* ==================================================
   CONTROLE DE TAMANHO DE VÍDEO (MENOR E CENTRALIZADO)
   ================================================== */

/* Container geral do vídeo */
.video-container {
    max-width: 500px; /* Largura máxima do vídeo (pode diminuir para 400px se quiser menor) */
    margin: 0 auto 30px auto; /* Centraliza na tela */
    padding: 0 15px;
}

/* Para vídeos salvos no computador (.mp4) */
.video-wrapper video {
    width: 100%;
    max-height: 350px; /* Trava a altura para não ocupar muito espaço */
    border-radius: 10px;
    border: 2px solid #ff6600; /* Borda laranja no estilo do time */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Para vídeos do YouTube (iframe) */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #ff6600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* AJUSTE DAS FOTOS DE NOTÍCIAS */
.news-item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.news-thumb-wrapper {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #ff6600;
}

.news-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
